[LON-CAPA-cvs] cvs: loncom /interface londocs.pm portfolio.pm
bisitz
bisitz at source.lon-capa.org
Wed Aug 21 11:42:23 EDT 2013
bisitz Wed Aug 21 15:42:23 2013 EDT
Modified files:
/loncom/interface portfolio.pm londocs.pm
Log:
Internationalization: Do not translate already translated phrases.
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.249 loncom/interface/portfolio.pm:1.250
--- loncom/interface/portfolio.pm:1.249 Tue Aug 13 17:38:19 2013
+++ loncom/interface/portfolio.pm Wed Aug 21 15:42:22 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network
# portfolio browser
#
-# $Id: portfolio.pm,v 1.249 2013/08/13 17:38:19 bisitz Exp $
+# $Id: portfolio.pm,v 1.250 2013/08/21 15:42:22 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2626,7 +2626,7 @@
} else {
($uname,$udom) = &get_name_dom();
$portfolio_root = &get_portfolio_root();
- $title = &mt('My Space');
+ $title = 'My Space';
$can_modify = 1;
$can_delete = 1;
$can_upload = 1;
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.561 loncom/interface/londocs.pm:1.562
--- loncom/interface/londocs.pm:1.561 Sun Aug 18 17:31:26 2013
+++ loncom/interface/londocs.pm Wed Aug 21 15:42:23 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.561 2013/08/18 17:31:26 raeburn Exp $
+# $Id: londocs.pm,v 1.562 2013/08/21 15:42:23 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5186,13 +5186,13 @@
my ($crstype) = @_;
my $lc_crstype = lc($crstype);
my ($home,$other,%outhash)=&authorhosts();
- my %lt=&Apache::lonlocal::texthash (
+ my %lt= ( # do not translate here
'vc' => 'Verify Content',
'cv' => 'Check/Set Resource Versions',
'ls' => 'List Resource Identifiers',
'imse' => 'Export contents to IMS Archive',
'dcd' => "Dump $crstype Content to Authoring Space",
- );
+ );
my ($candump,$dumpurl);
if ($home + $other > 0) {
$candump = 'F';
More information about the LON-CAPA-cvs
mailing list