[LON-CAPA-cvs] cvs: loncom(version_2_7_X) /interface lonpickcourse.pm

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Sat, 20 Sep 2008 16:57:22 -0000


raeburn		Sat Sep 20 12:57:22 2008 EDT

  Modified files:              (Branch: version_2_7_X)
    /loncom/interface	lonpickcourse.pm 
  Log:
  Backport optimizations to &mt() calls included in 1.74. 
  
  
Index: loncom/interface/lonpickcourse.pm
diff -u loncom/interface/lonpickcourse.pm:1.73.2.2 loncom/interface/lonpickcourse.pm:1.73.2.3
--- loncom/interface/lonpickcourse.pm:1.73.2.2	Tue Jul  1 01:26:04 2008
+++ loncom/interface/lonpickcourse.pm	Sat Sep 20 12:57:18 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Pick a course
 #
-# $Id: lonpickcourse.pm,v 1.73.2.2 2008/07/01 05:26:04 raeburn Exp $
+# $Id: lonpickcourse.pm,v 1.73.2.3 2008/09/20 16:57:18 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -436,12 +436,12 @@
                       '15552000','31104000']));
 
     my %lt = (
-              'cac' => &mt('[_1] Activity',$type),
-              'cde' => &mt('[_1] Description',$type),
-              'cdo' => &mt('[_1] Domain',$type),
+              'cac' => &mt("$type Activity"),
+              'cde' => &mt("$type Description"),
+              'cdo' => &mt("$type Domain"),
               'cin' => &mt('Course Institutional Code'),
-              'cow' => &mt("[_1] Owner's Username",$type),
-              'cod' => &mt("[_1] Owner's Domain", $type),
+              'cow' => &mt("$type Owner's Username),
+              'cod' => &mt("$type Owner's Domain"),
               'cog' => &mt('Course Type')
              );