Commit c10df9cb authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 293950: enter bug product failure messages suboptimal - Patch by Frédéric…

Bug 293950: enter bug product failure messages suboptimal - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=myk
parent 7ee5da70
...@@ -358,9 +358,9 @@ ...@@ -358,9 +358,9 @@
[% ELSIF error == "entry_access_denied" %] [% ELSIF error == "entry_access_denied" %]
[% title = "Permission Denied" %] [% title = "Permission Denied" %]
Sorry, either the product <em>[% product FILTER html %]</em> does not Sorry, either the product <em>[% product FILTER html %]</em>
exist, or you don't have the required permissions to does not exist or you aren't authorized to
enter [% terms.abug %] against that product. enter [% terms.abug %] into it.
[% ELSIF error == "fieldname_invalid" %] [% ELSIF error == "fieldname_invalid" %]
[% title = "Specified Field Does Not Exist" %] [% title = "Specified Field Does Not Exist" %]
...@@ -754,15 +754,15 @@ ...@@ -754,15 +754,15 @@
[% ELSIF error == "missing_component" %] [% ELSIF error == "missing_component" %]
[% title = "Missing Component" %] [% title = "Missing Component" %]
Sorry; there needs to be at least one component Sorry, the product <em>[% product FILTER html %]</em>
associated with the product <em>[% product FILTER html %]</em> in order to has to have at least one component in order for you to
create a new [% terms.bug %]. enter [% terms.abug %] into it.<p>
[% IF UserInGroup("editcomponents") %] [% IF UserInGroup("editcomponents") %]
<a href="editcomponents.cgi?product=[% product FILTER url_quote %]">Create <a href="editcomponents.cgi?product=[% product FILTER url_quote %]">Create
a new component</a>. a new component</a>.
[% ELSE %] [% ELSE %]
Please contact [% Param("maintainer") %], giving the name of Please contact [% Param("maintainer") %] and ask them
the product in which you tried to create a new [% terms.bug %]. to add a component to this product.
[% END %] [% END %]
[% ELSIF error == "missing_content_type" %] [% ELSIF error == "missing_content_type" %]
...@@ -815,15 +815,15 @@ ...@@ -815,15 +815,15 @@
[% ELSIF error == "missing_version" %] [% ELSIF error == "missing_version" %]
[% title = "Missing Version" %] [% title = "Missing Version" %]
Sorry; there needs to be at least one version Sorry, the product <em>[% product FILTER html %]</em>
associated with the product <em>[% product FILTER html %]</em> in order to has to have at least one version in order for you to
create a new [% terms.bug %]. enter [% terms.abug %] into it.<p>
[% IF UserInGroup("editcomponents") %] [% IF UserInGroup("editcomponents") %]
<a href="editversions.cgi?product=[% product FILTER url_quote %]">Create <a href="editversions.cgi?product=[% product FILTER url_quote %]">Create
a new version</a>. a new version</a>.
[% ELSE %] [% ELSE %]
Please contact [% Param("maintainer") %], giving the name of Please contact [% Param("maintainer") %] and ask them
the product in which you tried to create a new [% terms.bug %]. to add a version to this product.
[% END %] [% END %]
[% ELSIF error == "need_component" %] [% ELSIF error == "need_component" %]
...@@ -947,7 +947,7 @@ ...@@ -947,7 +947,7 @@
[% ELSIF error == "product_disabled" %] [% ELSIF error == "product_disabled" %]
[% title = BLOCK %]Product closed for [% terms.Bugs %] Entry[% END %] [% title = BLOCK %]Product closed for [% terms.Bugs %] Entry[% END %]
Sorry, entering [% terms.bugs %] into Sorry, entering [% terms.bugs %] into the
product <em>[% product FILTER html %]</em> has been disabled. product <em>[% product FILTER html %]</em> has been disabled.
[% ELSIF error == "product_edit_denied" %] [% ELSIF error == "product_edit_denied" %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment