Convert messages to the JSON format by using the maintenance tool generateJsonI18n.php
[philipp/winterrodeln/mediawiki_extensions/wrreport.git] / wrreport.php
index e15bcdf9addd3d9f13e16e0e47bd9bbf0f670f09..c3f4e1aa9b169b887a47fd6ea5143acd9b48bad5 100644 (file)
@@ -104,6 +104,7 @@ $wgAutoloadClasses['SpecialWrReport'] = dirname(__FILE__) . '/wrreport.body.php'
 $wgAutoloadClasses['WrReport'] = dirname(__FILE__) . '/wrreport.body.php';
 $wgAutoloadClasses['Services_Libravatar'] = dirname(__FILE__) . '/libravatar.php'; // from http://pear.php.net/package/Services_Libravatar
 $wgExtensionMessagesFiles['wrreport'] = dirname(__FILE__) . '/wrreport.i18n.php';
 $wgAutoloadClasses['WrReport'] = dirname(__FILE__) . '/wrreport.body.php';
 $wgAutoloadClasses['Services_Libravatar'] = dirname(__FILE__) . '/libravatar.php'; // from http://pear.php.net/package/Services_Libravatar
 $wgExtensionMessagesFiles['wrreport'] = dirname(__FILE__) . '/wrreport.i18n.php';
+$wgMessagesDirs['wrreport'] = __DIR__ . '/i18n';
 $wgSpecialPages['wrreport'] = 'SpecialWrReport';
 $wgHooks['LanguageGetSpecialPageAliases'][] = 'WrReportLanguageGetSpecialPageAliasesHook';
 $wgHooks['ParserFirstCallInit'][] = 'WrReportParserFirstCallInitHook';
 $wgSpecialPages['wrreport'] = 'SpecialWrReport';
 $wgHooks['LanguageGetSpecialPageAliases'][] = 'WrReportLanguageGetSpecialPageAliasesHook';
 $wgHooks['ParserFirstCallInit'][] = 'WrReportParserFirstCallInitHook';