Skip to content

Commit 9147f2c

Browse files
committed
improve translation
1 parent ccb20ea commit 9147f2c

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

frontend/locale/de_DE/LC_MESSAGES/django.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,15 +229,15 @@ msgstr "Kommentar erfolgreich gelöscht."
229229
msgid "Successfully edited Comment."
230230
msgstr "Kommentar erfolgreich bearbeitet."
231231

232-
#: frontend/views/course.py:28
232+
#: frontend/views/course.py:27
233233
msgid ""
234-
"Course '{cleaned_data['title']}' successfully created. All settings from "
235-
"course '{original_course.title}' were copied."
234+
"Course '{cleaned_data['title']}' successfully created. All settings and "
235+
"contents of the course '{original_course.title}' were copied."
236236
msgstr ""
237-
"Kurs '{cleaned_data['title']}' erfolgreich erstellt. Alle Einstellungen und Inhalte des "
238-
"Kurses '{original_course.title}' wurden kopiert."
237+
"Kurs '{cleaned_data['title']}' erfolgreich erstellt. Alle Einstellungen und "
238+
"Inhalte des Kurses '{original_course.title}' wurden kopiert."
239239

240-
#: frontend/views/course.py:63
240+
#: frontend/views/course.py:62
241241
msgid "Course '{cleaned_data['title']}' successfully created"
242242
msgstr "Kurs '{cleaned_data['title']}' erfolgreich angelegt"
243243

frontend/views/course.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class DuplicateCourseView(SuccessMessageMixin, LoginRequiredMixin, CreateView):
2424

2525
def get_success_message(self, cleaned_data):
2626
original_course = Course.objects.get(pk=self.get_object().id)
27-
return _(f"Course '{cleaned_data['title']}' successfully created. All settings from course '{original_course.title}' were copied.")
27+
return _(f"Course '{cleaned_data['title']}' successfully created. All settings and contents from course '{original_course.title}' were copied.")
2828

2929
def get_initial(self):
3030
course_to_duplicate = Course.objects.get(pk=self.get_object().id)

0 commit comments

Comments
 (0)