r12187 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r12186‎ | r12187 | r12188 >
Date:04:24, 21 December 2005
Author:avar
Status:old
Tags:
Comment:
* msg:newmessages => msg:youhavenewmessages, to flush old translations out
Modified paths:
  • /trunk/phase3/includes/Skin.php (modified) (history)
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SkinTemplate.php
@@ -277,7 +277,7 @@
278278 $usertitle = $this->mUser->getUserPage();
279279 $usertalktitle = $usertitle->getTalkPage();
280280 if( !$usertalktitle->equals( $this->mTitle ) ) {
281 - $ntl = wfMsg( 'newmessages',
 281+ $ntl = wfMsg( 'youhavenewmessages',
282282 $this->makeKnownLinkObj(
283283 $usertalktitle,
284284 wfMsgHtml( 'newmessageslink' )
Index: trunk/phase3/includes/Skin.php
@@ -628,7 +628,7 @@
629629 if( !$wgTitle->equals( $wgUser->getTalkPage() ) ) {
630630 $tl = $this->makeKnownLinkObj( $wgUser->getTalkPage(), wfMsgHtml( 'newmessageslink' ) );
631631 $dl = $this->makeKnownLinkObj( $wgUser->getTalkPage(), wfMsgHtml( 'newmessagesdifflink' ) );
632 - $s.= ' | <strong>'. wfMsg( 'newmessages', $tl, $dl ) . '</strong>';
 632+ $s.= ' | <strong>'. wfMsg( 'youhavenewmessages', $tl, $dl ) . '</strong>';
633633 # disable caching
634634 $wgOut->setSquidMaxage(0);
635635 $wgOut->enableClientCache(false);
Index: trunk/phase3/languages/Language.php
@@ -495,7 +495,7 @@
496496 'pagetitle' => '$1 - {{SITENAME}}',
497497 'sitesubtitle' => '',
498498 'retrievedfrom' => 'Retrieved from "$1"',
499 -'newmessages' => 'You have $1 ($2).',
 499+'youhavenewmessages' => 'You have $1 ($2).',
500500 'newmessageslink' => 'new messages',
501501 'newmessagesdifflink' => 'diff to penultimate revision',
502502 'editsection'=>'edit',

Status & tagging log