From fff0f31a664acfdbff0ddd1a18e441dce0ee3514 Mon Sep 17 00:00:00 2001 From: Tulio Casagrande Date: Tue, 28 Jun 2016 19:11:17 -0300 Subject: Normalize i18n keys --- web-ui/app/js/mail_view/ui/no_mails_available_pane.js | 4 ++-- web-ui/app/js/mail_view/ui/send_button.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'web-ui/app/js/mail_view') diff --git a/web-ui/app/js/mail_view/ui/no_mails_available_pane.js b/web-ui/app/js/mail_view/ui/no_mails_available_pane.js index 5f083685..c62c6b30 100644 --- a/web-ui/app/js/mail_view/ui/no_mails_available_pane.js +++ b/web-ui/app/js/mail_view/ui/no_mails_available_pane.js @@ -37,8 +37,8 @@ define( var mailsQueryMatch = /-?in:"?[\w]+"?|tag:"[\w]+"/g; this.render = function() { - this.attr.tag = this.attr.tag.toUpperCase(); - this.attr.forSearch = this.attr.forSearch.replace(mailsQueryMatch, '').trim().toUpperCase(); + this.attr.tag = 'tags.' + this.attr.tag; + this.attr.forSearch = this.attr.forSearch.replace(mailsQueryMatch, '').trim(); this.$node.html(templates.noMailsAvailable(this.attr)); }; 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 581a244a..66fe1233 100644 --- a/web-ui/app/js/mail_view/ui/send_button.js +++ b/web-ui/app/js/mail_view/ui/send_button.js @@ -99,7 +99,7 @@ define([ this.resetButton = function () { this.attr.sendingInProgress = false; this.attr.uploading = false; - this.$node.html(viewHelper.i18n.t('send-button')); + this.$node.html(viewHelper.i18n.t('send')); this.enableButton(); }; -- cgit v1.2.3