From 030b14aff4369a6e852d6627d838664d308bfba5 Mon Sep 17 00:00:00 2001 From: Helen Foster Date: Mon, 26 Jan 2026 21:55:43 +0100 Subject: [PATCH 1/3] MDL-87593 lang: Import fixed English strings (en_fix) --- public/lang/en/admin.php | 12 +++++----- public/lang/en/availability.php | 4 ++-- public/lang/en/backup.php | 2 +- public/lang/en/install.php | 2 +- public/lang/en/question.php | 2 +- public/mod/assign/lang/en/assign.php | 18 +++++++-------- .../lang/en/bigbluebuttonbn.php | 16 +++++++------- public/mod/book/lang/en/book.php | 14 ++++++------ public/mod/choice/lang/en/choice.php | 12 +++++----- public/mod/data/lang/en/data.php | 20 ++++++++--------- public/mod/feedback/lang/en/feedback.php | 12 +++++----- public/mod/folder/lang/en/folder.php | 10 ++++----- public/mod/forum/lang/en/forum.php | 18 +++++++-------- public/mod/glossary/lang/en/glossary.php | 12 +++++----- .../mod/h5pactivity/lang/en/h5pactivity.php | 14 ++++++------ public/mod/imscp/lang/en/imscp.php | 10 ++++----- public/mod/label/lang/en/label.php | 6 ++--- public/mod/lesson/lang/en/lesson.php | 14 ++++++------ public/mod/page/lang/en/page.php | 12 +++++----- public/mod/quiz/lang/en/quiz.php | 22 +++++++++---------- public/mod/resource/lang/en/resource.php | 8 +++---- public/mod/scorm/lang/en/scorm.php | 12 +++++----- public/mod/url/lang/en/url.php | 6 ++--- public/mod/wiki/lang/en/wiki.php | 14 ++++++------ public/mod/workshop/lang/en/workshop.php | 18 +++++++-------- 25 files changed, 145 insertions(+), 145 deletions(-) diff --git a/public/lang/en/admin.php b/public/lang/en/admin.php index c3f4aab139d..d5bf9d72732 100644 --- a/public/lang/en/admin.php +++ b/public/lang/en/admin.php @@ -420,7 +420,7 @@ $string['configvariables'] = 'Variables'; $string['configverifychangedemail'] = 'Enables verification of changed email addresses using allowed and denied email domains settings. If this setting is disabled the domains are enforced only when creating new users.'; $string['configvisiblecourses'] = 'Display courses in hidden categories normally'; $string['configwarning'] = 'Be careful modifying these settings - strange values could cause problems.'; -$string['configyuicomboloading'] = 'This options enables combined file loading optimisation for YUI libraries. This setting should be enabled on production sites for performance reasons.'; +$string['configyuicomboloading'] = 'This option enables combined file loading optimisation for YUI libraries. It should be enabled for performance reasons.'; $string['confirmation'] = 'Confirmation'; $string['confirmationpending'] = 'Confirmation pending'; $string['confirmcontextlock'] = '{$a->contextname} is currently unfrozen. Freezing it will make it read-only and prevent users from making changes. Are you sure you wish to continue?'; @@ -1172,20 +1172,20 @@ $string['requiremodintro'] = 'Require activity description'; $string['requiremodintro_desc'] = 'If enabled, users will be forced to enter a description for each activity.'; $string['required'] = 'Required'; $string['requires'] = 'Requires'; -$string['routerconfigurationset'] = 'Moodle has been informed that the web server is correctly configured.'; +$string['routerconfigurationset'] = 'The web server is correctly configured.'; $string['routerconfigureddetails'] = 'The router correctly serves {$a->url} with a {$a->expectedstatuscode} ("{$a->expectedstatuscodetitle}") response.'; $string['routerconfiguredok'] = 'The router appears to be configured correctly.'; $string['routerconfiguredwithissues'] = 'The router is not correctly configured.'; -$string['routerconfiguredwithissuesdetail'] = 'The router is not correctly configured - Issues were detected in {$a->count} checks.'; +$string['routerconfiguredwithissuesdetail'] = 'The router is not correctly configured. Issues were detected in {$a->count} checks.'; $string['routerdocs'] = 'Router documentation'; $string['routerexpectedgot'] = 'Expected {$a->expectedstatuscode} ("{$a->expectedstatuscodetitle}") and received {$a->statuscode} ("{$a->statuscodetitle}").'; $string['routerfailapipage'] = 'An API route did not respond with the expected response.'; $string['routerfailmissingpage'] = 'The missing page handler did not respond to the test URL correctly.'; $string['routerfailpage'] = 'A standard page controller could not be loaded correctly. The router may not be configured properly.'; -$string['routerfailroutershim'] = 'A routed page whose path ends in ".php" did not response correctly.'; -$string['routerfailshim'] = 'A shimmed page did not response correctly.'; +$string['routerfailroutershim'] = 'A routed page with path ending in ".php" did not respond correctly.'; +$string['routerfailshim'] = 'A shimmed page did not respond correctly.'; $string['routernotconfigured'] = 'The router is not configured.'; -$string['routernotconfigureddetail'] = 'The router has not been configured correctly. Please see the documentation for more information on how to configure it correctly.'; +$string['routernotconfigureddetail'] = 'The router is not configured correctly. For details of how to configure it, see the documentation Configuring the router.'; $string['routernotconfigureddetailwithurl'] = 'The following URL did not return the expected status code: {$a->url}.'; $string['purgecaches'] = 'Purge all caches'; $string['purgecachesconfirm'] = 'Moodle can cache themes, JavaScript, language strings, filtered text, RSS feeds and other pieces of calculated data. Purging caches will delete data from the server and force browsers to re-fetch data, so you can be sure you are seeing the most up-to-date values produced by the current code. There is no danger in purging caches, but your site may appear slower for a while until the server and clients calculate new information and cache it.'; diff --git a/public/lang/en/availability.php b/public/lang/en/availability.php index 0f6c11ea796..acd3ee0db83 100644 --- a/public/lang/en/availability.php +++ b/public/lang/en/availability.php @@ -37,11 +37,11 @@ $string['hidden_individual'] = 'Hidden entirely if student doesn\'t meet this co $string['invalid'] = 'Please set'; $string['itemheading'] = '{$a->number} {$a->type} restriction'; $string['item_unknowntype'] = 'These restrictions use a plugin which is no longer available (if it is okay to remove that restriction, delete it below)'; -$string['shown_individual'] = 'Displayed if student doesn\'t meet this condition'; +$string['shown_individual'] = 'Item name displayed with access restriction information if student doesn\'t meet this condition'; $string['hide_verb'] = 'Click to hide'; $string['show_verb'] = 'Click to display'; $string['hidden_all'] = 'Hidden entirely if student doesn\'t meet the conditions'; -$string['shown_all'] = 'Displayed if student doesn\'t meet the conditions'; +$string['shown_all'] = 'Item name displayed with access restriction information if student doesn\'t meet the conditions'; $string['label_multi'] = 'Required restrictions'; $string['label_sign'] = 'Restriction type'; $string['list_and'] = 'All of:'; diff --git a/public/lang/en/backup.php b/public/lang/en/backup.php index 55b7977002b..22f35672b00 100644 --- a/public/lang/en/backup.php +++ b/public/lang/en/backup.php @@ -36,7 +36,7 @@ $string['asyncemailenable'] = 'Enable notifications'; $string['asyncemailenabledetail'] = 'If enabled, users will receive a notification when an asynchronous backup or restore completes.'; $string['asyncmessagebody'] = 'Notification'; $string['asyncmessagebodydetail'] = 'Notification to send when an asynchronous backup or restore completes.'; -$string['asyncmessagebodydefault'] = 'Your {operation} (ID: {backupid}) has completed successfully. You can access it here: {link}.'; +$string['asyncmessagebodydefault'] = '{operation} (ID: {backupid}) completed. Access it here: {link}.'; $string['asyncmessagesubject'] = 'Subject'; $string['asyncmessagesubjectdetail'] = 'Notification subject'; $string['asyncmessagesubjectdefault'] = 'Moodle {operation} completed successfully'; diff --git a/public/lang/en/install.php b/public/lang/en/install.php index 7ced92969ff..a5adc021545 100644 --- a/public/lang/en/install.php +++ b/public/lang/en/install.php @@ -216,7 +216,7 @@ $string['sessionautostarthelp'] = '

