Index: trunk/extensions/Translate/groups/ComplexMessages.php |
— | — | @@ -102,7 +102,9 @@ |
103 | 103 | $chain = $this->mergeMagic( $defs, $chain ); |
104 | 104 | } |
105 | 105 | |
106 | | - return $group['data'] = array( $defs, $chain, $current ); |
| 106 | + $data = $group['data'] = array( $defs, $chain, $current ); |
| 107 | + |
| 108 | + return $data; |
107 | 109 | } |
108 | 110 | |
109 | 111 | /** |
— | — | @@ -430,7 +432,9 @@ |
431 | 433 | foreach ( $this->getIterator( $group ) as $key ) { |
432 | 434 | $temp = "\t{$indexKeys[$key]}"; |
433 | 435 | |
434 | | - while ( strlen( $temp ) <= $padTo ) { $temp .= ' '; } |
| 436 | + while ( strlen( $temp ) <= $padTo ) { |
| 437 | + $temp .= ' '; |
| 438 | + } |
435 | 439 | |
436 | 440 | $from = self::LANG_CURRENT; |
437 | 441 | // Abuse of the firstMagic property, should use something proper |
— | — | @@ -496,11 +500,9 @@ |
497 | 501 | # |
498 | 502 | # /Export |
499 | 503 | # |
500 | | - |
501 | 504 | public function highlight( $key, $values ) { |
502 | 505 | return $values; |
503 | 506 | } |
504 | | - |
505 | 507 | } |
506 | 508 | |
507 | 509 | class SpecialPageAliasesCM extends ComplexMessages { |
— | — | @@ -576,7 +578,6 @@ |
577 | 579 | } |
578 | 580 | } |
579 | 581 | } |
580 | | - |
581 | 582 | } |
582 | 583 | |
583 | 584 | class MagicWordsCM extends ComplexMessages { |