Skip to content

Commit

Permalink
Typographical errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch committed Nov 12, 2024
1 parent f0a51b9 commit 167b253
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions lang/en/tool_skills.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
$string['skills:viewotherspoints'] = 'View others points';
// ...error strings.
$string['error:skillsnotfound'] = 'Skill record not found for the given id';
$string['error:identityexists'] = 'Given skill identity is exists, Please use unique value';
$string['error:identityexists'] = 'Given skill identity already exists. Please use a unique value.';
$string['error:numeric'] = 'Value should be in numbers';
// ...List page strings.
$string['skillslist'] = 'List of skills';
$string['skillslisthead'] = 'Manage skills';
$string['skillslist_desc'] = 'Create a new skill and edit exsiting skills';
$string['skillslist_desc'] = 'Create a new skill and edit existing skills';
$string['createskill'] = 'Create skill';
$string['create'] = 'Create';
$string['editskill'] = 'Edit skill';
Expand All @@ -49,10 +49,10 @@
$string['timearchived'] = 'Archived time';
// ...Delete message.
$string['skillsdeleted'] = 'Skills deleted';
$string['deleteskill'] = 'Are you sure! do you want to delete this skill and its levels';
$string['skillsnothingtodisplay'] = 'Skills are not created yet or not in use, Create a new skill using the create button';
$string['archiveskill'] = 'Are you sure! do you want to archive this skill and its levels';
$string['activeskillwarning'] = 'Are you sure! do you want to activate this skill and its levels';
$string['deleteskill'] = 'Are you sure you want to delete this skill and its levels?';
$string['skillsnothingtodisplay'] = 'No skills created yet or not in use. Create a new skill using the create button';
$string['archiveskill'] = 'Are you sure you want to archive this skill and its levels?';
$string['activeskillwarning'] = 'Are you sure you want to activate this skill and its levels?';
// ...Skills Form field strings.
$string['key'] = 'Key';
$string['description'] = 'Description';
Expand All @@ -69,7 +69,7 @@
$string['skilltitle'] = 'Skill name';
$string['skilltitle_help'] = 'Name of the skill';
$string['identitykey'] = 'Key';
$string['identitykey_help'] = 'Key to identity the skill, this should be unique value';
$string['identitykey_help'] = 'Key to identify the skill; this should be a unique value';
$string['learningtime'] = 'Learning time';
$string['learningtime_help'] = 'Time to spend in the course to complete this skill';
$string['skillcolor'] = 'Skill color';
Expand Down Expand Up @@ -99,7 +99,7 @@
$string['completionforcelevel'] = 'Force level';
$string['completionlevel'] = 'Level';
$string['coursestatus'] = 'Assign skill to course';
$string['coursestatus_help'] = 'Select enable to assign the skill to course, then user will receive the points/level for course completion';
$string['coursestatus_help'] = 'Select \'enable\' to assign the skill to the course. The user will then receive points/levels upon course completion.';
$string['uponcompletion_help'] = '<ul><li><b>Add Points:</b> Upon course completion, award the specified number of skill points. (Note: Entering negative numbers will result in a reduction of points.)</li>
<li><b>Set Level:</b> Upon course completion, grant the points needed to reach the specified level, unless the student already has more points.</li>
<li><b>Force Level:</b> Upon course completion, adjust the points to match the amount required for the chosen level, regardless of the student\'s prior level/points. This may lead to students having fewer points than before.</li></ul>';
Expand Down Expand Up @@ -160,7 +160,7 @@
$string['modcompletionstatus'] = 'Completion status';

$string['activitiestatsentity'] = 'Activity completion';
$string['incomplete'] = 'In complete';
$string['incomplete'] = 'Incomplete';
$string['complete'] = 'Complete';
$string['complete_pass'] = 'Passed';
$string['complete_fail'] = 'Failed';
Expand All @@ -169,7 +169,7 @@
$string['categoryname'] = 'Category name';
$string['categoryidnumber'] = 'Category idnumber';
$string['coursecount'] = 'Number of courses';
$string['categoryvisiblity'] = 'Category visibility';
$string['categoryvisibility'] = 'Category visibility';
$string['depth'] = 'Depth';
$string['path'] = 'Category path';
$string['conditionassignedusers'] = 'Relative role users';
Expand Down
2 changes: 1 addition & 1 deletion tests/behat/behat_tool_skills.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function i_should_see_message_confirmation($messagetext) {

$cssclass = ($CFG->branch <= "402") ? '.confirmation-dialogue' : '.modal-body';
$this->execute("behat_general::assert_element_contains_text", [
"Are you sure! do you want to $messagetext this skill and its levels",
"Are you sure you want to $messagetext this skill and its levels?",
$cssclass, "css_element",
]);
}
Expand Down
4 changes: 2 additions & 2 deletions tests/behat/tool_skills_general.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Feature: Configuring the tool_skills plugin on the "Skills" page, applying diffe
When I log in as "admin"
And I navigate to skills
And I should see "Active skills" in the "#region-main .nav-tabs .nav-item" "css_element"
And I should see "Skills are not created yet or not in use"
And I should see "No skills created yet or not in use"
And I click on "Create skill" "button"
And I set the following fields to these values:
| Skill name | Beginner |
Expand Down Expand Up @@ -83,7 +83,7 @@ Feature: Configuring the tool_skills plugin on the "Skills" page, applying diffe
And I navigate to confirmation
And I should see "Beginner" in the "tool_skills_archived_list" "table"
And I click on "Active skills" "link"
Then I should see "Skills are not created yet or not in use"
Then I should see "No skills created yet or not in use"
And I click on "Archived skills" "link"
And I click on ".skill-item-actions .action-active" "css_element" in the "beginner" "table_row"
And I should see "activate" message confirmation
Expand Down

0 comments on commit 167b253

Please sign in to comment.