Index: trunk/extensions/Translate/scripts/export.php |
— | — | @@ -134,13 +134,13 @@ |
135 | 135 | $definitionFile = false; |
136 | 136 | |
137 | 137 | if ( isset( $options['ppgettext'] ) && $ffs instanceof GettextFFS ) { |
138 | | - global $wgMaxShellMemory; |
| 138 | + global $wgMaxShellMemory, $wgTranslateGroupRoot; |
139 | 139 | |
140 | 140 | // Need more shell memory for msgmerge. |
141 | 141 | $wgMaxShellMemory = 402400; |
142 | 142 | |
143 | 143 | $conf = $group->getConfiguration(); |
144 | | - $definitionFile = str_replace( '%GROUPROOT%', $options['ppgettext'], $group->getSourceFilePath( $group->getSourceLanguage() ) ); |
| 144 | + $definitionFile = str_replace( $wgTranslateGroupRoot, $options['ppgettext'], $group->getSourceFilePath( $group->getSourceLanguage() ) ); |
145 | 145 | } |
146 | 146 | |
147 | 147 | foreach ( $langs as $lang ) { |