Fix invalid json files reported by Scripty

Review Request #124070 - Created June 11, 2015 and submitted - Latest diff uploaded

Information
Burkhard Lück
gcompris
master
Reviewers
gcompris

see Summary

Before patch
$ jsonlint extragear/edu/gcompris//src/activities/gletters/resource/default-ca.json
extragear/edu/gcompris//src/activities/gletters/resource/default-ca.json:325:12: Error: Values must be separated by a comma
| At line 325, column 12, offset 5388
| Array started at line 257, column 19, offset 4236
extragear/edu/gcompris//src/activities/gletters/resource/default-ca.json:255:6: Error: Values must be separated by a comma
| At line 255, column 6, offset 4190
| Array started at line 2, column 14, offset 16
extragear/edu/gcompris//src/activities/gletters/resource/default-ca.json:332:3: Warning: Strict JSON does not allow a final comma in an array (list) literal
| At line 332, column 3, offset 5483
| Array started at line 2, column 14, offset 16
extragear/edu/gcompris//src/activities/gletters/resource/default-ca.json: has errors
$ jsonlint extragear/edu/gcompris//src/activities/click_on_letter/resource/levels-ca.json
extragear/edu/gcompris//src/activities/click_on_letter/resource/levels-ca.json:13:4: Error: Values must be separated by a comma
| At line 13, column 4, offset 779
| Array started at line 1, column 0, offset 0 (AT-START)
extragear/edu/gcompris//src/activities/click_on_letter/resource/levels-ca.json: has errors

After patch:
$ jsonlint extragear/edu/gcompris//src/activities/gletters/resource/default-ca.json
extragear/edu/gcompris//src/activities/gletters/resource/default-ca.json: ok

Loading...