[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm
raeburn
raeburn at source.lon-capa.org
Sat Mar 6 08:39:54 EST 2021
raeburn Sat Mar 6 13:39:54 2021 EDT
Modified files:
/loncom/interface domainprefs.pm
Log:
- Punctuation change to facilitate reuse of localized phrase. Some missing
localization calls added.
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.379 loncom/interface/domainprefs.pm:1.380
--- loncom/interface/domainprefs.pm:1.379 Tue Feb 16 13:47:22 2021
+++ loncom/interface/domainprefs.pm Sat Mar 6 13:39:54 2021
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.379 2021/02/16 13:47:22 raeburn Exp $
+# $Id: domainprefs.pm,v 1.380 2021/03/06 13:39:54 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -6155,7 +6155,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 ...',
@@ -9395,7 +9395,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" colspan="2"><span class="LC_nobreak">'.&mt('Name displayed:').
+ '<td class="LC_left_item" colspan="2"><span class="LC_nobreak">'.&mt('Name displayed').':'.
'<input type="text" size="20" name="inststatus_title_'.$item.'" value="'.$title.'" />'.
'</span></td></tr>';
}
@@ -9415,7 +9415,7 @@
'<input type="text" size="10" name="addinststatus" value="" />'.
' '.&mt('(new)').
'</span></td><td class="LC_left_item" colspan="2"><span class="LC_nobreak">'.
- &mt('Name displayed:').
+ &mt('Name displayed').':'.
'<input type="text" size="20" name="addinststatus_title" value="" /></span></td>'.
'</tr>'."\n";
$rownum ++;
@@ -10424,7 +10424,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',
placement => 'Placement Tests',
More information about the LON-CAPA-cvs
mailing list