translations: add setting language selection and related strings

This commit is contained in:
月月
2025-08-24 04:10:08 +08:00
parent 6df7482b3d
commit e6bb1a3fde
4 changed files with 78 additions and 2 deletions
@@ -215,6 +215,7 @@ Singleton {
}
property JsonObject language: JsonObject {
property string ui: "auto" // UI language. "auto" for system locale, or specific language code like "zh_CN", "en_US"
property JsonObject translator: JsonObject {
property string engine: "auto" // Run `trans -list-engines` for available engines. auto should use google
property string targetLanguage: "auto" // Run `trans -list-all` for available languages