mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 281574 : Combine version_/milestone_/component_no_action errors into one.
Patch by Shane H. W. Travis <travis@sedsystems.ca> r=LpSolit a=myk
This commit is contained in:
parent
5a8678f30a
commit
a6fa7ee9b2
@ -671,4 +671,4 @@ if ($action eq 'update') {
|
||||
#
|
||||
# No valid action found
|
||||
#
|
||||
ThrowUserError('component_no_action');
|
||||
ThrowUserError('no_valid_action', {'field' => "component"});
|
||||
|
@ -594,4 +594,4 @@ if ($action eq 'update') {
|
||||
#
|
||||
# No valid action found
|
||||
#
|
||||
ThrowUserError('milestone_no_action');
|
||||
ThrowUserError('no_valid_action', {'field' => "target_milestone"});
|
||||
|
@ -446,4 +446,4 @@ if ($action eq 'update') {
|
||||
#
|
||||
# No valid action found
|
||||
#
|
||||
ThrowUserError('version_no_action');
|
||||
ThrowUserError('no_valid_action', {'field' => "version"});
|
||||
|
@ -258,10 +258,6 @@
|
||||
You must use an existing [% terms.Bugzilla %] account as initial QA contact for
|
||||
component '[% name FILTER html %]'.
|
||||
|
||||
[% ELSIF error == "component_no_action" %]
|
||||
[% title = "No valid action specified" %]
|
||||
No valid action was specified when trying to edit components.
|
||||
|
||||
[% ELSIF error == "product_not_specified" %]
|
||||
[% title = "No Product Specified" %]
|
||||
No product specified when trying to edit components, milestones or
|
||||
@ -629,10 +625,6 @@
|
||||
The name of a milestone is limited to 20 characters.
|
||||
'[% name FILTER html %]' is too long ([% name.length %] characters).
|
||||
|
||||
[% ELSIF error == "milestone_no_action" %]
|
||||
[% title = "No valid action specified" %]
|
||||
No valid action was specified when trying to edit milestones.
|
||||
|
||||
[% ELSIF error == "milestone_not_specified" %]
|
||||
[% title = "No Milestone Specified" %]
|
||||
No milestone specified when trying to edit milestones.
|
||||
@ -796,6 +788,10 @@
|
||||
Either no products have been defined to enter [% terms.bugs %] against or you have not
|
||||
been given access to any.
|
||||
|
||||
[% ELSIF error == "no_valid_action" %]
|
||||
[% title = "No valid action specified" %]
|
||||
Cannot edit [% field_descs.$field FILTER html %]: no valid action was specified.
|
||||
|
||||
[% ELSIF error == "number_not_numeric" %]
|
||||
[% title = "Numeric Value Required" %]
|
||||
The value '[% num FILTER html %]' in the
|
||||
@ -985,10 +981,6 @@
|
||||
The name of a version is limited to 20 characters.
|
||||
'[% name FILTER html %]' is too long ([% name.length %] characters).
|
||||
|
||||
[% ELSIF error == "version_no_action" %]
|
||||
[% title = "No valid action specified" %]
|
||||
No valid action was specified when trying to edit versions.
|
||||
|
||||
[% ELSIF error == "version_not_specified" %]
|
||||
[% title = "No Version Specified" %]
|
||||
No version specified when trying to edit versions.
|
||||
|
Loading…
Reference in New Issue
Block a user