From 1b0e1bafa7980bcf3fad73b8c6a8d1e88d57eddf Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sat, 13 Jan 2024 04:41:18 +0100 Subject: [PATCH] Translation: Add new term --- public/main/exercise/admin.php | 2 +- public/main/exercise/qti2.php | 2 +- public/main/exercise/question_create.php | 2 +- public/main/exercise/question_pool.php | 2 +- public/main/exercise/upload_exercise.php | 2 +- translations/main.pot | 3 +++ 6 files changed, 8 insertions(+), 5 deletions(-) diff --git a/public/main/exercise/admin.php b/public/main/exercise/admin.php index 0fb32af61c..ad4ead9cb4 100644 --- a/public/main/exercise/admin.php +++ b/public/main/exercise/admin.php @@ -298,7 +298,7 @@ if ($inATest) { if (!isset($_GET['hotspotadmin']) && !isset($_GET['newQuestion']) && !isset($_GET['editQuestion'])) { $actions .= ''. - Display::getMdiIcon(ActionIcon::BACK, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('BackToTestsList')).''; + Display::getMdiIcon(ActionIcon::BACK, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('Back to tests list')).''; } $actions .= ''. diff --git a/public/main/exercise/qti2.php b/public/main/exercise/qti2.php index 150848bf74..0697daf8ae 100644 --- a/public/main/exercise/qti2.php +++ b/public/main/exercise/qti2.php @@ -37,7 +37,7 @@ function displayForm() { $form = '
'; $form .= ''. - Display::getMdiIcon(ActionIcon::BACK, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('BackToTestsList')).''; + Display::getMdiIcon(ActionIcon::BACK, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('Back to tests list')).''; $form .= '
'; $formValidator = new FormValidator( 'qti_upload', diff --git a/public/main/exercise/question_create.php b/public/main/exercise/question_create.php index dac769d46a..6574f84cc4 100644 --- a/public/main/exercise/question_create.php +++ b/public/main/exercise/question_create.php @@ -108,7 +108,7 @@ if ($form->validate()) { } else { Display::display_header($nameTools); $actions = ''. - Display::getMdiIcon(ActionIcon::BACK, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('BackToTestsList')).''; + Display::getMdiIcon(ActionIcon::BACK, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('Back to tests list')).''; echo Display::toolbarAction('toolbar', [$actions]); $form->display(); diff --git a/public/main/exercise/question_pool.php b/public/main/exercise/question_pool.php index c02db6afb8..88cff508ac 100644 --- a/public/main/exercise/question_pool.php +++ b/public/main/exercise/question_pool.php @@ -1032,7 +1032,7 @@ if (isset($fromExercise) && $fromExercise > 0) { Display::getMdiIcon(ActionIcon::BACK, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('Go back to the questions list')).''; } else { $actions .= ''. - Display::getMdiIcon(ActionIcon::BACK, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('BackToTestsList')).''; + Display::getMdiIcon(ActionIcon::BACK, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('Back to tests list')).''; $actions .= "". Display::getMdiIcon(ActionIcon::ADD, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('New question')).''; } diff --git a/public/main/exercise/upload_exercise.php b/public/main/exercise/upload_exercise.php index 1631f10352..9c4accb8dd 100644 --- a/public/main/exercise/upload_exercise.php +++ b/public/main/exercise/upload_exercise.php @@ -46,7 +46,7 @@ lp_upload_quiz_main(); function lp_upload_quiz_actions() { return ''. - Display::getMdiIcon(ActionIcon::BACK, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('BackToTestsList')).''; + Display::getMdiIcon(ActionIcon::BACK, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('Back to tests list')).''; } function lp_upload_quiz_main() diff --git a/translations/main.pot b/translations/main.pot index e805c040b0..b1e19e399f 100644 --- a/translations/main.pot +++ b/translations/main.pot @@ -24142,3 +24142,6 @@ msgstr "By checking this box, I confirm that I accept the data processing by the msgid "The platform owner, responsible for the processing, implements processing of personal data to respond to your contact request. The data is mandatory. In their absence, it will not be possible to process your request." msgstr "The platform owner, responsible for the processing, implements processing of personal data to respond to your contact request. The data is mandatory. In their absence, it will not be possible to process your request." + +msgid "Back to tests list" +msgstr "Back to tests list"