Index: trunk/extensions/Translate/SpecialSupportedLanguages.php |
— | — | @@ -70,7 +70,7 @@ |
71 | 71 | $lb->execute(); |
72 | 72 | global $wgUser; |
73 | 73 | $skin = $wgUser->getSkin(); |
74 | | - $portalText = wfMsg( 'portal' ); |
| 74 | + $portalBaseText = wfMsg( 'portal' ); |
75 | 75 | |
76 | 76 | // Information to be used inside the foreach loop |
77 | 77 | $linkInfo['rc']['title'] = SpecialPage::getTitleFor( 'Recentchanges' ); |
— | — | @@ -81,6 +81,8 @@ |
82 | 82 | foreach ( array_keys( $users ) as $code ) { |
83 | 83 | $portalTitle = Title::makeTitleSafe( NS_PORTAL, $code ); |
84 | 84 | |
| 85 | + $portalText = $portalBaseText; |
| 86 | + |
85 | 87 | // If CLDR is installed, add localised header and link title. |
86 | 88 | if( $cldrInstalled ) { |
87 | 89 | $headerText = wfMsg( 'supportedlanguages-portallink', $code, $locals[$code], $natives[$code] ); |