[LON-CAPA-cvs] cvs: loncom /homework lonhomework.pm
bisitz
bisitz at source.lon-capa.org
Fri Jan 10 12:51:10 EST 2014
bisitz Fri Jan 10 17:51:10 2014 EDT
Modified files:
/loncom/homework lonhomework.pm
Log:
Internationalization: Do not translate help filename (corrects rev. 1.292)
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.341 loncom/homework/lonhomework.pm:1.342
--- loncom/homework/lonhomework.pm:1.341 Fri Jan 10 17:03:30 2014
+++ loncom/homework/lonhomework.pm Fri Jan 10 17:51:10 2014
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Homework handler
#
-# $Id: lonhomework.pm,v 1.341 2014/01/10 17:03:30 bisitz Exp $
+# $Id: lonhomework.pm,v 1.342 2014/01/10 17:51:10 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1130,7 +1130,7 @@
'/templates/*.'.$glob_extension);
@files = map {[$_,&mt(&Apache::lonnet::metadata($_, 'title')),
(&Apache::lonnet::metadata($_, 'category')?&mt(&Apache::lonnet::metadata($_, 'category')):&mt('Miscellaneous')),
- &mt(&Apache::lonnet::metadata($_, 'help'))]} (@files);
+ &Apache::lonnet::metadata($_, 'help')]} (@files);
@files = sort {$a->[2].$a->[1] cmp $b->[2].$b->[1]} (@files);
my ($midpoint,$seconddiv,$numfiles);
my @noexamplelink = ('blank.problem','blank.library','script.library');
More information about the LON-CAPA-cvs
mailing list