From: Michael Dale Date: Thu, 1 Oct 2009 18:10:45 +0000 (+0000) Subject: * updated php merge script to accept -j (to merge php msg to js) and -p to merge... X-Git-Tag: 1.31.0-rc.0~39429 X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=commitdiff_plain;h=9b120272b51cb20cb3e4ca4d03ea19b19ae4d462;p=lhc%2Fweb%2Fwiklou.git * updated php merge script to accept -j (to merge php msg to js) and -p to merge js msg to php) --- diff --git a/js2/mwEmbed/php/maintenance/mergeJavascriptMsg.php b/js2/mwEmbed/php/maintenance/mergeJavascriptMsg.php index 91a97323b1..44d9982cb0 100644 --- a/js2/mwEmbed/php/maintenance/mergeJavascriptMsg.php +++ b/js2/mwEmbed/php/maintenance/mergeJavascriptMsg.php @@ -20,14 +20,32 @@ $mwEND_MSG_KEY = ', );'; $mwLangFilePath = '../languages/mwEmbed.i18n.php'; include_once( $mwLangFilePath ); -// get options (like override JS or override PHP) -// merge left -$mergeToPhp = false; -$mergeToJS = true; +function print_help(){ +?> +This script helps merge msgs between javascript and php +Usage: + -j merges javascript msgs into php + -p merges php msgs back into javascript + +