jenkins-bot has submitted this change and it was merged.

Change subject: EducationProgram: Add GENDER to some messages.
......................................................................


EducationProgram: Add GENDER to some messages.

See also:
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Ep-disenroll-not-enrolled/pl
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Ep-enroll-add-token-doc/pl
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Ep-mycourses-not-enrolled/pl

Change-Id: I6cd347f254d9b10f679f0e291c0e7871a496aedc
---
M i18n/en.json
M includes/specials/SpecialDisenroll.php
2 files changed, 9 insertions(+), 9 deletions(-)

Approvals:
  Siebrand: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/i18n/en.json b/i18n/en.json
index 4755712..68acdfd 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -533,8 +533,8 @@
        "ep-enroll-course-planned": "This course has not yet started, please be 
patient. See the [[Special:Courses|list of courses]].",
        "ep-disenroll-no-name": "You need to provide the name of the course you 
want to disenroll from.",
        "ep-disenroll-invalid-name": "There is no course with name \"$1\".",
-       "ep-disenroll-course-passed": "This course has ended. You can no longer 
disenroll from it.",
-       "ep-disenroll-not-enrolled": "You are not enrolled in this course, so 
cannot disenroll from it.",
+       "ep-disenroll-course-passed": "This course has ended. You {{GENDER:|can 
no longer disenroll}} from it.",
+       "ep-disenroll-not-enrolled": "You {{GENDER:|are not enrolled}} in this 
course, so cannot disenroll from it.",
        "ep-disenroll-title": "Disenroll from course \"$1\"",
        "ep-disenroll-text": "You are about to disenroll from course \"$1\". 
This will remove any articles you are working on for this course from your 
student profile.",
        "ep-disenroll-button": "Disenroll",
@@ -543,19 +543,19 @@
        "ep-disenroll-fail": "Something went wrong - could not disenroll you 
from this course.",
        "ep-disenroll-success": "{{GENDER:$1|You}} have been successfully 
{{GENDER:$1|disenrolled}} from this course!",
        "ep-disenroll-returntolink": "Return to [[Education_Program:$2|course 
$1]].",
-       "ep-mycourses-enrolled": "You have successfully enrolled for $1 at $2.",
-       "ep-mycourses-not-enrolled": "You are not enrolled in any course. See 
the [[Special:Courses|list of courses]].",
-       "ep-mycourses-no-such-course": "You are not enrolled in any course with 
name \"$1\". The courses you are enrolled in are listed below.",
-       "ep-mycourses-nocourses-epstudent": "You are not enrolled in any 
[[Special:Courses|courses]].",
+       "ep-mycourses-enrolled": "You {{GENDER:|have successfully enrolled}} 
for $1 at $2.",
+       "ep-mycourses-not-enrolled": "You {{GENDER:|are not enrolled}} in any 
course. See the [[Special:Courses|list of courses]].",
+       "ep-mycourses-no-such-course": "You {{GENDER:|are not enrolled}} in any 
course with the name \"$1\". The courses you are enrolled in are listed below.",
+       "ep-mycourses-nocourses-epstudent": "You {{GENDER:|are not enrolled}} 
in any [[Special:Courses|courses]].",
        "ep-mycourses-login-first": "You need to login before you can view your 
courses.",
        "ep-mycourses-courses-epoa": "{{PLURAL:$1|Course|Courses}} you are 
{{GENDER:$2|Online volunteer}} for",
        "ep-mycourses-courses-epca": "{{PLURAL:$1|Course|Courses}} you are 
{{GENDER:$2|Campus volunteer}} for",
        "ep-mycourses-courses-epinstructor": "{{PLURAL:$1|Course|Courses}} you 
are {{GENDER:$2|Instructor}} for",
-       "ep-mycourses-courses-epstudent": "{{PLURAL:$1|Course|Courses}} you are 
enrolled in",
+       "ep-mycourses-courses-epstudent": "{{PLURAL:$1|Course|Courses}} you 
{{GENDER:|are enrolled}} in",
        "ep-mycourses-nocourses-epca": "There are no courses for which you are 
{{GENDER:$1|Campus volunteer}} yet.",
        "ep-mycourses-nocourses-epoa": "There are no courses for which you are 
{{GENDER:$1|Online volunteer}} for yet.",
        "ep-mycourses-nocourses-epinstructor": "There are no courses for which 
you are {{GENDER:$1|Instructor}} for yet.",
-       "ep-mycourses-enrolledin": "You are currently enrolled in course $1 at 
institution $2.",
+       "ep-mycourses-enrolledin": "You {{GENDER:|are currently enrolled}} in 
course $1 at institution $2.",
        "ep-mycourses-course-org-links": "Course $1 at institution $2.",
        "ep-mycourses-articletable": "These are the articles you are working on 
and their reviewers:",
        "ep-instructor-remove-title": "Remove instructor from course",
diff --git a/includes/specials/SpecialDisenroll.php 
b/includes/specials/SpecialDisenroll.php
index 7fc963f..8e2f4ff 100644
--- a/includes/specials/SpecialDisenroll.php
+++ b/includes/specials/SpecialDisenroll.php
@@ -36,7 +36,7 @@
                $courseName = str_replace( '_', ' ', $this->subPage );
 
                if ( $courseName === ''  ) {
-                       $this->showWarning( $this->msg(  'ep-disenroll-no-name' 
) );
+                       $this->showWarning( $this->msg( 'ep-disenroll-no-name' 
) );
                }
                else {
                        $course = Courses::singleton()->getFromTitle( 
$courseName );

-- 
To view, visit https://gerrit.wikimedia.org/r/219381
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6cd347f254d9b10f679f0e291c0e7871a496aedc
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/extensions/EducationProgram
Gerrit-Branch: master
Gerrit-Owner: Purodha <[email protected]>
Gerrit-Reviewer: AndyRussG <[email protected]>
Gerrit-Reviewer: Nemo bis <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to