summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mail_view/ui/no_mails_available_pane.js
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2016-06-28 19:11:17 -0300
committerTulio Casagrande <tcasagra@thoughtworks.com>2016-06-28 19:11:17 -0300
commitfff0f31a664acfdbff0ddd1a18e441dce0ee3514 (patch)
treeda90f9b774d44ca7d3e605706abeda37bac1d9d9 /web-ui/app/js/mail_view/ui/no_mails_available_pane.js
parent0e6217184eeeb69fa85fcf97d28be37e9042a71d (diff)
Normalize i18n keys
Diffstat (limited to 'web-ui/app/js/mail_view/ui/no_mails_available_pane.js')
-rw-r--r--web-ui/app/js/mail_view/ui/no_mails_available_pane.js4
1 files changed, 2 insertions, 2 deletions
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));
};