[LON-CAPA-cvs] cvs: loncom /auth lonlogin.pm /html/adm/lonIcons aboutlon_pt.gif accessbutton_pt.gif userauthentication_pt.gif /localize/localize de.pm

www lon-capa-cvs@mail.lon-capa.org
Wed, 17 Sep 2003 02:24:14 -0000


www		Tue Sep 16 22:24:14 2003 EDT

  Added files:                 
    /loncom/html/adm/lonIcons	aboutlon_pt.gif accessbutton_pt.gif 
                             	userauthentication_pt.gif 

  Modified files:              
    /loncom/auth	lonlogin.pm 
    /loncom/localize/localize	de.pm 
  Log:
  more work on German translation
  work on login page
  Portuguese buttons
  
  
Index: loncom/auth/lonlogin.pm
diff -u loncom/auth/lonlogin.pm:1.50 loncom/auth/lonlogin.pm:1.51
--- loncom/auth/lonlogin.pm:1.50	Tue Sep 16 14:15:43 2003
+++ loncom/auth/lonlogin.pm	Tue Sep 16 22:24:14 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Login Screen
 #
-# $Id: lonlogin.pm,v 1.50 2003/09/16 18:15:43 www Exp $
+# $Id: lonlogin.pm,v 1.51 2003/09/17 02:24:14 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -217,6 +217,21 @@
     my $logo=&Apache::loncommon::designparm('login.logo',$domain);
     my $img=&Apache::loncommon::designparm('login.img',$domain);
 
+# ----------------------------------------------------------------------- Texts
+
+my %lt=&Apache::lonlocal::texthash(
+		  'un'  => 'Username',
+		  'pw'  => 'Password',
+		  'dom' => 'Domain',
+		  'perc' => 'percent',
+		  'user' => 'User',
+		  'load' => 'load',
+		  'log' => 'Log in',
+		  'help' => 'Help',
+		  'serv' => 'Server',
+                  'servadm' => 'Server Administration',
+                  'sysadm' => 'System Administration');
+
 
 # ---------------------------------------------------------- Serve rest of page
     $r->print(<<ENDSCRIPT);
@@ -376,22 +391,22 @@
      <table border=0 cellspacing=0 cellpadding=0>
       <tr><td bgcolor="$sidebg" colspan=2><img src="$iconpath/userauthentication.gif" alt="User Authentication" /></td></tr>
       <tr>
-       <td bgcolor="$mainbg"><br /><font size=-1><b>&nbsp;&nbsp;&nbsp;User Name:</b></font></td>
+       <td bgcolor="$mainbg"><br /><font size=-1><b>&nbsp;&nbsp;&nbsp;$lt{'un'}:</b></font></td>
        <td bgcolor="$mainbg"><br /><input type="text" name="uname" size="10" value="$authusername" /></td>
       </tr>
       <tr>
-       <td bgcolor="$mainbg"><font size=-1><b>&nbsp;&nbsp;&nbsp;Password:</b></font></td>
+       <td bgcolor="$mainbg"><font size=-1><b>&nbsp;&nbsp;&nbsp;$lt{'pw'}:</b></font></td>
        <td bgcolor="$mainbg"><input type="password" name="upass" size="10" /></td>
       </tr>
       <tr>
-       <td bgcolor="$mainbg"><font size=-1><b>&nbsp;&nbsp;&nbsp;Domain:</b></font></td>
+       <td bgcolor="$mainbg"><font size=-1><b>&nbsp;&nbsp;&nbsp;$lt{'dom'}:</b></font></td>
        <td bgcolor="$mainbg"><input type="text" name="udom" size="10" value="$authdomain" /></td>
       </tr>
       <tr>
-       <td bgcolor="$mainbg">&nbsp;&nbsp;&nbsp;<a href="/adm/loginproblems.html">Help</a></td>
+       <td bgcolor="$mainbg">&nbsp;&nbsp;&nbsp;<a href="/adm/loginproblems.html">$lt{'help'}</a></td>
        <td bgcolor="$mainbg" valign="bottom" align="center">
         <br />
