build: static localizations

main
github-actions[bot] 2024-10-25 18:00:18 +00:00
parent 86588bd1f8
commit 3e63f71998
1 changed files with 11 additions and 0 deletions

View File

@ -20,3 +20,14 @@ Traditional Chinese translation extension for Stable Diffusion web UI by AUTOMAT
- 基於簡體語言包與繁體語言包的混和
- 以分詞系統來轉繁與修正用語 (請參考 https://github.com/bluelovers/idea-l10n-zht#readme)
- 定期自動更新翻譯
## 關於修改翻譯
請編輯以下檔案
1. [localizations/my.json5](https://github.com/bluelovers/stable-diffusion-webui-localization-zh_Hant/blob/dev/localizations/my.json5) - 會直接取代相同項目
2. [src/dict/synonym.txt](https://github.com/bluelovers/stable-diffusion-webui-localization-zh_Hant/blob/dev/src/dict/synonym.txt) - 基於分詞系統取代
3. [src/dict/table.txt](https://github.com/bluelovers/stable-diffusion-webui-localization-zh_Hant/blob/dev/src/dict/table.txt) - 基於分詞系統取代
4. [test/segment.spec.ts](https://github.com/bluelovers/stable-diffusion-webui-localization-zh_Hant/blob/dev/test/segment.spec.ts) - 簡易檢查結果是否符合期待