summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-08-14 08:06:51 +0200
committerByron Jones <glob@mozilla.com>2014-08-14 08:06:51 +0200
commit34101e9b71fdda0ecde0db61c065677e3ef2b502 (patch)
tree3fe69614270baf860503c2311ea67634787e100a /template/en
parentd4eb36bd5b8b7ebd0c1fdd08b6dc4c17129b98c3 (diff)
downloadbugzilla-34101e9b71fdda0ecde0db61c065677e3ef2b502.tar.gz
bugzilla-34101e9b71fdda0ecde0db61c065677e3ef2b502.tar.xz
Bug 1047405: Comment tagging GUI not fully localizable because of text in Javascript instead of template
Diffstat (limited to 'template/en')
-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 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.';
</script>
[% END %]
[% END %]