Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -53,7 +53,7 @@ |
54 | 54 | /// Get the namespace where all the messages of this group belongs. |
55 | 55 | public function getNamespace() { return $this->namespace; } |
56 | 56 | /// Set the namespace where all the messages of this group belongs. |
57 | | - public function setNamespace() { return $this->namespace; } |
| 57 | + public function setNamespace( $ns ) { $this->namespace = $ns; } |
58 | 58 | |
59 | 59 | |
60 | 60 | /** |
Index: trunk/extensions/Translate/ffs/MediaWikiExtensions.php |
— | — | @@ -55,7 +55,7 @@ |
56 | 56 | $group = ExtensionMessageGroup::factory( $info['name'], $id ); |
57 | 57 | $group->setMessageFile( $info['file'] ); |
58 | 58 | $group->setPath( $this->path ); |
59 | | - $group->namespaces = $this->namespaces; |
| 59 | + $group->setNamespace( $this->namespace ); |
60 | 60 | |
61 | 61 | if ( isset( $info['prefix'] ) ) { |
62 | 62 | $mangler = new StringMatcher( $info['prefix'], $info['mangle'] ); |