r50956 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50955‎ | r50956 | r50957 >
Date:12:20, 24 May 2009
Author:minuteelectron
Status:deferred
Tags:
Comment:
Translate OpenLayers Support:
* Use ->database for accessing messages rather than ->infile.
Modified paths:
  • /trunk/extensions/Translate/ffs/OpenLayers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/ffs/OpenLayers.php
@@ -118,8 +118,8 @@
119119
120120 // Get and write messages.
121121 foreach( $collection as $message ) {
122 - $message->infile = str_replace( '"', '\"', $message->infile );
123 - $line = " '{$message->key}': \"{$message->infile}\",\n\n";
 122+ $value = str_replace( '"', '\"', $message->database );
 123+ $line = " '{$message->key}': \"{$message->value}\",\n\n";
124124 fwrite( $target, $line );
125125 }
126126

Status & tagging log