[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface domainprefs.pm

raeburn raeburn at source.lon-capa.org
Sat Mar 6 14:55:59 EST 2021


raeburn		Sat Mar  6 19:55:59 2021 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	domainprefs.pm 
  Log:
  - For 2.11
    Backport 1.380
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.160.6.110 loncom/interface/domainprefs.pm:1.160.6.111
--- loncom/interface/domainprefs.pm:1.160.6.110	Tue Feb 16 13:48:49 2021
+++ loncom/interface/domainprefs.pm	Sat Mar  6 19:55:58 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.160.6.110 2021/02/16 13:48:49 raeburn Exp $
+# $Id: domainprefs.pm,v 1.160.6.111 2021/03/06 19:55:58 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3880,7 +3880,7 @@
         my $currcanclone = 'none';
         my $onclick;
         my @cloneoptions = ('none','domain');
-        my %clonetitles = (
+        my %clonetitles = &Apache::lonlocal::texthash (
                              none     => 'No additional course requesters',
                              domain   => "Any course requester in course's domain",
                              instcode => 'Course requests for official courses ...',
@@ -6636,7 +6636,7 @@
                     $datatable .= '</select> '.&mt('Internal ID:').' <b>'.$item.'</b> '.
                                   '<input type="checkbox" name="inststatus_delete" value="'.$item.'" />'.
                                   &mt('delete').'</span></td>'.
-                                  '<td class="LC_left_item"><span class="LC_nobreak">'.&mt('Name displayed:').
+                                  '<td class="LC_left_item"><span class="LC_nobreak">'.&mt('Name displayed').
                                   '<input type="text" size="20" name="inststatus_title_'.$item.'" value="'.$title.'" />'.
                                   '</span></td></tr>';
                 }
@@ -6656,7 +6656,7 @@
                               '<input type="text" size="10" name="addinststatus" value="" />'.
                               ' '.&mt('(new)').
                               '</span></td><td class="LC_left_item"><span class="LC_nobreak">'.
-                              &mt('Name displayed:').
+                              &mt('Name displayed').
                               '<input type="text" size="20" name="addinststatus_title" value="" /></span></td>'.
                               '</tr>'."\n";
                 $rownum ++;
@@ -7626,7 +7626,7 @@
 sub initialize_categories {
     my ($itemcount) = @_;
     my ($datatable,$css_class,$chgstr);
-    my %default_names = (
+    my %default_names = &Apache::lonlocal::texthash (
                       instcode    => 'Official courses (with institutional codes)',
                       communities => 'Communities',
                         );




More information about the LON-CAPA-cvs mailing list