Skip to content

Commit

Permalink
update test runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
christianp committed Oct 10, 2024
1 parent 139ff0f commit 48bb8ae
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 22 deletions.
46 changes: 25 additions & 21 deletions tests/locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -1492,26 +1492,26 @@ Numbas.locale = {
"question.explore.no parts defined": "In dieser Frage wurden keine Teile angelegt.",
"answer": "Antwort",
"worksheet.answersheet show question content": "Inhalt der Frage in Antwortblättern zeigen?",
"modal.confirm end exam": "Write <code>{{endConfirmation}}</code> in the box to confirm:",
"modal.end exam button": "End exam",
"lightbox.zoom in on image": "Zoom in on this image",
"exam.progress": "Progress",
"exam.questions answered": "{{numAnsweredQuestions}} of {{numQuestions}} questions answered.",
"result.question marks available": "Marks Available",
"result.question answered": "Answered?",
"control.confirm end.correct": "You may now end the exam.",
"control.confirm end.incorrect": "This is not the expected text.",
"control.confirm end.password": "end",
"jme.typecheck.for in name wrong type": "The name in a <code>for</code> statement must be a name or list of names, not {{type}}.",
"jme.makeFast.no fast definition of function": "The function <code>{{name}}</code> here isn't defined in a way that can be made fast.",
"part.show feedback": "Show feedback",
"part.hide feedback": "Hide feedback",
"part.feedback title": "Feedback for {{name}}.",
"part.jme.must-match.warning": "Your answer is not in the expected form: {{-message}}",
"part.numberentry.write your answer as a fraction": "Write your answer as a fraction.",
"question.nav.label": "Question controls",
"question.answer saved": "Answer saved",
"question.all answers saved": "All answers saved"
"modal.confirm end exam": "Schreiben Sie zur Bestätigung <code>{{endConfirmation}}</code> in die Box:",
"modal.end exam button": "Test beenden",
"lightbox.zoom in on image": "Hereinzoomen",
"exam.progress": "Fortschritt",
"exam.questions answered": "{{numAnsweredQuestions}} von {{numQuestions}} Fragen beantwortet.",
"result.question marks available": "Bewertungen verfügbar",
"result.question answered": "Beantwortet?",
"control.confirm end.correct": "Sie können den Test nun beenden.",
"control.confirm end.incorrect": "Dies ist nicht der erwartete Text.",
"control.confirm end.password": "Beenden",
"jme.typecheck.for in name wrong type": "Der Name in einem <code>for</code>-Statement muss ein Name oder eine Liste von Namen sein, nicht {{type}}.",
"jme.makeFast.no fast definition of function": "Die Funktion <code>{{name}}</code> hier ist nicht so definiert, dass sie schnell ausgeführt werden kann.",
"part.show feedback": "Feedback anzeigen",
"part.hide feedback": "Feedback verbergen",
"part.feedback title": "Feedback für {{name}}.",
"part.jme.must-match.warning": "Ihre Antwort hat nicht die erwartete Form: {{-message}}",
"part.numberentry.write your answer as a fraction": "Schreiben Sie Ihre Antwort als Bruchzahl.",
"question.nav.label": "Fragen-Navigation",
"question.answer saved": "Antwort gespeichert",
"question.all answers saved": "Alle Antworten gespeichert"
}}
,
"en-gb": {translation:
Expand Down Expand Up @@ -1809,8 +1809,11 @@ Numbas.locale = {
"part.unknown type": "{{part}}: Unrecognised part type {{type}}",
"part.setting not present": "Property '{{property}}' not set",
"part.feedback out of date": "This feedback is based on your last submitted answer. Save your changed answer to get updated feedback.",
"part.there is new feedback": "The feedback has changed.",
"part.input title": "Answer for part {{name}}",
"part.show feedback": "Show feedback",
"part.feedback message count": " (1 message)",
"part.feedback message count_plural": " ({{count}} messages)",
"part.hide feedback": "Hide feedback",
"part.feedback title": "Feedback for {{name}}.",
"part.correct answer title": "Expected answer for part {{name}}",
Expand Down Expand Up @@ -2007,7 +2010,8 @@ Numbas.locale = {
"worksheet.reconfigure": "Generate different sheets",
"worksheet.show sheet": "Preview the sheet with ID:",
"worksheet.answersheet show question content": "Show question content in answer sheets?"
}}
}
}
,
"en-school": {translation:
{
Expand Down
2 changes: 1 addition & 1 deletion tests/numbas-runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -22219,7 +22219,7 @@ if(res) { \
*/
markingComment: function(message, reason, format)
{
if(!this.settings.showFeedbackIcon && reason == 'incorrect' || reason=='correct') {
if(!this.settings.showFeedbackIcon && (reason == 'incorrect' || reason=='correct')) {
return;
}
this.markingFeedback.push({
Expand Down

0 comments on commit 48bb8ae

Please sign in to comment.