Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -536,19 +536,20 @@ |
537 | 537 | if ( $wgUser->getNewtalk() ) { |
538 | 538 | # do not show text when we are viewing our |
539 | 539 | # own talk page |
540 | | - if( !$title->equals( $wgUser->getTalkPage() ) ) { |
541 | | - $newtalk = $wgUser->getnewMessagesCount(); |
| 540 | + if( !$title->equals( $wgUser->getTalkPage() ) ) { |
| 541 | + $newmessagescount = $wgUser->getnewMessagesCount(); |
| 542 | + $newtalk = wfMsg( 'word-separator' ) . wfMsg( 'parentheses', $newmessagescount ); |
542 | 543 | |
543 | 544 | # disable caching |
544 | 545 | $wgOut->setSquidMaxage( 0 ); |
545 | 546 | $wgOut->enableClientCache( false ); |
546 | 547 | } |
547 | 548 | else { |
548 | | - $newtalk = 0; |
| 549 | + $newtalk = ''; |
549 | 550 | } |
550 | 551 | } |
551 | 552 | else { |
552 | | - $newtalk = 0; |
| 553 | + $newtalk = ''; |
553 | 554 | } |
554 | 555 | $personal_urls['mytalk'] = array( |
555 | 556 | 'text' => wfMsg( 'mytalk', $newtalk ), |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -751,7 +751,7 @@ |
752 | 752 | 'cancel' => 'Cancel', |
753 | 753 | 'moredotdotdot' => 'More...', |
754 | 754 | 'mypage' => 'My page', |
755 | | -'mytalk' => 'My talk ($1)', |
| 755 | +'mytalk' => 'My talk$1', |
756 | 756 | 'anontalk' => 'Talk for this IP', |
757 | 757 | 'navigation' => 'Navigation', |
758 | 758 | 'and' => ' and', |