r53164 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53163‎ | r53164 | r53165 >
Date:10:55, 13 July 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
Uncommitted fix, don't export notranslations
Modified paths:
  • /trunk/extensions/Translate/scripts/dump-tm.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/scripts/dump-tm.php
@@ -51,7 +51,7 @@
5252 $collection = $g->initCollection( $code );
5353 $collection->setInfile( $g->load( $code ) );
5454 $collection->filter( 'ignored' );
55 - $collection->loadTranslations();
 55+ $collection->filter( 'translated', false );
5656 $output = $writer->webExport( $collection );
5757 $data .= preg_replace( "/^.*\n\n/Us", '', $output );
5858 }
@@ -65,4 +65,4 @@
6666 . $data;
6767 file_put_contents( "$target/$code.po", $data );
6868
69 -}
\ No newline at end of file
 69+}

Status & tagging log