[LON-CAPA-cvs] cvs: loncom /interface loncoursegroups.pm

bisitz lon-capa-cvs-allow@mail.lon-capa.org
Tue, 22 Apr 2008 18:38:16 -0000


bisitz		Tue Apr 22 14:38:16 2008 EDT

  Modified files:              
    /loncom/interface	loncoursegroups.pm 
  Log:
  Localization:
  Optimized mt() calls for creating folder names for group folder and group homepage
  
  
Index: loncom/interface/loncoursegroups.pm
diff -u loncom/interface/loncoursegroups.pm:1.74 loncom/interface/loncoursegroups.pm:1.75
--- loncom/interface/loncoursegroups.pm:1.74	Wed Apr 16 19:12:25 2008
+++ loncom/interface/loncoursegroups.pm	Tue Apr 22 14:38:09 2008
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursegroups.pm,v 1.74 2008/04/16 23:12:25 raeburn Exp $
+# $Id: loncoursegroups.pm,v 1.75 2008/04/22 18:38:09 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3724,9 +3724,9 @@
             $outcome = &mt('Could not obtain exclusive lock to check status of the folder for all groups. No group folder added.');
             return $outcome;
         }
-        my $grpfolder = &mt('[_1] Folder -',$ucgpterm,).$description;
+        my $grpfolder = &mt($ucgpterm.' Folder - [_1]',$description);
         $grppage='/adm/'.$cdom.'/'.$cnum.'/'.$groupname.'/smppg';
-        my $grptitle = &mt('Group homepage').' - '.$description;
+        my $grptitle = &mt('Group homepage - [_1]',$description);
         my ($discussions,$disctitle);
         my $outcome = &map_updater($cdom,$cnum,'group_folder_'.$groupname.'.sequence',
                                    'grpseq',$grpfolder,$allgrpsmap,$grppage,