Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -672,6 +672,7 @@ |
673 | 673 | $definitions = array(); |
674 | 674 | /* In theory could have templates that are substitued */ |
675 | 675 | $contents = wfMsg( $this->source ); |
| 676 | + $contents = preg_replace( '~^\s*#.*$~m', '', $contents ); |
676 | 677 | $messages = preg_split( '/\s+/', $contents ); |
677 | 678 | |
678 | 679 | foreach ( $messages as $message ) { |