From 50110a3e0fa9678824d7c427334fda4c9a13a855 Mon Sep 17 00:00:00 2001 From: PMKuipers Date: Sat, 18 May 2024 16:55:50 +0200 Subject: [PATCH] Minor spell checking --- .vscode/settings.json | 11 ++++++++++- lang/en/local_treestudyplan.php | 22 +++++++++++----------- version.php | 2 +- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 1c90e48..8489b5d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,5 +2,14 @@ "intelephense.environment.includePaths": [ "/srv/moodle4/moodle" ], - "intelephense.diagnostics.undefinedProperties": false + "intelephense.diagnostics.undefinedProperties": false, + "spellright.language": [ + "en" + ], + "spellright.documentTypes": [ + "markdown", + "latex", + "plaintext", + "php" + ] } \ No newline at end of file diff --git a/lang/en/local_treestudyplan.php b/lang/en/local_treestudyplan.php index 1081f79..8dc61e0 100644 --- a/lang/en/local_treestudyplan.php +++ b/lang/en/local_treestudyplan.php @@ -100,7 +100,7 @@ $string["settingdesc_csync_creategroup_field"] = 'Create a group in the course f $string["setting_csync_role_field"] = 'Role'; $string["settingdesc_csync_role_field"] = 'The role to use for automatic cohort sync enrollment created in courses'; $string["setting_csync_remember_manual_csync_field"] = 'Remember existing cohort-syncs'; -$string["settingdesc_csync_remember_manual_csync_field"] = 'Mark cohort syncs that were manually created earlier, so they won\'t be removed during autosync if cohorts are removed from the studyplan'; +$string["settingdesc_csync_remember_manual_csync_field"] = 'Mark cohort syncs that were manually created earlier, so they won\'t be removed during auto sync if cohorts are removed from the study plan'; $string["setting_csync_users_field"] = 'Enroll linked users'; $string["settingdesc_csync_users_field"] = 'Also enrol all users that are explicitly linked to a study plan in that study plan\'s courses.'; @@ -109,21 +109,21 @@ $string["settingdesc_display_heading"] = 'Study plan display settings'; $string["setting_display_field"] = 'Course display name'; $string["settingdesc_display_field"] = 'Select the field to use for the display name of a course in the study plan'; -$string["setting_enableplansharing"] = 'Enable sharing of studyplan'; -$string["settingdesc_enableplansharing"] = 'Allow students to share access to the studyplan with others through a unique link'; +$string["setting_enableplansharing"] = 'Enable sharing of study plan'; +$string["settingdesc_enableplansharing"] = 'Allow students to share access to the study plan with others through a unique link'; -$string["setting_limitcourselist"] = 'Limit course list to studyplan category'; -$string["settingdesc_limitcourselist"] = 'Limit the list of available courses for a studyplan to the category the studyplan is located in.'; +$string["setting_limitcourselist"] = 'Limit course list to study plan category'; +$string["settingdesc_limitcourselist"] = 'Limit the list of available courses for a study plan to the category the studyplan is located in.'; $string["setting_enablecoach"] = 'Enable coach role'; -$string["settingdesc_enablecoach"] = 'The coach role allows one coach specific access to one studyplan with limited access to modify it.'; +$string["settingdesc_enablecoach"] = 'The coach role allows one coach specific access to one study plan with limited access to modify it.'; $string["setting_timelessperiods"] = 'Timeless periods and pages'; $string["settingdesc_timelessperiods"] = 'Do not include timing info in periods or pages'; $string["setting_courseprogressbar"] = 'Show progress bar in course'; -$string["settingdesc_courseprogressbar"] = 'Show a progress bar in the course popup'; +$string["settingdesc_courseprogressbar"] = 'Show a progress bar in the course pop-up'; $string["setting_infofields_heading"] = 'Extra course information fields'; -$string["settingdesc_infofields_heading"] = 'Select up to 5 fields or custom fields to add to the course popup'; +$string["settingdesc_infofields_heading"] = 'Select up to 5 fields or custom fields to add to the course pop-up'; $string["setting_hivizdropslots"] = 'High visibility drop fields'; $string["settingdesc_hivizdropslots"] = 'Give the drop fields when editing a study plan extra visibility'; @@ -142,7 +142,7 @@ for ($i=1;$i<=5;$i++) { $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 popup screen'; + $string["settingdesc_infofield".$i."_position"] = 'Where to place this info field in the course pop-up screen'; } $string["autocohortsync_name"] = 'Study plan automatic cohort sync cascading'; @@ -384,10 +384,10 @@ $string["advanced_warning_title"] = 'Warning'; $string["advanced_warning"] = 'These advanced tools should be used with the utmost care. Make sure you know what you are doing when using them'; $string["advanced_pick_scale"] = 'Pick scale'; $string["advanced_force_scale_title"] = 'Force scales'; -$string["advanced_force_scale_desc"] = 'Change all gradable outcomes associated with this study plan to scale grading with the selected scale. This will only affect gradables that do not already have grades.'; +$string["advanced_force_scale_desc"] = 'Change all gradable outcomes associated with this study plan to scale grading with the selected scale. This will only affect gradable\'s that do not already have grades.'; $string["advanced_force_scale_button"] = 'Apply'; $string["advanced_confirm_header"] = 'Are you sure'; -$string["advanced_force_scale_confirm"] = 'Are you sure you want to set all associated gradables to this scale?'; +$string["advanced_force_scale_confirm"] = 'Are you sure you want to set all associated gradable\'s to this scale?'; $string["advanced_backup_restore"] = 'Backup and restore'; $string["advanced_restore"] = 'Restore from file'; diff --git a/version.php b/version.php index 98e4245..9724dac 100644 --- a/version.php +++ b/version.php @@ -22,7 +22,7 @@ defined('MOODLE_INTERNAL') || die(); $plugin->component = 'local_treestudyplan'; // Recommended since 2.0.2 (MDL-26035). Required since 3.0 (MDL-48494). -$plugin->version = 2024051400; // YYYYMMDDHH (year, month, day, iteration). +$plugin->version = 2024051800; // YYYYMMDDHH (year, month, day, iteration). $plugin->requires = 2021051700; // YYYYMMDDHH (This is the release version for Moodle 3.11). $plugin->release = "1.2.0";