diff options
author | Caio Carrara <ccarrara@thoughtworks.com> | 2016-06-24 17:15:54 -0300 |
---|---|---|
committer | Caio Carrara <ccarrara@thoughtworks.com> | 2016-06-27 16:39:55 -0300 |
commit | 361796f0ff1eb0f450f768749d5c69f5c4f6b1e4 (patch) | |
tree | 01e1729ce21feccba9c08fd6e7d8452397d5521a /web-ui/app/js/mail_view/ui | |
parent | 6042a2b1b93d2f2a89c418971d7e12b5a79b3314 (diff) |
Updates the i18next to latest version
See: #727
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(); }; |