[LON-CAPA-cvs] cvs: loncom /html/adm/helper parameter.helper /localize/localize de.pm

wenzelju wenzelju@source.lon-capa.org
Tue, 16 Mar 2010 15:12:42 -0000


wenzelju		Tue Mar 16 15:12:42 2010 EDT

  Modified files:              
    /loncom/html/adm/helper	parameter.helper 
    /loncom/localize/localize	de.pm 
  Log:
  - Inserted &mt()-calls for translation in parameter.helper.
  - And added missing translations in de.pm.
  
  
Index: loncom/html/adm/helper/parameter.helper
diff -u loncom/html/adm/helper/parameter.helper:1.18 loncom/html/adm/helper/parameter.helper:1.19
--- loncom/html/adm/helper/parameter.helper:1.18	Wed Jul  8 17:55:07 2009
+++ loncom/html/adm/helper/parameter.helper	Tue Mar 16 15:12:36 2010
@@ -83,9 +83,9 @@
     </state>
 
   <state name="CHOOSE_ACTION" title="Parameter Type">
-    <eval>return 'What parameter do you want to set for ' . 
+    <eval>return &mt('What parameter do you want to set for ' . 
       &{$helper->{DATA}->{'levelType'}}()
-      . '?';
+      . '?');
       </eval>
     <choices variable="ACTION_TYPE">
       <nextstate>CHOOSE_DATE</nextstate>
@@ -98,9 +98,9 @@
     </state>
 
   <state name="CHOOSE_WEIGHT" title="Set Problem Weight">
-    <eval>return 'What weight should be set for ' . 
+    <eval>return &mt('What weight should be set for ' . 
       &{$helper->{DATA}->{'levelType'}}()
-      . '?<br />';
+      . '?').'<br />';
       </eval>
     <string nextstate="CHOOSE_STUDENT_LEVEL" variable="WEIGHT">
       <validator>if ($val !~ /^[1234567890]+(\.[1234567890]+)?$/) { 
@@ -112,9 +112,9 @@
     </state>
 
   <state name="CHOOSE_TRIES" title="Set Problem Tries">
-    <eval>return 'How many tries should be set for ' . 
+    <eval>return &mt('How many tries should be set for ' . 
       &{$helper->{DATA}->{'levelType'}}()
-      . '?<br />';
+      . '?').'<br />';
       </eval>
     <string nextstate="CHOOSE_STUDENT_LEVEL" variable="TRIES">
       <validator>if ($val !~ /^[1234567890]+$/) { 
@@ -126,9 +126,9 @@
 
   <state name="CHOOSE_DATE" title="Set Date">
     <eval>
-      return 'What should the ' .
+      return &mt('What should the ' .
        &{$helper->{DATA}->{'dateType'}}() . 
-       ' be set to? <br /><br />';
+       ' be set to?').'<br /><br />';
       </eval>
     <date variable="PARM_DATE" hoursminutes='1'>
       <nextstate>CHOOSE_STUDENT_LEVEL</nextstate>
@@ -137,11 +137,11 @@
 
   <state name="CHOOSE_STUDENT_LEVEL" title="Students Affected">
     <eval>
-      return 'Set ' . 
+      return &mt('Set ' . 
        &{$helper->{DATA}->{'dateType'}}() .
         ' for ' .
        &{$helper->{DATA}->{'levelType'}}() .
-        ' for ...';
+        ' for ...');
       </eval>
     <choices variable="TARGETS">
       <choice computer="course" nextstate="FINISH">
@@ -160,26 +160,26 @@
 
   <state name="CHOOSE_SECTION" title="Select Section">
     <eval>
-      return 'Please select the section you wish to set the ' .
+      return &mt('Please select the section you wish to set the ' .
        &{$helper->{DATA}->{'dateType'}}() .
-         ' for:<br />';</eval>
+         ' for:').'<br />';</eval>
     <section variable="SECTION_NAME" nextstate="FINISH" />
     </state>
 
   <state name="CHOOSE_GROUP" title="Select Group">
     <eval>
-      return 'Please select the group you wish to set the ' .
+      return &mt('Please select the group you wish to set the ' .
        &{$helper->{DATA}->{'dateType'}}() .
-         ' for:<br />';</eval>
+         ' for:').'<br />';</eval>
     <group variable="GROUP_NAME" nextstate="FINISH" />
     </state>
 
 
   <state name="CHOOSE_STUDENT" title="Select Student">
     <eval>
-      return 'Please select the student you wish to set the ' .
+      return &mt('Please select the student you wish to set the ' .
        &{$helper->{DATA}->{'dateType'}}() .
-         ' for:<br />';</eval>
+         ' for:').'<br />';</eval>
     <student variable="USER_NAME" nextstate="FINISH" coursepersonnel='1'/>
     </state>
 
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.366 loncom/localize/localize/de.pm:1.367
--- loncom/localize/localize/de.pm:1.366	Wed Mar 10 21:25:56 2010
+++ loncom/localize/localize/de.pm	Tue Mar 16 15:12:42 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.366 2010/03/10 21:25:56 droeschl Exp $
+# $Id: de.pm,v 1.367 2010/03/16 15:12:42 wenzelju Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4552,6 +4552,9 @@
    'Select Section'
 => 'Sektion auswählen',
 
+   'Select Group'
+=> 'Gruppe auswählen',
+
    'Select Sequence To Print From'
 => 'Sequenz, von der gedruckt werden soll, auswählen',
 
@@ -5194,6 +5197,21 @@
    'Please select the student you wish to set the problem weight for:'
 => 'Bitte wählen Sie den /die Studenten/in, für den/die Sie die Aufgabengewichtung festlegen wollen:',
 
+   'Please select the group you wish to set the answer open date for:'
+=> 'Bitte wählen Sie die Gruppe, für die Sie das Antwort-Verfügbarkeits-Datum festlegen wollen:',
+
+   'Please select the group you wish to set the due date for:'
+=> 'Bitte wählen Sie die Gruppe, für die Sie das Fälligkeitsdatum festlegen wollen:',
+
+   'Please select the group you wish to set the number of tries for:'
+=> 'Bitte wählen Sie die Gruppe, für die Sie die Anzahl der Versuche festlegen wollen:',
+
+   'Please select the group you wish to set the opening date for:'
+=> 'Bitte wählen Sie die Gruppe, für die Sie den Bearbeitungsbeginn festlegen wollen:',
+
+   'Please select the group you wish to set the problem weight for:'
+=> 'Bitte wählen Sie die Gruppe, für die Sie die Aufgabengewichtung festlegen wollen:',
+
    'Privileged users that should not be hidden on staff listings'
 => 'Privilegierte Nutzer, die auf Personallisten nicht verborgen werden sollen',