Merge branch 'MDL-75008-311-enfix' of https://github.com/mudrd8mz/moodle into MOODLE_311_STABLE
This commit is contained in:
@@ -39,7 +39,7 @@ Feature: Allow teachers to bulk edit activity completion rules in a course.
|
||||
And I click on "Edit" "button"
|
||||
And I should see "Completion tracking"
|
||||
And I should see "The changes will affect the following 2 activities or resources:"
|
||||
And I should see "Student must submit to this activity to complete it"
|
||||
And I should see "Student must make a submission"
|
||||
And I select "Show activity as complete when conditions are met" from the "completion" singleselect
|
||||
And I click on "completionview" "checkbox"
|
||||
And I click on "completionusegrade" "checkbox"
|
||||
@@ -49,10 +49,10 @@ Feature: Allow teachers to bulk edit activity completion rules in a course.
|
||||
And I should see "With conditions" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Test assignment one']]" "xpath_element"
|
||||
And I should see "Student must view this activity to complete it" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Test assignment one']]" "xpath_element"
|
||||
And I should see "Student must receive a grade to complete this activity" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Test assignment one']]" "xpath_element"
|
||||
And I should see "Student must submit to this activity to complete it" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Test assignment one']]" "xpath_element"
|
||||
And I should see "Student must make a submission" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Test assignment one']]" "xpath_element"
|
||||
And I should not see "Completion expected on" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Test assignment one']]" "xpath_element"
|
||||
And I should see "With conditions" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Test assignment two']]" "xpath_element"
|
||||
And I should see "Student must view this activity to complete it" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Test assignment two']]" "xpath_element"
|
||||
And I should see "Student must receive a grade to complete this activity" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Test assignment two']]" "xpath_element"
|
||||
And I should see "Student must submit to this activity to complete it" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Test assignment two']]" "xpath_element"
|
||||
And I should see "Student must make a submission" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Test assignment two']]" "xpath_element"
|
||||
And I should not see "Completion expected on" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Test assignment two']]" "xpath_element"
|
||||
|
||||
@@ -35,7 +35,7 @@ Feature: Allow teachers to edit the default activity completion rules in a cours
|
||||
And I click on "Edit" "button"
|
||||
And I should see "Completion tracking"
|
||||
And I should see "The changes will affect the following 1 activities or resources:"
|
||||
And I should see "Student must submit to this activity to complete it"
|
||||
And I should see "Student must make a submission"
|
||||
And I set the following fields to these values:
|
||||
| completion | Show activity as complete when conditions are met|
|
||||
| completionview | 1 |
|
||||
@@ -46,5 +46,5 @@ Feature: Allow teachers to edit the default activity completion rules in a cours
|
||||
And I should see "With conditions" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Assignments']]" "xpath_element"
|
||||
And I should see "Student must view this activity to complete it" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Assignments']]" "xpath_element"
|
||||
And I should see "Student must receive a grade to complete this activity" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Assignments']]" "xpath_element"
|
||||
And I should see "Student must submit to this activity to complete it" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Assignments']]" "xpath_element"
|
||||
And I should see "Student must make a submission" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Assignments']]" "xpath_element"
|
||||
And I should not see "Completion expected on" in the "//div[contains(concat(' ', normalize-space(@class), ' '), ' row ')][.//*[text() = 'Assignments']]" "xpath_element"
|
||||
|
||||
@@ -29,7 +29,7 @@ Feature: Edit completion settings of an activity
|
||||
Given I am on the TestPage "Page Activity" page logged in as admin
|
||||
When I am on the TestPage "Page Activity editing" page
|
||||
And I expand all fieldsets
|
||||
And I press "Unlock completion options"
|
||||
And I press "Unlock completion settings"
|
||||
Then I should see "Completion options unlocked"
|
||||
And I set the field "Completion tracking" to "Students can manually mark the activity as completed"
|
||||
And I press "Save and display"
|
||||
|
||||
@@ -23,5 +23,5 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['filtername'] = 'Multi-Language Content';
|
||||
$string['privacy:metadata'] = 'The Multi-Language Content plugin does not store any personal data.';
|
||||
$string['filtername'] = 'Multi-language content';
|
||||
$string['privacy:metadata'] = 'The Multi-language content plugin does not store any personal data.';
|
||||
|
||||
+7
-7
@@ -150,7 +150,7 @@ $string['condifmodeditdefaults'] = 'Default values are used in the settings form
|
||||
$string['confeditorhidebuttons'] = 'Select the buttons that should be hidden in the HTML editor.';
|
||||
$string['configallowattachments'] = 'If enabled, emails sent from the site can have attachments, such as badges.';
|
||||
$string['configallcountrycodes'] = 'This is the list of countries that may be selected in various places, for example in a user\'s profile. If blank (the default) the list in countries.php in the standard English language pack is used. That is the list from ISO 3166-1. Otherwise, you can specify a comma-separated list of codes, for example \'GB,FR,ES\'. If you add new, non-standard codes here, you will need to add them to countries.php in \'en\' and your language pack.';
|
||||
$string['configallowassign'] = 'You can allow people who have the roles on the left side to assign some of the column roles to other people';
|
||||
$string['configallowassign'] = 'For each role in the left column, select which roles that they can assign to others.';
|
||||
$string['configallowcategorythemes'] = 'If you enable this, then themes can be set at the category level. This will affect all child categories and courses unless they have specifically set their own theme. WARNING: Enabling category themes may affect performance.';
|
||||
$string['configallowcohortthemes'] = 'If you enable this, then themes can be set at the cohort level. This will affect all users with only one cohort or more than one but with the same theme.';
|
||||
$string['configallowcoursethemes'] = 'If enabled, then courses will be allowed to set their own themes. Course themes override all other theme choices (site, user, category, cohort or URL-defined themes).';
|
||||
@@ -161,15 +161,15 @@ $string['configallowemojipickerincompatible'] = 'Your current database configura
|
||||
$string['configallowguestmymoodle'] = 'If enabled, guests can access the Dashboard. Otherwise guests are redirected to the front page.';
|
||||
$string['configallowobjectembed'] = 'As a default security measure, normal users are not allowed to embed multimedia (like Flash) within texts using explicit EMBED and OBJECT tags in their HTML (although it can still be done safely using the mediaplugins filter). If you wish to allow these tags then enable this option.';
|
||||
$string['configallowoverride'] = 'You can allow people with the roles on the left side to override some of the column roles';
|
||||
$string['configallowoverride2'] = 'Select which role(s) can be overridden by each role in the left column.<br />Note that these settings only apply to users who have either the capability moodle/role:override or the capability moodle/role:safeoverride allowed.';
|
||||
$string['configallowswitch'] = 'Select which roles a user may switch to, based on which roles they already have. In addition to an entry in this table, a user must also have the moodle/role:switchroles capability to be able to switch.<br />Note that it is only possible to switch to roles that have the moodle/course:view capability, and that do not have the moodle/site:doanything capability, so some columns in this table are disabled.';
|
||||
$string['configallowoverride2'] = 'For each role in the left column, select which roles that they can set overrides for.<br />Users must also have either the capability moodle/role:override or moodle/role:safeoverride.';
|
||||
$string['configallowswitch'] = 'For each role in the left column, select which roles they can switch to.<br />Users must also have the capability moodle/role:switchroles.';
|
||||
$string['configallowthemechangeonurl'] = 'If enabled, the theme can be changed by adding either:<br />?theme=themename to any Moodle URL (eg: mymoodlesite.com/?theme=afterburner ) or <br />&theme=themename to any internal Moodle URL (eg: mymoodlesite.com/course/view.php?id=2&theme=afterburner ).';
|
||||
$string['configallowuserblockhiding'] = 'Do you want to allow users to hide/show side blocks throughout this site? This feature uses Javascript and cookies to remember the state of each collapsible block, and only affects the user\'s own view.';
|
||||
$string['configallowusermailcharset'] = 'If enabled, users can choose an email charset in their messaging preferences.';
|
||||
$string['configallowuserswitchrolestheycantassign'] = 'By default, moodle/role:assign is required for users to switch roles. Enabling this setting removes this requirement, and results in the roles available in the "Switch role to" dropdown menu being determined by settings in the "Allow role assignments" table only.
|
||||
It is recommended that the settings in the "Allow role assignments" table do not allow users to switch to a role with more capabilities than their existing role.';
|
||||
$string['configallowuserthemes'] = 'If you enable this, then users will be allowed to set their own themes. User themes override site themes (but not course themes)';
|
||||
$string['configallowview'] = 'Select which roles a user will see, be able to filter by etc. based on which roles they already have.';
|
||||
$string['configallowview'] = 'For each role in the left column, select which roles that they can view, search and filter by.';
|
||||
$string['configallusersaresitestudents'] = 'For activities on the front page, should ALL users be considered as students? If yes, then anyone with an account will be allowed to participate as a student in these activities. If no, then only users who are already a participant in at least one course will be able to take part in these activities. Only admins and specially assigned teachers can act as teachers for site home activities.';
|
||||
$string['configauthenticationplugins'] = 'Please choose the authentication plugins you wish to use and arrange them in order of failthrough.';
|
||||
$string['configautolang'] = 'Detect default language from browser setting, if disabled site default is used.';
|
||||
@@ -198,9 +198,9 @@ Courses
|
||||
-All courses|/course/
|
||||
-Course search|/course/search.php
|
||||
-###
|
||||
-FAQ|https://someurl.xyz/faq
|
||||
-Preguntas más frecuentes|https://someurl.xyz/pmf||es
|
||||
Mobile app|https://someurl.xyz/app|Download our app
|
||||
-FAQ|https://example.org/faq
|
||||
-Preguntas más frecuentes|https://example.org/pmf||es
|
||||
Mobile app|https://example.org/app|Download our app
|
||||
</pre>';
|
||||
$string['configcustomusermenuitems'] = 'You can configure the contents of the user menu (with the exception of the log out link, which is automatically added). Each line is separated by pipe characters and consists of 1) a string in "langstringname, componentname" form or as plain text, 2) a URL, and 3) an icon either as a pix icon (in the folder pix with the structure [subfoldername]/[iconname], e.g. i/publish) or as a URL. Dividers can be used by adding a line of one or more # characters where desired.';
|
||||
$string['configdbsessions'] = 'If enabled, this setting will use the database to store information about current sessions. Note that changing this setting now will log out all current users (including you). If you are using MySQL please make sure that \'max_allowed_packet\' in my.cnf (or my.ini) is at least 4M. Other session drivers can be configured directly in config.php, see config-dist.php for more information. This option disappears if you specify session driver in config.php file.';
|
||||
|
||||
+4
-4
@@ -154,10 +154,10 @@ Note: For recipient verification purposes, please avoid changing this setting on
|
||||
$string['badgesdisabled'] = 'Badges are not enabled on this site.';
|
||||
$string['badgesearned'] = 'Number of badges earned: {$a}';
|
||||
$string['badgesettings'] = 'Badges settings';
|
||||
$string['badgestatus_0'] = 'Not available to users';
|
||||
$string['badgestatus_1'] = 'Available to users';
|
||||
$string['badgestatus_2'] = 'Not available to users';
|
||||
$string['badgestatus_3'] = 'Available to users';
|
||||
$string['badgestatus_0'] = 'Not available';
|
||||
$string['badgestatus_1'] = 'Available';
|
||||
$string['badgestatus_2'] = 'Not available (criteria locked)';
|
||||
$string['badgestatus_3'] = 'Available (criteria locked)';
|
||||
$string['badgestatus_4'] = 'Archived';
|
||||
$string['badgestoearn'] = 'Number of badges available: {$a}';
|
||||
$string['badgesview'] = 'Course badges';
|
||||
|
||||
@@ -153,7 +153,7 @@ $string['err_nocourses'] = 'Course completion is not enabled for any other cours
|
||||
$string['err_nograde'] = 'A course pass grade has not been set for this course. To enable this criteria type you must create a pass grade for this course.';
|
||||
$string['err_noroles'] = 'There are no roles with the capability moodle/course:markcomplete in this course.';
|
||||
$string['err_nousers'] = 'There are no students in this course or group for whom completion information is displayed. (Completion information is displayed only for users with the capability \'Be shown on completion reports\'. The capability is allowed for the default role of student only, so if there are no students, you will see this message.)';
|
||||
$string['err_settingslocked'] = 'One or more students have already completed a criterion so the settings have been locked. Unlocking the completion criteria settings will delete any existing user data and may cause confusion.';
|
||||
$string['err_settingslocked'] = 'One or more students have already completed a criterion so the settings have been locked. Unlocking the settings will delete user completion data and may cause confusion.';
|
||||
$string['err_system'] = 'An internal error occurred in the completion system. (System administrators can enable debugging information to see more detail.)';
|
||||
$string['eventcoursecompleted'] = 'Course completed';
|
||||
$string['eventcoursecompletionupdated'] = 'Course completion updated';
|
||||
@@ -226,8 +226,8 @@ $string['showinguser'] = 'Showing user';
|
||||
$string['unenrolingfromcourse'] = 'Unenrolling from course';
|
||||
$string['unenrolment'] = 'Unenrolment';
|
||||
$string['unit'] = 'Unit';
|
||||
$string['unlockcompletion'] = 'Unlock completion options';
|
||||
$string['unlockcompletiondelete'] = 'Unlock completion options and delete user completion data';
|
||||
$string['unlockcompletion'] = 'Unlock completion settings';
|
||||
$string['unlockcompletiondelete'] = 'Unlock completion settings and delete user completion data';
|
||||
$string['updateactivities'] = 'Update completion status of checked activities';
|
||||
$string['usealternateselector'] = 'Use the alternate course selector';
|
||||
$string['usernotenroled'] = 'User is not enrolled in this course';
|
||||
|
||||
+1
-1
@@ -160,7 +160,7 @@ $string['contentbank:viewunlistedcontent'] = 'View unlisted content from the con
|
||||
$string['contentbank:upload'] = 'Upload new content to the content bank';
|
||||
$string['contentbank:useeditor'] = 'Create or edit content using a content type editor';
|
||||
$string['context'] = 'Context';
|
||||
$string['contextrolenotallowed'] = 'Role <b>{$a}</b> not allowed in this context.';
|
||||
$string['contextrolenotallowed'] = 'Role {$a} not allowed in this context.';
|
||||
$string['course:activityvisibility'] = 'Hide/show activities';
|
||||
$string['course:bulkmessaging'] = 'Send a message to many people';
|
||||
$string['course:create'] = 'Create courses';
|
||||
|
||||
@@ -127,7 +127,7 @@ $string['collapsegradepanel'] = 'Collapse grade panel';
|
||||
$string['collapsereviewpanel'] = 'Collapse review panel';
|
||||
$string['comment'] = 'Comment';
|
||||
$string['completiondetail:submit'] = 'Make a submission';
|
||||
$string['completionsubmit'] = 'Student must submit to this activity to complete it';
|
||||
$string['completionsubmit'] = 'Student must make a submission';
|
||||
$string['conversionexception'] = 'Could not convert assignment. Exception was: {$a}.';
|
||||
$string['configshowrecentsubmissions'] = 'Everyone can see notifications of submissions in recent activity reports.';
|
||||
$string['confirmsubmission'] = 'Are you sure you want to submit your work for grading? You will not be able to make any more changes.';
|
||||
|
||||
@@ -83,7 +83,7 @@ $string['cannotfindanswer'] = 'There are no answers for this survey yet.';
|
||||
$string['cannotfindquestion'] = 'Question doesn\'t exist';
|
||||
$string['cannotfindsurveytmpt'] = 'No survey templates found!';
|
||||
$string['completiondetail:submit'] = 'Submit answers';
|
||||
$string['completionsubmit'] = 'Student must submit to this activity to complete it';
|
||||
$string['completionsubmit'] = 'Student must make a submission';
|
||||
$string['ciqintro'] = 'While thinking about recent events in this class, answer the questions below.';
|
||||
$string['ciqname'] = 'Critical incidents';
|
||||
$string['ciq1'] = 'At what moment in class were you most engaged as a learner?';
|
||||
|
||||
@@ -51,7 +51,7 @@ Feature: View activity completion information in the Wiki activity
|
||||
Given I am on the "Music history" "wiki activity" page logged in as teacher1
|
||||
And I am on the "Music history" "wiki activity editing" page
|
||||
And I expand all fieldsets
|
||||
And I press "Unlock completion options"
|
||||
And I press "Unlock completion settings"
|
||||
And I set the field "Completion tracking" to "Students can manually mark the activity as completed"
|
||||
And I press "Save and display"
|
||||
# Teacher view.
|
||||
|
||||
Reference in New Issue
Block a user