From cdf4ba9549ae1ca013ba12232f54aac3b1210b86 Mon Sep 17 00:00:00 2001 From: Helen Foster Date: Wed, 29 Apr 2015 23:22:36 +0200 Subject: [PATCH 1/2] MDL-50033 lang: Merge English strings from the en_fix language pack --- auth/email/lang/en/auth_email.php | 2 +- blocks/quiz_results/lang/en/block_quiz_results.php | 2 +- cache/stores/memcache/lang/en/cachestore_memcache.php | 2 +- cache/stores/memcached/lang/en/cachestore_memcached.php | 2 +- lang/en/moodle.php | 4 ++-- lib/editor/tinymce/lang/en/editor_tinymce.php | 2 +- mod/forum/lang/en/forum.php | 2 +- mod/scorm/lang/en/scorm.php | 9 +++++---- 8 files changed, 13 insertions(+), 12 deletions(-) diff --git a/auth/email/lang/en/auth_email.php b/auth/email/lang/en/auth_email.php index 61045514695..1170c8e2de5 100644 --- a/auth/email/lang/en/auth_email.php +++ b/auth/email/lang/en/auth_email.php @@ -24,7 +24,7 @@ $string['auth_emaildescription'] = '

Email-based self-registration enables a user to create their own account via a \'Create new account\' button on the login page. The user then receives an email containing a secure link to a page where they can confirm their account. Future logins just check the username and password against the stored values in the Moodle database.

Note: In addition to enabling the plugin, email-based self-registration must also be selected from the self registration drop-down menu on the \'Manage authentication\' page.

