1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-09 04:29:50 +08:00

chore(i18n): use english as the base language for i18n (#22)

* chore(i18n): use english as the base language for i18n

rewrite all of the locale files to use english as base for translation

* fix(i18n): update rest of the scripts that rely on the chinese-base i18n translation

* chore(i18n): change some of the base strings to be more correct

* chore(i18n): sync locale on dev

* chore(format): run black on dev

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Alex Murkoff
2024-06-11 10:33:56 +07:00
committed by GitHub
parent 91d3504c5d
commit 70b43e8924
19 changed files with 2291 additions and 2240 deletions

View File

@@ -40,7 +40,7 @@ print()
print("Total unique:", len(code_keys))
standard_file = "i18n/locale/zh_CN.json"
standard_file = "i18n/locale/en_US.json"
with open(standard_file, "r", encoding="utf-8") as f:
standard_data = json.load(f, object_pairs_hook=OrderedDict)
standard_keys = set(standard_data.keys())