Merged in fix/praxisauftrag-translations (pull request #284)

Use correct translation for Praxisauftrag
This commit is contained in:
Christian Cueni 2024-02-08 14:40:17 +00:00
commit 595119e9e4
1 changed files with 4 additions and 4 deletions

View File

@ -46,8 +46,8 @@ class NotificationService:
): ):
texts = { texts = {
"de": "%(sender)s hat den Praxisauftrag «%(assignment_title)s» abgegeben.", "de": "%(sender)s hat den Praxisauftrag «%(assignment_title)s» abgegeben.",
"fr": "%(sender)s a soumis la mission pratique «%(assignment_title)s».", "fr": "%(sender)s a soumis l'exercice pratique «%(assignment_title)s».",
"it": "%(sender)s ha consegnato l'incarico pratico «%(assignment_title)s».", "it": "%(sender)s ha consegnato il lavoro pratico «%(assignment_title)s».",
} }
# this was the default case before the praxis assignment was introduced # this was the default case before the praxis assignment was introduced
else: else:
@ -87,8 +87,8 @@ class NotificationService:
): ):
texts = { texts = {
"de": "%(sender)s hat den Praxisauftrag «%(assignment_title)s» bewertet.", "de": "%(sender)s hat den Praxisauftrag «%(assignment_title)s» bewertet.",
"fr": "%(sender)s a évalué la mission pratique «%(assignment_title)s».", "fr": "%(sender)s a évalué l'exercice pratique «%(assignment_title)s».",
"it": "%(sender)s ha valutato l'incarico pratico «%(assignment_title)s».", "it": "%(sender)s ha valutato il lavoro pratico «%(assignment_title)s».",
} }
# this was the default case before the praxis assignment was introduced # this was the default case before the praxis assignment was introduced
else: else: