Index: trunk/extensions/Translate/scripts/alias-export.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | * |
6 | 6 | * @author Niklas Laxstrom |
7 | 7 | * |
8 | | - * @copyright Copyright © 2008, Niklas Laxström |
| 8 | + * @copyright Copyright © 2008-2009, Niklas Laxström |
9 | 9 | * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later |
10 | 10 | * @file |
11 | 11 | */ |
Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -383,7 +383,7 @@ |
384 | 384 | |
385 | 385 | function fill( MessageCollection $messages ) { |
386 | 386 | $cache = $this->load( $messages->code ); |
387 | | - foreach ( $messages->keys() as $key ) { |
| 387 | + foreach ( array_keys($messages->keys()) as $key ) { |
388 | 388 | if ( isset( $cache[$key] ) ) { |
389 | 389 | if ( is_array( $cache[$key] ) ) { |
390 | 390 | $messages[$key]->setInfile( implode( ',', $cache[$key] ) ); |