[LON-CAPA-cvs] cvs: loncom /interface lonhelper.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Wed, 21 Apr 2004 17:29:57 -0000
sakharuk Wed Apr 21 13:29:57 2004 EDT
Modified files:
/loncom/interface lonhelper.pm
Log:
Some localization.
Index: loncom/interface/lonhelper.pm
diff -u loncom/interface/lonhelper.pm:1.70 loncom/interface/lonhelper.pm:1.71
--- loncom/interface/lonhelper.pm:1.70 Tue Apr 20 11:46:34 2004
+++ loncom/interface/lonhelper.pm Wed Apr 21 13:29:57 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# .helper XML handler to implement the LON-CAPA helper
#
-# $Id: lonhelper.pm,v 1.70 2004/04/20 15:46:34 sakharuk Exp $
+# $Id: lonhelper.pm,v 1.71 2004/04/21 17:29:57 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3157,12 +3157,12 @@
$result .= '<p>'.&mt('Confirm that this information is correct, then click "Finish Helper" to complete setting the parameter.').'<ul>';
# Print the type of manipulation:
- $result .= '<li>Setting the <b>' . $dateTypeHash{$vars->{ACTION_TYPE}} . '</b>';
+ $result .= '<li>'.&mt('Setting the').' <b>' . &mt($dateTypeHash{$vars->{ACTION_TYPE}}) . '</b>';
if ($vars->{ACTION_TYPE} eq 'tries') {
- $result .= ' to <b>' . $vars->{TRIES} . '</b>';
+ $result .= ' '.&mt('to').' <b>' . $vars->{TRIES} . '</b>';
}
if ($vars->{ACTION_TYPE} eq 'weight') {
- $result .= ' to <b>' . $vars->{WEIGHT} . '</b>';
+ $result .= ' '.&mt('to').' <b>' . $vars->{WEIGHT} . '</b>';
}
$result .= "</li>\n";
if ($vars->{ACTION_TYPE} eq 'due_date' ||
@@ -3193,7 +3193,7 @@
# Print targets
if ($vars->{TARGETS} eq 'course') {
- $result .= '<li>for <b>all students in course</b></li>';
+ $result .= '<li>'.&mt('for').' <b>'.&mt('all students in course').'</b></li>';
} elsif ($vars->{TARGETS} eq 'section') {
my $section = $vars->{SECTION_NAME};
$result .= "<li>for section <b>$section</b></li>";
@@ -3233,7 +3233,7 @@
$result .= "\n<input type='hidden' value='$symb' name='pssymb' />";
$result .= "\n<input type='hidden' value='$paramlevel' name='parmlev' />";
- $result .= "<br /><br /><center><input type='submit' value='Finish Helper' /></center></form>\n";
+ $result .= "<br /><br /><center><input type='submit' value='".&mt('Finish Helper')."' /></center></form>\n";
return $result;
}