Index: trunk/extensions/Translate/TranslateHooks.php |
— | — | @@ -328,7 +328,7 @@ |
329 | 329 | |
330 | 330 | if ( $action === 'group' ) { |
331 | 331 | $languageCode = $params[0]; |
332 | | - $languageNames = Language::getTranslatedLanguageNames( $languageCode ); |
| 332 | + $languageNames = Language::getTranslatedLanguageNames( $language->getCode() ); |
333 | 333 | $languageName = "$languageNames[$languageCode] ($languageCode)"; |
334 | 334 | $groupLabel = $params[1]; |
335 | 335 | $oldState = $params[2]; |