From cdf358807c8370648233c28d3e740a8c9aedb078 Mon Sep 17 00:00:00 2001 From: Kevin Israel Date: Mon, 21 Apr 2014 16:54:31 -0400 Subject: [PATCH] generateJsonI18n.php: Use tabs for indentation Bug: 63444 Change-Id: Iaaf6b1a08c316f29c18fd5c9494decee401a43f1 --- maintenance/generateJsonI18n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1