[LON-CAPA-cvs] cvs: loncom /interface loncoursegroups.pm
raeburn
raeburn at source.lon-capa.org
Thu Aug 29 18:24:32 EDT 2013
raeburn Thu Aug 29 22:24:32 2013 EDT
Modified files:
/loncom/interface loncoursegroups.pm
Log:
- Some preliminary changes to aid translation (more work needed).
Index: loncom/interface/loncoursegroups.pm
diff -u loncom/interface/loncoursegroups.pm:1.118 loncom/interface/loncoursegroups.pm:1.119
--- loncom/interface/loncoursegroups.pm:1.118 Mon Jul 22 18:06:51 2013
+++ loncom/interface/loncoursegroups.pm Thu Aug 29 22:24:32 2013
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: loncoursegroups.pm,v 1.118 2013/07/22 18:06:51 bisitz Exp $
+# $Id: loncoursegroups.pm,v 1.119 2013/08/29 22:24:32 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3534,7 +3534,7 @@
if ($num_ok) {
my $msgall ='';
foreach my $type (sort(keys(%added))) {
- my $message = &mt('The following users were successfully [_1]',$type);
+ my $message = &mt('The following users were successfully $type");
if (!($type eq 'deleted' || $type eq 'expired')) {
$message .= &mt(' with the following privileges');
}
@@ -4209,15 +4209,15 @@
}
if ($action eq 'create') {
if (exists($curr_groups{$groupname})) {
- return $exitmsg.$lt{'cnnb'}.&mt('an existing [_1]',$gpterm).
+ return $exitmsg.$lt{'cnnb'}.&mt("an existing $gpterm").
$lt{'inth'}.'.<br />'.$lt{'grna'};
} elsif (exists($deleted_groups{$groupname})) {
- return $exitmsg.$lt{'cnnb'}.&mt('a [_1] which previously existed',$gpterm).
+ return $exitmsg.$lt{'cnnb'}.&mt("a $gpterm which previously existed").
$lt{'inth'}.'.<br />'.$lt{'grna'};
}
} elsif ($action eq 'modify') {
unless(exists($curr_groups{$groupname})) {
- $earlyout = &mt('[_1] name:',$ucgpterm).' '.$groupname.$lt{'thgr'}.
+ $earlyout = &mt("$ucgpterm name:").' '.$groupname.$lt{'thgr'}.
$lt{'inth'};
return $earlyout;
}
More information about the LON-CAPA-cvs
mailing list