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

raeburn raeburn at source.lon-capa.org
Sat Nov 23 15:40:57 EST 2013


raeburn		Sat Nov 23 20:40:57 2013 EDT

  Modified files:              
    /loncom/interface	groupboards.pm 
  Log:
  - Modifications to facilitate translation.
  
  
Index: loncom/interface/groupboards.pm
diff -u loncom/interface/groupboards.pm:1.20 loncom/interface/groupboards.pm:1.21
--- loncom/interface/groupboards.pm:1.20	Mon Sep 23 17:35:07 2013
+++ loncom/interface/groupboards.pm	Sat Nov 23 20:40:57 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Group Bulletin Boards Manager
 #
-# $Id: groupboards.pm,v 1.20 2013/09/23 17:35:07 bisitz Exp $
+# $Id: groupboards.pm,v 1.21 2013/11/23 20:40:57 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -72,7 +72,7 @@
 
     &Apache::lonhtmlcommon::clear_breadcrumbs();
     if (!defined($group)) {
-        $earlyout = &mt('No [_1] defined, so there are no [_1] discussion boards to display',$gpterm);
+        $earlyout = &mt("No $gpterm defined, so there are no $gpterm discussion boards to display");
         $r->print(&display_error($cdom,$cnum,$group,$description,$gpterm,
                                  $ucgpterm,$bodytitle,$earlyout,$refarg));
         return OK;
@@ -96,7 +96,7 @@
                                           '/'.$group);
     }
     if (!$can_view) {
-        $earlyout=&mt('You do not have privileges to view discussion boards in this [_1]',$gpterm);
+        $earlyout=&mt("You do not have privileges to view discussion boards in this $gpterm");
         $r->print(&display_error($cdom,$cnum,$group,$description,$gpterm,
                                  $ucgpterm,$bodytitle,$earlyout,$refarg));
         return OK;




More information about the LON-CAPA-cvs mailing list