r34085 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34084‎ | r34085 | r34086 >
Date:20:48, 1 May 2008
Author:grondin
Status:old
Tags:
Comment:
adding new extension for translate extension tool
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Translate.php
@@ -224,6 +224,7 @@
225225 'ext-randomrootpage' => 'RandomRootpageMessageGroup',
226226 'ext-regexblock' => 'RegexBlockMessageGroup',
227227 'ext-renameuser' => 'RenameUserMessageGroup',
 228+'ext-replacetext' => 'ReplaceTextMessageGroup',
228229 'ext-review' => 'ReviewMessageGroup',
229230 'ext-rightfunctions' => 'RightFunctionsMessageGroup',
230231 'ext-scanset' => 'ScanSetMessageGroup',
Index: trunk/extensions/Translate/MessageGroups.php
@@ -2037,6 +2037,14 @@
20382038 protected $messageFile = 'Renameuser/SpecialRenameuser.i18n.php';
20392039 }
20402040
 2041+class ReplaceTextMessageGroup extends ExtensionMessageGroup {
 2042+ protected $label = 'Replace Text';
 2043+ protected $id = 'ext-replacetext';
 2044+
 2045+ protected $arrName = 'messages';
 2046+ protected $messageFile = 'ReplaceText/ReplaceText.i18n.php';
 2047+}
 2048+
20412049 class ReviewMessageGroup extends ExtensionMessageGroup {
20422050 protected $label = 'Review';
20432051 protected $id = 'ext-review';

Status & tagging log