[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface domainprefs.pm
raeburn
raeburn at source.lon-capa.org
Sat May 11 18:08:27 EDT 2013
raeburn Sat May 11 22:08:27 2013 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface domainprefs.pm
Log:
- For 2.11
- Backport 1.195
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.160.6.17 loncom/interface/domainprefs.pm:1.160.6.18
--- loncom/interface/domainprefs.pm:1.160.6.17 Mon Mar 18 01:31:55 2013
+++ loncom/interface/domainprefs.pm Sat May 11 22:08:27 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.160.6.17 2013/03/18 01:31:55 raeburn Exp $
+# $Id: domainprefs.pm,v 1.160.6.18 2013/05/11 22:08:27 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5434,9 +5434,9 @@
!defined(&Apache::loncommon::fileembstyle($1))) {
$output = &mt('Unrecognized file extension ([_1]) - rename the file with a proper extension and re-upload.',$1);
} elsif ($file=~/\.(\d+)\.(\w+)$/) {
- $output = &mt('File name not allowed - rename the file to remove the number immediately before the file extension([_1]) and re-upload.',$2);
+ $output = &mt('Filename not allowed - rename the file to remove the number immediately before the file extension([_1]) and re-upload.',$2);
} elsif (-d "$filepath/$file") {
- $output = &mt('File name is a directory name - rename the file and re-upload');
+ $output = &mt('Filename is a directory name - rename the file and re-upload');
} else {
my $source = $filepath.'/'.$file;
my $logfile;
More information about the LON-CAPA-cvs
mailing list