r87609 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87608‎ | r87609 | r87610 >
Date:23:52, 6 May 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
added missing right
Modified paths:
  • /trunk/extensions/LiveTranslate/LiveTranslate.i18n.php (modified) (history)
  • /trunk/extensions/LiveTranslate/LiveTranslate.php (modified) (history)
  • /trunk/extensions/LiveTranslate/LiveTranslate_Settings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiveTranslate/LiveTranslate.i18n.php
@@ -16,6 +16,7 @@
1717 */
1818 $messages['en'] = array(
1919 'livetranslate-desc' => 'Enables live translation of page content using the Google Translate service',
 20+ 'right-managetms' => 'Required to modify the list of translation memories via Special:SpecialLiveTranslate.',
2021
2122 // Translation interface
2223 'livetranslate-translate-to' => 'Translate this page to',
Index: trunk/extensions/LiveTranslate/LiveTranslate.php
@@ -10,8 +10,7 @@
1111 * @file LiveTranslate.php
1212 * @ingroup LiveTranslate
1313 *
14 - * @licence GNU GPL v3
15 - *
 14+ * @licence GNU GPL v3+
1615 * @author Jeroen De Dauw < jeroendedauw@gmail.com >
1716 */
1817
@@ -110,3 +109,5 @@
111110 $egLiveTranslateMagicWords = array();
112111
113112 require_once 'LiveTranslate_Settings.php';
 113+
 114+$wgAvailableRights[] = 'managetms';
\ No newline at end of file
Index: trunk/extensions/LiveTranslate/LiveTranslate_Settings.php
@@ -5,7 +5,7 @@
66 * More info can be found at http://www.mediawiki.org/wiki/Extension:LiveTranslate#Configuration
77 *
88 * NOTICE:
9 - * Changing one of these settings can be done by copieng or cutting it,
 9+ * Changing one of these settings can be done by copying or cutting it,
1010 * and placing it in LocalSettings.php, AFTER the inclusion of Live Translate.
1111 *
1212 * @file LiveTranslate_Settings.php

Follow-up revisions

RevisionCommit summaryAuthorDate
r87619Followup r87605/r8760: Make description of userright consistent with existing...raymond08:42, 7 May 2011

Status & tagging log