diff options
Diffstat (limited to 'web-ui/app/js/mail_view/ui')
-rw-r--r-- | web-ui/app/js/mail_view/ui/forward_box.js | 2 | ||||
-rw-r--r-- | web-ui/app/js/mail_view/ui/reply_box.js | 2 | ||||
-rw-r--r-- | web-ui/app/js/mail_view/ui/send_button.js | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/web-ui/app/js/mail_view/ui/forward_box.js b/web-ui/app/js/mail_view/ui/forward_box.js index f767915c..970fad7f 100644 --- a/web-ui/app/js/mail_view/ui/forward_box.js +++ b/web-ui/app/js/mail_view/ui/forward_box.js @@ -31,7 +31,7 @@ define( return defineComponent(forwardBox, withHideAndShow, withComposeInline); function forwardBox() { - var fwd = function(v) { return i18n('fwd') + ': ' + v; }; + var fwd = function(v) { return i18n.t('fwd') + v; }; this.fetchTargetMail = function (ev) { this.trigger(document, events.mail.want, { mail: this.attr.ident, caller: this }); diff --git a/web-ui/app/js/mail_view/ui/reply_box.js b/web-ui/app/js/mail_view/ui/reply_box.js index ba306d7f..fdc9dd0f 100644 --- a/web-ui/app/js/mail_view/ui/reply_box.js +++ b/web-ui/app/js/mail_view/ui/reply_box.js @@ -46,7 +46,7 @@ define( } }; - var re = function(v) { return i18n('re') + v; }; + var re = function(v) { return i18n.t('re') + v; }; this.setupReplyBox = function() { var recipients, body; diff --git a/web-ui/app/js/mail_view/ui/send_button.js b/web-ui/app/js/mail_view/ui/send_button.js index c4cf86dc..581a244a 100644 --- a/web-ui/app/js/mail_view/ui/send_button.js +++ b/web-ui/app/js/mail_view/ui/send_button.js @@ -89,7 +89,7 @@ define([ }.bind(this))); this.disableButton(); - this.$node.text(viewHelper.i18n('sending-mail')); + this.$node.text(viewHelper.i18n.t('sending-mail')); this.attr.sendingInProgress = true; @@ -99,7 +99,7 @@ define([ this.resetButton = function () { this.attr.sendingInProgress = false; this.attr.uploading = false; - this.$node.html(viewHelper.i18n('send-button')); + this.$node.html(viewHelper.i18n.t('send-button')); this.enableButton(); }; |