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

bisitz bisitz@source.lon-capa.org
Fri, 16 Jan 2009 12:32:35 -0000


bisitz		Fri Jan 16 12:32:35 2009 EDT

  Modified files:              
    /loncom/interface	loncreatecourse.pm 
    /loncom/localize/localize	de.pm 
  Log:
  Localization:
  - Optimized mt usage to make the course/group phrases translatable
  - Improved wording in German translations
  
  
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.113 loncom/interface/loncreatecourse.pm:1.114
--- loncom/interface/loncreatecourse.pm:1.113	Mon Dec 15 08:11:32 2008
+++ loncom/interface/loncreatecourse.pm	Fri Jan 16 12:32:30 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Create a course
 #
-# $Id: loncreatecourse.pm,v 1.113 2008/12/15 08:11:32 raeburn Exp $
+# $Id: loncreatecourse.pm,v 1.114 2009/01/16 12:32:30 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -763,9 +763,9 @@
 	# Make the requested user a course coordinator or group coordinator
         #
 	if (($ccdomain) && ($ccuname)) {
-	    $r->print(&mt('Assigning role of [_1] Coordinator to [_2] at [_3]: ',
-			  $crstype,$ccuname,$ccdomain).
-		      &Apache::lonnet::assignrole($ccdomain,$ccuname,$courseid,
+	    $r->print(&mt('Assigning role of '.$crstype.' Coordinator to [_1]:',
+			 ,'<i>'.$ccuname.':'.$ccdomain.'</i>')
+		      .&Apache::lonnet::assignrole($ccdomain,$ccuname,$courseid,
 						  'cc','','','','','createcourse').'<p>');
 	}
 	if ($env{'form.setkeys'}) {
@@ -777,7 +777,7 @@
 	$r->print('<p>'.&mt('Roles will be active at next login').'.</p>');
     }
     $r->print('<p><a href="/adm/createcourse?phase='.lc($crstype).'one">'.
-	      &mt('Create Another [_1]',$crstype).'</a></p>'.
+	      &mt("Create Another $crstype").'</a></p>'.
 	      &Apache::loncommon::end_page());
 }
 
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.189 loncom/localize/localize/de.pm:1.190
--- loncom/localize/localize/de.pm:1.189	Thu Jan 15 18:31:07 2009
+++ loncom/localize/localize/de.pm	Fri Jan 16 12:32:35 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.189 2009/01/15 18:31:07 bisitz Exp $
+# $Id: de.pm,v 1.190 2009/01/16 12:32:35 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3033,10 +3033,13 @@
 
    'Create a New Course'
 # => 'Erzeuge einen neuen Kurs',
-=> 'Kurse erstellen',
+=> 'Neuen Kurs erstellen',
+
+   'Create a New Group'
+=> 'Neue Gruppe erstellen',
 
    'Create a New Course or Group Space'
-=> 'Einen neuen Kurs oder neuen Gruppenbereich erstellen',
+=> 'Neuen Kurs- oder neuen Gruppenbereich erstellen',
 
    'Current'
 => 'Derzeitig',
@@ -7886,8 +7889,11 @@
    'Setting first resource'
 => 'Einstellung der ersten Ressource',
 
-   'Assigning role of [_1] Coordinator to [_2] at [_3]: '
-=> 'Zuweisung der Rolle des [_1]-Koordinators an [_2] in [_3]: ',
+   'Assigning role of Course Coordinator to [_1]:'
+=> 'Zuweisung der Rolle Kurs-Koordinator an [_1]:',
+
+   'Assigning role of Group Coordinator to [_1]:'
+=> 'Zuweisung der Rolle Gruppen-Koordinator an [_1]:',
 
    'Roles will be active at next login'
 => 'Rollen werden ab dem nächsten Login aktiv sein',
@@ -7907,8 +7913,11 @@
    'The new course could not be cloned from the existing course because the new course owner ([_1]) does not have cloning rights in the existing course ([_2]).'
 => 'Der neue Kurs kann nicht von dem angebenenen Kurs geklont werden, da der neue Kurseigentümer ([_1]) nicht die Berechtigung erteilt bekommen hat, den existierenden Kurs ([_2]) zu klonen.',
 
-   'Create Another [_1]'
-=> 'Einen weiteren [_1] anlegen',
+   'Create Another Course'
+=> 'Einen weiteren Kurs anlegen',
+
+   'Create Another Group'
+=> 'Eine weitere Gruppe anlegen',
 
    'from domain'
 => 'aus der Domäne',