Index: trunk/extensions/LiveTranslate/LiveTranslate.hooks.php |
— | — | @@ -83,16 +83,6 @@ |
84 | 84 | $wgLang->formatNum( $tm->memory_lang_count ) |
85 | 85 | ); |
86 | 86 | |
87 | | - if ( $wgUser->isAllowed( 'managetms' ) ) { |
88 | | - $wgOut->addHTML( |
89 | | - Html::element( |
90 | | - 'a', |
91 | | - array( 'href' => Title::newFromText( 'Special:LiveTranslate' )->getInternalURL() ), |
92 | | - wfMsg( 'livetranslate-dictionary-goto-edit' ) |
93 | | - ) |
94 | | - ); |
95 | | - } |
96 | | - |
97 | 87 | /* |
98 | 88 | $notAllowedLanguages = array(); |
99 | 89 | |
— | — | @@ -127,6 +117,16 @@ |
128 | 118 | ); |
129 | 119 | } |
130 | 120 | */ |
| 121 | + } |
| 122 | + |
| 123 | + if ( $wgUser->isAllowed( 'managetms' ) ) { |
| 124 | + $wgOut->addHTML( |
| 125 | + Html::element( |
| 126 | + 'a', |
| 127 | + array( 'href' => Title::newFromText( 'Special:LiveTranslate' )->getInternalURL() ), |
| 128 | + wfMsg( 'livetranslate-dictionary-goto-edit' ) |
| 129 | + ) |
| 130 | + ); |
131 | 131 | } |
132 | 132 | } |
133 | 133 | |
Index: trunk/extensions/LiveTranslate/RELEASE-NOTES |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | |
7 | 7 | |
8 | 8 | === Version 0.4 === |
9 | | -2011-01-xx |
| 9 | +2011-01-14 |
10 | 10 | |
11 | 11 | * Added support for multiple translation memories. |
12 | 12 | * Added Special:LiveTranslate to manage the translation memories that should be used. |
Index: trunk/extensions/LiveTranslate/api/ApiLiveTranslate.php |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | $destination->word_translation = $translation; |
76 | 76 | } |
77 | 77 | } |
78 | | - |
| 78 | + |
79 | 79 | $this->getResult()->addValue( |
80 | 80 | 'translations', |
81 | 81 | $word, |
— | — | @@ -135,4 +135,4 @@ |
136 | 136 | return __CLASS__ . ': $Id$'; |
137 | 137 | } |
138 | 138 | |
139 | | -} |
\ No newline at end of file |
| 139 | +} |