diff options
author | Byron Jones <bjones@mozilla.com> | 2013-11-25 16:21:03 +0800 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-11-25 16:21:03 +0800 |
commit | ba0765bf4dc468815e4fa45509010c0cd675e5b2 (patch) | |
tree | 32d979d1172495770a326f87f294c6f10a1eaa68 /template/en/default/global | |
parent | 0aade93cebf4192b240347e092a7e53a62436ea2 (diff) | |
download | bugs-ba0765bf4dc468815e4fa45509010c0cd675e5b2.tar bugs-ba0765bf4dc468815e4fa45509010c0cd675e5b2.tar.gz bugs-ba0765bf4dc468815e4fa45509010c0cd675e5b2.tar.bz2 bugs-ba0765bf4dc468815e4fa45509010c0cd675e5b2.tar.xz bugs-ba0765bf4dc468815e4fa45509010c0cd675e5b2.zip |
Bug 793963: add the ability to tag comments with arbitrary tags
r=dkl, a=glob
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 7ca346188..9ba52f733 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -170,6 +170,8 @@ classifications [% ELSIF object == "components" %] components + [% ELSIF object == "comment_tags" %] + comment tags [% ELSIF object == "custom_fields" %] custom fields [% ELSIF object == "field_values" %] @@ -318,6 +320,25 @@ Comments cannot be longer than [%+ constants.MAX_COMMENT_LENGTH FILTER html %] characters. + [% ELSIF error == "comment_tag_disabled" %] + [% title = "Comment Tagging Disabled" %] + The comment tagging is not enabled. + + [% ELSIF error == "comment_tag_invalid" %] + [% title = "Invalid Comment Tag" %] + The comment tag "[% tag FILTER html %]" contains invalid characters or + words. + + [% ELSIF error == "comment_tag_too_long" %] + [% title = "Comment Tag Too Long" %] + Comment tags cannot be longer than + [%+ constants.MAX_COMMENT_TAG_LENGTH FILTER html %] characters. + + [% ELSIF error == "comment_tag_too_short" %] + [% title = "Comment Tag Too Short" %] + Comment tags must be at least + [%+ constants.MIN_COMMENT_TAG_LENGTH FILTER html %] characters. + [% ELSIF error == "auth_classification_not_enabled" %] [% title = "Classification Not Enabled" %] Sorry, classification is not enabled. @@ -1720,9 +1741,13 @@ [% ELSIF error == "tag_name_too_long" %] [% title = "Tag Name Too Long" %] - The tag name must be less than [% constants.MAX_LEN_QUERY_NAME FILTER html %] + The tag must be less than [% constants.MAX_LEN_QUERY_NAME FILTER html %] characters long. + [% ELSIF error == "tag_name_invalid" %] + [% title = "Invalid Tag Name" %] + A tag cannot contain a space or a comma. + [% ELSIF error == "token_does_not_exist" %] [% title = "Token Does Not Exist" %] The token you submitted does not exist, has expired, or has |