summaryrefslogtreecommitdiff
path: root/web-ui/app/js
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/js')
-rw-r--r--web-ui/app/js/helpers/view_helper.js3
-rw-r--r--web-ui/app/js/views/i18n.js4
2 files changed, 3 insertions, 4 deletions
diff --git a/web-ui/app/js/helpers/view_helper.js b/web-ui/app/js/helpers/view_helper.js
index c12e6aaf..ed9e0559 100644
--- a/web-ui/app/js/helpers/view_helper.js
+++ b/web-ui/app/js/helpers/view_helper.js
@@ -73,8 +73,7 @@ define(
function prependFrom(mail) {
return i18n.t(
- 'On __date__, <__from__> wrote:\n',
- {'date': new Date(mail.header.date).toString(), 'from': mail.header.from}
+ 'reply-author-line', {'date': new Date(mail.header.date).toString(), 'from': mail.header.from}
);
}
diff --git a/web-ui/app/js/views/i18n.js b/web-ui/app/js/views/i18n.js
index f843b845..29a1beca 100644
--- a/web-ui/app/js/views/i18n.js
+++ b/web-ui/app/js/views/i18n.js
@@ -28,8 +28,8 @@ function(i18n, i18n_backend, I18n_detector) {
return result.replace('-', '_');
};
- function t(i18n_key) {
- var result = i18n.t(i18n_key);
+ function t(i18n_key, options) {
+ var result = i18n.t(i18n_key, options);
var safe_string = new Handlebars.SafeString(result);
return safe_string.string;
}