[LON-CAPA-cvs] cvs: loncom /interface londocs.pm /localize/localize de.pm

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Sun, 20 Jan 2008 05:46:35 -0000


raeburn		Sun Jan 20 00:46:35 2008 EDT

  Modified files:              
    /loncom/localize/localize	de.pm 
    /loncom/interface	londocs.pm 
  Log:
  - Sentences separated by \\n put in separate phrases for localization.
  - Modify translation in de.pm accordingly. 
  - Modify quotes in javascript-generated confirm dialog for "About User" page to suppress javascript error.
  
  
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.111 loncom/localize/localize/de.pm:1.112
--- loncom/localize/localize/de.pm:1.111	Thu Jan 17 13:47:10 2008
+++ loncom/localize/localize/de.pm	Sun Jan 20 00:46:24 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.111 2008/01/17 18:47:10 bisitz Exp $
+# $Id: de.pm,v 1.112 2008/01/20 05:46:24 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -7323,8 +7323,11 @@
    '?[_99]'
 => 'wirklich entfernt werden?',
 
-   'WARNING: Cutting a resource makes associated grades and scores inaccessible!\\nGrades remain inaccessible if resource is pasted into another folder.'
-=> 'Achtung: Das Ausschneiden der Ressource macht die damit verknüpften Bewertungen und Punkte unerreichbar!\\nDei Bewertungen bleiben unerreichbar, auch wenn die Ressource in einem anderen Verzeichnis eingefügt wird.',
+   'WARNING: Cutting a resource makes associated grades and scores inaccessible!'
+=> 'Achtung: Das Ausschneiden der Ressource macht die damit verknüpften Bewertungen und Punkte unerreichbar!',
+
+   'Grades remain inaccessible if resource is pasted into another folder.'
+=> 'Dei Bewertungen bleiben unerreichbar, auch wenn die Ressource in einem anderen Verzeichnis eingefügt wird.',
 
    'Cut[_98]'
 => 'Soll[_98]',
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.302 loncom/interface/londocs.pm:1.303
--- loncom/interface/londocs.pm:1.302	Thu Jan 17 13:42:31 2008
+++ loncom/interface/londocs.pm	Sun Jan 20 00:46:34 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.302 2008/01/17 18:42:31 bisitz Exp $
+# $Id: londocs.pm,v 1.303 2008/01/20 05:46:34 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3150,7 +3150,8 @@
                                           p_rmr1 => 'WARNING: Removing a resource makes associated grades and scores inaccessible!',
                                           p_rmr2a => 'Remove[_99]',
                                           p_rmr2b => '?[_99]',
-                                          p_ctr1 => 'WARNING: Cutting a resource makes associated grades and scores inaccessible!\\nGrades remain inaccessible if resource is pasted into another folder.',
+                                          p_ctr1a => 'WARNING: Cutting a resource makes associated grades and scores inaccessible!',
+                                          p_ctr1b => 'Grades remain inaccessible if resource is pasted into another folder.',
                                           p_ctr2a => 'Cut[_98]',
                                           p_ctr2b => '?[_98]'
                                         );
@@ -3234,7 +3235,7 @@
 }
 
 function makeabout() {
-   var user=prompt('$lt{"p_mab"}');
+   var user=prompt("$lt{'p_mab'}");
    if (user) {
        var comp=new Array();
        comp=user.split(':');
@@ -3301,7 +3302,7 @@
 }
 
 function cutres(folderpath,index,oldtitle,container,pagesymb,folder,skip_confirm) {
-    if (skip_confirm || confirm('$lt{"p_ctr1"}\\n\\n$lt{"p_ctr2a"} "'+oldtitle+'" $lt{"p_ctr2b"}')) {
+    if (skip_confirm || confirm('$lt{"p_ctr1a"}\\n$lt{"p_ctr1b"}\\n\\n$lt{"p_ctr2a"} "'+oldtitle+'" $lt{"p_ctr2b"}')) {
 	this.document.forms.renameform.cmd.value='cut_'+index;
 	this.document.forms.renameform.markcopy.value=index;
 	this.document.forms.renameform.copyfolder.value=folder+'.'+container;