dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c79087c
)
generateJsonI18n.php: Use tabs for indentation
author
Kevin Israel
<pleasestand@live.com>
Mon, 21 Apr 2014 20:54:31 +0000
(16:54 -0400)
committer
Kevin Israel
<pleasestand@live.com>
Mon, 21 Apr 2014 20:54:31 +0000
(16:54 -0400)
Bug: 63444
Change-Id: Iaaf6b1a08c316f29c18fd5c9494decee401a43f1
maintenance/generateJsonI18n.php
patch
|
blob
|
history
diff --git
a/maintenance/generateJsonI18n.php
b/maintenance/generateJsonI18n.php
index
23c134b
..
ee26a6e
100644
(file)
--- 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 );