Commit b1dc5693 authored by Curtis Adam's avatar Curtis Adam Committed by Tom Käsler

Remove cut off i18n notification messages

parent 692f6d04
......@@ -286,7 +286,6 @@
"heading": "Aufgaben warten!",
"content": "Kartei: ",
"deadline": "\nFrist: ",
"warning": "\nNicht Bearbeiten der Aufgaben wird deine Lernstatistik zurücksetzen.",
"admin": "Du bist angemeldet als Admin!",
"cards": "\nKarten: "
},
......
......@@ -35,7 +35,7 @@ export class WebNotifier {
if (deadline.getTime() > cardset.learningEnd.getTime()) {
return (TAPi18n.__('notifications.deadline', null, Meteor.settings.mail.language) + getDateString(cardset.learningEnd));
} 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