Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -111,6 +111,7 @@ |
112 | 112 | 'ext-spamblacklist' => 'SpamBlacklistMessageGroup', |
113 | 113 | 'ext-syntaxhighlightgeshi' => 'SyntaxHighlight_GeSHiMessageGroup', |
114 | 114 | 'ext-talkhere' => 'TalkHereExtensionGroup', |
| 115 | +'ext-templatelink' => 'TemplateLinkMessageGroup', |
115 | 116 | 'ext-translate' => 'TranslateMessageGroup', |
116 | 117 | 'ext-userimages' => 'UserImagesMessageGroup', |
117 | 118 | 'ext-usermerge' => 'UserMergeMessageGroup', |
Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -1233,6 +1233,19 @@ |
1234 | 1234 | protected $exportEnd = ');'; |
1235 | 1235 | } |
1236 | 1236 | |
| 1237 | +class TemplateLinkMessageGroup extends ExtensionMessageGroup { |
| 1238 | + protected $label = 'Template Link'; |
| 1239 | + protected $id = 'ext-templatelink'; |
| 1240 | + |
| 1241 | + protected $arrName = 'allMessages'; |
| 1242 | + protected $messageFile = 'TemplateLink/TemplateLink.i18n.php'; |
| 1243 | + |
| 1244 | + protected $exportPrefix= "\t"; |
| 1245 | + protected $exportStart = '\'$CODE\' => array('; |
| 1246 | + protected $exportLineP = "\t\t"; |
| 1247 | + protected $exportEnd = "),"; |
| 1248 | +} |
| 1249 | + |
1237 | 1250 | class TranslateMessageGroup extends ExtensionMessageGroup { |
1238 | 1251 | protected $label = 'Translate'; |
1239 | 1252 | protected $id = 'ext-translate'; |