[LON-CAPA-cvs] cvs: loncom /interface lonsearchcat.pm
bisitz
lon-capa-cvs-allow@mail.lon-capa.org
Mon, 04 Aug 2008 15:28:22 -0000
bisitz Mon Aug 4 11:28:22 2008 EDT
Modified files:
/loncom/interface lonsearchcat.pm
Log:
Localization:
Added missing &mt() calls
Index: loncom/interface/lonsearchcat.pm
diff -u loncom/interface/lonsearchcat.pm:1.296 loncom/interface/lonsearchcat.pm:1.297
--- loncom/interface/lonsearchcat.pm:1.296 Tue Jul 15 12:18:41 2008
+++ loncom/interface/lonsearchcat.pm Mon Aug 4 11:28:21 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Search Catalog
#
-# $Id: lonsearchcat.pm,v 1.296 2008/07/15 16:18:41 raeburn Exp $
+# $Id: lonsearchcat.pm,v 1.297 2008/08/04 15:28:21 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -281,8 +281,9 @@
$closebutton .="onClick='self.close()'";
}
$closebutton .= ">";
+ my $txt_import = &mt('IMPORT');
$importbutton=<<END;
-<input type='button' name='import' value='IMPORT'
+<input type='button' name='import' value='$txt_import'
onClick='javascript:select_group()'>
END
} else {
@@ -2555,9 +2556,12 @@
my $server;
my $status;
my $revise = &revise_button();
+ my $txt_total = &mt('Total Matches');
+ my $txt_remain = &mt('Time Remaining');
+ my $txt_status = &mt('Status');
$r->print(<<END);
<table>
-<tr><th>Status</th><th>Total Matches</th><th>Time Remaining</th><th></th></tr>
+<tr><th>$txt_status</th><th>$txt_total</th><th>$txt_remain</th><th></th></tr>
<tr>
<td><input type="text" name="status" value="" size="50" /></td>
<td><input type="text" name="count" value="" size="10" /></td>