From 2cb85ad6cba30c44bdaf3d9c5cc7c1ad1fadd416 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 14 Aug 2014 14:05:54 +0800 Subject: Bug 1047405: Comment tagging GUI not fully localizable because of text in Javascript instead of template r=sgreen,a=glob --- template/en/default/bug/edit.html.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'template/en/default') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 6917a89ec..ca0e771e0 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -29,6 +29,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