GeezerVison is showing github.com — fix(i18n): fix a batch of mistranslations and misplaced labels (#66805) · erickwill/opencode@9dff0b8
File treeExpand file treeCollapse file tree Open diff view settings Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboard +43Lines changed: 43 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +# uk Glossary | | 2 | + | | 3 | +## Sources | | 4 | + | | 5 | +- Review of the desktop app's Ukrainian UI copy | | 6 | + | | 7 | +## Do Not Translate (Locale Additions) | | 8 | + | | 9 | +- `OpenCode` (preserve casing in prose; keep `opencode` only in commands, package names, paths, or code) | | 10 | +- `OpenCode CLI` | | 11 | +- `CLI`, `TUI`, `MCP`, `LSP`, `OAuth` (never transliterate them as `МКП` or `ЛСП`) | | 12 | +- Commands, flags, file paths, and code literals (keep exactly as written) | | 13 | + | | 14 | +## Preferred Terms | | 15 | + | | 16 | +| English | Preferred | Notes | | | 17 | +| ------------------------------------------------ | ------------------------------ | --------------------------------------------------------------------------- | | | 18 | +| session | сесія | Not `сеанс` | | | 19 | +| project | проєкт | 2019 orthography, not `проект` | | | 20 | +| worktree | робоче дерево | Not `робоча область` or `робоче місце` | | | 21 | +| Experimental (settings tab) | Експериментальні функції | Not the bare adjective `Експериментальний` | | | 22 | +| shell (tool, activity category, mode) | Термінал | `Використано: Читання, Запис, Термінал`; `режим термінала` | | | 23 | +| shell (a running command or process) | команда | `3 команди`, `запущено 2 команди`, `Очікування команди`, `Зупинити команду` | | | 24 | +| shell command | команда термінала | `Введіть команду термінала…` | | | 25 | +| shell (bash, zsh, PowerShell chosen in settings) | оболонка | Only where the user picks the shell program itself | | | 26 | +| terminal (genitive) | термінала | Not `терміналу` | | | 27 | +| About (settings tab) | Про OpenCode | Not a bare `Про` | | | 28 | +| third-party notices | ліцензії сторонніх компонентів | Not `повідомлення третіх сторін` | | | 29 | +| Released under the MIT License | Поширюється за ліцензією MIT | | | | 30 | + | | 31 | +## Guidance | | 32 | + | | 33 | +- Prefer natural Ukrainian phrasing over literal translation | | 34 | +- Keep tone clear and direct in UI labels and docs prose | | 35 | +- Fill every plural form the locale uses: `.one`, `.few`, `.many`, `.other` | | 36 | +- Keep the English punctuation of short taglines when it reads naturally (for example `OpenCode, агент кодування з відкритим кодом`) | | 37 | +- Preserve technical artifacts exactly: commands, flags, code, URLs, model IDs, and file paths | | 38 | + | | 39 | +## Avoid | | 40 | + | | 41 | +- Avoid `оболонка` for shell activity, counts, and tool labels; it reads as jargon next to `Читання` and `Запис` | | 42 | +- Avoid translating product and protocol names that are fixed identifiers | | 43 | +- Avoid mixing multiple Ukrainian terms for the same recurring UI action once a preferred term is established |
Collapse file Copy file name to clipboard +69Lines changed: 69 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +# vi Glossary | | 2 | + | | 3 | +## Sources | | 4 | + | | 5 | +- PR #55925: https://github.com/anomalyco/opencode/pull/55925 (terminology fixes in this file) | | 6 | +- PR #55922: https://github.com/anomalyco/opencode/pull/55922 (Vietnamese Console locale) | | 7 | +- Existing Vietnamese copy on dev: `packages/app/src/runtime/i18n/vi.ts`, `packages/ui/src/i18n/vi.ts`, `README.vi.md` | | 8 | + | | 9 | +## Do Not Translate (Locale Additions) | | 10 | + | | 11 | +- `OpenCode` (preserve casing in prose; keep `opencode` only in commands, package names, paths, or code) | | 12 | +- `Zen`, `Go`, `Go Plus`, `Black`, `Enterprise`, `Models.dev` | | 13 | +- `TUI`, `LSP`, `LLM`, `API`, `CLI`, `MCP`, `SSO`, `SDK`, `IDE`, `SSE`, `ZDR`, `MIT License` | | 14 | +- `terminal`, `desktop`, `web`, `shell` | | 15 | +- Plan names such as `Black 20`, `Black 100`, `Black 200` | | 16 | +- Commands, flags, file paths, and code literals (keep exactly as written) | | 17 | + | | 18 | +## Preferred Terms | | 19 | + | | 20 | +| English | Preferred | Notes | | | 21 | +| -------------------------- | --------------------- | -------------------------------------------------------- | | | 22 | +| coding agent (the product) | `trợ lý lập trình AI` | Matches the tagline already used in `README.vi.md` | | | 23 | +| agent (an instance) | `tác nhân` | Used in app UI copy; keep consistent with `packages/app` | | | 24 | +| session | `phiên` | Matches `packages/app/src/runtime/i18n/vi.ts` | | | 25 | +| file | `tệp` | `tệp đính kèm` for attachment | | | 26 | +| provider | `nhà cung cấp` | | | | 27 | +| model | `mô hình` | | | | 28 | +| docs | `tài liệu` | | | | 29 | +| download | `tải về` | | | | 30 | +| sign in / log in | `đăng nhập` | | | | 31 | +| sign up | `đăng ký` | | | | 32 | +| subscribe | `đăng ký` | Prefer `đăng ký gói ...` for plans | | | 33 | +| cancel | `hủy` | | | | 34 | +| privacy | `quyền riêng tư` | | | | 35 | +| settings | `cài đặt` | | | | 36 | +| usage limits | `hạn mức sử dụng` | | | | 37 | +| top up (balance/credit) | `nạp thêm` | `nạp thêm số dư` / `nạp thêm tín dụng` | | | 38 | +| refund | `hoàn tiền` | | | | 39 | +| waitlist | `danh sách chờ` | | | | 40 | +| server | `máy chủ` | | | | 41 | +| workspace | `không gian làm việc` | | | | 42 | +| brand | `thương hiệu` | | | | 43 | +| changelog | `nhật ký thay đổi` | | | | 44 | +| local models | `mô hình chạy cục bộ` | | | | 45 | +| prompt | `lời nhắc` | | | | 46 | +| token | `token` | Keep in English; do not use `mã thông báo` | | | 47 | +| skill | `kỹ năng` | Matches the app UI label for the skills tab | | | 48 | +| plugin | `tiện ích mở rộng` | Matches the app UI label for extensions | | | 49 | +| command | `lệnh` | | | | 50 | +| theme | `giao diện` | | | | 51 | +| formatter | `trình định dạng` | | | | 52 | +| compaction | `nén` | | | | 53 | +| attachment | `tệp đính kèm` | | | | 54 | +| data | `dữ liệu` | | | | 55 | + | | 56 | +## Guidance | | 57 | + | | 58 | +- Prefer natural Vietnamese phrasing over literal translation; short labels stay short | | 59 | +- Keep language names static/native in language pickers: always `Tiếng Việt`, never a translated form | | 60 | +- Keep `$` amounts in the original currency notation and numbers, e.g. `$10/month` | | 61 | +- Vietnamese has no grammatical plural, so `*_one` and `*_other` strings may be identical | | 62 | +- Write dates and numbers with the Latin digits used elsewhere in the UI | | 63 | + | | 64 | +## Avoid | | 65 | + | | 66 | +- Avoid translating language names differently per current locale in language lists | | 67 | +- Avoid `mã nguồn` for `token` and `token` for `source code` | | 68 | +- Avoid Sino-Vietnamese calques such as `chủ đề` for `topic` when `chủ đề` already means theme | | 69 | +- Avoid translating `Zen`, `Go`, and `Black` as generic words like `đỉnh cao` or `đi` |
Collapse file Copy file name to clipboardExpand all lines: packages/app/e2e/regression/session-request-docks.spec.ts +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -452,6 +452,7 @@ test("shows a pending permission dock", async ({ page }) => { | 452 | 452 |
| 453 | 453 | const permission = page.locator('[data-component="dock-prompt"][data-kind="permission"]') | 454 | 454 | await expect(permission).toBeVisible() | | 455 | + await expect(permission.getByText("Run shell commands", { exact: true })).toBeVisible() | 455 | 456 | await expect(permission.getByText("git status")).toBeVisible() | 456 | 457 | await expect(permission.getByText("git diff")).toBeVisible() | 457 | 458 | await expect(permission.locator('[data-slot="permission-footer-actions"] button')).toHaveCount(3) | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/src/runtime/i18n/am.ts +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -504,8 +504,10 @@ export const dict = { | 504 | 504 | "settings.permissions.tool.list.description": "ፋይሎችን በማውጫ ውስጥ ይዘርዝሩ", | 505 | 505 | "settings.permissions.tool.bash.title": "Bash", | 506 | 506 | "settings.permissions.tool.bash.description": "የሼል ትዕዛዞችን አሂድ", | | 507 | + "settings.permissions.tool.shell.description": "የሼል ትዕዛዞችን አሂድ", | 507 | 508 | "settings.permissions.tool.task.title": "ተግባር", | 508 | 509 | "settings.permissions.tool.task.description": "ንዑስ ወኪሎችን አስጀምር", | | 510 | + "settings.permissions.tool.subagent.description": "ንዑስ ወኪሎችን አስጀምር", | 509 | 511 | "settings.permissions.tool.skill.title": "ክህሎት", | 510 | 512 | "settings.permissions.tool.skill.description": "ችሎታ በስም ጫን", | 511 | 513 | "settings.permissions.tool.lsp.title": "LSP", | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/src/runtime/i18n/ar.ts +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -493,8 +493,10 @@ export const dict = { | 493 | 493 | "settings.permissions.tool.list.description": "سرد الملفات داخل دليل", | 494 | 494 | "settings.permissions.tool.bash.title": "Bash", | 495 | 495 | "settings.permissions.tool.bash.description": "تشغيل أوامر shell", | | 496 | + "settings.permissions.tool.shell.description": "تشغيل أوامر shell", | 496 | 497 | "settings.permissions.tool.task.title": "مهمة", | 497 | 498 | "settings.permissions.tool.task.description": "تشغيل الوكلاء الفرعيين", | | 499 | + "settings.permissions.tool.subagent.description": "تشغيل الوكلاء الفرعيين", | 498 | 500 | "settings.permissions.tool.skill.title": "مهارة", | 499 | 501 | "settings.permissions.tool.skill.description": "تحميل مهارة بالاسم", | 500 | 502 | "settings.permissions.tool.lsp.title": "LSP", | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/src/runtime/i18n/az.ts +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -519,8 +519,10 @@ export const dict = { | 519 | 519 | "settings.permissions.tool.list.description": "Qovluq daxilindəki faylları siyahıla", | 520 | 520 | "settings.permissions.tool.bash.title": "Bash", | 521 | 521 | "settings.permissions.tool.bash.description": "Shell əmrlərini işlət", | | 522 | + "settings.permissions.tool.shell.description": "Shell əmrlərini işlət", | 522 | 523 | "settings.permissions.tool.task.title": "Tapşırıq", | 523 | 524 | "settings.permissions.tool.task.description": "Alt agentləri işə sal", | | 525 | + "settings.permissions.tool.subagent.description": "Alt agentləri işə sal", | 524 | 526 | "settings.permissions.tool.skill.title": "Bacarıq", | 525 | 527 | "settings.permissions.tool.skill.description": "Adla bacarıq yüklə", | 526 | 528 | "settings.permissions.tool.lsp.title": "LSP", | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/src/runtime/i18n/bg.ts +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -515,8 +515,10 @@ export const dict = { | 515 | 515 | "settings.permissions.tool.list.description": "Избройте файлове в директория", | 516 | 516 | "settings.permissions.tool.bash.title": "Баш", | 517 | 517 | "settings.permissions.tool.bash.description": "Изпълнете shell команди", | | 518 | + "settings.permissions.tool.shell.description": "Изпълнете shell команди", | 518 | 519 | "settings.permissions.tool.task.title": "Задача", | 519 | 520 | "settings.permissions.tool.task.description": "Стартиране на подагенти", | | 521 | + "settings.permissions.tool.subagent.description": "Стартиране на подагенти", | 520 | 522 | "settings.permissions.tool.skill.title": "Умение", | 521 | 523 | "settings.permissions.tool.skill.description": "Заредете умение по име", | 522 | 524 | "settings.permissions.tool.lsp.title": "LSP", | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/src/runtime/i18n/bn.ts +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -515,8 +515,10 @@ export const dict = { | 515 | 515 | "settings.permissions.tool.list.description": "একটি ডিরেক্টরির মধ্যে ফাইল তালিকা", | 516 | 516 | "settings.permissions.tool.bash.title": "Bash", | 517 | 517 | "settings.permissions.tool.bash.description": "শেল কমান্ড চালান", | | 518 | + "settings.permissions.tool.shell.description": "শেল কমান্ড চালান", | 518 | 519 | "settings.permissions.tool.task.title": "টাস্ক", | 519 | 520 | "settings.permissions.tool.task.description": "সাব-এজেন্ট চালু করুন", | | 521 | + "settings.permissions.tool.subagent.description": "সাব-এজেন্ট চালু করুন", | 520 | 522 | "settings.permissions.tool.skill.title": "দক্ষতা", | 521 | 523 | "settings.permissions.tool.skill.description": "নাম দ্বারা একটি দক্ষতা লোড", | 522 | 524 | "settings.permissions.tool.lsp.title": "LSP", | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/src/runtime/i18n/br.ts +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -701,8 +701,10 @@ export const dict = { | 701 | 701 | "settings.permissions.tool.list.description": "Listar arquivos dentro de um diretório", | 702 | 702 | "settings.permissions.tool.bash.title": "Bash", | 703 | 703 | "settings.permissions.tool.bash.description": "Executar comandos shell", | | 704 | + "settings.permissions.tool.shell.description": "Executar comandos shell", | 704 | 705 | "settings.permissions.tool.task.title": "Tarefa", | 705 | 706 | "settings.permissions.tool.task.description": "Iniciar subagentes", | | 707 | + "settings.permissions.tool.subagent.description": "Iniciar subagentes", | 706 | 708 | "settings.permissions.tool.skill.title": "Habilidade", | 707 | 709 | "settings.permissions.tool.skill.description": "Carregar uma habilidade por nome", | 708 | 710 | "settings.permissions.tool.lsp.title": "LSP", | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/src/runtime/i18n/bs.ts +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -535,8 +535,10 @@ export const dict = { | 535 | 535 | "settings.permissions.tool.list.description": "Listanje datoteka unutar direktorija", | 536 | 536 | "settings.permissions.tool.bash.title": "Bash", | 537 | 537 | "settings.permissions.tool.bash.description": "Pokretanje shell komandi", | | 538 | + "settings.permissions.tool.shell.description": "Pokretanje shell komandi", | 538 | 539 | "settings.permissions.tool.task.title": "Zadatak", | 539 | 540 | "settings.permissions.tool.task.description": "Pokretanje pod-agenta", | | 541 | + "settings.permissions.tool.subagent.description": "Pokretanje pod-agenta", | 540 | 542 | "settings.permissions.tool.skill.title": "Vještina", | 541 | 543 | "settings.permissions.tool.skill.description": "Učitaj vještinu po nazivu", | 542 | 544 | "settings.permissions.tool.lsp.title": "LSP", | |
|