Index: trunk/extensions/Translate/ffs/OpenLayers.php |
— | — | @@ -118,8 +118,8 @@ |
119 | 119 | |
120 | 120 | // Get and write messages. |
121 | 121 | foreach( $collection as $message ) { |
122 | | - $value = str_replace( '"', '\"', $message->database ); |
123 | | - $line = " '{$message->key}': \"{$message->value}\",\n\n"; |
| 122 | + $value = str_replace( '"', '\"', $message->database() ); |
| 123 | + $line = " '{$message->key()}': \"{$value}\",\n\n"; |
124 | 124 | fwrite( $target, $line ); |
125 | 125 | } |
126 | 126 | |