From a750ee00e1c7fbb209b99f9493728b1b8ff79302 Mon Sep 17 00:00:00 2001 From: Kang Date: Tue, 14 Jul 2026 00:49:46 +0800 Subject: [PATCH] chore(i18n): add Korean translations for telnet no authentication description - Added a new translation key for "telnetNoAuthenticationDescription" in Korean locale. - Updated English and Chinese locale files to include the new translation for consistency across languages. - Enhanced documentation to reflect the addition of the Korean dev server command. --- CLAUDE.md | 2 ++ src/i18n/locales/en.json | 1 + src/i18n/locales/ko.json | 1 + src/i18n/locales/zh-CN.json | 1 + 4 files changed, 5 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index e1bca0d3..23612a7f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -33,6 +33,7 @@ Example single-test command: - `pnpm --dir docs-site start` — build and serve the docs site locally for all locales (`/` and `/en/`) - `pnpm --dir docs-site start:zh` — run the zh-CN docs dev server with hot reload - `pnpm --dir docs-site start:en` — run the English docs dev server with hot reload +- `pnpm --dir docs-site start:ko` — run the Korean docs dev server with hot reload - `pnpm --dir docs-site build` — build the docs site ## Big-picture architecture @@ -114,6 +115,7 @@ Example single-test command: - When changing user-facing UI text, update both locale files: - `src/i18n/locales/en.json` - `src/i18n/locales/zh-CN.json` + - `src/i18n/locales/ko.json` - The root app currently has no dedicated frontend unit test runner configured in `package.json`; the automated tests in this repo are Rust tests under `src-tauri/` and `src-tauri/crates/otp/`. - Frontend linting includes a no-`console` check before Biome (`pnpm lint` runs `scripts/check-no-console.mjs` and `biome check src/`). - Vite uses the `@` alias for `src/`. diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 9e5d96d3..8b8a9bf8 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -420,6 +420,7 @@ "telnetLocalEchoDesc": "Show typed input locally when the device does not echo.", "telnetLocalLineEdit": "Local line editing / Send line on Enter", "telnetLocalLineEditDesc": "Edit input locally and send the full command when Enter is pressed. Useful for debug ports that do not support remote Backspace.", + "telnetNoAuthenticationDescription": "Connect without sending a saved Telnet password automatically.", "telnetRawTcpCli": "Embedded debug port / Raw TCP CLI", "telnetRawTcpCliDesc": "Suitable for non-standard Telnet, embedded debug ports, and device CLIs. When enabled, Telnet negotiation is disabled and input is passed through directly.", "telnetRawTcpCliLongDesc": "Disables Telnet negotiation and passes input directly through for TVs, routers, switches, and embedded debug ports.", diff --git a/src/i18n/locales/ko.json b/src/i18n/locales/ko.json index ca2c2780..280ae485 100644 --- a/src/i18n/locales/ko.json +++ b/src/i18n/locales/ko.json @@ -417,6 +417,7 @@ "telnetLocalEchoDesc": "장치가 에코하지 않을 때 입력한 내용을 로컬에 표시합니다.", "telnetLocalLineEdit": "로컬 줄 편집 / Enter 시 줄 전송", "telnetLocalLineEditDesc": "로컬에서 입력을 편집하고 Enter를 누르면 전체 명령을 전송합니다. 원격 백스페이스를 지원하지 않는 디버그 포트에 유용합니다.", + "telnetNoAuthenticationDescription": "저장된 Telnet 비밀번호를 자동으로 전송하지 않고 연결합니다.", "telnetRawTcpCli": "내장 디버그 포트 / Raw TCP CLI", "telnetRawTcpCliDesc": "비표준 Telnet, 내장 디버그 포트, 장치 CLI에 적합합니다. 활성화하면 Telnet 협상이 비활성화되고 입력이 직접 전달됩니다.", "telnetRawTcpCliLongDesc": "Telnet 협상을 비활성화하고 TV, 라우터, 스위치, 내장 디버그 포트를 위해 입력을 직접 전달합니다.", diff --git a/src/i18n/locales/zh-CN.json b/src/i18n/locales/zh-CN.json index 33334a56..541513ea 100644 --- a/src/i18n/locales/zh-CN.json +++ b/src/i18n/locales/zh-CN.json @@ -420,6 +420,7 @@ "telnetLocalEchoDesc": "当设备端不回显输入时,在本地显示用户输入。", "telnetLocalLineEdit": "本地行编辑 / 按行发送", "telnetLocalLineEditDesc": "输入先在本地编辑,按 Enter 后发送完整命令,适用于不支持远端 Backspace 的调试口。", + "telnetNoAuthenticationDescription": "连接时不自动发送已保存的 Telnet 密码。", "telnetRawTcpCli": "兼容嵌入式调试口 / Raw TCP CLI", "telnetRawTcpCliDesc": "适用于非标准 Telnet、嵌入式调试口、设备 CLI。开启后将关闭 Telnet 协商并直接透传输入。", "telnetRawTcpCliLongDesc": "关闭 Telnet 协商并直接透传输入,适用于 TV、路由器、交换机、嵌入式调试端口等非标准 Telnet 服务。",