From 34bfb9cab5f8773d4a4b1c2318a59b8dac8e1488 Mon Sep 17 00:00:00 2001 From: yetone Date: Tue, 6 Oct 2026 03:48:04 +0800 Subject: [PATCH] gui: the Japanese "RTK can't be given to {agent}" has the English string's placeholders again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 4c170cba's ja text had a third {agent} where the English has two, which gui-ja's placeholder check fails on. The installer sentence now says "そのための" instead. The check gui-ja/gui-de run (same marks as the English key for every zh key) finds 1 mismatch on origin/main and 0 with the change. --- internal/gui/assets/i18n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/gui/assets/i18n.js b/internal/gui/assets/i18n.js index 015511593..09b026b66 100644 --- a/internal/gui/assets/i18n.js +++ b/internal/gui/assets/i18n.js @@ -6349,7 +6349,7 @@ const I18N = { "RTK's plugin is written for OpenCode 1, and OpenCode 2 refuses to load it. Switch this off until RTK supports OpenCode 2.": "RTK のプラグインは OpenCode 1 向けに書かれており、OpenCode 2 は読み込みを拒否します。RTK が OpenCode 2 に対応するまでオフにしてください。", "RTK's plugin is written for OpenCode 1, and OpenCode 2 refuses to load it. It can be switched on once RTK supports OpenCode 2.": "RTK のプラグインは OpenCode 1 向けに書かれており、OpenCode 2 は読み込みを拒否します。RTK が OpenCode 2 に対応したらオンにできます。", "No RTK hook": "RTK 未対応", - "RTK can't be given to {agent} yet: RTK works by rewriting the shell command an agent is about to run, and {agent}'s hooks can only allow or deny a command, not change it. RTK's installer has no option for it either (github.com/rtk-ai/rtk/issues/3847).": "{agent} にはまだ RTK を使えません。RTK はエージェントが実行しようとするシェルコマンドを書き換えて動きますが、{agent} のフックはコマンドを許可・拒否できるだけで書き換えられません。RTK のインストーラーにも {agent} 用のオプションはありません(github.com/rtk-ai/rtk/issues/3847)。", + "RTK can't be given to {agent} yet: RTK works by rewriting the shell command an agent is about to run, and {agent}'s hooks can only allow or deny a command, not change it. RTK's installer has no option for it either (github.com/rtk-ai/rtk/issues/3847).": "{agent} にはまだ RTK を使えません。RTK はエージェントが実行しようとするシェルコマンドを書き換えて動きますが、{agent} のフックはコマンドを許可・拒否できるだけで書き換えられません。RTK のインストーラーにもそのためのオプションはありません(github.com/rtk-ai/rtk/issues/3847)。", "Get RTK": "RTK を入手", "Check again": "再確認", "restart an agent after switching it": "切り替え後はエージェントを再起動してください",