Index: trunk/extensions/LiveTranslate/LiveTranslate.i18n.php |
— | — | @@ -16,6 +16,7 @@ |
17 | 17 | */ |
18 | 18 | $messages['en'] = array( |
19 | 19 | '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.', |
20 | 21 | |
21 | 22 | // Translation interface |
22 | 23 | 'livetranslate-translate-to' => 'Translate this page to', |
Index: trunk/extensions/LiveTranslate/LiveTranslate.php |
— | — | @@ -10,8 +10,7 @@ |
11 | 11 | * @file LiveTranslate.php |
12 | 12 | * @ingroup LiveTranslate |
13 | 13 | * |
14 | | - * @licence GNU GPL v3 |
15 | | - * |
| 14 | + * @licence GNU GPL v3+ |
16 | 15 | * @author Jeroen De Dauw < jeroendedauw@gmail.com > |
17 | 16 | */ |
18 | 17 | |
— | — | @@ -110,3 +109,5 @@ |
111 | 110 | $egLiveTranslateMagicWords = array(); |
112 | 111 | |
113 | 112 | 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 @@ |
6 | 6 | * More info can be found at http://www.mediawiki.org/wiki/Extension:LiveTranslate#Configuration |
7 | 7 | * |
8 | 8 | * 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, |
10 | 10 | * and placing it in LocalSettings.php, AFTER the inclusion of Live Translate. |
11 | 11 | * |
12 | 12 | * @file LiveTranslate_Settings.php |