diff options
Diffstat (limited to 'web-ui/app/js')
-rw-r--r-- | web-ui/app/js/mail_view/ui/send_button.js | 8 |
1 files changed, 5 insertions, 3 deletions
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 5e3986f3..5454ab0a 100644 --- a/web-ui/app/js/mail_view/ui/send_button.js +++ b/web-ui/app/js/mail_view/ui/send_button.js @@ -20,9 +20,10 @@ define([ 'flight/lib/component', 'flight/lib/utils', - 'page/events' + 'page/events', + 'helpers/view_helper' ], - function (defineComponent, utils, events) { + function (defineComponent, utils, events, viewHelper) { return defineComponent(sendButton); @@ -79,13 +80,14 @@ define([ this.trigger(document, events.ui.recipients.doCompleteInput); this.disableButton(); - this.$node.text('Sending...'); + this.$node.text(viewHelper.i18n('sending-mail')); }; this.after('initialize', function () { this.attr.recipients = {}; this.attr.inputHasMail = {}; + this.$node.html(viewHelper.i18n('send-button')); this.on(document, events.ui.recipients.inputHasMail, this.inputHasMail); this.on(document, events.ui.recipients.inputHasNoMail, this.inputHasNoMail); |