Index: trunk/extensions/Translate/FFS.php |
— | — | @@ -445,6 +445,8 @@ |
446 | 446 | $messages[$key] = $value; |
447 | 447 | } |
448 | 448 | |
| 449 | + if ( !count($messages) ) return false; |
| 450 | + |
449 | 451 | $messages = $this->unflatten( $messages ); |
450 | 452 | |
451 | 453 | # Some groups have messages under language code |
— | — | @@ -593,7 +595,7 @@ |
594 | 596 | if ( isset(self::$pluralWords[$key]) ) { |
595 | 597 | $plurals = true; |
596 | 598 | } elseif( $plurals ) { |
597 | | - throw new MWException( "Reserved plural keywords mixed with other keys" ); |
| 599 | + throw new MWException( "Reserved plural keywords mixed with other keys: $key" ); |
598 | 600 | } |
599 | 601 | } |
600 | 602 | |