[LON-CAPA-cvs] cvs: loncom /interface lonsearchcat.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Mon, 08 Dec 2003 18:43:10 -0000
sakharuk Mon Dec 8 13:43:10 2003 EDT
Modified files:
/loncom/interface lonsearchcat.pm
Log:
Added a few &mt() calls.
Index: loncom/interface/lonsearchcat.pm
diff -u loncom/interface/lonsearchcat.pm:1.192 loncom/interface/lonsearchcat.pm:1.193
--- loncom/interface/lonsearchcat.pm:1.192 Mon Nov 17 15:53:28 2003
+++ loncom/interface/lonsearchcat.pm Mon Dec 8 13:43:10 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Search Catalog
#
-# $Id: lonsearchcat.pm,v 1.192 2003/11/17 20:53:28 albertel Exp $
+# $Id: lonsearchcat.pm,v 1.193 2003/12/08 18:43:10 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -545,14 +545,15 @@
$bodytag
ENDDOCUMENT
if (&Apache::lonnet::allowed('bre',$ENV{'request.role.domain'})) {
+ my $CatalogSearch=&mt('Catalog Search');
+ my $Statement=&mt('Enter terms or phrases separated by AND, OR, or NOT then press SEARCH below');
$scrout.=(<<ENDDOCUMENT);
-<h1>Catalog Search</h1>
+<h1>$CatalogSearch</h1>
<form method="post" action="/adm/searchcat">
<input type="hidden" name="phase" value="basic_search" />
$hidden_fields
<p>
-Enter terms or phrases separated by AND, OR, or NOT
-then press SEARCH below.
+$Statement.
</p>
<p>
<table>
@@ -565,12 +566,14 @@
my $domaincheckbox = &simplecheckbox('domains',$domain);
my $srch=&mt('Search');
my $header=&mt('Advanced Search');
+ my $userelatedwords=&mt('use related words');
+ my $onlysearchdomain=&mt('only search domain');
$scrout.=<<END;
</td><td><a
href="/adm/searchcat?phase=disp_adv&catalogmode=$ENV{'form.catalogmode'}&launch=$ENV{'form.launch'}&mode=$ENV{'form.mode'}"
>$header</a></td></tr>
-<tr><td>$relatedcheckbox use related words</td>
- <td>$domaincheckbox only search domain <b>$domain</b></td></tr>
+<tr><td>$relatedcheckbox $userelatedwords</td>
+ <td>$domaincheckbox $onlysearchdomain <b>$domain</b></td></tr>
</table>
</p>
<p>