Index: trunk/extensions/SemanticTasks/ST_Notify_Assignment.php |
— | — | @@ -186,6 +186,7 @@ |
187 | 187 | $date->modify( "+$remind_me_in day" ); |
188 | 188 | |
189 | 189 | if ( $tg_date-> format( 'F d Y' ) == $date-> format( 'F d Y' ) ) { |
| 190 | + global $wgLang; |
190 | 191 | while ( $task_assignee = $row[2]->getNextObject() ) { |
191 | 192 | $assignee_username = $task_assignee->getTitle(); |
192 | 193 | $assignee_user_name = explode( ":", $assignee_username ); |
— | — | @@ -193,7 +194,7 @@ |
194 | 195 | |
195 | 196 | $assignee = User::newFromName( $assignee_name ); |
196 | 197 | $assignee_mail = new MailAddress( $assignee->getEmail(), $assignee_name ); |
197 | | - $body = wfMsgExt( 'semantictasks-reminder-message', 'parsemag', $assignee_name, $task_name, $remind_me_in, $link ); |
| 198 | + $body = wfMsgExt( 'semantictasks-reminder-message', 'parsemag', $assignee_name, $task_name, $wgLang->formatNum( $remind_me_in ), $link ); |
198 | 199 | $user_mailer->send( $assignee_mail, $sender, $subject, $body ); |
199 | 200 | } |
200 | 201 | } |