Index: trunk/extensions/PSINoTocNum/PSINoTocNum.i18n.php |
— | — | @@ -0,0 +1,12 @@ |
| 2 | +<?php |
| 3 | +#Internationalization file for PSINoTocNum extension |
| 4 | + |
| 5 | +$messages = array(); |
| 6 | + |
| 7 | +$messages['en'] = array( |
| 8 | + 'psinotocnum-desc' => 'New MagicWord "<nowiki>__</nowiki>NOTOCNUM<nowiki>__</nowiki>"', |
| 9 | +); |
| 10 | + |
| 11 | +$messages['fr'] = array( |
| 12 | + 'psinotocnum-desc' => 'Nouveau mot magique « <nowiki>__</nowiki>NOTOCNUM<nowiki>__</nowiki> »', |
| 13 | +); |
Property changes on: trunk/extensions/PSINoTocNum/PSINoTocNum.i18n.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 14 | + native |
Index: trunk/extensions/PSINoTocNum/PSINoTocNum.php |
— | — | @@ -47,7 +47,13 @@ |
48 | 48 | 'author' => 'Benedikt Meuthrath', |
49 | 49 | 'url' => 'http://www.mediawiki.org/wiki/Extension:PSINoTocNum', |
50 | 50 | 'description' => 'New MagicWord "<nowiki>__NOTOCNUM__</nowiki>".', |
| 51 | + 'descriptionmsg' => 'psinotocnum-desc', |
51 | 52 | ); |
| 53 | + |
| 54 | +$dir = dirname(__FILE__) . '/'; |
| 55 | +$wgExtensionMessagesFiles['PSINoTocNum'] = $dir . 'PSINoTocNum.i18n.php'; |
| 56 | + |
| 57 | + |
52 | 58 | $wgHooks['MagicWordMagicWords'][] = 'PSINoTocNumMagicWordMagicWords'; |
53 | 59 | $wgHooks['MagicWordwgVariableIDs'][] = 'PSINoTocNumMagicWordwgVariableIDs'; |
54 | 60 | $wgHooks['LanguageGetMagic'][] = 'PSINoTocNumLanguageGetMagic'; |
Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -247,6 +247,7 @@ |
248 | 248 | 'ext-profilemonitor' => 'ProfileMonitorMessageGroup', |
249 | 249 | 'ext-proofreadpage' => 'ProofreadPageMessageGroup', |
250 | 250 | 'ext-protectsection' => 'ProtectSectionMessageGroup', |
| 251 | +'ext-psinotocnum' => 'PSINoTocNumMessageGroup', |
251 | 252 | 'ext-purge' => 'PurgeMessageGroup', |
252 | 253 | 'ext-purgecache' => 'PurgeCacheMessageGroup', |
253 | 254 | 'ext-quiz' => 'QuizMessageGroup', |
Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -2063,6 +2063,14 @@ |
2064 | 2064 | protected $messageFile = 'ProtectSection/ProtectSection.i18n.php'; |
2065 | 2065 | } |
2066 | 2066 | |
| 2067 | +class PSINoTocNumMessageGroup extends ExtensionMessageGroup { |
| 2068 | + protected $label = 'PSI NoTocNum'; |
| 2069 | + protected $id = 'ext-psinotocnum'; |
| 2070 | + |
| 2071 | + protected $arrName = 'messages'; |
| 2072 | + protected $messageFile = 'PSINoTocNum/PSINoTocNum.i18n.php'; |
| 2073 | +} |
| 2074 | + |
2067 | 2075 | class PurgeMessageGroup extends ExtensionMessageGroup { |
2068 | 2076 | protected $label = 'Purge'; |
2069 | 2077 | protected $id = 'ext-purge'; |