Moodle requires session support and will n

Sessions can be enabled in the php.ini file ... look for the session.auto_start parameter.

'; $string['upgradingqtypeplugin'] = 'Upgrading question/type plugin'; -$string['webserverconfigproblemdescription'] = 'Your web server is not configured to prevent access to files outside the /public directory. Please refer to https://moodledev.io/docs/5.1/guides/restructure for details on how to configure your web server. Once reconfigured, please revisit the web root.'; +$string['webserverconfigproblemdescription'] = 'Your web server is not configured to prevent access to files outside the /public directory. For details of how to configure your web server correctly, see the documentation Upgrading - Code directories restructure. Once reconfigured, revisit the web root.'; $string['webservernotconfigured'] = 'Web server not configured'; $string['welcomep10'] = '{$a->installername} ({$a->installerversion})'; $string['welcomep20'] = 'You are seeing this page because you have successfully installed and diff --git a/public/lang/en/question.php b/public/lang/en/question.php index a1e02bf5fd1..18765824c55 100644 --- a/public/lang/en/question.php +++ b/public/lang/en/question.php @@ -233,7 +233,7 @@ $string['matchgrades_help'] = 'Imported grades must match one of the fixed list * Error if grade not listed - If a question contains any grades not found in the list an error is displayed and that question will not be imported * Nearest grade if not listed - If a grade is found that does not match a value in the list, the grade is changed to the closest matching value in the list '; -$string['missingcapability'] = 'You must have a capability allowing usage or management of questions, for example {$a}'; +$string['missingcapability'] = 'You must have a capability allowing the use or management of questions, for example {$a}.'; $string['missingcourseorcmid'] = 'Need to provide courseid or cmid to print_question.'; $string['missingcourseorcmidtolink'] = 'Need to provide courseid or cmid to get_question_edit_link.'; $string['missingimportantcode'] = 'This question type is missing important code: {$a}.'; diff --git a/public/mod/assign/lang/en/assign.php b/public/mod/assign/lang/en/assign.php index 8a22a07a31f..a5be758c5b1 100644 --- a/public/mod/assign/lang/en/assign.php +++ b/public/mod/assign/lang/en/assign.php @@ -420,16 +420,16 @@ $string['messageprovider:assign_overdue'] = 'Assignment overdue notification'; $string['messageprovider:assign_notification'] = 'Assignment notifications'; $string['modulename'] = 'Assignment'; $string['modulename_help'] = '###### Key features -- Provide instructions and requirements for the assignment -- Allow students to submit any kind of file or type directly into an online text editor -- Manage deadlines and control whether late submissions are accepted -- Use rubrics or marking guides to give grades and feedback -- Students can submit individually or in groups +* Provide instructions and requirements for the assignment +* Allow students to submit any kind of file or type directly into an online text editor +* Manage deadlines and control whether late submissions are accepted +* Use rubrics or marking guides to give grades and feedback +* Students can submit individually or in groups ###### Ways to use it -- Collect essays or coursework for feedback and grading -- Set group tasks where students submit one shared presentation -- Record and grade offline work, such as a classroom performance or field trips'; +* Collect essays or coursework for feedback and grading +* Set group tasks where students submit one shared presentation +* Record and grade offline work, such as a classroom performance or field trips'; $string['modulename_link'] = 'mod/assignment/view'; $string['modulename_summary'] = 'Collect student submissions such as essays, reports, or projects, and provide feedback and grades.'; $string['modulenameplural'] = 'Assignments'; @@ -706,7 +706,7 @@ $string['userassignmentdefaults'] = 'User assignment defaults'; $string['useridlistnotcached'] = 'The grade changes were NOT saved, as it was not possible to determine which submission they were for.'; $string['useroverrides'] = 'User overrides'; $string['usersubmissioncannotberemoved'] = 'The submission of {$a} cannot be removed.'; -$string['usersnone'] = 'There are no users enrolled in this course.'; +$string['usersnone'] = 'There are no users enrolled in this course or no users can access the assignment.'; $string['userswhoneedtosubmit'] = 'Users who need to submit: {$a}'; $string['usergrade'] = 'User grade'; $string['validmarkingworkflowstates'] = 'Valid marking workflow states'; diff --git a/public/mod/bigbluebuttonbn/lang/en/bigbluebuttonbn.php b/public/mod/bigbluebuttonbn/lang/en/bigbluebuttonbn.php index 0c956e5c63b..29eb1a25762 100644 --- a/public/mod/bigbluebuttonbn/lang/en/bigbluebuttonbn.php +++ b/public/mod/bigbluebuttonbn/lang/en/bigbluebuttonbn.php @@ -381,16 +381,16 @@ $string['mod_form_field_welcome_help'] = 'The welcome message is displayed when $string['mod_form_locksettings'] = 'Lock settings'; $string['modulename'] = 'BigBlueButton'; $string['modulename_help'] = '###### Key features -- Host live sessions with audio, video, and chat -- Use built-in quizzes and polling tools -- Share slides, your screen, or a collaborative whiteboard -- Create breakout rooms for activities in groups -- Record sessions so students can watch later +* Host live sessions with audio, video, and chat +* Use built-in quizzes and polling tools +* Share slides, your screen, or a collaborative whiteboard +* Create breakout rooms for activities in groups +* Record sessions so students can watch later ###### Ways to use it -- Run a live online lecture where students can ask questions in real time -- Hold virtual office hours -- Organise group discussions using breakout rooms'; +* Run a live online lecture where students can ask questions in real time +* Hold virtual office hours +* Organise group discussions using breakout rooms'; $string['modulename_link'] = 'BigBlueButton/view'; $string['modulename_summary'] = 'Host live online sessions with video, audio, and tools for presenting and collaborating.'; $string['modulenameplural'] = 'BigBlueButton'; diff --git a/public/mod/book/lang/en/book.php b/public/mod/book/lang/en/book.php index 07f9a932d27..237fd9c2924 100644 --- a/public/mod/book/lang/en/book.php +++ b/public/mod/book/lang/en/book.php @@ -26,15 +26,15 @@ defined('MOODLE_INTERNAL') || die; $string['modulename'] = 'Book'; $string['modulename_help'] = '###### Key features -- Add text, lists, tables, images, video, and other embedded media -- Use chapters and subchapters to break up long content -- Include a table of contents so students can navigate easily -- Provide a print-friendly (downloadable) version of the book +* Add text, lists, tables, images, video, and other embedded media +* Use chapters and subchapters to break up long content +* Include a table of contents so students can navigate easily +* Provide a print-friendly (downloadable) version of the book ###### Ways to use it -- Create a structured course handbook with policies or schedules -- Organise lecture notes into chapters and subchapters, so it feels like an online textbook. -- Create a tutorial with step-by-step instructions spread over pages'; +* Create a structured course handbook with policies or schedules +* Organise lecture notes into chapters and subchapters, so it feels like an online textbook +* Create a tutorial with step-by-step instructions spread over pages'; $string['modulename_link'] = 'mod/book/view'; $string['modulename_summary'] = 'Organise and display content in a book-like format.'; $string['modulenameplural'] = 'Books'; diff --git a/public/mod/choice/lang/en/choice.php b/public/mod/choice/lang/en/choice.php index 0ad8c65b3af..c3ffa00e395 100644 --- a/public/mod/choice/lang/en/choice.php +++ b/public/mod/choice/lang/en/choice.php @@ -90,14 +90,14 @@ $string['limitno'] = 'Limit {no}'; $string['limitanswers'] = 'Limit the number of responses allowed'; $string['modulename'] = 'Choice'; $string['modulename_help'] = '###### Key features -- Limit how many people can choose each option -- Publish results or keep them hidden -- Make results anonymous or show student names +* Limit how many people can choose each option +* Publish results or keep them hidden +* Make results anonymous or show student names ###### Ways to use it -- Let students select a seminar group or project team -- Ask students to vote for a preferred date or topic -- Check the understanding of a concept with a quick, anonymous question'; +* Let students select a seminar group or project team +* Ask students to vote for a preferred date or topic +* Check the understanding of a concept with a quick, anonymous question'; $string['modulename_link'] = 'mod/choice/view'; $string['modulename_summary'] = 'Run a single-question poll and let students choose from a list of options.'; $string['modulenameplural'] = 'Choices'; diff --git a/public/mod/data/lang/en/data.php b/public/mod/data/lang/en/data.php index f53d423596b..e0f36882c19 100644 --- a/public/mod/data/lang/en/data.php +++ b/public/mod/data/lang/en/data.php @@ -270,7 +270,7 @@ $string['listview'] = 'List view'; $string['listtemplate'] = 'List view template'; $string['longitude'] = 'Longitude'; $string['manageapproved'] = 'Allow editing of approved entries'; -$string['manageapproved_help'] = 'Allow students to edit or delete their entries after they’ve been approved. Edited entries will need to be reapproved.'; +$string['manageapproved_help'] = 'Allow students to edit or delete their entries after they\'ve been approved. Edited entries will need to be reapproved.'; $string['managefields'] = 'Manage fields'; $string['mapexistingfield'] = 'Map to {$a}'; $string['mapnewfield'] = 'Create a new field'; @@ -291,16 +291,16 @@ $string['missingdata'] = 'Data ID or object must be provided for field class.'; $string['missingfield'] = 'Programmer error: You must specify field and/or data when defining field class.'; $string['modulename'] = 'Database'; $string['modulename_help'] = '###### Key features -- Define the information each entry should include, such as text, dates, images, or links. -- Customise how entries are displayed -- Let students add entries, rate, or comment on each other’s work -- Approve entries before they are visible, or publish them directly +* Define the information each entry should include, such as text, dates, images, or links +* Customise how entries are displayed +* Let students add entries, rate, or comment on each other\'s work +* Approve entries before they are visible, or publish them directly ###### Ways to use it -- Create a collection of articles with summaries written by students -- Build a gallery of images with captions -- Develop a set of resources that can be searched by author, topic, or keyword -- Display work created by students for peer rating and review'; +* Create a collection of articles with summaries written by students +* Build a gallery of images with captions +* Develop a set of resources that can be searched by author, topic, or keyword +* Display work created by students for peer rating and review'; $string['modulename_link'] = 'mod/data/view'; $string['modulename_summary'] = 'Build a shared, searchable collection of entries, like a directory or gallery, that students can contribute to.'; $string['modulename_tip'] = 'For a quick start, use one of the built-in presets such as an image gallery, journal, or resource list.'; @@ -386,7 +386,7 @@ $string['recordsnotsaved'] = 'No entry was saved. Please check the format of the $string['recordssaved'] = 'entries saved'; $string['removealldatatags'] = 'All database tags'; $string['requireapproval'] = 'Approval required'; -$string['requireapproval_help'] = 'A teacher has to approve entries before they’re visible to everyone.'; +$string['requireapproval_help'] = 'A teacher has to approve entries before they\'re visible to everyone.'; $string['required'] = 'Required'; $string['requiredentries'] = 'Entries required for completion (old)'; $string['requiredentries_help'] = "If set, a message is displayed stating the number of entries required for completion. Note that this setting is not connected to activity completion. diff --git a/public/mod/feedback/lang/en/feedback.php b/public/mod/feedback/lang/en/feedback.php index 7c027574b8a..02ef88adf1b 100644 --- a/public/mod/feedback/lang/en/feedback.php +++ b/public/mod/feedback/lang/en/feedback.php @@ -180,14 +180,14 @@ $string['messageprovider:submission'] = 'Feedback notifications'; $string['mode'] = 'Mode'; $string['modulename'] = 'Feedback'; $string['modulename_help'] = '###### Key features -- Build surveys with a variety of question types, including multiple choice, scales, and open text -- Collect responses anonymously or with names -- View responses as a summary, a detailed analysis, or by individual student +* Build surveys with a variety of question types, including multiple choice, scales, and open text +* Collect responses anonymously or with names +* View responses as a summary, a detailed analysis, or by individual student ###### Ways to use it -- Check for expectations and previous knowledge before starting a course -- Run an end-of-course evaluation to gather student feedback -- Provide a safe, anonymous way for students to report concerns'; +* Check for expectations and previous knowledge before starting a course +* Run an end-of-course evaluation to gather student feedback +* Provide a safe, anonymous way for students to report concerns'; $string['modulename_link'] = 'mod/feedback/view'; $string['modulename_summary'] = 'Create custom surveys using different question types.'; $string['modulenameplural'] = 'Feedback'; diff --git a/public/mod/folder/lang/en/folder.php b/public/mod/folder/lang/en/folder.php index 13724792564..e69238a34b3 100644 --- a/public/mod/folder/lang/en/folder.php +++ b/public/mod/folder/lang/en/folder.php @@ -46,13 +46,13 @@ $string['indicator:socialbreadthdef_help'] = 'The participant has reached this p $string['indicator:socialbreadthdef_link'] = 'Learning_analytics_indicators#Social_breadth'; $string['modulename'] = 'Folder'; $string['modulename_help'] = '###### Key features -- Organise files in folders and subfolders -- Allow students to download the entire folder as a zip file +* Organise files in folders and subfolders +* Allow students to download the entire folder as a zip file ###### Ways to use it -- Share a set of past documents for revision -- Provide readings (articles, slides, PDF files) in one spot -- Share downloadable images for an art or design project'; +* Share a set of past documents for revision +* Provide readings (articles, slides, PDF files) in one spot +* Share downloadable images for an art or design project'; $string['modulename_link'] = 'mod/folder/view'; $string['modulename_summary'] = 'Create a folder on your course to upload and organise files.'; $string['modulenameplural'] = 'Folders'; diff --git a/public/mod/forum/lang/en/forum.php b/public/mod/forum/lang/en/forum.php index 8b84fdc1cd3..ae0c69fd01b 100644 --- a/public/mod/forum/lang/en/forum.php +++ b/public/mod/forum/lang/en/forum.php @@ -370,8 +370,8 @@ $string['indicator:socialbreadth_help'] = 'This indicator is based on the social $string['indicator:socialbreadthdef'] = 'Forum social'; $string['indicator:socialbreadthdef_help'] = 'The participant has reached this percentage of the social engagement offered by the Forum activities during this analysis interval (Levels = No participation, Participant alone, Participant with others)'; $string['indicator:socialbreadthdef_link'] = 'Learning_analytics_indicators#Social_breadth'; -$string['showimmediately'] = 'Show other replies immediately after posting'; -$string['showimmediately_help'] = 'This will show the replies of other participants before reaching the maximum editing time ({$a} minutes). Participants could still change their post during this time.'; +$string['showimmediately'] = 'Show replies immediately after posting'; +$string['showimmediately_help'] = 'Show replies from other participants with no editing time delay ({$a} minutes). A participant can still change their post during this time.'; $string['starredonly'] = 'Search starred discussions only'; $string['indexoutoftotal'] = '{$a->index} out of {$a->total}'; $string['inforum'] = 'in {$a}'; @@ -434,15 +434,15 @@ $string['modenestedv2'] = 'Display replies in experimental nested form'; $string['modethreaded'] = 'Display replies in threaded form'; $string['modulename'] = 'Forum'; $string['modulename_help'] = '###### Key features -- Include text, images, or files in forum posts -- Allow participants to subscribe to forums so they receive notifications of new posts -- Grade a student\'s overall participation across the forum, or grade individual posts separately +* Include text, images, or files in forum posts +* Allow participants to subscribe to forums so they receive notifications of new posts +* Grade a student\'s overall participation across the forum, or grade individual posts separately ###### Ways to use it -- Run a Q&A board where students ask and answer each other\'s questions -- Host discussions linked to course readings -- Create a social space where students get to know each other -- Continue a class debate after a face-to-face session'; +* Run a question and answer board where students ask and answer each other\'s questions +* Host discussions linked to course readings +* Create a social space where students get to know each other +* Continue a class debate after a face-to-face session'; $string['modulename_link'] = 'mod/forum/view'; $string['modulename_summary'] = 'Create online discussions where participants can post and reply.'; $string['modulenameplural'] = 'Forums'; diff --git a/public/mod/glossary/lang/en/glossary.php b/public/mod/glossary/lang/en/glossary.php index 21c7038d718..6318dc3300f 100644 --- a/public/mod/glossary/lang/en/glossary.php +++ b/public/mod/glossary/lang/en/glossary.php @@ -242,14 +242,14 @@ $string['maxtimehaspassed'] = 'Sorry, but the maximum time for editing this comm $string['myentries'] = 'My entries'; $string['modulename'] = 'Glossary'; $string['modulename_help'] = '###### Key features -- Create entries with text, images, video, and other embedded media -- Browse entries alphabetically, by category, or by author -- Allow students to create, comment on, and rate entries +* Create entries with text, images, video, and other embedded media +* Browse entries alphabetically, by category, or by author +* Allow students to create, comment on, and rate entries ###### Ways to use it -- Build a collection of key concepts for a course -- Collect vocabulary words and definitions in a language class -- Develop a collaborative glossary of technical terms'; +* Build a collection of key concepts for a course +* Collect vocabulary words and definitions in a language class +* Develop a collaborative glossary of technical terms'; $string['modulename_link'] = 'mod/glossary/view'; $string['modulename_summary'] = 'Create a list of terms and definitions, like a dictionary, for students to browse or contribute to.'; $string['modulenameplural'] = 'Glossaries'; diff --git a/public/mod/h5pactivity/lang/en/h5pactivity.php b/public/mod/h5pactivity/lang/en/h5pactivity.php index 7753cda1e0f..9f9bd050bfe 100644 --- a/public/mod/h5pactivity/lang/en/h5pactivity.php +++ b/public/mod/h5pactivity/lang/en/h5pactivity.php @@ -97,16 +97,16 @@ $string['h5pdisplay'] = 'H5P options'; $string['maxscore'] = 'Max score'; $string['modulename'] = 'H5P'; $string['modulename_help'] = '###### Key features -- Choose from a wide range of interactive activities, including slide presentations, image pairing, or timelines -- Provide instant feedback to students through automated marking -- Reuse or edit existing H5P content +* Choose from a wide range of interactive activities, including slide presentations, image pairing, or timelines +* Provide instant feedback to students through automated marking +* Reuse or edit existing H5P content ###### Ways to use it -- Create an interactive video where students answer questions as they watch -- Design drag-and-drop activities to reinforce key concepts -- Share an image with clickable hotspots that show extra information when students click on them'; +* Create an interactive video where students answer questions as they watch +* Design drag-and-drop activities to reinforce key concepts +* Share an image with clickable hotspots that show extra information when students click on them'; $string['modulename_link'] = 'mod/h5pactivity/view'; -$string['modulename_summary'] = 'Create or upload H5P interactive content, like drag-and-drop activities, flashcards, or interactive videos.'; +$string['modulename_summary'] = 'Create or upload HTML5 Package (H5P) interactive content, like drag-and-drop activities, flashcards, or interactive videos.'; $string['modulenameplural'] = 'H5P'; $string['myattempts'] = 'My attempts'; $string['newsubmissions'] = 'H5P submitted'; diff --git a/public/mod/imscp/lang/en/imscp.php b/public/mod/imscp/lang/en/imscp.php index 21afd43bc6b..87b282d787c 100644 --- a/public/mod/imscp/lang/en/imscp.php +++ b/public/mod/imscp/lang/en/imscp.php @@ -42,14 +42,14 @@ $string['imscp:addinstance'] = 'Add a new IMS content package'; $string['imscp:view'] = 'View IMS content'; $string['modulename'] = 'IMS content package'; $string['modulename_help'] = '###### Key features -- Add IMS content packages as zip files -- Display content across multiple pages with navigation +* Add IMS content packages as zip files +* Display content across multiple pages with navigation ###### Ways to use it -- Display a multimedia learning module created with IMS authoring software -- Import a vendor-provided interactive lesson'; +* Display a multimedia learning module created with IMS authoring software +* Import a vendor-provided interactive lesson'; $string['modulename_link'] = 'mod/imscp/view'; -$string['modulename_summary'] = 'Upload and display existing IMS content packages in your course. IMS is commonly used with third-party courseware.'; +$string['modulename_summary'] = 'Upload and display existing IMS Global Learning Consortium (IMS) content packages in your course. IMS is commonly used with third-party courseware.'; $string['modulenameplural'] = 'IMS content packages'; $string['navigation'] = 'Navigation'; $string['page-mod-imscp-x'] = 'Any IMS content package module page'; diff --git a/public/mod/label/lang/en/label.php b/public/mod/label/lang/en/label.php index 701d528f104..37925d88c05 100644 --- a/public/mod/label/lang/en/label.php +++ b/public/mod/label/lang/en/label.php @@ -46,11 +46,11 @@ $string['labelname_help'] = 'The title is only used to identify the Text and med $string['labeltext'] = 'Text'; $string['modulename'] = 'Text and media area'; $string['modulename_help'] = '###### Key features -- Display text and multimedia embedded on the course page +* Display text and multimedia embedded in the course page ###### Ways to use it -- Add banners or images to change the look and feel of the course page -- Break up long lists of activities on your course page with visuals or labels.'; +* Add banners or images to change the look and feel of the course page +* Break up long lists of activities on your course page with visuals or labels'; $string['modulename_link'] = 'mod/label/view'; $string['modulename_summary'] = 'Insert graphics and text anywhere in the course page.'; $string['modulename_tip'] = 'Use Text and media areas for decorative items or images you want embedded on the course page. For course content, use a Page instead.'; diff --git a/public/mod/lesson/lang/en/lesson.php b/public/mod/lesson/lang/en/lesson.php index 4533bcb1f33..cc957c8a042 100644 --- a/public/mod/lesson/lang/en/lesson.php +++ b/public/mod/lesson/lang/en/lesson.php @@ -349,14 +349,14 @@ $string['modattempts_help'] = 'If enabled, students can navigate through the les $string['modattemptsnoteacher'] = 'Student review only works for students.'; $string['modulename'] = 'Lesson'; $string['modulename_help'] = '###### Key features -- Create pages with text, images, video, and questions -- Design lessons that are either linear or have multiple paths -- Direct students along different paths depending on their answers +* Create pages with text, images, video, and questions +* Design lessons that are either linear or have multiple paths +* Direct students along different paths depending on their answers ###### Ways to use it -- Develop scenario-based exercises for problem solving -- Build an interactive case study where students\' choices lead to different outcomes -- Create a tutorial that adapts depending on correct or incorrect answers'; +* Develop scenario-based exercises for problem solving +* Build an interactive case study where students\' choices lead to different outcomes +* Create a tutorial that adapts depending on correct or incorrect answers'; $string['modulename_link'] = 'mod/lesson/view'; $string['modulename_summary'] = 'Create branching scenarios where students follow different paths based on their answers to questions.'; $string['modulename_tip'] = 'Map out the flow of your Lesson before building it. Planning the pages and paths ahead of time makes building your Lesson much easier.'; @@ -600,7 +600,7 @@ $string['usemean'] = 'Mean grade of all attempts'; $string['usepassword'] = 'Password protected lesson'; $string['usepassword_help'] = 'If enabled, a password is required in order to access the lesson.'; $string['useroverrides'] = 'User overrides'; -$string['usersnone'] = 'There are no users enrolled in this course.'; +$string['usersnone'] = 'There are no users enrolled in this course or no users can access the lesson.'; $string['view'] = 'View'; $string['viewessayanswers'] = 'View essay answers'; $string['viewgrades'] = 'View grades'; diff --git a/public/mod/page/lang/en/page.php b/public/mod/page/lang/en/page.php index b28aef112fb..8e2766ff7fa 100644 --- a/public/mod/page/lang/en/page.php +++ b/public/mod/page/lang/en/page.php @@ -45,14 +45,14 @@ $string['legacyfilesactive'] = 'Active'; $string['legacyfilesdone'] = 'Finished'; $string['modulename'] = 'Page'; $string['modulename_help'] = '###### Key features -- Add text, lists, tables, images, and other embedded media such as videos, maps, charts, or presentations -- Edit and update content quickly -- Present information that students can read online, without needing to download a file +* Add text, lists, tables, images, and other embedded media such as videos, maps, charts, or presentations +* Edit and update content quickly +* Present information that students can read online, without needing to download a file ###### Ways to use it -- Present a course syllabus or unit overview -- Create a list of reading and reference materials -- Maintain an up-to-date list of office hours or an ongoing project schedule.'; +* Present a course syllabus or unit overview +* Create a list of reading and reference materials +* Maintain an up-to-date list of office hours or an ongoing project schedule'; $string['modulename_link'] = 'mod/page/view'; $string['modulename_summary'] = 'Create a page resource to display content.'; $string['modulename_tip'] = 'For long, structured content, use a Book instead.'; diff --git a/public/mod/quiz/lang/en/quiz.php b/public/mod/quiz/lang/en/quiz.php index 627014c6cca..3ce69a22f26 100644 --- a/public/mod/quiz/lang/en/quiz.php +++ b/public/mod/quiz/lang/en/quiz.php @@ -568,18 +568,18 @@ $string['missingitemtypename'] = 'Missing name'; $string['missingquestion'] = 'This question no longer seems to exist'; $string['modulename'] = 'Quiz'; $string['modulename_help'] = '###### Key features -- Use different question types, such as multiple choice, true/false, matching, essay, and more -- Grade most question types automatically, with manual grading for essays -- Make each attempt unique by randomising questions and shuffling answer choices. -- Set time limits to complete a quiz, and decide when students can see hints, feedback, or correct answers -- Save and reuse questions across different Quiz activities and courses -- Create secure online exam environments +* Use different question types, such as multiple choice, true/false, matching, essay, and more +* Grade most question types automatically, with manual grading for essays +* Make each attempt unique by randomising questions and shuffling answer choices +* Set time limits to complete a quiz, and decide when students can see hints, feedback, or correct answers +* Save and reuse questions across different quiz activities and courses +* Create secure online exam environments ###### Ways to use it -- Deliver a timed exam with automatic grading -- Provide a practice test with questions randomly drawn from a pool -- Create a self-assessment with detailed feedback for each answer -- Run short weekly quizzes to check understanding of topics'; +* Deliver a timed exam with automatic grading +* Provide a practice test with questions randomly drawn from a pool +* Create a self-assessment with detailed feedback for each answer +* Run short weekly quizzes to check understanding of topics'; $string['modulename_link'] = 'mod/quiz/view'; $string['modulename_summary'] = 'Create a variety of assessments, from simple multiple-choice tests to complex exams with detailed feedback.'; $string['modulename_tip'] = 'Create your questions in the question bank first to reuse them easily in multiple quizzes.'; @@ -1138,7 +1138,7 @@ $string['upgradingveryoldquizattempts'] = 'Upgrading very old quiz attempts: {$a $string['url'] = 'URL'; $string['usedcategorymoved'] = 'This category has been preserved and moved to the site level because it is a published category still in use by other courses.'; $string['useroverrides'] = 'User overrides'; -$string['usersnone'] = 'There are no users enrolled in this course.'; +$string['usersnone'] = 'There are no users enrolled in this course or no users can access the quiz.'; $string['validate'] = 'Validate'; $string['viewallanswers'] = 'View {$a} quiz attempts'; $string['viewallreports'] = 'View reports for {$a} attempts'; diff --git a/public/mod/resource/lang/en/resource.php b/public/mod/resource/lang/en/resource.php index 484678b15ca..9d5b7bf5b62 100644 --- a/public/mod/resource/lang/en/resource.php +++ b/public/mod/resource/lang/en/resource.php @@ -76,12 +76,12 @@ $string['legacyfilesdone'] = 'Finished'; $string['modifieddate'] = 'Modified {$a}'; $string['modulename'] = 'File'; $string['modulename_help'] = '###### Key features -- Upload any type of digital file for students to view or download +* Upload any type of digital file for students to view or download ###### Ways to use it -- Upload an audio recording of a guest speaker -- Share lecture notes in different formats, such as PDF, Word documents, or PPT -- Provide a reading handout for a session'; +* Upload an audio recording of a guest speaker +* Share lecture notes in different formats, such as Portable Document Format (PDF), Word documents, or PowerPoint presentation (PPT) +* Provide a reading handout for a session'; $string['modulename_link'] = 'mod/resource/view'; $string['modulename_summary'] = 'Share a file for students to view or download.'; $string['modulename_tip'] = 'Make sure students have the necessary software to open and view the files you upload.'; diff --git a/public/mod/scorm/lang/en/scorm.php b/public/mod/scorm/lang/en/scorm.php index f1655e3df60..d97ef9d00a6 100644 --- a/public/mod/scorm/lang/en/scorm.php +++ b/public/mod/scorm/lang/en/scorm.php @@ -278,15 +278,15 @@ $string['missing_tag'] = 'Missing tag {$a->tag}'; $string['mode'] = 'Mode'; $string['modulename'] = 'SCORM package'; $string['modulename_help'] = '###### Key features -- Add SCORM content packages as zip files -- Track student progress, completion, and grades +* Add SCORM content packages as zip files +* Track student progress, completion, and grades ###### Ways to use it -- Import a commercial e-learning SCORM module and track student performance -- Provide an interactive tutorial and track whether students complete it -- Deliver a simulation packaged in SCORM format'; +* Import a commercial e-learning SCORM module and track student performance +* Provide an interactive tutorial and track whether students complete it +* Deliver a simulation packaged in SCORM format'; $string['modulename_link'] = 'mod/scorm/view'; -$string['modulename_summary'] = 'Upload and display existing SCORM content. SCORM is commonly used with third-party courseware.'; +$string['modulename_summary'] = 'Upload and display existing Sharable Content Object Reference Model (SCORM) content. SCORM is commonly used with third-party courseware.'; $string['modulenameplural'] = 'SCORM packages'; $string['nav'] = 'Show Navigation'; $string['nav_help'] = 'This setting specifies whether to show or hide the navigation buttons and their position. diff --git a/public/mod/url/lang/en/url.php b/public/mod/url/lang/en/url.php index b56a7d3f69f..ce26840f169 100644 --- a/public/mod/url/lang/en/url.php +++ b/public/mod/url/lang/en/url.php @@ -60,11 +60,11 @@ $string['indicator:socialbreadthdef_link'] = 'Learning_analytics_indicators#Soci $string['invalidurl'] = 'Entered URL is invalid'; $string['modulename'] = 'URL'; $string['modulename_help'] = '###### Key features -- Link to any online content +* Link to any online content ###### Ways to use it -- Link to an online article -- Link to a video hosted on an external platform'; +* Link to an online article +* Link to a video hosted on an external platform'; $string['modulename_link'] = 'mod/url/view'; $string['modulename_summary'] = 'Add a link to an external web page or online file.'; $string['modulenameplural'] = 'URLs'; diff --git a/public/mod/wiki/lang/en/wiki.php b/public/mod/wiki/lang/en/wiki.php index 9266e0e88d2..875eb92cf46 100644 --- a/public/mod/wiki/lang/en/wiki.php +++ b/public/mod/wiki/lang/en/wiki.php @@ -140,15 +140,15 @@ $string['missingpages'] = 'Pages without content'; $string['modified'] = 'Modified'; $string['modulename'] = 'Wiki'; $string['modulename_help'] = '###### Key features -- Add text, images, links, and media to pages -- Set up a collaborative wiki for the whole class, or individual wikis for each student -- View each student\'s contributions with a full page history +* Add text, images, links, and media to pages +* Set up a collaborative wiki for the whole class, or individual wikis for each student +* View each student\'s contributions with a full page history ###### Ways to use it -- Build shared lecture notes or study guides -- Develop a group project where you can track the contributions of each student -- Have students create a story or case study together, with each person adding sections -- Have each student keep a personal wiki to track drafts, notes, or planning'; +* Build shared lecture notes or study guides +* Develop a group project where you can track the contributions of each student +* Have students create a story or case study together, with each person adding sections +* Have each student keep a personal wiki to track drafts, notes, or planning'; $string['modulename_link'] = 'mod/wiki/view'; $string['modulename_summary'] = 'Allow students to create and edit a collection of web pages collaboratively or individually.'; $string['modulenameplural'] = 'Wikis'; diff --git a/public/mod/workshop/lang/en/workshop.php b/public/mod/workshop/lang/en/workshop.php index 40009f5c267..aabcd05a631 100644 --- a/public/mod/workshop/lang/en/workshop.php +++ b/public/mod/workshop/lang/en/workshop.php @@ -210,18 +210,18 @@ $string['latesubmissionsallowed'] = 'Late submissions are allowed'; $string['maxbytes'] = 'Maximum submission attachment size'; $string['modulename'] = 'Workshop'; $string['modulename_help'] = '###### Key features -- Allow students to submit any kind of file or type directly into an online text editor -- Create an assessment guide for students to review each other’s work -- Provide example submissions so students can practise reviewing before assessing peers -- Assign reviewers yourself, or let the system do it automatically -- Give students two grades: one for their own work and one for their reviews of other students\' work +* Allow students to submit any kind of file or type directly into an online text editor +* Create an assessment guide for students to review each other\'s work +* Provide example submissions so students can practise reviewing before assessing peers +* Assign reviewers yourself, or let the system do it automatically +* Give students two grades: one for their own work and one for their reviews of other students\' work ###### Ways to use it -- Run a peer review exercise for essays or reports -- Facilitate peer evaluation of presentations, designs, or portfolios -- Use in large classes or MOOCs to manage feedback and grading at a large scale'; +* Run a peer review exercise for essays or reports +* Facilitate peer evaluation of presentations, designs, or portfolios +* Use in a large class or a Massive Open Online Course (MOOC) to manage feedback and grading at a large scale'; $string['modulename_link'] = 'mod/workshop/view'; -$string['modulename_summary'] = 'Facilitate peer assessment. Students submit work and review each other’s submissions using criteria you define.'; +$string['modulename_summary'] = 'Facilitate peer assessment. Students submit work and review each other\'s submissions using criteria you define.'; $string['modulenameplural'] = 'Workshops'; $string['myassessments'] = 'My assessments'; $string['mysubmission'] = 'My submission'; From da0e3ecd4b394f7afea0af440fb2446600cfc640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mudr=C3=A1k?= Date: Mon, 26 Jan 2026 22:04:23 +0100 Subject: [PATCH 2/3] MDL-87593 lang: Use the fixed strings in tests --- .../availability_completion_previous.feature | 16 ++++++++-------- .../tests/behat/display_availability.feature | 2 +- .../tests/behat/edit_availability.feature | 4 ++-- ..._completionstatus_activity_completion.feature | 6 +++--- .../format/tests/behat/activity_chooser.feature | 2 +- .../tests/behat/lesson_restrict_access.feature | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/public/availability/condition/completion/tests/behat/availability_completion_previous.feature b/public/availability/condition/completion/tests/behat/availability_completion_previous.feature index 8dff21f5336..5e0880de123 100644 --- a/public/availability/condition/completion/tests/behat/availability_completion_previous.feature +++ b/public/availability/condition/completion/tests/behat/availability_completion_previous.feature @@ -32,7 +32,7 @@ Feature: Confirm that availability_completion works with previous activity setti And I expand all fieldsets And I click on "Add restriction..." "button" And I click on "Activity completion" "button" in the "Add restriction..." "dialogue" - And I click on "Displayed if student doesn't meet this condition • Click to hide" "link" + And I click on "Item name displayed with access restriction information if student doesn't meet this condition • Click to hide" "link" And I set the field "Activity or resource" to "Previous activity with completion" And I press "Save and return to course" Then I should see "Not available unless: The previous activity with completion" in the "region-main" "region" @@ -58,7 +58,7 @@ Feature: Confirm that availability_completion works with previous activity setti And I expand all fieldsets And I click on "Add restriction..." "button" And I click on "Activity completion" "button" in the "Add restriction..." "dialogue" - And I click on "Displayed if student doesn't meet this condition • Click to hide" "link" + And I click on "Item name displayed with access restriction information if student doesn't meet this condition • Click to hide" "link" And I set the field "Activity or resource" to "Previous activity with completion" And I press "Save and return to course" Then I should see "Not available unless: The previous activity with completion" in the "region-main" "region" @@ -83,7 +83,7 @@ Feature: Confirm that availability_completion works with previous activity setti And I expand all fieldsets And I click on "Add restriction..." "button" And I click on "Activity completion" "button" in the "Add restriction..." "dialogue" - And I click on "Displayed if student doesn't meet this condition • Click to hide" "link" + And I click on "Item name displayed with access restriction information if student doesn't meet this condition • Click to hide" "link" And I set the field "Activity or resource" to "Previous activity with completion" And I press "Save and return to course" Then I should see "Not available unless: The previous activity with completion" in the "region-main" "region" @@ -112,7 +112,7 @@ Feature: Confirm that availability_completion works with previous activity setti And I expand all fieldsets And I click on "Add restriction..." "button" And I click on "Activity completion" "button" in the "Add restriction..." "dialogue" - And I click on "Displayed if student doesn't meet this condition • Click to hide" "link" + And I click on "Item name displayed with access restriction information if student doesn't meet this condition • Click to hide" "link" And I set the field "Activity or resource" to "Previous activity with completion" And I press "Save changes" Then I should see "Not available unless: The previous activity with completion" in the "region-main" "region" @@ -138,7 +138,7 @@ Feature: Confirm that availability_completion works with previous activity setti And I expand all fieldsets And I click on "Add restriction..." "button" And I click on "Activity completion" "button" in the "Add restriction..." "dialogue" - And I click on "Displayed if student doesn't meet this condition • Click to hide" "link" + And I click on "Item name displayed with access restriction information if student doesn't meet this condition • Click to hide" "link" Then the "Activity or resource" select box should not contain "Previous activity with completion" # Set Page2 restriction to Previous Activity with completion and delete Page1. @@ -148,7 +148,7 @@ Feature: Confirm that availability_completion works with previous activity setti And I expand all fieldsets And I click on "Add restriction..." "button" And I click on "Activity completion" "button" in the "Add restriction..." "dialogue" - And I click on "Displayed if student doesn't meet this condition • Click to hide" "link" + And I click on "Item name displayed with access restriction information if student doesn't meet this condition • Click to hide" "link" And I set the field "Activity or resource" to "Previous activity with completion" And I press "Save and return to course" Then I should see "Not available unless: The previous activity with completion" in the "region-main" "region" @@ -170,7 +170,7 @@ Feature: Confirm that availability_completion works with previous activity setti And I expand all fieldsets And I click on "Add restriction..." "button" And I click on "Activity completion" "button" in the "Add restriction..." "dialogue" - And I click on "Displayed if student doesn't meet this condition • Click to hide" "link" + And I click on "Item name displayed with access restriction information if student doesn't meet this condition • Click to hide" "link" And I set the field "Activity or resource" to "Previous activity with completion" And I press "Save changes" Then I should see "Not available unless: The previous activity with completion" in the "region-main" "region" @@ -184,7 +184,7 @@ Feature: Confirm that availability_completion works with previous activity setti And I expand all fieldsets And I click on "Add restriction..." "button" And I click on "Activity completion" "button" in the "Add restriction..." "dialogue" - And I click on "Displayed if student doesn't meet this condition • Click to hide" "link" + And I click on "Item name displayed with access restriction information if student doesn't meet this condition • Click to hide" "link" And I set the field "Activity or resource" to "Previous activity with completion" And I press "Save changes" And I should see "Not available unless: The previous activity with completion" in the "region-main" "region" diff --git a/public/availability/tests/behat/display_availability.feature b/public/availability/tests/behat/display_availability.feature index 9b6d943aade..c0ce6dcd9f4 100644 --- a/public/availability/tests/behat/display_availability.feature +++ b/public/availability/tests/behat/display_availability.feature @@ -180,4 +180,4 @@ Feature: Display availability for activities and sections And I should not see "Date" in the "Restrict access" "fieldset" And I press "Add restriction..." And I click on "Grade" "button" in the "Add restriction..." "dialogue" - And the "alt" attribute of ".availability-item .availability-eye img" "css_element" should contain "Displayed if student" + And the "alt" attribute of ".availability-item .availability-eye img" "css_element" should contain "Item name displayed" diff --git a/public/availability/tests/behat/edit_availability.feature b/public/availability/tests/behat/edit_availability.feature index b7d18668ce2..243a445edc0 100644 --- a/public/availability/tests/behat/edit_availability.feature +++ b/public/availability/tests/behat/edit_availability.feature @@ -89,13 +89,13 @@ Feature: edit_availability And I should see "Date" in the "Restrict access" "fieldset" And ".availability-item .availability-eye img" "css_element" should be visible And ".availability-item .availability-delete img" "css_element" should be visible - And the "alt" attribute of ".availability-item .availability-eye img" "css_element" should contain "Displayed if student" + And the "alt" attribute of ".availability-item .availability-eye img" "css_element" should contain "Item name displayed" # Toggle the eye icon. When I click on ".availability-item .availability-eye img" "css_element" Then the "alt" attribute of ".availability-item .availability-eye img" "css_element" should contain "Hidden entirely" When I click on ".availability-item .availability-eye img" "css_element" - Then the "alt" attribute of ".availability-item .availability-eye img" "css_element" should contain "Displayed if student" + Then the "alt" attribute of ".availability-item .availability-eye img" "css_element" should contain "Item name displayed" # Click the delete button. When I click on ".availability-item .availability-delete img" "css_element" diff --git a/public/blocks/completionstatus/tests/behat/block_completionstatus_activity_completion.feature b/public/blocks/completionstatus/tests/behat/block_completionstatus_activity_completion.feature index 806388566c1..c57061d7c1b 100644 --- a/public/blocks/completionstatus/tests/behat/block_completionstatus_activity_completion.feature +++ b/public/blocks/completionstatus/tests/behat/block_completionstatus_activity_completion.feature @@ -115,7 +115,7 @@ Feature: Enable Block Completion in a course using activity completion And I expand all fieldsets And I click on "Add restriction..." "button" And I click on "Activity completion" "button" in the "Add restriction..." "dialogue" - And I click on "Displayed if student doesn't meet this condition • Click to hide" "link" + And I click on "Item name displayed with access restriction information if student doesn't meet this condition • Click to hide" "link" And I set the field "Activity or resource" to "task A" And I press "Save and return to course" And I log out @@ -164,7 +164,7 @@ Feature: Enable Block Completion in a course using activity completion And I expand all fieldsets And I click on "Add restriction..." "button" And I click on "Activity completion" "button" in the "Add restriction..." "dialogue" - And I click on "Displayed if student doesn't meet this condition • Click to hide" "link" + And I click on "Item name displayed with access restriction information if student doesn't meet this condition • Click to hide" "link" And I set the field "Activity or resource" to "task A" And I press "Save and return to course" When I am on the "Course 1" course page logged in as student1 @@ -237,7 +237,7 @@ Feature: Enable Block Completion in a course using activity completion And I click on "Add restriction..." "button" And I click on "Activity completion" "button" in the "Add restriction..." "dialogue" And I set the field "Activity or resource" to "task A" - And I click on "Displayed if student doesn't meet this condition • Click to hide" "link" + And I click on "Item name displayed with access restriction information if student doesn't meet this condition • Click to hide" "link" And I press "Save changes" And I log out When I am on the "Course 1" course page logged in as student1 diff --git a/public/course/format/tests/behat/activity_chooser.feature b/public/course/format/tests/behat/activity_chooser.feature index 79266983686..200175d5704 100644 --- a/public/course/format/tests/behat/activity_chooser.feature +++ b/public/course/format/tests/behat/activity_chooser.feature @@ -173,7 +173,7 @@ Feature: Display and choose from the available activities in course And I should see "1 results found" in the "Add an activity or resource" "dialogue" And I should see "Database" in the "Add an activity or resource" "dialogue" # Test help. - And I set the field "search" to "Define the information each entry should include, such as text, dates, images, or links." + And I set the field "search" to "Define the information each entry should include, such as text, dates, images, or links" And I should see "1 results found" in the "Add an activity or resource" "dialogue" And I should see "Database" in the "Add an activity or resource" "dialogue" # Test tip. diff --git a/public/mod/lesson/tests/behat/lesson_restrict_access.feature b/public/mod/lesson/tests/behat/lesson_restrict_access.feature index 92755880942..7f1fb96cb55 100644 --- a/public/mod/lesson/tests/behat/lesson_restrict_access.feature +++ b/public/mod/lesson/tests/behat/lesson_restrict_access.feature @@ -40,7 +40,7 @@ Feature: Lesson activity access can be restricted And I click on "Group" "button" in the "Add restriction..." "dialogue" # Set only Group 1 can access activity And I set the field "Group" in the "Restrict access" "fieldset" to "Group 1" - And I click on "Displayed if student doesn't meet this condition" "button" + And I click on "Item name displayed with access restriction information if student doesn't meet this condition" "button" And I press "Save and return to course" # Confirm that student1 can see lesson but student2 can't When I am on the "Course 1" course page logged in as From 008c7ff2bbfc32fbd1760cca73f0d7c27459be69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mudr=C3=A1k?= Date: Wed, 28 Jan 2026 21:44:05 +0100 Subject: [PATCH 3/3] MDL-87593 lang: Fix strings order --- public/lang/en/backup.php | 2 +- public/mod/assign/lang/en/assign.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/lang/en/backup.php b/public/lang/en/backup.php index 22f35672b00..f43e5daa6b6 100644 --- a/public/lang/en/backup.php +++ b/public/lang/en/backup.php @@ -35,8 +35,8 @@ $string['asyncgeneralsettings'] = 'Asynchronous backup/restore'; $string['asyncemailenable'] = 'Enable notifications'; $string['asyncemailenabledetail'] = 'If enabled, users will receive a notification when an asynchronous backup or restore completes.'; $string['asyncmessagebody'] = 'Notification'; -$string['asyncmessagebodydetail'] = 'Notification to send when an asynchronous backup or restore completes.'; $string['asyncmessagebodydefault'] = '{operation} (ID: {backupid}) completed. Access it here: {link}.'; +$string['asyncmessagebodydetail'] = 'Notification to send when an asynchronous backup or restore completes.'; $string['asyncmessagesubject'] = 'Subject'; $string['asyncmessagesubjectdetail'] = 'Notification subject'; $string['asyncmessagesubjectdefault'] = 'Moodle {operation} completed successfully'; diff --git a/public/mod/assign/lang/en/assign.php b/public/mod/assign/lang/en/assign.php index a5be758c5b1..0a4554a385f 100644 --- a/public/mod/assign/lang/en/assign.php +++ b/public/mod/assign/lang/en/assign.php @@ -705,8 +705,8 @@ $string['userextensiondate'] = 'Extension granted until: {$a}'; $string['userassignmentdefaults'] = 'User assignment defaults'; $string['useridlistnotcached'] = 'The grade changes were NOT saved, as it was not possible to determine which submission they were for.'; $string['useroverrides'] = 'User overrides'; -$string['usersubmissioncannotberemoved'] = 'The submission of {$a} cannot be removed.'; $string['usersnone'] = 'There are no users enrolled in this course or no users can access the assignment.'; +$string['usersubmissioncannotberemoved'] = 'The submission of {$a} cannot be removed.'; $string['userswhoneedtosubmit'] = 'Users who need to submit: {$a}'; $string['usergrade'] = 'User grade'; $string['validmarkingworkflowstates'] = 'Valid marking workflow states';