r113943 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113942‎ | r113943 | r113944 >
Date:18:15, 15 March 2012
Author:siebrand
Status:ok
Tags:
Comment:
Follow-up r113756: Use $wgTranslateGroupRoot instead of '%GROUPROOT%', since it has already been replaced.
Modified paths:
  • /trunk/extensions/Translate/scripts/export.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/scripts/export.php
@@ -134,13 +134,13 @@
135135 $definitionFile = false;
136136
137137 if ( isset( $options['ppgettext'] ) && $ffs instanceof GettextFFS ) {
138 - global $wgMaxShellMemory;
 138+ global $wgMaxShellMemory, $wgTranslateGroupRoot;
139139
140140 // Need more shell memory for msgmerge.
141141 $wgMaxShellMemory = 402400;
142142
143143 $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() ) );
145145 }
146146
147147 foreach ( $langs as $lang ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r113756Follow-up r113594: Update export.php so that when using gettext post processi...siebrand20:16, 13 March 2012

Status & tagging log