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

raeburn raeburn at source.lon-capa.org
Sat May 11 17:11:06 EDT 2013


raeburn		Sat May 11 21:11:06 2013 EDT

  Modified files:              
    /loncom/interface	lonrequestcourse.pm 
    /loncom/localize/localize	de.pm 
  Log:
  - With perl-5.8.8-40.el5_9, escaped double quotes became doubly escaped in
    javascript, resulting in a javascript error. 
  
  
Index: loncom/interface/lonrequestcourse.pm
diff -u loncom/interface/lonrequestcourse.pm:1.66 loncom/interface/lonrequestcourse.pm:1.67
--- loncom/interface/lonrequestcourse.pm:1.66	Fri Mar  1 04:48:59 2013
+++ loncom/interface/lonrequestcourse.pm	Sat May 11 21:10:31 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Request a course
 #
-# $Id: lonrequestcourse.pm,v 1.66 2013/03/01 04:48:59 raeburn Exp $
+# $Id: lonrequestcourse.pm,v 1.67 2013/05/11 21:10:31 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -734,7 +734,8 @@
         official => 'You are not permitted to request creation of an official course in this domain.',
         unofficial => 'You are not permitted to request creation of an unofficial course in this domain.',
         community => 'You are not permitted to request creation of a community this domain.',
-        all => 'You must choose a specific course type when making a new course request.\\n\"All types\" is not allowed.',
+        all => 'You must choose a specific course type when making a new course request.',
+        allt => '"All types" is not allowed.',
     ); 
     $js .= <<END;
     if (crschoice == 'official') {
@@ -756,7 +757,7 @@
                 }
             } else {
                 if (actionchoice == 'new') {
-                    alert("$lt{'all'}");
+                    alert('$lt{'all'}'+'\\n'+'$lt{'allt'}');
                     return false;
                 }               
             }
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.508 loncom/localize/localize/de.pm:1.509
--- loncom/localize/localize/de.pm:1.508	Tue Apr 30 15:10:27 2013
+++ loncom/localize/localize/de.pm	Sat May 11 21:11:06 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.508 2013/04/30 15:10:27 bisitz Exp $
+# $Id: de.pm,v 1.509 2013/05/11 21:11:06 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -21198,8 +21198,11 @@
    'Receive notification of authoring space requests requiring approval'
 => 'Benachrichtigung über Autorenbereich-Anträge, die eine Bestätigung erfordern',
 
-   'You must choose a specific course type when making a new course request.\\n\"All types\" is not allowed.'
-=> 'Sie müssen für einen Kursantrag einen bestimmten Kurstyp auswählen.\\n\"Alle Typen\" ist nicht zulässig.',
+   'You must choose a specific course type when making a new course request.'
+=> 'Sie müssen für einen Kursantrag einen bestimmten Kurstyp auswählen.',
+
+   '"All types" is not allowed.'
+=> '"Alle Typen" ist nicht zulässig.',
 
    'Redirect to log-in via:'
 => 'Umleitung auf Login-Seite über:',




More information about the LON-CAPA-cvs mailing list