mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-05 16:02:19 +00:00
feat(app): initial i18n stubbing
This commit is contained in:
parent
7f50b27996
commit
0470717c7f
7 changed files with 151 additions and 9 deletions
13
packages/app/src/i18n/zh.ts
Normal file
13
packages/app/src/i18n/zh.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { dict as en } from "./en"
|
||||
|
||||
type Keys = keyof typeof en
|
||||
|
||||
export const dict = {
|
||||
"command.category.language": "\u8bed\u8a00",
|
||||
"command.language.cycle": "\u5207\u6362\u8bed\u8a00",
|
||||
"command.language.set": "\u4f7f\u7528\u8bed\u8a00: {{language}}",
|
||||
"language.en": "\u82f1\u8bed",
|
||||
"language.zh": "\u4e2d\u6587",
|
||||
"toast.language.title": "\u8bed\u8a00",
|
||||
"toast.language.description": "\u5df2\u5207\u6362\u5230{{language}}",
|
||||
} satisfies Partial<Record<Keys, string>>
|
||||
Loading…
Add table
Add a link
Reference in a new issue