]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 293950: enter bug product failure messages suboptimal - Patch by Frédéric Buclin...
authorlpsolit%gmail.com <>
Thu, 28 Jul 2005 03:27:43 +0000 (03:27 +0000)
committerlpsolit%gmail.com <>
Thu, 28 Jul 2005 03:27:43 +0000 (03:27 +0000)
template/en/default/global/user-error.html.tmpl

index df551e228f83159832e5af98f621e9d09e202af1..6fd58ee6684b0f23bd32131529b91b3705cd4758 100644 (file)
   
   [% ELSIF error == "entry_access_denied" %]
     [% title = "Permission Denied" %]
-    Sorry, either the product <em>[% product FILTER html %]</em> does not
-    exist, or you don't have the required permissions to
-    enter [% terms.abug %] against that product.
+    Sorry, either the product <em>[% product FILTER html %]</em>
+    does not exist or you aren't authorized to
+    enter [% terms.abug %] into it.
 
   [% ELSIF error == "fieldname_invalid" %]
     [% title = "Specified Field Does Not Exist" %]
 
   [% 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 %].
+    Sorry, the product <em>[% product FILTER html %]</em>
+    has to have at least one component in order for you to
+    enter [% terms.abug %] into it.<p>
     [% IF UserInGroup("editcomponents") %]
       <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 %].
+      Please contact [% Param("maintainer") %] and ask them
+      to add a component to this product.
     [% END %]
 
   [% ELSIF error == "missing_content_type" %]
                 
   [% 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 %].
+    Sorry, the product <em>[% product FILTER html %]</em>
+    has to have at least one version in order for you to
+    enter [% terms.abug %] into it.<p>
     [% 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 %].
+      Please contact [% Param("maintainer") %] and ask them
+      to add a version to this product.
     [% END %]
 
   [% ELSIF error == "need_component" %]
 
   [% ELSIF error == "product_disabled" %]
     [% 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.
 
   [% ELSIF error == "product_edit_denied" %]