From: Kevin Israel Date: Mon, 21 Apr 2014 20:54:31 +0000 (-0400) Subject: generateJsonI18n.php: Use tabs for indentation X-Git-Tag: 1.31.0-rc.0~16109^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=cdf358807c8370648233c28d3e740a8c9aedb078;p=lhc%2Fweb%2Fwiklou.git generateJsonI18n.php: Use tabs for indentation Bug: 63444 Change-Id: Iaaf6b1a08c316f29c18fd5c9494decee401a43f1 --- diff --git a/maintenance/generateJsonI18n.php b/maintenance/generateJsonI18n.php index 23c134b621..ee26a6e863 100644 --- a/maintenance/generateJsonI18n.php +++ b/maintenance/generateJsonI18n.php @@ -83,7 +83,7 @@ class GenerateJsonI18n extends Maintenance { $jsonfile = "$jsondir/$langcode.json"; $success = file_put_contents( $jsonfile, - FormatJson::encode( $langmsgs, true, FormatJson::ALL_OK ) . "\n" + FormatJson::encode( $langmsgs, "\t", FormatJson::ALL_OK ) . "\n" ); if ( $success === false ) { $this->error( "FAILED to write $jsonfile", 1 );