mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-28 20:56:54 -06:00
Merge PR #1998: ui: language command docs and error list every language
This commit is contained in:
@@ -56,8 +56,9 @@ the View ▸ Animations checkbox, saved with the other UI preferences and on by
|
||||
|
||||
`{command: "app.language.set", params: {language: "ja"}}` switches the interface language
|
||||
(`code` is accepted as an alias for `language`); `app.language.english` and
|
||||
`app.language.japanese` are shortcuts. Only interface chrome is translated, never command ids or
|
||||
document text. The choice is saved in `ui.json`; with nothing saved the desktop app follows the
|
||||
`app.language.japanese` are shortcuts. `engine.commands` lists every code it takes (`en`, `es`,
|
||||
`zh`, `ja`, `ko`, `ru`, `pt`, `de`, `cs`, `fr`, `sr`), as does the error for an unknown one. Only
|
||||
interface chrome is translated, never command ids or document text. The choice is saved in `ui.json`; with nothing saved the desktop app follows the
|
||||
system language.
|
||||
|
||||
`{command: "file.open", params: {path: "Secret.xlsx", password: "…"}}` opens a password-protected
|
||||
|
||||
Reference in New Issue
Block a user