Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -91,6 +91,7 @@ |
92 | 92 | $wgHooks['SkinTemplateTabs'][] = 'TranslateEditAddons::tabs'; |
93 | 93 | $wgHooks['ArticleAfterFetchContent'][] = 'TranslateEditAddons::customDisplay'; |
94 | 94 | $wgHooks['ParserBeforeStrip'][] = 'TranslateEditAddons::injectTranslationDisplayJs'; |
| 95 | +$wgHooks['LanguageGetTranslatedLanguageNames'][] = 'TranslateEditAddons::translateMessageDocumentationLanguage'; |
95 | 96 | |
96 | 97 | // Custom preferences |
97 | 98 | $wgDefaultUserOptions['translate'] = 0; |
Index: trunk/extensions/Translate/Translate.i18n.php |
— | — | @@ -349,6 +349,8 @@ |
350 | 350 | 'translate-gs-count' => 'Count', |
351 | 351 | 'translate-gs-total' => 'Total', |
352 | 352 | 'translate-gs-avgscore' => 'Avg. score', |
| 353 | + |
| 354 | + 'translate-documentation-language' => 'Message documentation', |
353 | 355 | ); |
354 | 356 | |
355 | 357 | /** Message documentation (Message documentation) |