lang: Refactored langtool, updated chinese translation (#1623)

- Better argument parsing
- Allow processing all language folders at the same time
- Allow an optional reference language when translating
- Save translations on KeyboardInterrupt
- Fixes a ooold input issues by importing readline
(https://github.com/kovidgoyal/kitty/issues/6560)
- Add untranslate mode to remove translations by a key regex

---------

Co-authored-by: Nik <werwolv98@gmail.com>
This commit is contained in:
xtex
2024-05-02 02:49:55 +08:00
committed by GitHub
parent 6fbbf899b0
commit aa5a3ed080
9 changed files with 489 additions and 375 deletions

View File

@@ -0,0 +1,10 @@
{
"code": "zh_CN",
"country": "China",
"language": "Chinese (Simplified)",
"translations": {
"hex.script_loader.menu.loading": "加载中……",
"hex.script_loader.menu.no_scripts": "空空如也",
"hex.script_loader.menu.run_script": "运行脚本……"
}
}