generateJsonI18n.php: Use tabs for indentation
authorKevin Israel <pleasestand@live.com>
Mon, 21 Apr 2014 20:54:31 +0000 (16:54 -0400)
committerKevin Israel <pleasestand@live.com>
Mon, 21 Apr 2014 20:54:31 +0000 (16:54 -0400)
Bug: 63444
Change-Id: Iaaf6b1a08c316f29c18fd5c9494decee401a43f1

maintenance/generateJsonI18n.php

index 23c134b..ee26a6e 100644 (file)
@@ -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 );