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

bisitz bisitz at source.lon-capa.org
Tue Feb 11 13:52:21 EST 2014


bisitz		Tue Feb 11 18:52:21 2014 EDT

  Modified files:              
    /loncom/interface	lonmeta.pm 
  Log:
  - Internationalization: Added missing &mt() calls
  - XHTML
  
  
  
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.251 loncom/interface/lonmeta.pm:1.252
--- loncom/interface/lonmeta.pm:1.251	Tue Jun  4 23:12:08 2013
+++ loncom/interface/lonmeta.pm	Tue Feb 11 18:52:20 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Metadata display handler
 #
-# $Id: lonmeta.pm,v 1.251 2013/06/04 23:12:08 raeburn Exp $
+# $Id: lonmeta.pm,v 1.252 2014/02/11 18:52:20 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -389,9 +389,9 @@
                     &mt('You can choose to transfer data from the added fields to the "Notes" field if you are planning to change the course association.').'<br /><br />'.
                     &Apache::loncommon::start_data_table().
                     &Apache::loncommon::start_data_table_header_row().
-                    '<th>Copy to notes?</th>'."\n".
-                    '<th>Field name</th>'."\n".
-                    '<th>Values</th>'."\n".
+                    '<th>'.&mt('Copy to notes?').'</th>'."\n".
+                    '<th>'.&mt('Field Name').'</th>'."\n".
+                    '<th>'.&mt('Values').'</th>'."\n".
                     &Apache::loncommon::end_data_table_header_row().
                     $transfernotes.
                     &Apache::loncommon::end_data_table().'<br />';
@@ -455,7 +455,7 @@
     }
     # MIME
     if ($type eq 'mime') {
-        return '<img src="'.&Apache::loncommon::icon($value).'" /> '.
+        return '<img src="'.&Apache::loncommon::icon($value).'" alt="" /> '.
             &Apache::loncommon::filedescription($value);
     }
     # Person




More information about the LON-CAPA-cvs mailing list