diff --git a/lang/en/tool_lifecycle.php b/lang/en/tool_lifecycle.php index ec2d15e97ead2e71422e3b84a8abb58cba41393e..2254025d0ce92b388c7d2149d515c32f2cc477e0 100644 --- a/lang/en/tool_lifecycle.php +++ b/lang/en/tool_lifecycle.php @@ -42,7 +42,7 @@ $string['workflow_definition_heading'] = 'Workflow definitions'; $string['adminsettings_edit_workflow_definition_heading'] = 'Workflow definition'; $string['adminsettings_workflow_definition_steps_heading'] = 'Workflow steps'; $string['adminsettings_edit_trigger_instance_heading'] = 'Trigger for workflow \'{$a}\''; -$string['adminsettings_edit_step_instance_heading'] = 'Step Instance for workflow \'{$a}\''; +$string['adminsettings_edit_step_instance_heading'] = 'Step instance for workflow \'{$a}\''; $string['add_new_step_instance'] = 'Add new step instance...'; $string['add_new_trigger_instance'] = 'Add new trigger instance...'; $string['step_settings_header'] = 'Specific settings of the step type'; diff --git a/step/duplicate/lang/en/lifecyclestep_duplicate.php b/step/duplicate/lang/en/lifecyclestep_duplicate.php index cf90c5d6eac70910bb27f179fd475f5da8e3cce3..3eb2e06d96afad0e36b6eeb3e2db750b795cc063 100644 --- a/step/duplicate/lang/en/lifecyclestep_duplicate.php +++ b/step/duplicate/lang/en/lifecyclestep_duplicate.php @@ -22,11 +22,11 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['pluginname'] = 'Duplicate Step'; +$string['pluginname'] = 'Duplicate step'; $string['duplicate_form'] = 'Enter data'; -$string['duplicate_course_header'] = 'Duplicate Course'; +$string['duplicate_course_header'] = 'Duplicate course'; $string['status_message_duplication'] = 'Duplicated course will be available shortly.'; $string['status_message_form'] = 'Additional information required'; $string['action_new_course_data'] = '{$a} supplied new course name'; diff --git a/tests/behat/interaction_forms.feature b/tests/behat/interaction_forms.feature index b5710130d10602d301afbed1b8a2eaf3205fca26..1d564fad38449f6cbbcaa6997dd8f8065f7a426a 100644 --- a/tests/behat/interaction_forms.feature +++ b/tests/behat/interaction_forms.feature @@ -25,9 +25,9 @@ Feature: Add a workflow with a manual trigger and a duplicate step and test the | Action name | Duplicate course | | Capability | moodle/course:manageactivities | And I press "Save changes" - And I select "Duplicate Step" from the "stepname" singleselect + And I select "Duplicate step" from the "stepname" singleselect And I set the following fields to these values: - | Instance name | Duplicate Step | + | Instance name | Duplicate step | And I press "Save changes" And I press "Back" And I press "Activate" @@ -39,7 +39,7 @@ Feature: Add a workflow with a manual trigger and a duplicate step and test the Then I should see "Course 1" in the "tool_lifecycle_remaining" "table" And I should see the tool "Duplicate course" in the "Course 1" row of the "tool_lifecycle_remaining" table When I click on the tool "Duplicate course" in the "Course 1" row of the "tool_lifecycle_remaining" table - Then I should see "Duplicate Course" + Then I should see "Duplicate course" When I set the following fields to these values: | Course short name | C2 | | Course full name | Course 2 | @@ -60,11 +60,11 @@ Feature: Add a workflow with a manual trigger and a duplicate step and test the Then I should see "Course 1" in the "tool_lifecycle_remaining" "table" And I should see the tool "Duplicate course" in the "Course 1" row of the "tool_lifecycle_remaining" table When I click on the tool "Duplicate course" in the "Course 1" row of the "tool_lifecycle_remaining" table - Then I should see "Duplicate Course" + Then I should see "Duplicate course" When I am on lifecycle view Then I should see the tool "Enter data" in the "Course 1" row of the "tool_lifecycle_interaction" table When I click on the tool "Enter data" in the "Course 1" row of the "tool_lifecycle_interaction" table - Then I should see "Duplicate Course" + Then I should see "Duplicate course" When I set the following fields to these values: | Course short name | C2 | | Course full name | Course 2 | @@ -85,7 +85,7 @@ Feature: Add a workflow with a manual trigger and a duplicate step and test the Then I should see "Course 1" in the "tool_lifecycle_remaining" "table" And I should see the tool "Duplicate course" in the "Course 1" row of the "tool_lifecycle_remaining" table When I click on the tool "Duplicate course" in the "Course 1" row of the "tool_lifecycle_remaining" table - Then I should see "Duplicate Course" + Then I should see "Duplicate course" When I press "Cancel" Then I should not see "Duplicated course will be available shortly." in the "tool_lifecycle_remaining" "table" And I should see "Course 1" in the "tool_lifecycle_remaining" "table" \ No newline at end of file