Locale icon indicating copy to clipboard operation
Locale copied to clipboard

CleanJSON.py: add missing keys from the source file, and reformat with black

Open medicalwei opened this issue 1 year ago • 3 comments

This change is to let the scripts to fill out the missing keys in the translation json file. Because for Traditional Chinese we have too many missing keys to add and I have a couple of people working on the translation overhaul, I want to make the task slightly easier by letting the scripts fill out the missing keys on the translation file.

This changeset also reformats the python file, and emits help messages if arguments are not complete.

medicalwei avatar Jun 25 '24 12:06 medicalwei

Can you provide high level description of the changes you're trying to make and the motivation behind them please?

Frooxius avatar Jun 25 '24 18:06 Frooxius

This change is to let the scripts to fill out the missing keys in the translation json file. Because for Traditional Chinese we have too many missing keys to add and I have a couple of people working on the translation overhaul, I want to make the task slightly easier by letting the scripts fill out the missing keys on the translation file.

This changeset also reformats the python file, and emits help messages if arguments are not complete.

medicalwei avatar Jun 25 '24 22:06 medicalwei

Hi, if you would require this PR splitting into different PRs, please ping me again.

medicalwei avatar Mar 16 '25 09:03 medicalwei

If the requirement is that there should not be a key derivation from unchanged translation, this PR seems to be a violation of the requirement. Closing this.

medicalwei avatar Jun 04 '25 12:06 medicalwei