'.
- &mt('The password you entered contained illegal characters').'.
'.
+ &mt('The password you entered contained illegal characters.').'
'.
&mt('Valid characters are').(<<"ENDERROR");
: space and
@@ -1366,7 +1376,7 @@ ENDERROR
} else {
# error error: run in circles, scream and shout
$r->print("".&mt("The password for [_1] was not changed",$user)."
".
- &mt('Please make sure your old password was entered correctly').'.');
+ &mt('Please make sure your old password was entered correctly.'));
return 1;
}
return;
@@ -1486,11 +1496,11 @@ sub verify_and_change_discussion {
if (defined($env{'form.discdisp'}) ) {
my $newdisp = $env{'form.newdisp'};
if ($newdisp eq 'unread') {
- $message .='In discussions: only new posts will be displayed.
';
+ $message .=&mt('In discussions: only new posts will be displayed.').'
';
&Apache::lonnet::put('environment',{'discdisplay' => $newdisp});
&Apache::lonnet::appenv('environment.discdisplay' => $newdisp);
} else {
- $message .= 'In discussions: all posts will be displayed.
';
+ $message .= &mt('In discussions: all posts will be displayed.').'
';
&Apache::lonnet::del('environment',['discdisplay']);
&Apache::lonnet::delenv('environment\.discdisplay');
}
@@ -1498,11 +1508,11 @@ sub verify_and_change_discussion {
if (defined($env{'form.discmark'}) ) {
my $newmark = $env{'form.newmark'};
if ($newmark eq 'ondisp') {
- $message.='In discussions: new posts will be cease to be identified as "new" after display.
';
+ $message.=&mt('In discussions: new posts will be cease to be identified as "NEW" after display.').'
';
&Apache::lonnet::put('environment',{'discmarkread' => $newmark});
&Apache::lonnet::appenv('environment.discmarkread' => $newmark);
} else {
- $message.='In discussions: posts will be identified as "new" until marked as read by the reader.
';
+ $message.=&mt('In discussions: posts will be identified as "NEW" until marked as read by the reader.').'
';
&Apache::lonnet::del('environment',['discmarkread']);
&Apache::lonnet::delenv('environment\.discmarkread');
}