[LON-CAPA-cvs] cvs: loncom /interface lonuserutils.pm /localize/localize de.pm
droeschl
lon-capa-cvs-allow@mail.lon-capa.org
Fri, 12 Sep 2008 13:39:29 -0000
droeschl Fri Sep 12 09:39:29 2008 EDT
Modified files:
/loncom/interface lonuserutils.pm
/loncom/localize/localize de.pm
Log:
Fixed &mt usage and added translations in de.pm
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.67 loncom/interface/lonuserutils.pm:1.68
--- loncom/interface/lonuserutils.pm:1.67 Fri Sep 12 00:44:13 2008
+++ loncom/interface/lonuserutils.pm Fri Sep 12 09:39:26 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Utility functions for managing LON-CAPA user accounts
#
-# $Id: lonuserutils.pm,v 1.67 2008/09/12 04:44:13 droeschl Exp $
+# $Id: lonuserutils.pm,v 1.68 2008/09/12 13:39:26 droeschl Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2564,12 +2564,10 @@
$r->print(&Apache::loncommon::end_data_table().'<br />');
} elsif ($mode eq 'excel') {
$excel_workbook->close();
- $r->print('<p><a href="'.$excel_filename.'">'.
- &mt('Your Excel spreadsheet').'</a> '.&mt('is ready for download').'.</p>'."\n");
+ $r->print(&mt('[_1]Your Excel spreadsheet[_2] is ready for download.', '<p><a href="'.$excel_filename.'">','</a>')."</p>\n");
} elsif ($mode eq 'csv') {
close($CSVfile);
- $r->print('<p><a href="'.$CSVfilename.'">'.
- &mt('Your CSV file').'</a> '.&mt('is ready for download').'.</p>'."\n");
+ $r->print(&mt('[_1]Your CSV file[_2] is ready for download.', '<p><a href="'.$CSVfilename.'">','</a>')."</p>\n");
$r->rflush();
}
if ($mode eq 'autoenroll') {
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.143 loncom/localize/localize/de.pm:1.144
--- loncom/localize/localize/de.pm:1.143 Thu Sep 11 12:01:53 2008
+++ loncom/localize/localize/de.pm Fri Sep 12 09:39:26 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# German Localization Lexicon
#
-# $Id: de.pm,v 1.143 2008/09/11 16:01:53 bisitz Exp $
+# $Id: de.pm,v 1.144 2008/09/12 13:39:26 droeschl Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -15482,10 +15482,15 @@
'You can only use this screen to select courses in the current domain.'
=> 'Sie können diesen Bildschirm nur verwenden, um Kurse der derzeitigen Domäne auszuwählen.',
+ '[_1]Your Excel spreadsheet[_2] is ready for download.'
+=> '[_1]Ihre Exceldatei[_2] steht zum Download bereit.',
+
+ '[_1]Your CSV file[_2] is ready for download.'
+=> '[_1]Ihre CSV-Datei[_2] steht zum Download bereit.',
+
''
=> '',
-
#SYNCMARKER
);
1;