Index: trunk/extensions/EducationProgram/specials/SpecialMyCourses.php |
— | — | @@ -221,7 +221,7 @@ |
222 | 222 | |
223 | 223 | $out->addElement( 'h2', array(), wfMsg( 'ep-mycourses-course-enrollment' ) ); |
224 | 224 | |
225 | | - $out->addHTML( 'You are currently enrolled in ' . $course->getField( 'name' ) ); // TODO |
| 225 | + $out->addHTML( $this->msg( 'ep-mycourses-enrolledin', Message::rawParam( $course->getLink() ) )->text() ); |
226 | 226 | } |
227 | 227 | |
228 | 228 | } |
Index: trunk/extensions/EducationProgram/EducationProgram.i18n.php |
— | — | @@ -534,6 +534,7 @@ |
535 | 535 | 'ep-mycourses-nocourses-epca' => 'There are no courses you are Campus Ambassador for yet.', |
536 | 536 | 'ep-mycourses-nocourses-epoa' => 'There are no courses you are Online Ambassador for yet.', |
537 | 537 | 'ep-mycourses-nocourses-epinstructor' => 'There are no courses you are Instructor for yet.', |
| 538 | + 'ep-mycourses-enrolledin' => 'You are currently enrolled in $1.', |
538 | 539 | |
539 | 540 | // ep.enlist instructor |
540 | 541 | 'ep-instructor-remove-title' => 'Remove instructor from course', |