[LON-CAPA-cvs] cvs: loncom /interface lonpickcourse.pm

bisitz bisitz at source.lon-capa.org
Tue Feb 5 11:38:00 EST 2013


bisitz		Tue Feb  5 16:38:00 2013 EDT

  Modified files:              
    /loncom/interface	lonpickcourse.pm 
  Log:
  - Internationalization
  - Standard style
  
  
Index: loncom/interface/lonpickcourse.pm
diff -u loncom/interface/lonpickcourse.pm:1.103 loncom/interface/lonpickcourse.pm:1.104
--- loncom/interface/lonpickcourse.pm:1.103	Thu Sep  1 02:32:50 2011
+++ loncom/interface/lonpickcourse.pm	Tue Feb  5 16:38:00 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Pick a course
 #
-# $Id: lonpickcourse.pm,v 1.103 2011/09/01 02:32:50 raeburn Exp $
+# $Id: lonpickcourse.pm,v 1.104 2013/02/05 16:38:00 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -364,9 +364,9 @@
     }
  
     if ($numcourses > 1 && $multiple) {
-        $r->print('<input type="button" value="check all"
+        $r->print('<input type="button" value="'.&mt('check all').'"
                   onclick="javascript:checkAll(document.courselist.course_id)" />
-                    <input type="button" value="uncheck all"
+                    <input type="button" value="'.&mt('uncheck all').'"
                   onclick="javascript:uncheckAll(document.courselist.course_id)" />
                   <br /><br />');
     }
@@ -494,9 +494,9 @@
     }
 
     if (!%courses) {
-        $r->print(&mt('None found'));
+        $r->print('<p class="LC_info">'.&mt('None found').'</p>');
     } elsif ($multiple) {
-        $r->print('<input type="button" value="Submit" onClick="gochoose('."'','','')".'" />');
+        $r->print('<input type="button" value="'.&mt('Submit').'" onClick="gochoose('."'','','')".'" />');
     }
     $r->print('<input type="hidden" name="form" value="'.$env{'form.form'}.'" />'.
               "\n".'<input type="hidden" name="pickedcourse" value="" />'."\n".




More information about the LON-CAPA-cvs mailing list