gui: the ja Hooks notice names its agent once, so the ja translation test passes again

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.
This commit is contained in:
yetone
2026-10-13 01:41:50 +08:00
parent 60808fd9cf
commit 28aac86bc1
+1 -1
View File
@@ -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} 個のフックを削除しました",