r100583 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100582‎ | r100583 | r100584 >
Date:08:31, 24 October 2011
Author:amire80
Status:ok
Tags:
Comment:
Adding a translate-messagereview right.
Modified paths:
  • /trunk/extensions/Translate/Translate.i18n.php (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Translate.php
@@ -133,6 +133,7 @@
134134 $wgAvailableRights[] = 'translate';
135135 $wgAvailableRights[] = 'translate-import';
136136 $wgAvailableRights[] = 'translate-manage';
 137+$wgAvailableRights[] = 'translate-messagereview';
137138
138139 // New jobs
139140 $wgJobClasses['MessageIndexRebuildJob'] = 'MessageIndexRebuildJob';
Index: trunk/extensions/Translate/Translate.i18n.php
@@ -155,6 +155,7 @@
156156 'right-translate' => 'Edit using the translate interface',
157157 'right-translate-manage' => 'Manage translation groups',
158158 'right-translate-import' => 'Import offline translations',
 159+ 'right-translate-messagereview' => 'Review translations',
159160
160161 'translate-rc-translation-filter' => 'Filter translations:',
161162 'translate-rc-translation-filter-no' => 'Do nothing',
@@ -461,6 +462,7 @@
462463 'right-translate' => '{{doc-right|translate}}',
463464 'right-translate-manage' => '{{doc-right|translate-manage}}',
464465 'right-translate-import' => '{{doc-right|translate-import}}',
 466+ 'right-translate-messagereview' => '{{doc-right|translate-messagereview}}',
465467 'translate-rc-translation-filter' => 'Name of filter in [[Special:RecentChanges]]. Gives a user the option to filter out translations, show translations only, or do nothing (default).',
466468 'translate-rc-translation-filter-no' => 'Option for filter in [[Special:RecentChanges]]. Selecting this option results in the filter not doing anything. It is the default value.',
467469 'translate-rc-translation-filter-only' => 'Option for filter in [[Special:RecentChanges]]. Selecting this option results in the filter only showing recent changes that are translations.',

Status & tagging log