[LON-CAPA-cvs] cvs: loncom /homework inputtags.pm /interface lonnavmaps.pm /localize/localize de.pm

www lon-capa-cvs@mail.lon-capa.org
Wed, 17 Sep 2003 21:29:44 -0000


www		Wed Sep 17 17:29:44 2003 EDT

  Modified files:              
    /loncom/homework	inputtags.pm 
    /loncom/interface	lonnavmaps.pm 
    /loncom/localize/localize	de.pm 
  Log:
  This is a long process ...
  
  
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.115 loncom/homework/inputtags.pm:1.116
--- loncom/homework/inputtags.pm:1.115	Wed Sep 17 16:51:15 2003
+++ loncom/homework/inputtags.pm	Wed Sep 17 17:29:44 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # input  definitons
 #
-# $Id: inputtags.pm,v 1.115 2003/09/17 20:51:15 www Exp $
+# $Id: inputtags.pm,v 1.116 2003/09/17 21:29:44 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -643,18 +643,18 @@
     if ( $showbutton ) {
       if ($target eq 'tex') {
 	  if ($ENV{'request.state'} ne "construct" && $Apache::lonhomework::type ne 'exam') {
-	      $trystr = ' {\vskip 1 mm \small \textit{Tries} '.$tries.'/'.$maxtries.'} \vskip 2 mm ';
+	      $trystr = ' {\vskip 1 mm \small \textit{'.&mt('Tries').'} '.$tries.'/'.$maxtries.'} \vskip 2 mm ';
 	  } else {
 	      $trystr = '\vskip 0 mm ';
 	  }
       } else {
-         $trystr = "<td>Tries $tries/$maxtries</td>";
+         $trystr = "<td>".&mt('Tries')." $tries/$maxtries</td>";
       }
     }
     if ( $status eq 'SHOW_ANSWER' || $status eq 'CANNOT_ANSWER') {$showbutton = 0;}
     if ( $showbutton ) { 
       if ($target ne 'tex') {
-        $button = '<br /><input type="submit" name="submit" value="Submit Answer" />';
+        $button = '<br /><input type="submit" name="submit" value="'.&mt('Submit Answer').'" />';
       }
     }
     if ($Apache::lonhomework::history{"resource.$id.afterduedate"}) {
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.229 loncom/interface/lonnavmaps.pm:1.230
--- loncom/interface/lonnavmaps.pm:1.229	Wed Sep 17 14:15:54 2003
+++ loncom/interface/lonnavmaps.pm	Wed Sep 17 17:29:44 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.229 2003/09/17 18:15:54 www Exp $
+# $Id: lonnavmaps.pm,v 1.230 2003/09/17 21:29:44 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1331,15 +1331,15 @@
         $result.='<tr><td align="right" valign="bottom">Key:&nbsp;&nbsp;</td>';
         if ($navmap->{LAST_CHECK}) {
             $result .= 
-                '<img src="/adm/lonMisc/chat.gif"> New discussion since '.
+                '<img src="/adm/lonMisc/chat.gif"> '.&mt('New discussion since').' '.
                 strftime("%A, %b %e at %I:%M %P", localtime($navmap->{LAST_CHECK})).
                 '</td><td align="center" valign="bottom">&nbsp;&nbsp;'.
-                '<img src="/adm/lonMisc/feedback.gif"> New message (click to open)<p>'.
+                '<img src="/adm/lonMisc/feedback.gif"> '.&mt('New message (click to open)').'<p>'.
                 '</td>'; 
         } else {
             $result .= '<td align="center" valign="bottom">&nbsp;&nbsp;'.
-                '<img src="/adm/lonMisc/chat.gif"> Discussions</td><td align="center" valign="bottom">'.
-                '&nbsp;&nbsp;<img src="/adm/lonMisc/feedback.gif"> New message (click to open)'.
+                '<img src="/adm/lonMisc/chat.gif"> '.&mt('Discussions').'</td><td align="center" valign="bottom">'.
+                '&nbsp;&nbsp;<img src="/adm/lonMisc/feedback.gif"> '.&mt('New message (click to open)').
                 '</td>'; 
         }
 
@@ -1350,11 +1350,11 @@
         if ($condition) {
             $result.="<a href=\"navmaps?condition=0&filter=&$queryString" .
                 "&here=" . Apache::lonnet::escape($here) .
-                "\">Close All Folders</a>";
+                "\">".&mt('Close All Folders')."</a>";
         } else {
             $result.="<a href=\"navmaps?condition=1&filter=&$queryString" .
                 "&here=" . Apache::lonnet::escape($here) . 
-                "\">Open All Folders</a>";
+                "\">".&mt('Open All Folders')."</a>";
         }
         $result .= "<br /><br />\n";
     }    
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.9 loncom/localize/localize/de.pm:1.10
--- loncom/localize/localize/de.pm:1.9	Wed Sep 17 16:51:15 2003
+++ loncom/localize/localize/de.pm	Wed Sep 17 17:29:44 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.9 2003/09/17 20:51:15 www Exp $
+# $Id: de.pm,v 1.10 2003/09/17 21:29:44 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -371,6 +371,24 @@
 
    'Answer Submitted'
 => 'Antwort eingereicht',
+
+   'Tries'
+=> 'Versuche',
+
+   'Submit Answer'
+=> 'Antwort Einreichen',
+
+   'Prepare a printable document'
+=> 'Druckbares Dokument erstellen',
+
+   'Go To My First Homework Problem'
+=> 'Springe zum ersten Hausübungsproblem',
+
+   'Discussions'
+=> 'Diskussion',
+
+   'New discussion since'
+=> 'Neue Diskussion seit',
 
 );