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

raeburn raeburn at source.lon-capa.org
Mon Dec 17 10:00:41 EST 2012


raeburn		Mon Dec 17 15:00:41 2012 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  - Localization: move HTML mark-up out of &mt().
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.528 loncom/interface/lonparmset.pm:1.529
--- loncom/interface/lonparmset.pm:1.528	Wed Nov 28 17:25:40 2012
+++ loncom/interface/lonparmset.pm	Mon Dec 17 15:00:41 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.528 2012/11/28 17:25:40 bisitz Exp $
+# $Id: lonparmset.pm,v 1.529 2012/12/17 15:00:41 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2914,7 +2914,7 @@
     if (&Apache::lonnet::del('resourcedata',\@deldata,$dom,$crs) eq 'ok') {
         my %loghash=map { $_ => '' } @deldata;
         &log_parmset(\%loghash,1);
-        $r->print('<h2>'.&mt('Deleted [_1] parameter(s)</h2>',$delentries));
+        $r->print('<h2>'.&mt('Deleted [_1] parameter(s)',$delentries).'</h2>');
     } else {
         $r->print('<div class="LC_error">'.
               &mt('Error deleting parameters').'</div>');
@@ -3598,8 +3598,9 @@
         } elsif ($data{'realm_type'} eq 'symb') {
         my ($map,$resid,$url) =
             &Apache::lonnet::decode_symb($data{'realm'});
-        $r->print(&mt('Resource: [_1] <br />   with ID: [_2] <br />   in folder [_3]',
-                  $url,$resid,$map));
+        $r->print(&mt('Resource: [_1]with ID: [_2]in folder [_3]',
+                      $url.' <br />   ',
+                      $resid.' <br />   ',$map));
         }
         $r->print(' <br />   '.&mt('Part: [_1]',$data{'parameter_part'}));
         $r->print('</td></tr>');




More information about the LON-CAPA-cvs mailing list