From bc3be32b221780efb4ecaa9ccc651edf62e67370 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sat, 12 Mar 2005 22:17:32 +0000 Subject: [PATCH] remove namespace calls from Internationalization calls --- lib/WebGUI/Asset/Shortcut.pm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/WebGUI/Asset/Shortcut.pm b/lib/WebGUI/Asset/Shortcut.pm index 0dcfad770..4f2a43224 100644 --- a/lib/WebGUI/Asset/Shortcut.pm +++ b/lib/WebGUI/Asset/Shortcut.pm @@ -361,15 +361,15 @@ sub _drawQueryBuilder { my %operator; foreach (@textFields) { $operator{$_} = { - "=" => WebGUI::International::get("is",$_[0]->get("namespace")), - "!=" => WebGUI::International::get("isnt",$_[0]->get("namespace")) + "=" => WebGUI::International::get("is","Shortcut"), + "!=" => WebGUI::International::get("isnt","Shortcut") }; } $operator{integer} = { - "=" => WebGUI::International::get("equal to",$_[0]->get("namespace")), - "!=" => WebGUI::International::get("not equal to",$_[0]->get("namespace")), - "<" => WebGUI::International::get("less than",$_[0]->get("namespace")), - ">" => WebGUI::International::get("greater than",$_[0]->get("namespace")) + "=" => WebGUI::International::get("equal to","Shortcut"), + "!=" => WebGUI::International::get("not equal to","Shortcut"), + "<" => WebGUI::International::get("less than","Shortcut"), + ">" => WebGUI::International::get("greater than","Shortcut") }; # Get the fields and count them @@ -391,8 +391,8 @@ sub _drawQueryBuilder { my $conjunctionField = WebGUI::Form::selectList({ name=>"conjunction", options=>{ - "AND" => WebGUI::International::get("AND",$_[0]->get("namespace")), - "OR" => WebGUI::International::get("OR",$_[0]->get("namespace"))}, + "AND" => WebGUI::International::get("AND","Shortcut"), + "OR" => WebGUI::International::get("OR","Shortcut")}, value=>["OR"], extras=>'class="qbselect"', });