Index: trunk/phase3/js2/mwEmbed/php/maintenance/mergeJavascriptMsg.php |
— | — | @@ -126,14 +126,14 @@ |
127 | 127 | if ( file_put_contents( $fname, $str ) ) { |
128 | 128 | print "\nupdated $curFileName from php\n\n"; |
129 | 129 | } else { |
130 | | - die( "could not write to: " . $fname ); |
| 130 | + die( "Could not write to: " . $fname ); |
131 | 131 | } |
132 | 132 | } |
133 | 133 | // return phpOut for building msgSet in outer function |
134 | 134 | return $outPhp; |
135 | 135 | |
136 | 136 | } else { |
137 | | - print "could not get any json vars from:$curFileName \n"; |
| 137 | + print "Could not get any json vars from: $curFileName\n"; |
138 | 138 | return ''; |
139 | 139 | } |
140 | 140 | } |
— | — | @@ -170,9 +170,11 @@ |
171 | 171 | $result .= $char . $newline . str_repeat( $tab, $tabcount ); |
172 | 172 | } |
173 | 173 | break; |
| 174 | +/* FIXME: this will change "key" : "message:" to "key" : "messages : ". Not intended. |
| 175 | + now "key" : "message" will become "key":"message:", but that's not too big of a problem. |
174 | 176 | case ':': |
175 | 177 | $result .= ' ' . $char . ' '; |
176 | | - break; |
| 178 | + break; */ |
177 | 179 | case '"': |
178 | 180 | $inquote = !$inquote; |
179 | 181 | $result .= $char; |