From 6e94fc8c26b357c97736eeeb3f44dfcf8d8da54f Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Sat, 3 Oct 2026 03:57:43 +0200 Subject: [PATCH] fix(search): the All tab's placeholder names what All searches Files left Search Everywhere's All tab and Actions became Commands, but its placeholder still offered "files, actions, terminals and hosts" and did not mention sessions. Name the four scopes it actually covers, in English, Chinese and Japanese. --- src/ui/i18n/en.rs | 2 +- src/ui/i18n/ja.rs | 2 +- src/ui/i18n/zh.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/i18n/en.rs b/src/ui/i18n/en.rs index b32066f4..de33e72e 100644 --- a/src/ui/i18n/en.rs +++ b/src/ui/i18n/en.rs @@ -161,7 +161,7 @@ pub fn translate_en(key: L10nKey) -> &'static str { L10nKey::SearchTabTerminals => "Terminals", L10nKey::SearchTabHosts => "Hosts", L10nKey::SearchTabSymbols => "Symbols", - L10nKey::SearchPlaceholderAll => "Search files, actions, terminals and hosts…", + L10nKey::SearchPlaceholderAll => "Search terminals, sessions, hosts and commands…", L10nKey::SearchPlaceholderActions => "Search commands…", L10nKey::SearchPlaceholderTerminals => "Search open tabs, shells and agents…", L10nKey::SearchPlaceholderHosts => "Search hosts, or type user@host to connect…", diff --git a/src/ui/i18n/ja.rs b/src/ui/i18n/ja.rs index bafbae68..6d9dd9ec 100644 --- a/src/ui/i18n/ja.rs +++ b/src/ui/i18n/ja.rs @@ -172,7 +172,7 @@ pub fn translate_ja(key: L10nKey) -> Option<&'static str> { L10nKey::SearchTabTerminals => "ターミナル", L10nKey::SearchTabHosts => "ホスト", L10nKey::SearchTabSymbols => "シンボル", - L10nKey::SearchPlaceholderAll => "ファイル、アクション、ターミナル、ホストを検索…", + L10nKey::SearchPlaceholderAll => "ターミナル、セッション、ホスト、コマンドを検索…", L10nKey::SearchPlaceholderActions => "コマンドを検索…", L10nKey::SearchPlaceholderTerminals => "開いているタブ、シェル、エージェントを検索…", L10nKey::SearchPlaceholderHosts => "ホストを検索、または user@host を入力して接続…", diff --git a/src/ui/i18n/zh.rs b/src/ui/i18n/zh.rs index 9e1343e8..205bd873 100644 --- a/src/ui/i18n/zh.rs +++ b/src/ui/i18n/zh.rs @@ -142,7 +142,7 @@ pub fn translate_zh(key: L10nKey) -> Option<&'static str> { L10nKey::SearchTabTerminals => "终端", L10nKey::SearchTabHosts => "主机", L10nKey::SearchTabSymbols => "符号", - L10nKey::SearchPlaceholderAll => "搜索文件、操作、终端和主机…", + L10nKey::SearchPlaceholderAll => "搜索终端、会话、主机和命令…", L10nKey::SearchPlaceholderActions => "搜索命令…", L10nKey::SearchPlaceholderTerminals => "搜索已打开的标签页、Shell 和 Agent…", L10nKey::SearchPlaceholderHosts => "搜索主机,或输入 user@host 连接…",