--- loncom/interface/lonrequestcourse.pm	2013/03/01 04:48:59	1.66
+++ loncom/interface/lonrequestcourse.pm	2013/07/22 18:06:51	1.68
@@ -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.68 2013/07/22 18:06:51 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -734,7 +734,8 @@ END
         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 @@ END
                 }
             } else {
                 if (actionchoice == 'new') {
-                    alert("$lt{'all'}");
+                    alert('$lt{'all'}'+'\\n'+'$lt{'allt'}');
                     return false;
                 }               
             }
@@ -2305,8 +2306,8 @@ ENDJS
 }
 
 sub viewcancel_javascript {
-    my $alert = &mt('Are you sure you want to cancel this request?\\n'.
-                    'Your request will be removed.');
+    my $alert = &mt('Are you sure you want to cancel this request?').'\\n'.
+                &mt('Your request will be removed.');
     return << "ENDJS";
 function nextPage(formname,nextstate) {
     if (confirm('$alert')) {