Commit 89ccc121 authored by Curtis Adam's avatar Curtis Adam

More translation fixes for push notifications

parent c751cd21
......@@ -24,9 +24,9 @@ export class WebNotifier {
deadline = new Date(active.currentDate.getTime() + cardset.daysBeforeReset * 86400000);
}
if (deadline.getTime() > cardset.learningEnd.getTime()) {
return (TAPi18n.__('notifications.deadline') + cardset.learningEnd.toLocaleDateString());
return (TAPi18n.__('notifications.deadline', null, Meteor.settings.mail.language) + cardset.learningEnd.toLocaleDateString());
} else {
return (TAPi18n.__('notifications.deadline') + deadline.toLocaleDateString() + TAPi18n.__('notifications.warning'));
return (TAPi18n.__('notifications.deadline', null, Meteor.settings.mail.language) + deadline.toLocaleDateString() + TAPi18n.__('notifications.warning', null, Meteor.settings.mail.language));
}
}
}
......
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