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

raeburn raeburn at source.lon-capa.org
Sat Jan 14 20:19:52 EST 2023


raeburn		Sun Jan 15 01:19:52 2023 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
    /loncom/localize/localize	de.pm 
  Log:
  - Replace use of &mtn() with &mt() and use bracket notation for HTML tags.
  - Correction to one transaltion (localized phrase was Problems not Resources).
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.682 loncom/interface/lonprintout.pm:1.683
--- loncom/interface/lonprintout.pm:1.682	Sat Jun 11 18:12:28 2022
+++ loncom/interface/lonprintout.pm	Sun Jan 15 01:19:50 2023
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.682 2022/06/11 18:12:28 raeburn Exp $
+# $Id: lonprintout.pm,v 1.683 2023/01/15 01:19:50 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4562,7 +4562,8 @@
 	# BZ 5209 - incomplete problems from entire course:
 
 	push(@{$printChoices},
-	     [&mtn('Selected <b>Incomplete Problems</b> from <b>entire course</b> for selected people'),
+	     [&mt('Selected [_1]Incomplete Problems[_2] from [_3]entire course[_4] for [_5]selected people[_6]',
+              '<b>','</b>','<b>','</b>','<b>','</b>'),
 	      'incomplete_problems_selpeople_course', 'INCOMPLETE_PROBLEMS_COURSE_RESOURCES']);
 	my $helperFragment = &create_incomplete_course_helper($helper); # Create needed states.
 
@@ -4570,9 +4571,9 @@
 
 	#  Selected problems/resources from entire course:
 
-        push @{$printChoices}, [&mtn('Selected <b>Problems</b> from <b>entire course</b>'), 'all_problems', 'ALL_PROBLEMS'];
-	push @{$printChoices}, [&mtn('Selected <b>Resources</b> from <b>entire course</b>'), 'all_resources', 'ALL_RESOURCES'];
-	push @{$printChoices}, [&mtn('Selected <b>Problems</b> from <b>entire course</b> for <b>selected people</b>'), 'all_problems_students', 'ALL_PROBLEMS_STUDENTS'];
+        push @{$printChoices}, [&mt('Selected [_1]Problems[_2] from [_3]entire course[_4]','<b>','</b>','<b>','</b>'), 'all_problems', 'ALL_PROBLEMS'];
+	push @{$printChoices}, [&mt('Selected [_1]Resources[_2] from [_3]entire course[_4]','<b>','</b>','<b>','</b>'), 'all_resources', 'ALL_RESOURCES'];
+	push @{$printChoices}, [&mt('Selected [_1]Problems[_2] from [_3]entire course[_4] for [_5]selected people[_6]','<b>','</b>','<b>','</b>','<b>','</b>'), 'all_problems_students', 'ALL_PROBLEMS_STUDENTS'];
 my $suffixXml = <<ALL_PROBLEMS;
   <state name="STUDENTS1" title="Select People">
       <message><b>Select sorting order of printout</b> </message>
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.629 loncom/localize/localize/de.pm:1.630
--- loncom/localize/localize/de.pm:1.629	Thu Sep  8 18:17:50 2022
+++ loncom/localize/localize/de.pm	Sun Jan 15 01:19:51 2023
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.629 2022/09/08 18:17:50 raeburn Exp $
+# $Id: de.pm,v 1.630 2023/01/15 01:19:51 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6953,17 +6953,17 @@
    'Selected [_1]Resources[_2] from folder [_3]'
 => 'Bestimmte [_1]Ressourcen[_2] aus dem Verzeichnis [_3]',
 
-   'Selected Problems from entire course'
-=> 'Bestimmte <b>Aufgaben</b> des <b>gesamten Kurses</b>',
+   'Selected [_1]Problems[_2] from [_3]entire course[_4]'
+=> 'Bestimmte [_1]Aufgaben[_2] des [_3]gesamten Kurses[_4]',
 
-   'Selected Resources from entire course'
-=> 'Bestimmte <b>Ressourcen</b> des <b>gesamten Kurses</b>',
+   'Selected [_1]Resources[_2] from [_3]entire course[_4]'
+=> 'Bestimmte [_1]Ressourcen[_2] des [_3]gesamten Kurses[_4]',
 
-   'Selected Problems from entire course for selected people'
-=> 'Bestimmte <b>Ressourcen</b> des <b>gesamten Kurses</b> für <b>bestimmte Personen</b>',
+   'Selected [_1]Problems[_2] from [_3]entire course[_4] for [_5]selected people[_6]'
+=> 'Bestimmte [_1]Aufgaben[_2] des [_3]gesamten Kurses[_4] für [_5]bestimmte Personen[_6]',
 
-   'Selected Incomplete Problems from entire course for selected people'
-=> 'Bestimmte <b>ungelöste Aufgaben</b> des <b>gesamten Kurses</b> für <b>bestimmte Personen</b>',
+   'Selected [_1]Incomplete Problems[_2] from [_3]entire course[_4] for [_5]selected people[_6]'
+=> 'Bestimmte [_1]ungelöste Aufgaben[_2] des [_3]gesamten Kurses[_4] für [_5]bestimmte Personen[_6]',
 
    'Selected [_1]Problems[_2] from folder [_3] for [_4]selected people[_5]'
 => 'Bestimmte [_1]Aufgaben[_2] aus dem Verzeichnis [_3] für [_4]bestimmte Personen[_5]',




More information about the LON-CAPA-cvs mailing list