r51272 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51271‎ | r51272 | r51273 >
Date:06:56, 1 June 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
* Brainmelt... better to load translations before filtering untranslated away
Modified paths:
  • /trunk/extensions/Translate/ffs/Simple.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/ffs/Simple.php
@@ -171,9 +171,9 @@
172172
173173 protected function getMessagesForExport( MessageGroup $group, $code ) {
174174 $collection = $this->group->initCollection( $code );
 175+ $collection->setInfile( $this->group->load( $code ) );
175176 $collection->filter( 'ignored' );
176177 $collection->filter( 'hastranslation', false );
177 - $collection->setInfile( $this->group->load( $code ) );
178178 $collection->loadTranslations();
179179 $this->addAuthors( $collection->getAuthors(), $code );
180180 return $collection;

Status & tagging log