-        <input type="submit" value="Log In" />
+        <input type="submit" value="$lt{'log'}" />
        </td>
       </tr>
      </table>
@@ -419,7 +434,7 @@
      <table border=0 cellspacing=0 cellpadding=0>
       <tr>
        <td bgcolor="$sidebg" align="left" valign="top">
-        <small><b>&nbsp;&nbsp;&nbsp;Domain:&nbsp;</b></small>
+        <small><b>&nbsp;&nbsp;&nbsp;$lt{'dom'}:&nbsp;</b></small>
        </td>
        <td bgcolor="$sidebg" align="left" valign="top">
         <small><tt>&nbsp;$domain</tt></small>
@@ -427,7 +442,7 @@
       </tr>
       <tr>
        <td bgcolor="$sidebg" align="left" valign="top">
-        <small><b>&nbsp;&nbsp;&nbsp;Server:&nbsp;</b></small>
+        <small><b>&nbsp;&nbsp;&nbsp;$lt{'serv'}:&nbsp;</b></small>
        </td>
        <td bgcolor="$sidebg" align="left" valign="top">
         <small><tt>&nbsp;$lonhost ($role)</tt></small>
@@ -438,23 +453,23 @@
         <small><b>&nbsp;&nbsp;&nbsp;Load:&nbsp;</b></small>
        </td>
        <td bgcolor="$sidebg" align="left" valign="top">
-        <small><tt>&nbsp;$loadpercent percent</tt></small>
+        <small><tt>&nbsp;$loadpercent $lt{'perc'}</tt></small>
        </td>
       </tr>
       <tr>
        <td bgcolor="$sidebg" align="left" valign="top">
-        <small><b>&nbsp;&nbsp;&nbsp;User&nbsp;Load:&nbsp;</b></small>
+        <small><b>&nbsp;&nbsp;&nbsp;$lt{'user'}&nbsp;$lt{'load'}:&nbsp;</b></small>
        </td>
        <td bgcolor="$sidebg" align="left" valign="top">
-        <small><tt>&nbsp;$userloadpercent percent</tt></small>
+        <small><tt>&nbsp;$userloadpercent $lt{'perc'}</tt></small>
        </td>
       </tr>
      </table>
      <br />
     <small>
-     <b>&nbsp;&nbsp;&nbsp;System Administration:</b><br />
+     <b>&nbsp;&nbsp;&nbsp;$lt{'sysadm'}:</b><br />
      <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$sysadm</tt><br />
-     <b>&nbsp;&nbsp;&nbsp;Server Administration:</b><br />
+     <b>&nbsp;&nbsp;&nbsp;$lt{'servadm'}:</b><br />
      <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$servadm</tt><br />&nbsp;<br />
      &nbsp;&nbsp;&nbsp;$version
     </small>
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.2 loncom/localize/localize/de.pm:1.3
--- loncom/localize/localize/de.pm:1.2	Tue Sep 16 21:45:14 2003
+++ loncom/localize/localize/de.pm	Tue Sep 16 22:24:14 2003
@@ -2,6 +2,51 @@
 package Apache::localize::de;
 use base qw(Apache::localize);
 %Lexicon=('_AUTO' => 1,
+   'choose'
+=> 'waehle',
+
+   'enter'
+=> 'eingeben',
+
+   'view'
+=> 'sehe',
+
+   'calendar'
+=> 'kalender',
+
+   'prefer-'
+=> 'praefe-',
+
+   'ences'
+=> 'renzen',
+
+   'role'
+=> 'rolle',
+
+   'course'
+=> 'kurs',
+
+   'create'
+=> 'erstelle',
+
+   'grades'
+=> 'noten',
+
+   'commu-'
+=> 'kommu-',
+
+   'nication'
+=> 'nikation',
+
+   'enroll'
+=> 'liste',
+
+   'navigate'
+=> 'inhalts-',
+
+   'contents'
+=> 'verzeich',
+
    'Announcements and Calendar'
 => 'Bekanntmachungen und Kalender',