[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> User Name:</b></font></td>
+ <td bgcolor="$mainbg"><br /><font size=-1><b> $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> Password:</b></font></td>
+ <td bgcolor="$mainbg"><font size=-1><b> $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> Domain:</b></font></td>
+ <td bgcolor="$mainbg"><font size=-1><b> $lt{'dom'}:</b></font></td>
<td bgcolor="$mainbg"><input type="text" name="udom" size="10" value="$authdomain" /></td>
</tr>
<tr>
- <td bgcolor="$mainbg"> <a href="/adm/loginproblems.html">Help</a></td>
+ <td bgcolor="$mainbg"> <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> Domain: </b></small>
+ <small><b> $lt{'dom'}: </b></small>
</td>
<td bgcolor="$sidebg" align="left" valign="top">
<small><tt> $domain</tt></small>
@@ -427,7 +442,7 @@
</tr>
<tr>
<td bgcolor="$sidebg" align="left" valign="top">
- <small><b> Server: </b></small>
+ <small><b> $lt{'serv'}: </b></small>
</td>
<td bgcolor="$sidebg" align="left" valign="top">
<small><tt> $lonhost ($role)</tt></small>
@@ -438,23 +453,23 @@
<small><b> Load: </b></small>
</td>
<td bgcolor="$sidebg" align="left" valign="top">
- <small><tt> $loadpercent percent</tt></small>
+ <small><tt> $loadpercent $lt{'perc'}</tt></small>
</td>
</tr>
<tr>
<td bgcolor="$sidebg" align="left" valign="top">
- <small><b> User Load: </b></small>
+ <small><b> $lt{'user'} $lt{'load'}: </b></small>
</td>
<td bgcolor="$sidebg" align="left" valign="top">
- <small><tt> $userloadpercent percent</tt></small>
+ <small><tt> $userloadpercent $lt{'perc'}</tt></small>
</td>
</tr>
</table>
<br />
<small>
- <b> System Administration:</b><br />
+ <b> $lt{'sysadm'}:</b><br />
<tt> $sysadm</tt><br />
- <b> Server Administration:</b><br />
+ <b> $lt{'servadm'}:</b><br />
<tt> $servadm</tt><br /> <br />
$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',