mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
Skin: Convert number of languages to interface language
Bug: T283955 Change-Id: Ic601cf94907bdec329021a48101da13a979af106
This commit is contained in:
parent
0b65f84d40
commit
78929d58da
|
@ -331,12 +331,13 @@ class SkinVector extends SkinMustache {
|
|||
* @return array enhanced $portletData
|
||||
*/
|
||||
private function createULSLanguageButton( $portletData ) {
|
||||
$label = $this->msg( 'vector-language-button-label' )
|
||||
->numParams( count( $this->getLanguagesCached() ) )
|
||||
->escaped();
|
||||
|
||||
$languageButtonData = [
|
||||
'id' => 'p-lang-btn',
|
||||
'label' => $this->msg(
|
||||
'vector-language-button-label',
|
||||
count( $this->getLanguagesCached() )
|
||||
)->escaped(),
|
||||
'label' => $label,
|
||||
'heading-class' =>
|
||||
' vector-menu-heading ' .
|
||||
' mw-ui-icon ' .
|
||||
|
|
Loading…
Reference in a new issue