diff options
author | mozilla%colinogilvie.co.uk <> | 2005-07-17 19:35:08 +0200 |
---|---|---|
committer | mozilla%colinogilvie.co.uk <> | 2005-07-17 19:35:08 +0200 |
commit | 0338ce8b52fbba5991810cbb1c58828c8e9c4bfc (patch) | |
tree | a97a52a1a48695a675a74da6756d9e16abdf5090 /template/en | |
parent | b5e92c544795bf7fa90c64c2457b9a5b728d7d2b (diff) | |
download | bugzilla-0338ce8b52fbba5991810cbb1c58828c8e9c4bfc.tar.gz bugzilla-0338ce8b52fbba5991810cbb1c58828c8e9c4bfc.tar.xz |
Bug 300684: missing_version_or_component error message is not translatable
Patch by A. Karl Kornel <karl@kornel.name>, r=jouni, a=justdave
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 800257ad9..df551e228 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -752,15 +752,14 @@ [% title = "Missing Category" %] You did not specify a category for this series. - [% ELSIF error == "missing_version_or_component" %] - [% title = BLOCK %]Missing [% missing_item FILTER none %][% END %] - Sorry; there needs to be at least one [% missing_item FILTER lower %] + [% ELSIF error == "missing_component" %] + [% title = "Missing Component" %] + Sorry; there needs to be at least one component associated with the product <em>[% product FILTER html %]</em> in order to create a new [% terms.bug %]. [% IF UserInGroup("editcomponents") %] - <a href="edit[% missing_item FILTER lower %]s.cgi?product= - [%- product FILTER url_quote %]">Create a new - [%+ missing_item FILTER lower %]</a>. + <a href="editcomponents.cgi?product=[% product FILTER url_quote %]">Create + a new component</a>. [% ELSE %] Please contact [% Param("maintainer") %], giving the name of the product in which you tried to create a new [% terms.bug %]. @@ -814,6 +813,19 @@ [% title = "Missing Subcategory" %] You did not specify a subcategory for this series. + [% ELSIF error == "missing_version" %] + [% title = "Missing Version" %] + Sorry; there needs to be at least one version + associated with the product <em>[% product FILTER html %]</em> in order to + create a new [% terms.bug %]. + [% IF UserInGroup("editcomponents") %] + <a href="editversions.cgi?product=[% product FILTER url_quote %]">Create + a new version</a>. + [% ELSE %] + Please contact [% Param("maintainer") %], giving the name of + the product in which you tried to create a new [% terms.bug %]. + [% END %] + [% ELSIF error == "need_component" %] [% title = "Component Required" %] You must specify a component to help determine the new assignee of these |