(2) We typically do not put Unicode characters like '°' in files. We use Unicode escapes, to keep the files UTF8-compatible.
For comparison, here's the same string in gas-properties-strings_en.json:
"degreesCelsius": {
"value": "\u00B0C"
},
[ ] "symbol.a" and "symbol.b" keys
"symbol.a": {
"value": "A"
},
"symbol.b": {
"value": "B"
},
Highly recommended to change these keys to "symbol.A" and "symbol.B". Use this convention because (a) it will match what the translator sees on the screen, and (b) some sims have both uppercase and lowercase versions of a character. For example, in Fourier:
From code review #35:
Here are some recommend changes.
In number-line-distance-strings_en.json:
(1) There should be no space between '°' and 'C'. The symbol for "degrees Celsius" is "°C", see https://en.wikipedia.org/wiki/Celsius.
(2) We typically do not put Unicode characters like '°' in files. We use Unicode escapes, to keep the files UTF8-compatible.
For comparison, here's the same string in gas-properties-strings_en.json:
Highly recommended to change these keys to "symbol.A" and "symbol.B". Use this convention because (a) it will match what the translator sees on the screen, and (b) some sims have both uppercase and lowercase versions of a character. For example, in Fourier: