From 0338ce8b52fbba5991810cbb1c58828c8e9c4bfc Mon Sep 17 00:00:00 2001 From: "mozilla%colinogilvie.co.uk" <> Date: Sun, 17 Jul 2005 17:35:08 +0000 Subject: Bug 300684: missing_version_or_component error message is not translatable Patch by A. Karl Kornel , r=jouni, a=justdave --- globals.pl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'globals.pl') diff --git a/globals.pl b/globals.pl index 87d496c7b..89e70e0a8 100644 --- a/globals.pl +++ b/globals.pl @@ -506,17 +506,13 @@ sub CanEnterProductOrWarn { trick_taint($product); if (!defined $allow_new_bugs) { - ThrowUserError("missing_version_or_component", - { product => $product, - missing_item => 'Component' }) + ThrowUserError("missing_component", { product => $product }); } elsif (!$allow_new_bugs) { ThrowUserError("product_disabled", { product => $product}); } elsif ($allow_new_bugs < 0) { ThrowUserError("entry_access_denied", { product => $product}); } elsif (!$has_version) { - ThrowUserError("missing_version_or_component", - { product => $product, - missing_item => 'Version' }); + ThrowUserError("missing_version", { product => $product }); } return 1; } -- cgit v1.2.3-24-g4f1b