[quakenet] <Dune>@heinrich5991 unfortunately the l10n json files have some awkward indentation that makes json.dump break the diff :/ haven't found a clean way to change that from the json dump output
11:21
[quakenet] <Dune> I might screw the diff anyway
11:22
[quakenet] <heinrich5991> Dune: it doesn't output the language files in the format they're in right now?
11:22
[quakenet] <Dune> no
11:22
[quakenet] <Dune> it indents once more
11:22
[quakenet] <Dune> because there is some {key:"[ stuff
11:23
[quakenet] <Dune> I could do a replace of \n\t with \n, that would fix it I believe
11:23
[quakenet] <Dune> (it also doesn't keep author info before the fix I wrote)
I am running into a parsing problem when loading JSON files that seem to have the TAB character in them.
When I go to http://jsonlint.com/, and I enter the part with the TAB character:
{
"
11:28
[quakenet] <heinrich5991> yea, apparently tabs are forbidden in json strings
11:28
[quakenet] <heinrich5991> I wonder how they get in there
11:28
[quakenet] <heinrich5991> *got
11:28
[quakenet] <Dune> yeah
11:28
[quakenet] <heinrich5991> >>> json.dumps("\t")
11:28
[quakenet] <heinrich5991> '"\t"'
11:28
[quakenet] <Dune> yeah it seems to work
11:28
[quakenet] <heinrich5991> python correctly encodes them. perhaps someone edited them by hand
11:29
[quakenet] <Dune> it didn't on windows
11:29
[quakenet] <Dune> the author info was edited by hand yes
11:30
[quakenet] <Oy> Sonix do you have the image for the settings button, which should be added to the server browser?
11:30
[quakenet] <heinrich5991> then I wouldn't put the fix into the scripts, rather fix it once. the automatic output doesn't have that problem
11:31
[quakenet] <Dune> the fix about what, tabs in data?
Using the spanish translation for "mouse sens" option: we get an overflow, as seen in the screenshot here: red is a bad size, and changing it to the size of the green circle will fix its ...
11:43
[quakenet] <heinrich5991> why do we override sdl's default wrt to inp_grab? was it due to mouse pads?
Merged normalize and reconvert_l10n python scripts
Keep author info
Adjust indent to preserve version controlling
Also, for now:
Replace tabs in data
as some tabs have been inputted in author in...
12:59
[quakenet] <Teeworlds> [teeworlds-translation] Dune-jr pushed 1 new commit to master: https://git.io/fhsGT
Merged normalize and reconvert_l10n python scripts
Keep author info
Adjust indent to preserve version controlling
Also, for now:
Replace tabs in data
as some tabs have been inputted in author in...
14:25
[quakenet] <Teeworlds> [teeworlds] oy pushed 2 new commits to master: https://git.io/fhsnR