r112247 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112246‎ | r112247 | r112248 >
Date:22:03, 23 February 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fix message
Modified paths:
  • /trunk/extensions/EducationProgram/EducationProgram.i18n.php (modified) (history)
  • /trunk/extensions/EducationProgram/specials/SpecialMyCourses.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/specials/SpecialMyCourses.php
@@ -221,7 +221,7 @@
222222
223223 $out->addElement( 'h2', array(), wfMsg( 'ep-mycourses-course-enrollment' ) );
224224
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() );
226226 }
227227
228228 }
Index: trunk/extensions/EducationProgram/EducationProgram.i18n.php
@@ -534,6 +534,7 @@
535535 'ep-mycourses-nocourses-epca' => 'There are no courses you are Campus Ambassador for yet.',
536536 'ep-mycourses-nocourses-epoa' => 'There are no courses you are Online Ambassador for yet.',
537537 'ep-mycourses-nocourses-epinstructor' => 'There are no courses you are Instructor for yet.',
 538+ 'ep-mycourses-enrolledin' => 'You are currently enrolled in $1.',
538539
539540 // ep.enlist instructor
540541 'ep-instructor-remove-title' => 'Remove instructor from course',

Status & tagging log