From 28aac86bc1d3e9a76b5e6e1c6d0138515b7cd6dd Mon Sep 17 00:00:00 2001 From: yetone Date: Tue, 13 Oct 2026 01:27:30 +0800 Subject: [PATCH] gui: the ja Hooks notice names its agent once, so the ja translation test passes again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit e3a497d7a (#1790) added "{event} is {agent}'s own event: only it can run this hook" with a ja value that said {agent} twice ("…実行できるのは {agent} だけです"). gui-ja.test.cjs checks each value has the zh one's placeholders, so it has failed on main since: run alone on origin/main 98b5a02d1 it is red on that string and nothing else. The second {agent} is now "そのエージェント" (that agent), as the English "only it" says it. Run: gui-ja.test.cjs (red before, green after), and the zh-TW, de and i18n-keys tests. --- 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 f278a215a..19f4ebc6c 100644 --- a/internal/gui/assets/i18n.js +++ b/internal/gui/assets/i18n.js @@ -12842,7 +12842,7 @@ const I18N = { "{agent} has hooks turned off in its settings: it runs none of them until they're turned on there.": "{agent} は設定でフックをオフにしています。そこでオンにするまで、どのフックも実行しません。", "{agent} has no hooks magpie can write": "magpie は {agent} にフックを書き込めません", "{agent}'s own event": "{agent} 独自のイベント", - "{event} is {agent}'s own event: only it can run this hook": "{event} は {agent} 独自のイベントです。このフックを実行できるのは {agent} だけです", + "{event} is {agent}'s own event: only it can run this hook": "{event} は {agent} 独自のイベントです。このフックを実行できるのはそのエージェントだけです", "{n} hooks are off for {agents}": "{agents} で {n} 個のフックをオフにしました", "{n} hooks are on for {agents}": "{agents} で {n} 個のフックをオンにしました", "{n} hooks removed": "{n} 個のフックを削除しました",