[LON-CAPA-cvs] cvs: loncom /homework grades.pm /interface londropadd.pm /interface/statistics lonproblemanalysis.pm /localize/localize de.pm
hauer
hauer@source.lon-capa.org
Wed, 04 Feb 2009 13:21:54 -0000
hauer Wed Feb 4 13:21:54 2009 EDT
Modified files:
/loncom/localize/localize de.pm
/loncom/homework grades.pm
/loncom/interface londropadd.pm
/loncom/interface/statistics lonproblemanalysis.pm
Log:
added quant-calls in the source and edited them in de.pm, because they were not used elsewhere
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.203 loncom/localize/localize/de.pm:1.204
--- loncom/localize/localize/de.pm:1.203 Wed Feb 4 13:04:07 2009
+++ loncom/localize/localize/de.pm Wed Feb 4 13:21:32 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# German Localization Lexicon
#
-# $Id: de.pm,v 1.203 2009/02/04 13:04:07 schafran Exp $
+# $Id: de.pm,v 1.204 2009/02/04 13:21:32 hauer Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2734,7 +2734,7 @@
'Dropped [_1]'
=> '[_1] ausgeschlossen',
- 'Dropped [_1] student(s).'
+ 'Dropped [quant,_1,student].'
=> '[quant,_1,Studierender,Studierende] ausgeschlossen.',
'Dropping Students'
@@ -2857,7 +2857,7 @@
'Note: This will not take effect if the user already exists.'
=> 'Anmerkung: Diese Einstellung bleibt ohne Wirkung, falls der Benutzer bereits existiert.',
- 'Processed [_1] student(s).'
+ 'Processed [quant,_1,student].'
=> '[quant,_1,Studierender,Studierende] bearbeitet.',
'Re-enrollment will re-activate data.'
@@ -6714,7 +6714,7 @@
=> 'Keine Enddatum gesetzt',
'Membership reinstated for [quant,_1,user], each with start and end dates for group access set to defaults: [_2] and [_3]'
-=> 'Die Mitgliedschaft wurde für [_quant,_1,Benutzer] wiederhergestellt, jeweils mit den voreingestellten Start- und Enddatumswerten dieser Gruppe: [_2] und [_3].',
+=> 'Die Mitgliedschaft wurde für [_quant,_1,Benutzer,Benutzer] wiederhergestellt, jeweils mit den voreingestellten Start- und Enddatumswerten dieser Gruppe: [_2] und [_3].',
"Although the group was re-enabled, an error occurred when adding the group's folder to the 'Course Groups' folder: [_1]"
=> "Die Gruppe wurde zwar wiederhergestellt, beim Hinzufügen des Gruppen-Verzeichnisses zu dem 'Kursgruppen'-Verzeichnis ist jedoch ein Fehler aufgetreten: [_1]",
@@ -7144,7 +7144,7 @@
'Analysis of [_1] is not supported.'
=> 'Die Analyse von Aufgaben des Typs "[_1]" wird nicht unterstützt.',
- 'None of the selected students attempted the problem more than [_1] times.'
+ 'None of the selected students attempted the problem more than [quant,_1,time].'
=> 'Keiner der ausgewählten Studierenden hat für die Aufgabe mehr als [quant,_1,Versuch,Versuche] benötigt.',
'None of the selected students have attempted the problem.'
@@ -11728,7 +11728,7 @@
'Correct answer: [_1]'
=> 'Korrekte Antwort: [_1]',
- 'Successfully stored grades for [_1] student(s).'
+ 'Successfully stored grades for [quant,_1,student].'
=> 'Erfolgreiche Speicherung der Bewertungen für [quant,_1,Studierenden,Studierende].',
'Grading Menu'
@@ -13826,7 +13826,7 @@
'Save & Next'
=> 'Speichern und weiter',
- '[_1]student(s)'
+ '[quant,_1,student]'
=> '[quant,_1,Studierender,Studierende]',
'(Next and Previous (student) do not save the scores.)'
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.548 loncom/homework/grades.pm:1.549
--- loncom/homework/grades.pm:1.548 Fri Jan 16 10:59:52 2009
+++ loncom/homework/grades.pm Wed Feb 4 13:21:40 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.548 2009/01/16 10:59:52 bisitz Exp $
+# $Id: grades.pm,v 1.549 2009/02/04 13:21:40 hauer Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2234,7 +2234,7 @@
'<option>7</option><option>10</option></select>'."\n";
my $nsel = ($env{'form.NTSTU'} ne '' ? $env{'form.NTSTU'} : '1');
$ntstu =~ s/<option>$nsel</<option selected="selected">$nsel</;
- $endform.=&mt('[_1]student(s)',$ntstu);
+ $endform.=&mt('[quant,_1,student]',$ntstu);
$endform.=' <input type="button" value="'.&mt('Previous').'" '.
'onClick="javascript:checksubmit(this.form,\'Previous\');" target="_self" /> '."\n".
'<input type="button" value="'.&mt('Next').'" '.
@@ -8864,7 +8864,7 @@
}
}
# We are done
- $result.='<br />'.&mt('Successfully stored grades for [_1] student(s).',$storecount).
+ $result.='<br />'.&mt('Successfully stored grades for [quant,_1,student].',$storecount).
'</td></tr></table>'."\n".
'</td></tr></table><br /><br />'."\n";
return $result.&show_grading_menu_form($symb);
Index: loncom/interface/londropadd.pm
diff -u loncom/interface/londropadd.pm:1.177 loncom/interface/londropadd.pm:1.178
--- loncom/interface/londropadd.pm:1.177 Fri Dec 5 19:19:28 2008
+++ loncom/interface/londropadd.pm Wed Feb 4 13:21:48 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to drop and add students in courses
#
-# $Id: londropadd.pm,v 1.177 2008/12/05 19:19:28 schafran Exp $
+# $Id: londropadd.pm,v 1.178 2009/02/04 13:21:48 hauer Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2625,7 +2625,7 @@
}
}
} # end of foreach (@studentdata)
- $r->print("</p>\n<p>\n".&mt('Processed [_1] student(s).',$count).
+ $r->print("</p>\n<p>\n".&mt('Processed [quant,_1,student].',$count).
"</p>\n");
$r->print("<p>\n".
&mt('If active, the new role will be available when the '.
@@ -2676,7 +2676,7 @@
'<br />');
}
}
- $r->print('<p><b>'.&mt('Dropped [_1] student(s).',$count).'</b></p>');
+ $r->print('<p><b>'.&mt('Dropped [quant,_1,student].',$count).'</b></p>');
$r->print('<p>'.&mt('Re-enrollment will re-activate data.')) if ($count);
}
Index: loncom/interface/statistics/lonproblemanalysis.pm
diff -u loncom/interface/statistics/lonproblemanalysis.pm:1.135 loncom/interface/statistics/lonproblemanalysis.pm:1.136
--- loncom/interface/statistics/lonproblemanalysis.pm:1.135 Fri Dec 12 10:01:30 2008
+++ loncom/interface/statistics/lonproblemanalysis.pm Wed Feb 4 13:21:54 2009
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonproblemanalysis.pm,v 1.135 2008/12/12 10:01:30 bisitz Exp $
+# $Id: lonproblemanalysis.pm,v 1.136 2009/02/04 13:21:54 hauer Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1332,7 +1332,7 @@
if ($try > 1) {
$analysis_html.= '<tr><td colspan="4">'
.'<div class="LC_info">'
- .&mt('None of the selected students attempted the problem more than [_1] times.'
+ .&mt('None of the selected students attempted the problem more than [quant,_1,time].'
,$try-1)
.'</div>'
.'</td></tr>';