wip(app): i18n

This commit is contained in:
Adam
2026-01-20 10:43:43 -06:00
parent be493e8be0
commit 0f2e8ea2b4
15 changed files with 110 additions and 89 deletions

View File

@@ -139,6 +139,7 @@ export const dict = {
"common.save": "Save",
"common.saving": "Saving...",
"common.default": "Default",
"common.attachment": "attachment",
"prompt.placeholder.shell": "Enter shell command...",
"prompt.placeholder.normal": "Ask anything... \"{{example}}\"",
@@ -278,6 +279,8 @@ export const dict = {
"toast.model.none.title": "No model selected",
"toast.model.none.description": "Connect a provider to summarize this session",
"toast.file.loadFailed.title": "Failed to load file",
"toast.session.share.copyFailed.title": "Failed to copy URL to clipboard",
"toast.session.share.success.title": "Session shared",
"toast.session.share.success.description": "Share URL copied to clipboard!",
@@ -289,6 +292,8 @@ export const dict = {
"toast.session.unshare.failed.title": "Failed to unshare session",
"toast.session.unshare.failed.description": "An error occurred while unsharing the session",
"toast.session.listFailed.title": "Failed to load sessions for {{project}}",
"toast.update.title": "Update available",
"toast.update.description": "A new version of OpenCode ({{version}}) is now available to install.",
"toast.update.action.installRestart": "Install and restart",
@@ -305,6 +310,8 @@ export const dict = {
"error.page.report.discord": "on Discord",
"error.page.version": "Version: {{version}}",
"error.globalSync.connectFailed": "Could not connect to server. Is there a server running at `{{url}}`?",
"error.chain.unknown": "Unknown error",
"error.chain.causedBy": "Caused by:",
"error.chain.apiError": "API error",
@@ -332,6 +339,10 @@ export const dict = {
"notification.question.description": "{{sessionTitle}} in {{projectName}} has a question",
"notification.action.goToSession": "Go to session",
"notification.session.responseReady.title": "Response ready",
"notification.session.error.title": "Session error",
"notification.session.error.fallbackDescription": "An error occurred",
"home.recentProjects": "Recent projects",
"home.empty.title": "No recent projects",
"home.empty.description": "Get started by opening a local project",
@@ -368,6 +379,9 @@ export const dict = {
"session.share.copy.copied": "Copied",
"session.share.copy.copyLink": "Copy link",
"lsp.tooltip.none": "No LSP servers",
"lsp.label.connected": "{{count}} LSP",
"prompt.loading": "Loading prompt...",
"terminal.loading": "Loading terminal...",