Commit 93f03d5b authored by Curtis Adam's avatar Curtis Adam

Remove cut off i18n notification messages

parent d2d19d7f
...@@ -286,7 +286,6 @@ ...@@ -286,7 +286,6 @@
"heading": "Aufgaben warten!", "heading": "Aufgaben warten!",
"content": "Kartei: ", "content": "Kartei: ",
"deadline": "\nFrist: ", "deadline": "\nFrist: ",
"warning": "\nNicht Bearbeiten der Aufgaben wird deine Lernstatistik zurücksetzen.",
"admin": "Du bist angemeldet als Admin!", "admin": "Du bist angemeldet als Admin!",
"cards": "\nKarten: " "cards": "\nKarten: "
}, },
......
...@@ -35,7 +35,7 @@ export class WebNotifier { ...@@ -35,7 +35,7 @@ export class WebNotifier {
if (deadline.getTime() > cardset.learningEnd.getTime()) { if (deadline.getTime() > cardset.learningEnd.getTime()) {
return (TAPi18n.__('notifications.deadline', null, Meteor.settings.mail.language) + getDateString(cardset.learningEnd)); return (TAPi18n.__('notifications.deadline', null, Meteor.settings.mail.language) + getDateString(cardset.learningEnd));
} else { } else {
return (TAPi18n.__('notifications.deadline', null, Meteor.settings.mail.language) + getDateString(deadline) + TAPi18n.__('notifications.warning', null, Meteor.settings.mail.language)); return (TAPi18n.__('notifications.deadline', null, Meteor.settings.mail.language) + getDateString(deadline));
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment