Index: trunk/extensions/Translate/ffs/MediaWikiExtensions.php |
— | — | @@ -20,8 +20,8 @@ |
21 | 21 | |
22 | 22 | public function __construct() { |
23 | 23 | global $wgTranslateExtensionDirectory; |
24 | | - $dir = dirname( __FILE__ ); |
25 | | - $this->definitionFile = $dir . '/mediawiki-defines.txt'; |
| 24 | + $dir = dirname( dirname( __FILE__ ) ); |
| 25 | + $this->definitionFile = $dir . 'groups/MediaWiki/mediawiki-defines.txt'; |
26 | 26 | $this->path = $wgTranslateExtensionDirectory; |
27 | 27 | } |
28 | 28 | |
Index: trunk/extensions/Translate/ffs/ToolserverTextdomains.php |
— | — | @@ -23,8 +23,8 @@ |
24 | 24 | global $wgTranslateGroupRoot; |
25 | 25 | |
26 | 26 | parent::__construct(); |
27 | | - $dir = dirname( __FILE__ ); |
28 | | - $this->definitionFile = $dir . '/toolserver-textdomains.txt'; |
| 27 | + $dir = dirname( dirname( __FILE__ ) ); |
| 28 | + $this->definitionFile = $dir . 'groups/Toolserver/toolserver-textdomains.txt'; |
29 | 29 | $this->path = "$wgTranslateGroupRoot/toolserver/language/messages/"; |
30 | 30 | } |
31 | 31 | |
Index: trunk/extensions/Translate/ffs/WikiaExtensions.php |
— | — | @@ -21,8 +21,8 @@ |
22 | 22 | global $wgTranslateGroupRoot; |
23 | 23 | |
24 | 24 | parent::__construct(); |
25 | | - $dir = dirname( __FILE__ ); |
26 | | - $this->definitionFile = $dir . '/extensions.txt'; |
| 25 | + $dir = dirname( dirname( __FILE__ ) ); |
| 26 | + $this->definitionFile = $dir . 'groups/Wikia/extensions.txt'; |
27 | 27 | $this->path = "$wgTranslateGroupRoot/wikia/"; |
28 | 28 | } |
29 | 29 | } |