From 108a612e8c927a8d5fe6a812495e3ed3219981bd Mon Sep 17 00:00:00 2001 From: PMKuipers Date: Fri, 1 Nov 2024 12:56:41 +0100 Subject: [PATCH] Removed PHP code from language file. --- lang/en/local_treestudyplan.php | 43 +++++++++++++++++++++++++++------ lang/nl/local_treestudyplan.php | 42 ++++++++++++++++++++++++++------ 2 files changed, 69 insertions(+), 16 deletions(-) diff --git a/lang/en/local_treestudyplan.php b/lang/en/local_treestudyplan.php index 0c7cb13..0acd3ff 100644 --- a/lang/en/local_treestudyplan.php +++ b/lang/en/local_treestudyplan.php @@ -141,14 +141,41 @@ $string["infofield_position_below"] = 'Below course results'; $string["infofield_position_header"] = 'Header '; $string["infofield_position_footer"] = 'Footer'; -for ($i = 1; $i <= 5; $i++) { - $string["setting_infofield".$i."_field"] = 'Add course details from field ('.$i.')'; - $string["settingdesc_infofield".$i."_field"] = 'Information field to show'; - $string["setting_infofield".$i."_title"] = 'Title for course details from field ('.$i.').'; - $string["settingdesc_infofield".$i."_title"] = 'Title for course info field. One line per language. End with "|" to localize'.$i.'. Leave empty to set no title'; - $string["setting_infofield".$i."_position"] = 'Position of course info field ('.$i.')'; - $string["settingdesc_infofield".$i."_position"] = 'Where to place this info field in the course pop-up screen'; -} +$string["setting_infofield1_field"] = 'Add course details from field (1)'; +$string["settingdesc_infofield1_field"] = 'Information field to show'; +$string["setting_infofield1_title"] = 'Title for course details from field (1).'; +$string["settingdesc_infofield1_title"] = 'Title for course info field. One line per language. End with "|" to localize. Leave empty to set no title'; +$string["setting_infofield1_position"] = 'Position of course info field (1)'; +$string["settingdesc_infofield1_position"] = 'Where to place this info field in the course pop-up screen'; + +$string["setting_infofield2_field"] = 'Add course details from field (2)'; +$string["settingdesc_infofield2_field"] = 'Information field to show'; +$string["setting_infofield2_title"] = 'Title for course details from field (2).'; +$string["settingdesc_infofield2_title"] = 'Title for course info field. One line per language. End with "|" to localize. Leave empty to set no title'; +$string["setting_infofield2_position"] = 'Position of course info field (2)'; +$string["settingdesc_infofield2_position"] = 'Where to place this info field in the course pop-up screen'; + +$string["setting_infofield3_field"] = 'Add course details from field (3)'; +$string["settingdesc_infofield3_field"] = 'Information field to show'; +$string["setting_infofield3_title"] = 'Title for course details from field (3).'; +$string["settingdesc_infofield3_title"] = 'Title for course info field. One line per language. End with "|" to localize. Leave empty to set no title'; +$string["setting_infofield3_position"] = 'Position of course info field (3)'; +$string["settingdesc_infofield3_position"] = 'Where to place this info field in the course pop-up screen'; + +$string["setting_infofield4_field"] = 'Add course details from field (4)'; +$string["settingdesc_infofield4_field"] = 'Information field to show'; +$string["setting_infofield4_title"] = 'Title for course details from field (4).'; +$string["settingdesc_infofield4_title"] = 'Title for course info field. One line per language. End with "|" to localize. Leave empty to set no title'; +$string["setting_infofield4_position"] = 'Position of course info field (4)'; +$string["settingdesc_infofield4_position"] = 'Where to place this info field in the course pop-up screen'; + +$string["setting_infofield5_field"] = 'Add course details from field (5)'; +$string["settingdesc_infofield5_field"] = 'Information field to show'; +$string["setting_infofield5_title"] = 'Title for course details from field (5).'; +$string["settingdesc_infofield5_title"] = 'Title for course info field. One line per language. End with "|" to localize. Leave empty to set no title'; +$string["setting_infofield5_position"] = 'Position of course info field (5)'; +$string["settingdesc_infofield5_position"] = 'Where to place this info field in the course pop-up screen'; + $string["autocohortsync_name"] = 'Study plan automatic cohort sync cascading'; $string["refreshteacherlist_name"] = "Refresh teacher's study plan list"; diff --git a/lang/nl/local_treestudyplan.php b/lang/nl/local_treestudyplan.php index e2b4454..70217cc 100644 --- a/lang/nl/local_treestudyplan.php +++ b/lang/nl/local_treestudyplan.php @@ -141,14 +141,40 @@ $string["infofield_position_below"] = 'Onder cursusresultaten'; $string["infofield_position_header"] = 'Header '; $string["infofield_position_footer"] = 'Footer'; -for ($i = 1; $i <= 5; $i++) { - $string["setting_infofield".$i."_field"] = 'Laat gegevens zien uit cursusveld ('.$i.')'; - $string["settingdesc_infofield".$i."_field"] = 'Kies cursusveld om informatie uit te tonen'; - $string["setting_infofield".$i."_title"] = 'Titel voor gegevens uit cursusveld ('.$i.')'; - $string["settingdesc_infofield".$i."_title"] = 'Titel for cursusveld. Een regel per taal. Eindig met "|" om taal aan te geven'; - $string["setting_infofield".$i."_position"] = 'Plaats van cursusveld ('.$i.')'; - $string["settingdesc_infofield".$i."_position"] = 'Waar de gegevens komen te staan in het cursusvenster'; -} +$string["setting_infofield1_field"] = 'Laat gegevens zien uit cursusveld (1)'; +$string["settingdesc_infofield1_field"] = 'Kies cursusveld om informatie uit te tonen'; +$string["setting_infofield1_title"] = 'Titel voor gegevens uit cursusveld (1)'; +$string["settingdesc_infofield1_title"] = 'Titel for cursusveld. Een regel per taal. Eindig met "|" om taal aan te geven'; +$string["setting_infofield1_position"] = 'Plaats van cursusveld (1)'; +$string["settingdesc_infofield1_position"] = 'Waar de gegevens komen te staan in het cursusvenster'; + +$string["setting_infofield2_field"] = 'Laat gegevens zien uit cursusveld (2)'; +$string["settingdesc_infofield2_field"] = 'Kies cursusveld om informatie uit te tonen'; +$string["setting_infofield2_title"] = 'Titel voor gegevens uit cursusveld (2)'; +$string["settingdesc_infofield2_title"] = 'Titel for cursusveld. Een regel per taal. Eindig met "|" om taal aan te geven'; +$string["setting_infofield2_position"] = 'Plaats van cursusveld (2)'; +$string["settingdesc_infofield2_position"] = 'Waar de gegevens komen te staan in het cursusvenster'; + +$string["setting_infofield3_field"] = 'Laat gegevens zien uit cursusveld (3)'; +$string["settingdesc_infofield3_field"] = 'Kies cursusveld om informatie uit te tonen'; +$string["setting_infofield3_title"] = 'Titel voor gegevens uit cursusveld (3)'; +$string["settingdesc_infofield3_title"] = 'Titel for cursusveld. Een regel per taal. Eindig met "|" om taal aan te geven'; +$string["setting_infofield3_position"] = 'Plaats van cursusveld (3)'; +$string["settingdesc_infofield3_position"] = 'Waar de gegevens komen te staan in het cursusvenster'; + +$string["setting_infofield4_field"] = 'Laat gegevens zien uit cursusveld (4)'; +$string["settingdesc_infofield4_field"] = 'Kies cursusveld om informatie uit te tonen'; +$string["setting_infofield4_title"] = 'Titel voor gegevens uit cursusveld (4)'; +$string["settingdesc_infofield4_title"] = 'Titel for cursusveld. Een regel per taal. Eindig met "|" om taal aan te geven'; +$string["setting_infofield4_position"] = 'Plaats van cursusveld (4)'; +$string["settingdesc_infofield4_position"] = 'Waar de gegevens komen te staan in het cursusvenster'; + +$string["setting_infofield5_field"] = 'Laat gegevens zien uit cursusveld (5)'; +$string["settingdesc_infofield5_field"] = 'Kies cursusveld om informatie uit te tonen'; +$string["setting_infofield5_title"] = 'Titel voor gegevens uit cursusveld (5)'; +$string["settingdesc_infofield5_title"] = 'Titel for cursusveld. Een regel per taal. Eindig met "|" om taal aan te geven'; +$string["setting_infofield5_position"] = 'Plaats van cursusveld (5)'; +$string["settingdesc_infofield5_position"] = 'Waar de gegevens komen te staan in het cursusvenster'; $string["autocohortsync_name"] = 'Studyplan automatisch site-group synchronisatie doorzetten'; $string["refreshteacherlist_name"] = "Ververs lijst van studieplannen voor leraar";