[LON-CAPA-cvs] cvs: loncom /interface lonpickcourse.pm
bisitz
bisitz@source.lon-capa.org
Thu, 14 May 2009 09:58:31 -0000
bisitz Thu May 14 09:58:31 2009 EDT
Modified files:
/loncom/interface lonpickcourse.pm
Log:
Optimized page title:
- Corrected &mt usage/text concationaton to allow proper translation
- Don't translate twice (title is passed to &start_page which does the translation)
Index: loncom/interface/lonpickcourse.pm
diff -u loncom/interface/lonpickcourse.pm:1.81 loncom/interface/lonpickcourse.pm:1.82
--- loncom/interface/lonpickcourse.pm:1.81 Fri May 8 17:22:17 2009
+++ loncom/interface/lonpickcourse.pm Thu May 14 09:58:31 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Pick a course
#
-# $Id: lonpickcourse.pm,v 1.81 2009/05/08 17:22:17 raeburn Exp $
+# $Id: lonpickcourse.pm,v 1.82 2009/05/14 09:58:31 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -59,13 +59,13 @@
if (!defined($env{'form.type'})) {
$type = 'Course';
}
- $title = &mt('Selecting a [_1]',$type);
+ $title = 'Selecting a '.$type;
# Setup for multiple course selections, if flag for multiples set.
$multiple = $env{'form.multiple'};
if ($multiple) {
($jscript,$multelement) = &multiples_tag();
- $title = &mt('Selecting [_1](s)',lc($type));
+ $title = 'Selecting '.$type.'(s)';
}
# if called when a DC is selecting a course