From 34101e9b71fdda0ecde0db61c065677e3ef2b502 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 14 Aug 2014 14:06:51 +0800 Subject: Bug 1047405: Comment tagging GUI not fully localizable because of text in Javascript instead of template --- template/en/default/bug/edit.html.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index da4c675c7..4f7b8add4 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -53,6 +53,13 @@ YAHOO.bugzilla.commentTagging.init([% user.can_tag_comments ? 'true' : 'false' %]); YAHOO.bugzilla.commentTagging.min_len = [% constants.MIN_COMMENT_TAG_LENGTH FILTER js %]; YAHOO.bugzilla.commentTagging.max_len = [% constants.MAX_COMMENT_TAG_LENGTH FILTER js %]; + YAHOO.bugzilla.commentTagging.label = 'Comment Tags:'; + YAHOO.bugzilla.commentTagging.min_len_error = + 'Comment tags must be at least + [%~ " " _ constants.MIN_COMMENT_TAG_LENGTH FILTER js %] characters.'; + YAHOO.bugzilla.commentTagging.max_len_error = + 'Comment tags cannot be longer than + [%~ " " _ constants.MAX_COMMENT_TAG_LENGTH FILTER js %] characters.'; [% END %] [% END %] -- cgit v1.2.3-24-g4f1b