From 720626f34b39536294d5be2ea694de7858479b6b Mon Sep 17 00:00:00 2001 From: Peter Mayer Date: Wed, 19 Jun 2024 21:37:50 +0200 Subject: [PATCH] MBS-9216: Wordcloud - Make send button multilang --- tools/wordcloud/classes/wordcloud.php | 2 +- tools/wordcloud/lang/en/mootimetertool_wordcloud.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/wordcloud/classes/wordcloud.php b/tools/wordcloud/classes/wordcloud.php index 166f1062..624ff8e9 100644 --- a/tools/wordcloud/classes/wordcloud.php +++ b/tools/wordcloud/classes/wordcloud.php @@ -338,7 +338,7 @@ public function get_renderer_params(object $page) { $params['button_answer'] = [ 'mtm-button-id' => 'mootimeter_enter_answer', - 'mtm-button-text' => 'Senden', + 'mtm-button-text' => get_string('submit', 'mootimetertool_wordcloud'), ]; return $params; diff --git a/tools/wordcloud/lang/en/mootimetertool_wordcloud.php b/tools/wordcloud/lang/en/mootimetertool_wordcloud.php index 91fa39ff..b84b3df7 100644 --- a/tools/wordcloud/lang/en/mootimetertool_wordcloud.php +++ b/tools/wordcloud/lang/en/mootimetertool_wordcloud.php @@ -40,5 +40,6 @@ $string['show_results'] = 'Show result wordcloud'; $string['showresultlive'] = 'Show results live'; $string['showresultteacherpermission'] = 'Show results on teacher permission'; +$string['submit'] = 'Submit'; $string['tool_description_short'] = "Collect words or statements live"; $string['type_answer'] = 'Insert a word or statement and hit Enter.';