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

Bug 425565: Product name not displayed in the error message when adding/removing…

Bug 425565: Product name not displayed in the error message when adding/removing bugs to/from illegal groups - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=bbaetz a=LpSolit
parent 5faa2cf8
...@@ -647,13 +647,13 @@ ...@@ -647,13 +647,13 @@
[% ELSIF error == "group_invalid_removal" %] [% ELSIF error == "group_invalid_removal" %]
You tried to remove [% terms.bug %] [%+ bug.id FILTER html %] You tried to remove [% terms.bug %] [%+ bug.id FILTER html %]
from group id [% group_id FILTER html %], but [% terms.bugs %] in the from group id [% group_id FILTER html %], but [% terms.bugs %] in the
'[% product.name FILTER html %]' product can not be removed from that '[% product FILTER html %]' product can not be removed from that
group. group.
[% ELSIF error == "group_invalid_restriction" %] [% ELSIF error == "group_invalid_restriction" %]
You tried to restrict [% terms.bug %] [%+ bug.id FILTER html %] to You tried to restrict [% terms.bug %] [%+ bug.id FILTER html %] to
to group id [% group_id FILTER html %], but [% terms.bugs %] in the to group id [% group_id FILTER html %], but [% terms.bugs %] in the
'[% product.name FILTER html %]' product can not be restricted to '[% product FILTER html %]' product can not be restricted to
that group. that group.
[% ELSIF error == "group_not_specified" %] [% ELSIF error == "group_not_specified" %]
...@@ -1324,7 +1324,7 @@ ...@@ -1324,7 +1324,7 @@
[% title = BLOCK %]Product has [% terms.Bugs %][% END %] [% title = BLOCK %]Product has [% terms.Bugs %][% END %]
[% admindocslinks = {'products.html' => 'Administering products'} %] [% admindocslinks = {'products.html' => 'Administering products'} %]
There are [% nb FILTER html %] [%+ terms.bugs %] entered for this product! There are [% nb FILTER html %] [%+ terms.bugs %] entered for this product!
You must reassign those [% terms.bugs %] to another product before you You must move those [% terms.bugs %] to another product before you
can delete this one. can delete this one.
[% ELSIF error == "product_must_have_description" %] [% ELSIF error == "product_must_have_description" %]
......
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