Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -257,9 +257,9 @@ |
258 | 258 | $defs = new MessageDefinitions( $definitions, $this->namespaces[0] ); |
259 | 259 | $collection = MessageCollection::newFromDefinitions( $defs, $code ); |
260 | 260 | |
261 | | - $bools = $this->getBools(); |
262 | | - $collection->setTags( 'ignored', $bools['ignored'] ); |
263 | | - $collection->setTags( 'optional', $bools['optional'] ); |
| 261 | + foreach ( $this->getTags() as $type => $tags ) { |
| 262 | + $collection->setTags( $type, $tags ); |
| 263 | + } |
264 | 264 | |
265 | 265 | return $collection; |
266 | 266 | } |