From: Alan Knowles Date: Thu, 18 Aug 2011 04:04:59 +0000 (+0800) Subject: JsCompile.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=cbaa129e9ef74ef248b2dce5215fb90b8966ef51 JsCompile.php --- diff --git a/JsCompile.php b/JsCompile.php index 2f73c739..6ef48b3f 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -255,7 +255,8 @@ class Pman_Core_JsCompile extends Pman usort($ofiles, $lsort); $eoutput = escapeshellarg($output); - $cmd = "$seed {$o['jspacker']}/pack.js -o $eoutput " . implode($ofiles, ' ') . ' 2>&1'; + $toutput = escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output)); + $cmd = "$seed {$o['jspacker']}/pack.js -o $eoutput -t $output" . implode($ofiles, ' ') . ' 2>&1'; //echo "
$cmd\n";
         //echo `$cmd`;