Index: trunk/extensions/Tasks/Tasks.i18n.php |
— | — | @@ -58,8 +58,8 @@ |
59 | 59 | 'tasks_event_on_creation_anon' => "check", |
60 | 60 | 'tasks_on_creation_comment' => "Automatic task, generated on page creation", |
61 | 61 | 'tasks_link_your_assignments' => "open assignments", |
62 | | - 'tasks_see_your_assignments' => "You currently have $1 open assignments. See your $2.", |
63 | | - 'tasks_my_assignments' => "Your current assignments", |
| 62 | + 'tasks_see_your_assignments' => "You currently have $1 open {{PLURAL:$1|assignment|assignments}}. See your $2.", |
| 63 | + 'tasks_my_assignments' => "Your current {{PLURAL:$1|assignment|assignments}}", |
64 | 64 | 'tasks_table_header_page' => "Page", |
65 | 65 | 'tasks_you_have_no_assignments' => "You have no open assignments", |
66 | 66 | 'tasks_search_form_title' => "Search", |
Index: trunk/extensions/Tasks/Tasks.php |
— | — | @@ -1362,7 +1362,7 @@ |
1363 | 1363 | if( count( $tasks ) == 0 ) { |
1364 | 1364 | $out .= '<p>' . wfMsgHTML( 'tasks_you_have_no_assignments' ) . '</p>'; |
1365 | 1365 | } else { |
1366 | | - $out .= '<h2>' . wfMsgHTML( 'tasks_my_assignments' ) . "</h2>\n" |
| 1366 | + $out .= '<h2>' . wfMsgExt( 'tasks_my_assignments', array( 'escape', 'parsemag' ), count( $tasks ) ) . "</h2>\n" |
1367 | 1367 | . '<br /><table border="1" cellspacing="1" cellpadding="2">' |
1368 | 1368 | . '<tr>' . wfTaskExtensionGetTableHeader( true ) . '</tr>' |
1369 | 1369 | ; |
— | — | @@ -1395,7 +1395,7 @@ |
1396 | 1396 | if( $data->num == 0 ) { |
1397 | 1397 | $out .= wfMsgHTML( 'tasks_you_have_no_assignments' ) . '.' ; |
1398 | 1398 | } else { |
1399 | | - $out .= wfMsgHTML( 'tasks_see_your_assignments', $data->num, $link ) ; |
| 1399 | + $out .= wfMsgExt( 'tasks_see_your_assignments', array( 'escape', 'parsemag' ), $data->num, $link ) ; |
1400 | 1400 | } |
1401 | 1401 | $out .= '</p>'; |
1402 | 1402 | |