[LON-CAPA-cvs] cvs: loncom /html/adm/helper course.initialization.helper

sakharuk lon-capa-cvs@mail.lon-capa.org
Wed, 02 Jun 2004 17:31:03 -0000


sakharuk		Wed Jun  2 13:31:03 2004 EDT

  Modified files:              
    /loncom/html/adm/helper	course.initialization.helper 
  Log:
  Bug 2213 (localize helpers) is finally done.
  
  
Index: loncom/html/adm/helper/course.initialization.helper
diff -u loncom/html/adm/helper/course.initialization.helper:1.13 loncom/html/adm/helper/course.initialization.helper:1.14
--- loncom/html/adm/helper/course.initialization.helper:1.13	Fri Sep  5 12:16:17 2003
+++ loncom/html/adm/helper/course.initialization.helper	Wed Jun  2 13:31:03 2004
@@ -37,7 +37,7 @@
 
   <state name="START" title="Welcome to Your New LON-CAPA Course">
     <eval>
-      return $helper->{DATA}->{FIRST_RUN} ?
+      return $helper->{DATA}->{FIRST_RUN} ? 
         'This Helper will set up your new LON-CAPA course and choose '.
         'which features will be active. You can '.
         're-visit it later to change settings in your course.' .
@@ -45,8 +45,7 @@
         '<p>If you have previous experience with coordinating LON-CAPA courses and '.
         'prefer not to use the helper, <a href="/adm/menu">click here</a> to leave.'
         :
-        'This helper will set up your LON-CAPA course and choose ' .
-        'which features will be active.';
+        &mt('This helper will set up your LON-CAPA course and choose which features will be active.');
       </eval>
     <message nextstate="COURSE_DESCRIPTION">
       <p>All settings which you can change with this Helper can also be changed
@@ -201,9 +200,7 @@
       are both the LON-CAPA username and LON-CAPA domain, not an email
       address.</p> 
       </message>
-    <eval>return '<p>Your current LON-CAPA domain is &quot;<b>' 
-                 . $helper->{DATA}->{DOM} .
-                 '</b>&quot;.</p>';
+    <eval>return &mt('<p>Your current LON-CAPA domain is &quot;<b>[_1]</b>&quot;.</p>',"$helper->{DATA}->{DOM}"); 
       </eval>
     <string variable='feedback_addresses' size='60' >
       <defaultvalue>