summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/edit.html.tmpl
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-08-14 08:05:54 +0200
committerByron Jones <glob@mozilla.com>2014-08-14 08:05:54 +0200
commit2cb85ad6cba30c44bdaf3d9c5cc7c1ad1fadd416 (patch)
tree4f8aa626e5e030d2d03d079d1acbf4d3450a6fd1 /template/en/default/bug/edit.html.tmpl
parent424b21e37cd9aeac01588ce0defd3ee665944b1d (diff)
downloadbugzilla-2cb85ad6cba30c44bdaf3d9c5cc7c1ad1fadd416.tar.gz
bugzilla-2cb85ad6cba30c44bdaf3d9c5cc7c1ad1fadd416.tar.xz
Bug 1047405: Comment tagging GUI not fully localizable because of text in Javascript instead of template
r=sgreen,a=glob
Diffstat (limited to 'template/en/default/bug/edit.html.tmpl')
-rw-r--r--template/en/default/bug/edit.html.tmpl7
1 files changed, 7 insertions, 0 deletions
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.';
</script>
[% END %]
[% END %]