r62204 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62203‎ | r62204 | r62205 >
Date:22:41, 9 February 2010
Author:siebrand
Status:deferred
Tags:
Comment:
Do not set import action to "import fuzzied" if the wiki version of the message is fuzzy.

Fuzzy state of the in-wiki message is of no concern. Default action should be 'import'. If the string is marked fuzzy in the gettext, fuzzy tag is added anyway on import.
Modified paths:
  • /trunk/extensions/Translate/utils/MessageWebImporter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/MessageWebImporter.php
@@ -142,8 +142,13 @@
143143
144144 if ( isset( $collection[$key] ) ) {
145145 $old = $collection[$key]->translation();
 146+ /* Fuzzy state of the in-wiki message is of no
 147+ * concern. Default action should be 'import'.
 148+ * If the string is marked fuzzy in the gettext,
 149+ * fuzzy tag is added anyway on import.
146150 $fuzzy = TranslateEditAddons::hasFuzzyString( $old ) ||
147151 TranslateEditAddons::isFuzzy( self::makeTitle( $group, $key, $code ) );
 152+ */
148153 }
149154
150155 // No changes at all, ignore

Status & tagging log