https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112431
Revision: 112431
Author: siebrand
Date: 2012-02-26 12:58:02 +0000 (Sun, 26 Feb 2012)
Log Message:
-----------
Follow-up r112429: Didn't work as I thought it would. Thanks Niklas.
Modified Paths:
--------------
trunk/extensions/Translate/specials/SpecialTranslations.php
Modified: trunk/extensions/Translate/specials/SpecialTranslations.php
===================================================================
--- trunk/extensions/Translate/specials/SpecialTranslations.php 2012-02-26
12:52:50 UTC (rev 112430)
+++ trunk/extensions/Translate/specials/SpecialTranslations.php 2012-02-26
12:58:02 UTC (rev 112431)
@@ -194,7 +194,6 @@
$ajaxPageList = array();
$historyText = " <sup>" . wfMsgHtml(
'translate-translations-history-short' ) . "</sup> ";
$separator = wfMessage( 'word-separator' )->plain();
- $parentheses = wfMessage( 'parentheses' )->escaped();
foreach ( $res as $s ) {
$key = $s->page_title;
@@ -205,7 +204,7 @@
$text = TranslateUtils::getLanguageName( $code, false,
$wgLang->getCode() );
$text .= $separator;
- $text .= $parentheses->params( $code );
+ $text .= wfMessage( 'parentheses' )->params( $code
)->escaped();
$text = htmlspecialchars( $text );
if ( $canTranslate ) {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs