Index: trunk/extensions/Translate/specials/SpecialTranslate.php |
— | — | @@ -168,13 +168,13 @@ |
169 | 169 | } |
170 | 170 | |
171 | 171 | protected function setup( $parameters ) { |
172 | | - global $wgUser, $wgRequest; |
| 172 | + global $wgUser, $wgRequest, $wgLang; |
173 | 173 | |
174 | 174 | $defaults = array( |
175 | 175 | /* str */ 'taction' => 'translate', |
176 | 176 | /* str */ 'task' => 'untranslated', |
177 | 177 | /* str */ 'sort' => 'normal', |
178 | | - /* str */ 'language' => $wgUser->getOption( 'language' ), |
| 178 | + /* str */ 'language' => $wgLang->getCode(), |
179 | 179 | /* str */ 'group' => '', |
180 | 180 | /* int */ 'offset' => 0, |
181 | 181 | /* int */ 'limit' => 100, |