[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm /localize/localize de.pm

bisitz bisitz@source.lon-capa.org
Thu, 05 Mar 2009 10:25:14 -0000


bisitz		Thu Mar  5 10:25:14 2009 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
    /loncom/localize/localize	de.pm 
  Log:
  'Modify User Privileges' change log screen:
  - Consistent wording: Permanent e-mail address
  - Optimized wording to allow proper localization:
      - middle name vs. middle alignment
      - previous value vs. previous page
  - Added missing phrases to de.pm
  - Single quotes for text hash values
  
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.283 loncom/interface/loncreateuser.pm:1.284
--- loncom/interface/loncreateuser.pm:1.283	Tue Feb 24 12:03:59 2009
+++ loncom/interface/loncreateuser.pm	Thu Mar  5 10:25:10 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.283 2009/02/24 12:03:59 bisitz Exp $
+# $Id: loncreateuser.pm,v 1.284 2009/03/05 10:25:10 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2056,7 +2056,7 @@
             } else {
                 $changed{'quota'} = &quota_admin('',\%changeHash);
                 $newportfolioquota = $defquota;
-                $newisdefault = 1; 
+                $newisdefault = 1;
             }
         } else {
             $oldisdefault = 1;
@@ -2158,21 +2158,21 @@
                 ((keys(%changed) > 0) && $chgresult eq 'ok')) {
             # Tell the user we changed the name
 		my %lt=&Apache::lonlocal::texthash(
-                             'uic'        => "User Information Changed",             
-                             'frst'       => "First",
-                             'mddl'       => "Middle",
-                             'lst'        => "Last",
-			     'gen'        => "Generation",
-                             'id'         => "Student/Employee ID",
-                             'mail'       => "Permanent E-mail",
-                             'disk'       => "Disk space allocated to portfolio files",
-                             'blog'       => "Blog Availability",
-                             'aboutme'    => "Home Page Availability",
-                             'portfolio'  => "Portfolio Availability",
-                             'official'   => "Can Request Official Courses",
-                             'unofficial' => "Can Request Unofficial Courses",
-                             'prvs'       => "Previous",
-                             'chto'       => "Changed To"
+                             'uic'        => 'User Information Changed',
+                             'frst'       => 'First Name',
+                             'mddl'       => 'Middle Name',
+                             'lst'        => 'Last Name',
+                             'gen'        => 'Generation',
+                             'id'         => 'Student/Employee ID',
+                             'mail'       => 'Permanent e-mail address',
+                             'disk'       => 'Disk space allocated to portfolio files',
+                             'blog'       => 'Blog Availability',
+                             'aboutme'    => 'Personal Information Page Availability',
+                             'portfolio'  => 'Portfolio Availability',
+                             'official'   => 'Can Request Official Courses',
+                             'unofficial' => 'Can Request Unofficial Courses',
+                             'prvs'       => 'Previous Value:',
+                             'chto'       => 'Changed To:'
 						   );
                 $r->print('<h4>'.$lt{'uic'}.'</h4>'.
                           &Apache::loncommon::start_data_table().
@@ -2289,7 +2289,7 @@
             # but we can still tell them what the name and quota and availabilities are  
 	    my %lt=&Apache::lonlocal::texthash(
                            'id'         => "Student/Employee ID",
-                           'mail'       => "Permanent e-mail",
+                           'mail'       => "Permanent e-mail address",
                            'disk'       => "Disk space allocated to user's portfolio files",
                            'blog'       => "Blog Availability",
                            'aboutme'    => "Home Page Availability",
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.245 loncom/localize/localize/de.pm:1.246
--- loncom/localize/localize/de.pm:1.245	Wed Mar  4 17:57:15 2009
+++ loncom/localize/localize/de.pm	Thu Mar  5 10:25:14 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.245 2009/03/04 17:57:15 bisitz Exp $
+# $Id: de.pm,v 1.246 2009/03/05 10:25:14 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2766,9 +2766,6 @@
    'Filenames in Construction Space'
 => 'Dateinamen im Konstruktionsbereich',
 
-   'First Name'
-=> 'Vorname',
-
    'Folder in Construction Space'
 => 'Verzeichnis im Konstruktionsbereich',
 
@@ -2823,6 +2820,12 @@
    'LON-CAPA domain: [_1]'
 => 'LON-CAPA-Domäne: [_1]',
 
+   'First Name'
+=> 'Vorname',
+
+   'Middle Name'
+=> 'Zweiter Vorname',
+
    'Last Name'
 => 'Nachname',
 
@@ -4022,18 +4025,6 @@
    'Messaging'
 => 'Versenden von Nachrichten',
 
-   'first'
-=> 'Vorname', # !
-
-   'last'
-=> 'Nachname', # !
-
-   'middle'
-=> '2. Vorname', # !
-
-   'Middle Name'
-=> '2. Vorname',
-
    'Missing Kerberos domain information.'
 => 'Fehlende Kerberos-Domänen-Informationen.',
 
@@ -8914,6 +8905,9 @@
    'right'
 => 'rechts',
 
+   'middle'
+=> 'mittig',
+
    'TeXwidth (mm):'
 => 'TeX-Breite (mm):',
 
@@ -8959,8 +8953,11 @@
    'User Information Changed'
 => 'Geänderte Benutzerdaten',
 
-   'Changed To'
-=> 'Geändert in',
+   'Previous Value:'
+=> 'Vorheriger Wert:',
+
+   'Changed To:'
+=> 'Geändert in:',
 
    'disk space allocated to portfolio files'
 => 'Speicherplatz für Portfolio-Dateien',
@@ -9088,9 +9085,6 @@
    'Permanent e-mail address'
 => 'Permanente E-Mail-Adresse',
 
-   'Permanent e-mail'
-=> 'Permanente E-Mail-Adresse',
-
    'User [_1] in domain [_2]'
 => 'Benutzer [_1] in Domäne [_2]',
 
@@ -16806,6 +16800,24 @@
    'Branch'
 => 'Zweig',
 
+   'Can Request Official Courses'
+=> 'Darf offizielle Kurse anfordern',
+
+   'Can Request Unofficial Courses'
+=> 'Darf inoffizielle Kurse anfordern',
+
+   'Disk space allocated to portfolio files'
+=> 'Den Portfolio-Dateien zugewiesener Speicherplatz',
+
+   'Personal Information Page Availability'
+=> 'Verfügbarkeit der persönlichen Seite',
+
+   'Blog Availability'
+=> 'Blog-Verfügbarkeit',
+
+   'Portfolio Availability'
+=> 'Portfolio-Verfügbarkeit',
+
    ''
 => '',