[LON-CAPA-cvs] cvs: loncom /interface lonfeedback.pm
raeburn
raeburn at source.lon-capa.org
Mon Dec 17 11:05:59 EST 2012
raeburn Mon Dec 17 16:05:59 2012 EDT
Modified files:
/loncom/interface lonfeedback.pm
Log:
- Localization.
- Use complete sentences to facilitate transalation.
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.359 loncom/interface/lonfeedback.pm:1.360
--- loncom/interface/lonfeedback.pm:1.359 Tue Oct 2 18:08:12 2012
+++ loncom/interface/lonfeedback.pm Mon Dec 17 16:05:59 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.359 2012/10/02 18:08:12 bisitz Exp $
+# $Id: lonfeedback.pm,v 1.360 2012/12/17 16:05:59 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3981,8 +3981,6 @@
my $feedurl = '/adm/navmaps';
if ($env{'form.navurl'}) { $feedurl .= '?'.$env{'form.navurl'}; }
my %lt = &Apache::lonlocal::texthash(
- 'mnpa' => 'Marked "New" posts as read in a total of',
- 'robb' => 'resources/bulletin boards.',
'twnp' => 'There are currently no resources or discussion boards with unread discussion postings.'
);
foreach my $res (@resources) {
@@ -3991,7 +3989,10 @@
my $lastkey = $ressymb.'_lastread';
$discinfo{$lastkey} = $env{'form.navtime'};
}
- my $textline = "<b>$lt{'mnpa'} $numitems $lt{'robb'}</b>";
+ my $textline = '<b>'.
+ &mt('Marked "New" posts as read in a total of [_1] resources/bulletin boards.',
+ $numitems).
+ '</b>";
if ($numitems > 0) {
&Apache::lonnet::put('nohist_'.$env{'request.course.id'}.'_discuss',
\%discinfo,$env{'user.domain'},$env{'user.name'});
More information about the LON-CAPA-cvs
mailing list