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

raeburn raeburn at source.lon-capa.org
Sat Jun 11 13:32:33 EDT 2022


raeburn		Sat Jun 11 17:32:33 2022 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
    /loncom/localize/localize	de.pm 
  Log:
  - Eliminate duplicate printing option when printing from Course Contents page.
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.680 loncom/interface/lonprintout.pm:1.681
--- loncom/interface/lonprintout.pm:1.680	Sat Jun 11 15:50:09 2022
+++ loncom/interface/lonprintout.pm	Sat Jun 11 17:32:32 2022
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.680 2022/06/11 15:50:09 raeburn Exp $
+# $Id: lonprintout.pm,v 1.681 2022/06/11 17:32:32 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4788,8 +4788,9 @@
     # another resource selector for that sequence
     if ((!$helper->{VARS}->{'construction'}) &&
         (!$is_published || (($subdir eq '') && ($url eq '/adm/navmaps')))) {
-        push @$printChoices, [&mtn("Selected <b>Resources</b> from <b>selected folder</b> in course"),
-                              'select_sequences', 'CHOOSE_SEQUENCE'];
+        push(@$printChoices,[&mt('Selected [_1]Resources[_2] from [_3]selected folder[_4] in course',
+                                 '<b>','</b>','<b>','</b>'),
+                             'select_sequences','CHOOSE_SEQUENCE']); 
         my $escapedSequenceName;
         if ($helper->{VARS}->{'SEQUENCE'} ne '') {
             $escapedSequenceName = $helper->{VARS}->{'SEQUENCE'};
@@ -4818,18 +4819,10 @@
                          'select_sequences_resources_for_students','CHOOSE_SEQUENCE_STUDENTS1'],
                     [&mt('Selected [_1]Resources[_2] from [_3]selected folder[_4] in course for [_5]CODEd assignments[_6]',
                          '<b>','</b>','<b>','</b>','<b>','</b>'),
-                         'select_sequences_resources_for_anon','CHOOSE_SEQUENCE_ANON2'],
-                    [&mt('Selected [_1]Resources[_2] from [_3]selected folder[_4] in course',
-                         '<b>','</b>','<b>','</b>'),
-                         'select_sequences','CHOOSE_SEQUENCE']);
+                         'select_sequences_resources_for_anon','CHOOSE_SEQUENCE_ANON2']);
                 if ($escapedSequenceName) {
                     &generate_common_choosers($r,$helper,$escapedSequenceName,$escapedSequenceName,$isProblem,$symbFilter,$start_new_option);
                 }
-            } else {
-                push(@{$printChoices},
-                [&mt('Selected [_1]Resources[_2] from [_3]selected folder[_4] in course',
-                     '<b>','</b>','<b>','</b>'),
-                     'select_sequences','CHOOSE_SEQUENCE']);
             }
         }
         if (($subdir eq '') && ($url eq '/adm/navmaps') && ($perm{'pfo'})) {
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.626 loncom/localize/localize/de.pm:1.627
--- loncom/localize/localize/de.pm:1.626	Fri May  6 19:36:10 2022
+++ loncom/localize/localize/de.pm	Sat Jun 11 17:32:33 2022
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.626 2022/05/06 19:36:10 raeburn Exp $
+# $Id: de.pm,v 1.627 2022/06/11 17:32:33 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6989,8 +6989,8 @@
    'Selected [_1]Problems[_2] from page [_3] for [_4]selected people[_5]'
 => 'Bestimmte [_1]Aufgaben[_2] der Seite [_3] für [_4]bestimmte Personen[_5]',
 
-   'Selected Resources from selected folder in course'
-=> 'Bestimmte <b>Ressourcen</b> aus </b>bestimmtem Verzeichnis</b> im Kurs',
+   'Selected [_1]Resources[_2] from [_3]selected folder[_4] in course'
+=> 'Bestimmte [_1]Ressourcen[_2] aus [_3]bestimmtem Verzeichnis[_4] im Kurs',
 
    'Send Message'
 => 'Nachricht senden',




More information about the LON-CAPA-cvs mailing list