Language: Fix missing translations in tests configuration

pull/5101/head
Yannick Warnier 2 years ago
parent a3917cbb87
commit 8b6bac8a29
  1. 8
      public/main/exercise/exercise.class.php
  2. 12
      translations/messages.en.po
  3. 12
      translations/messages.pot

@ -2110,7 +2110,7 @@ class Exercise
$form->createElement('radio', 'hide_question_number', null, get_lang('Yes'), '1'),
$form->createElement('radio', 'hide_question_number', null, get_lang('No'), '0'),
];
$form->addGroup($group, null, get_lang('HideQuestionNumber'));
$form->addGroup($group, null, get_lang('Hide question numbering'));
$displayMatrix = 'none';
$displayRandom = 'none';
@ -2292,7 +2292,7 @@ class Exercise
]
);
$form->addElement('html', '</div>');
$form->addCheckBox('prevent_backwards', null, get_lang('QuizPreventBackwards'));
$form->addCheckBox('prevent_backwards', null, get_lang('Prevent moving backwards between questions'));
$form->addElement(
'text',
'pass_percentage',
@ -2574,7 +2574,7 @@ class Exercise
'radio',
'exerciseFeedbackType',
null,
get_lang('ExerciseDirectPopUp'),
get_lang('Direct pop-up mode'),
EXERCISE_FEEDBACK_TYPE_POPUP,
['id' => 'exerciseType_'.EXERCISE_FEEDBACK_TYPE_POPUP, 'onclick' => 'check_direct_feedback()']
);
@ -10903,7 +10903,7 @@ class Exercise
'radio',
'results_disabled',
null,
get_lang('ExerciseCategoriesRadarMode'),
get_lang('Show score by category on a radar/spiderweb chart'),
RESULT_DISABLE_RADAR,
['id' => 'result_disabled_9']
);

@ -24157,3 +24157,15 @@ msgstr "Text appearing at the end of the test when the user has succeeded or if
msgid "Text appearing at the end of the test when the user has failed."
msgstr "Text appearing at the end of the test when the user has failed."
msgid "Hide question numbering"
msgstr "Hide question numbering"
msgid "Show score by category on a radar/spiderweb chart"
msgstr "Show score by category on a radar/spiderweb chart"
msgid "Direct pop-up mode"
msgstr "Direct pop-up mode"
msgid "Prevent moving backwards between questions"
msgstr "Prevent moving backwards between questions"

@ -24156,3 +24156,15 @@ msgstr ""
msgid "Text appearing at the end of the test when the user has failed."
msgstr ""
msgid "Hide question numbering"
msgstr ""
msgid "Show score by category on a radar/spiderweb chart"
msgstr ""
msgid "Direct pop-up mode"
msgstr ""
msgid "Prevent moving backwards between questions"
msgstr ""

Loading…
Cancel
Save