diff options
| author | Adam <[email protected]> | 2026-01-20 10:20:43 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-01-20 17:58:06 -0600 |
| commit | be493e8be045f25f38e619b79730f437839752a8 (patch) | |
| tree | caed9ba4dfac65a4b372df4569cbea74634f1c09 /packages/app/src/i18n | |
| parent | 7e8e4d9938fc473e187a80e0b8012b0d9bed2dc6 (diff) | |
| download | opencode-be493e8be045f25f38e619b79730f437839752a8.tar.gz opencode-be493e8be045f25f38e619b79730f437839752a8.zip | |
wip(app): i18n
Diffstat (limited to 'packages/app/src/i18n')
| -rw-r--r-- | packages/app/src/i18n/en.ts | 10 | ||||
| -rw-r--r-- | packages/app/src/i18n/zh.ts | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/packages/app/src/i18n/en.ts b/packages/app/src/i18n/en.ts index cab1bd29d..97ab9e0bf 100644 --- a/packages/app/src/i18n/en.ts +++ b/packages/app/src/i18n/en.ts @@ -256,6 +256,11 @@ export const dict = { "context.stats.sessionCreated": "Session Created", "context.stats.lastActivity": "Last Activity", + "context.usage.tokens": "Tokens", + "context.usage.usage": "Usage", + "context.usage.cost": "Cost", + "context.usage.clickToView": "Click to view context", + "language.en": "English", "language.zh": "Chinese", @@ -344,6 +349,11 @@ export const dict = { "session.context.addToContext": "Add {{selection}} to context", + "session.new.worktree.main": "Main branch", + "session.new.worktree.mainWithBranch": "Main branch ({{branch}})", + "session.new.worktree.create": "Create new worktree", + "session.new.lastModified": "Last modified", + "session.header.search.placeholder": "Search {{project}}", "session.share.popover.title": "Publish on web", diff --git a/packages/app/src/i18n/zh.ts b/packages/app/src/i18n/zh.ts index 2ded1d677..014fa5353 100644 --- a/packages/app/src/i18n/zh.ts +++ b/packages/app/src/i18n/zh.ts @@ -255,6 +255,11 @@ export const dict = { "context.stats.sessionCreated": "创建时间", "context.stats.lastActivity": "最后活动", + "context.usage.tokens": "Token", + "context.usage.usage": "使用率", + "context.usage.cost": "成本", + "context.usage.clickToView": "点击查看上下文", + "language.en": "英语", "language.zh": "中文", @@ -341,6 +346,11 @@ export const dict = { "session.context.addToContext": "将 {{selection}} 添加到上下文", + "session.new.worktree.main": "主分支", + "session.new.worktree.mainWithBranch": "主分支 ({{branch}})", + "session.new.worktree.create": "创建新的 worktree", + "session.new.lastModified": "最后修改", + "session.header.search.placeholder": "搜索 {{project}}", "session.share.popover.title": "发布到网页", |
