[LON-CAPA-cvs] cvs: loncom /interface lonfeedback.pm
raeburn
raeburn at source.lon-capa.org
Thu Oct 3 23:04:45 EDT 2013
raeburn Fri Oct 4 03:04:45 2013 EDT
Modified files:
/loncom/interface lonfeedback.pm
Log:
- Facilitate translation by applying &mt() to complete sentences.
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.367 loncom/interface/lonfeedback.pm:1.368
--- loncom/interface/lonfeedback.pm:1.367 Mon Sep 23 17:35:07 2013
+++ loncom/interface/lonfeedback.pm Fri Oct 4 03:04:45 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.367 2013/09/23 17:35:07 bisitz Exp $
+# $Id: lonfeedback.pm,v 1.368 2013/10/04 03:04:45 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -468,18 +468,18 @@
my $numhidden = keys(%notshown);
if ($numhidden > 0) {
my $colspan = $maxdepth+1;
- $discussion.="\n".'<tr><td bgcolor="#CCCCCC" colspan="'.$colspan.'">'.
- '<a href="/adm/feedback?allposts=1&symb='.$escsymb;
+ $discussion.="\n".'<tr><td bgcolor="#CCCCCC" colspan="'.$colspan.'">';
+ my $href = '/adm/feedback?allposts=1&symb='.$escsymb;
if ($newpostsflag) {
- $discussion .= '&previous='.$prevread;
+ $href .= '&previous='.$prevread;
}
- $discussion .= &group_args($group);
- $discussion .= '">'.&mt('Show all posts').'</a> '.&mt('to display').' '.
- $numhidden.' ';
+ $href .= &group_args($group);
if ($showunmark) {
- $discussion .= &mt('posts previously marked read');
+ $discussion .= &mt('[_1]Show all posts[_2] to display [quant,_3,post] previously marked read',
+ '<a href="'.$href.'">','</a>',$numhidden);
} else {
- $discussion .= &mt('previously viewed posts');
+ $discussion .= &mt('[_1]Show all posts[_2] to display [quant,_3,post] previously viewed',
+ '<a href="'.$href.'">','</a>',$numhidden);
}
$discussion .= '<br/></td></tr>';
}
More information about the LON-CAPA-cvs
mailing list