[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm /localize/localize de.pm
bisitz
bisitz@source.lon-capa.org
Fri, 17 Apr 2009 15:55:03 -0000
bisitz Fri Apr 17 15:55:03 2009 EDT
Modified files:
/loncom/interface lonmenu.pm
/loncom/localize/localize de.pm
Log:
After the tidy up actions of translation phrases for Remote Control (de 1.277),
some inconsistencies were found (lonmenu.pm vs. mydesk.tab):
Three different Remote Control phrases has been used twice in different context.
Now use so far unused fake parameters to allow proper translation of all phrases for Remote Control.
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.258 loncom/interface/lonmenu.pm:1.259
--- loncom/interface/lonmenu.pm:1.258 Tue Apr 14 23:52:11 2009
+++ loncom/interface/lonmenu.pm Fri Apr 17 15:54:59 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.258 2009/04/14 23:52:11 raeburn Exp $
+# $Id: lonmenu.pm,v 1.259 2009/04/17 15:54:59 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -502,7 +502,7 @@
if ($env{'request.symb'} ne '' &&
$env{'request.filename'}=~/\.(problem|exam|quiz|assess|survey|form|task)$/) {
if (&Apache::lonnet::allowed('mgr',$crs)) {
- $hwkadd.=&switch('','',7,2,'pgrd.gif','problem[_1]','grades[_3]',
+ $hwkadd.=&switch('','',7,2,'pgrd.gif','problem[_1]','grades[_4]',
"gocmd('/adm/grades','gradingmenu')",
'Modify user grades for this assessment resource');
} elsif (&Apache::lonnet::allowed('vgr',$crs)) {
@@ -629,7 +629,7 @@
$menuitems=(<<ENDMENUITEMS);
s&6&1&list.gif&list[_1]&dir[_1]&golist('$esc_currdir')&List current directory
s&6&2&rtrv.gif&retrieve[_1]&version[_1]&gocstr('/adm/retrieve','/~$uname/$cleandisfn')&Retrieve old version
-s&6&3&pub.gif&publish[_1]&resource[_1]&gocstr('/adm/publish','/~$uname/$cleandisfn')&Publish this resource
+s&6&3&pub.gif&publish[_1]&resource[_3]&gocstr('/adm/publish','/~$uname/$cleandisfn')&Publish this resource
s&7&1&del.gif&delete[_1]&resource[_2]&gocstr('/adm/cfile?action=delete','/~$uname/$cleandisfn')&Delete this resource
s&7&2&prt.gif&prepare[_1]&printout[_1]&gocstr('/adm/printout','/~$uname/$cleandisfn')&Prepare a printable document
ENDMENUITEMS
@@ -662,7 +662,7 @@
unless ($env{'request.noversionuri'}=~/\/(bulletinboard|smppg|navmaps|syllabus|aboutme)(\?|$)/) {
if (!$env{'request.enc'}) {
$menuitems.=(<<ENDREALRES);
-s&6&3&catalog.gif&catalog[_1]&info[_1]&catalog_info()&Show Metadata
+s&6&3&catalog.gif&catalog[_2]&info[_1]&catalog_info()&Show Metadata
ENDREALRES
}
$menuitems.=(<<ENDREALRES);
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.277 loncom/localize/localize/de.pm:1.278
--- loncom/localize/localize/de.pm:1.277 Fri Apr 17 15:38:28 2009
+++ loncom/localize/localize/de.pm Fri Apr 17 15:55:03 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# German Localization Lexicon
#
-# $Id: de.pm,v 1.277 2009/04/17 15:38:28 bisitz Exp $
+# $Id: de.pm,v 1.278 2009/04/17 15:55:03 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3409,7 +3409,7 @@
'problem[_1]'
=> 'Aufgaben',
- 'grades[_3]'
+ 'grades[_4]'
=> 'Bewert',
'sub-[_1]'
@@ -3429,7 +3429,7 @@
'publish[_1]'
=> 'Ressourc',
- 'resource[_1]'
+ 'resource[_3]'
=> 'veröffen',
'delete[_1]'
@@ -3458,7 +3458,7 @@
'tations[_1]'
=> 'ungen',
- 'catalog[_1]'
+ 'catalog[_2]'
=> 'Katalog-',
'info[_1]'
=> 'info',