[LON-CAPA-cvs] cvs: loncom /interface lonsyllabus.pm
bisitz
lon-capa-cvs-allow@mail.lon-capa.org
Wed, 16 Jan 2008 17:13:57 -0000
bisitz Wed Jan 16 12:13:57 2008 EDT
Modified files:
/loncom/interface lonsyllabus.pm
Log:
Localization: added missing &mt(...)
Index: loncom/interface/lonsyllabus.pm
diff -u loncom/interface/lonsyllabus.pm:1.62 loncom/interface/lonsyllabus.pm:1.63
--- loncom/interface/lonsyllabus.pm:1.62 Thu Jul 26 20:24:50 2007
+++ loncom/interface/lonsyllabus.pm Wed Jan 16 12:13:57 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Syllabus
#
-# $Id: lonsyllabus.pm,v 1.62 2007/07/27 00:24:50 albertel Exp $
+# $Id: lonsyllabus.pm,v 1.63 2008/01/16 17:13:57 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -189,7 +189,7 @@
}
if ($allowed) {
$r->print('<p>'.
-&Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes','Help with filling in text boxes').'</p><p>'.&mt('This syllabus can be publicly viewed at')
+&Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes',&mt('Help with filling in text boxes')).'</p><p>'.&mt('This syllabus can be publicly viewed at')
.' <tt>http://'.
&Apache::lonnet::hostname($homeserver).$r->uri.'</tt>'.
&Apache::loncommon::help_open_topic('Syllabus_ExtLink').'</p>'.
@@ -327,7 +327,7 @@
if ($allowed) {
$r->print('<br /><textarea cols="80" rows="12" name="'.$field.'" id="'.$field.'">'.
&HTML::Entities::encode($syllabus{$field},'"&<>').
- '</textarea> <input type="submit" name="storesyl" value="Save" />');
+ '</textarea> <input type="submit" name="storesyl" value="'.&mt('Save').'" />');
}
}
}
@@ -338,7 +338,7 @@
if ($target ne 'tex') {$r->print('</p>');} else {$r->print('\\\\');}
} else {
if ($target ne 'tex') {$r->print('<p>');} else {$r->print('\par ');}
- $r->print('No syllabus information provided.');
+ $r->print(&mt('No syllabus information provided.'));
if ($target ne 'tex') {$r->print('</p>');}
}
if ($target ne 'tex') {