'; $string['auth_emailnoemail'] = 'Tried to send you an email but failed!'; -$string['auth_emailrecaptcha'] = 'Adds a visual/audio confirmation form element to the signup page for email self-registering users. This protects your site against spammers and contributes to a worthwhile cause. See http://www.google.com/recaptcha/learnmore for more details.
PHP cURL extension is required.'; +$string['auth_emailrecaptcha'] = 'Adds a visual/audio confirmation form element to the sign-up page for email self-registering users. This protects your site against spammers and contributes to a worthwhile cause. See http://www.google.com/recaptcha for more details.'; $string['auth_emailrecaptcha_key'] = 'Enable reCAPTCHA element'; $string['auth_emailsettings'] = 'Settings'; $string['pluginname'] = 'Email-based self-registration'; diff --git a/blocks/quiz_results/lang/en/block_quiz_results.php b/blocks/quiz_results/lang/en/block_quiz_results.php index f6d758aa372..31e8f0d5e1d 100644 --- a/blocks/quiz_results/lang/en/block_quiz_results.php +++ b/blocks/quiz_results/lang/en/block_quiz_results.php @@ -40,7 +40,7 @@ $string['config_show_best'] = 'How many of the highest grades should be shown (0 $string['config_show_worst'] = 'How many of the lowest grades should be shown (0 to disable)?'; $string['configuredtoshownothing'] = 'This block\'s configuration currently does not allow it to show any results. You may want to either configure it or hide it.'; $string['config_use_groups'] = 'Show groups instead of students (only if the quiz supports groups)?'; -$string['error_emptyquizid'] = 'There is an error right now with this block: you need to select which quiz it should display results from.'; +$string['error_emptyquizid'] = 'Please configure this block and select which quiz it should display results from.'; $string['error_emptyquizrecord'] = 'There is an error right now with this block: the selected quiz does not seem to exist in the database.'; $string['error_nogroupsexist'] = 'There is an error right now with this block: it is set to display grades in group mode, but the course has no defined groups.'; $string['pluginname'] = 'Quiz results'; diff --git a/cache/stores/memcache/lang/en/cachestore_memcache.php b/cache/stores/memcache/lang/en/cachestore_memcache.php index c40bb14bf41..959e492ac2d 100644 --- a/cache/stores/memcache/lang/en/cachestore_memcache.php +++ b/cache/stores/memcache/lang/en/cachestore_memcache.php @@ -51,7 +51,7 @@ ipaddress:port servername:port:weight -If *Enable clustered servers* is enabled below, there must be only one server listed here. This would usually be a name that always resolves to the local manchine, like 127.0.0.1 or localhost.'; +If *Enable clustered servers* is enabled below, there must be only one server listed here. This would usually be a name that always resolves to the local machine, like 127.0.0.1 or localhost.'; $string['serversclusterinvalid'] = 'Exactly one server is required when clustering is enabled.'; $string['setservers'] = 'Set Servers'; $string['setservers_help'] = 'This is the list of servers that will updated when data is modified in the cache. Generally the fully qualified name of each server in the pool. diff --git a/cache/stores/memcached/lang/en/cachestore_memcached.php b/cache/stores/memcached/lang/en/cachestore_memcached.php index af72912f1a1..27d079e8047 100644 --- a/cache/stores/memcached/lang/en/cachestore_memcached.php +++ b/cache/stores/memcached/lang/en/cachestore_memcached.php @@ -65,7 +65,7 @@ ipaddress:port servername:port:weight -If *Enable clustered servers* is enabled below, there must be only one server listed here. This would usually be a name that always resolves to the local manchine, like 127.0.0.1 or localhost.'; +If *Enable clustered servers* is enabled below, there must be only one server listed here. This would usually be a name that always resolves to the local machine, like 127.0.0.1 or localhost.'; $string['serversclusterinvalid'] = 'Exactly one server is required when clustering is enabled.'; $string['setservers'] = 'Set Servers'; $string['setservers_help'] = 'This is the list of servers that will updated when data is modified in the cache. Generally the fully qualified name of each server in the pool. diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 41c93ff708f..70f78c59621 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -477,7 +477,7 @@ $string['deletecheck'] = 'Delete {$a} ?'; $string['deletechecktype'] = 'Are you sure that you want to delete this {$a->type}?'; $string['deletechecktypename'] = 'Are you sure that you want to delete the {$a->type} "{$a->name}"?'; $string['deletecheckfiles'] = 'Are you absolutely sure you want to delete these files?'; -$string['deletecheckfull'] = 'Are you absolutely sure you want to completely delete {$a} ?'; +$string['deletecheckfull'] = 'Are you absolutely sure you want to completely delete the user {$a}, including their enrolments, activity and other user data?'; $string['deletecheckwarning'] = 'You are about to delete these files'; $string['deleteselected'] = 'Delete selected'; $string['deleteselectedkey'] = 'Delete selected key'; @@ -1730,7 +1730,7 @@ $string['specifyname'] = 'You must specify a name.'; $string['standard'] = 'Standard'; $string['starpending'] = '([*] = course pending approval)'; $string['startdate'] = 'Course start date'; -$string['startdate_help'] = 'This setting determines the start of the first week for a course in weekly format. It also determines the earliest date that logs of course activities are available for.'; +$string['startdate_help'] = 'This setting determines the start of the first week for a course in weekly format. It also determines the earliest date that logs of course activities are available for. If the course is reset and the course start date changed, all dates in the course will be moved in relation to the new start date.'; $string['startingfrom'] = 'Starting from'; $string['startsignup'] = 'Create new account'; $string['state'] = 'State/Province'; diff --git a/lib/editor/tinymce/lang/en/editor_tinymce.php b/lib/editor/tinymce/lang/en/editor_tinymce.php index a65fbeb5cdc..0f0cafbe230 100644 --- a/lib/editor/tinymce/lang/en/editor_tinymce.php +++ b/lib/editor/tinymce/lang/en/editor_tinymce.php @@ -789,7 +789,7 @@ $string['table_dlg:langdir'] = 'Language direction'; $string['table_dlg:ltr'] = 'Left to right'; $string['table_dlg:merge_cells_title'] = 'Merge table cells'; $string['table_dlg:mime'] = 'Target MIME type'; -$string['table_dlg:missing_scope'] = 'Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.'; +$string['table_dlg:missing_scope'] = 'Are you sure you want to continue without specifying a scope for this table header cell? Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.'; $string['table_dlg:row_all'] = 'Update all rows in table'; $string['table_dlg:row_even'] = 'Update even rows in table'; $string['table_dlg:row_limit'] = 'You\'ve exceeded the maximum number of rows of {$rows}.'; diff --git a/mod/forum/lang/en/forum.php b/mod/forum/lang/en/forum.php index 2b34ad8bb17..ada19a3dbe8 100644 --- a/mod/forum/lang/en/forum.php +++ b/mod/forum/lang/en/forum.php @@ -203,7 +203,7 @@ $string['everyonecannowchoose'] = 'Everyone can now choose to be subscribed'; $string['everyoneisnowsubscribed'] = 'Everyone is now subscribed to this forum'; $string['everyoneissubscribed'] = 'Everyone is subscribed to this forum'; $string['existingsubscribers'] = 'Existing subscribers'; -$string['exportdiscussion'] = 'Export whole discussion'; +$string['exportdiscussion'] = 'Export whole discussion to portfolio'; $string['forcedreadtracking'] = 'Allow forced read tracking'; $string['forcedreadtracking_desc'] = 'Allows forums to be set to forced read tracking. Will result in decreased performance for some users, particularly on courses with many forums and posts. When off, any forums previously set to Forced are treated as optional.'; $string['forcesubscribed_help'] = 'This forum has been configured so that you cannot unsubscribe from discussions.'; diff --git a/mod/scorm/lang/en/scorm.php b/mod/scorm/lang/en/scorm.php index 69ffd4f1833..fd8c108a80f 100644 --- a/mod/scorm/lang/en/scorm.php +++ b/mod/scorm/lang/en/scorm.php @@ -28,8 +28,7 @@ $string['aicchacptimeout_desc'] = 'Length of time in minutes that an external AI $string['aicchacpkeepsessiondata'] = 'AICC HACP session data'; $string['aicchacpkeepsessiondata_desc'] = 'Length of time in days to keep the external AICC HACP session data (a high setting will fill up the table with old data but may be useful when debugging)'; $string['aiccuserid'] = 'AICC pass numeric user id'; -$string['aiccuserid_desc'] = 'The AICC standard for usernames is very restrictive compared with Moodle so we pass the user->id instead. If disabled this passes the moodle username to the AICC package. -The AICC standard allows for alpha-numeric characters with the two additional characters dash(-) and the underscore(_). Periods, spaces and the @ symbol are not permitted.'; +$string['aiccuserid_desc'] = 'The AICC standard for usernames is very restrictive compared with Moodle. It allows for alpha-numeric characters, dash and underscore only. Periods, spaces and the @ symbol are not permitted. If enabled, user ID numbers are passed to the AICC package instead of usernames.'; $string['activation'] = 'Activation'; $string['activityloading'] = 'You will be automatically redirected to the activity in'; $string['activityoverview'] = 'You have SCORM packages that need attention'; @@ -141,8 +140,10 @@ $string['forcecompleted'] = 'Force completed'; $string['forcecompleted_help'] = 'If enabled, the status of the current attempt is forced to "completed". (Only applicable to SCORM 1.2 packages.)'; $string['forcecompleteddesc'] = 'This preference sets the default value for the force completed setting'; $string['forcenewattempt'] = 'Force new attempt'; -$string['forcenewattempt_help'] = 'If enabled, each time a SCORM package is accessed will be counted as a new attempt.'; -$string['forcenewattemptdesc'] = 'If enabled, each time a SCORM package is accessed will be counted as a new attempt.'; +$string['forcenewattempt_help'] = 'This setting hides the "Start new attempt" checkbox and prevents review mode. + +SCORM allows a student to return to the same attempt at any point and a new attempt is not possible unless the previous attempt has been set as "completed", "passed" or "failed". If the SCORM package does not do this, the student will always re-enter the same attempt.'; +$string['forcenewattemptdesc'] = 'This setting hides the "Start new attempt" checkbox and prevents review mode. SCORM allows a student to return to the same attempt at any point and a new attempt is not possible unless the previous attempt has been set as "completed", "passed" or "failed". If the SCORM package does not do this, the student will always re-enter the same attempt.'; $string['forcejavascript'] = 'Force users to enable JavaScript'; $string['forcejavascript_desc'] = 'If enabled (recommended) this prevents access to SCORM objects when JavaScript is not supported/enabled in a users browser. If disabled the user may view the SCORM but API communication will fail and no grade information will be saved.'; $string['forcejavascriptmessage'] = 'JavaScript is required to view this object, please enable JavaScript in your browser and try again.'; From a0deded71600a804746907c7afc0d023cb20f224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mudr=C3=A1k?= Date: Wed, 29 Apr 2015 23:35:28 +0200 Subject: [PATCH 2/2] MDL-50033 lang: Update Behat scenario to use the new string --- user/tests/behat/delete_users.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/tests/behat/delete_users.feature b/user/tests/behat/delete_users.feature index 0b624875cd7..d5113fb0ed9 100644 --- a/user/tests/behat/delete_users.feature +++ b/user/tests/behat/delete_users.feature @@ -21,7 +21,7 @@ Feature: Deleting users And I press "Add to selection" And I set the field "id_action" to "Delete" And I press "Go" - And I should see "Are you absolutely sure you want to completely delete User Four ?" + And I should see "Are you absolutely sure you want to completely delete the user User Four, including their enrolments, activity and other user data?" And I press "Yes" And I should see "Changes saved" And I press "Continue" @@ -38,7 +38,7 @@ Feature: Deleting users And I press "Add to selection" And I set the field "id_action" to "Delete" And I press "Go" - And I should see "Are you absolutely sure you want to completely delete User Four, User Three ?" + And I should see "Are you absolutely sure you want to completely delete the user User Four, User Three, including their enrolments, activity and other user data?" And I press "Yes" And I should see "Changes saved" And I press "Continue"