agent pane: localized strings for the failed-turn causes (split from #24312)

Merged
TE
14d ago
+660-0

Leo-ask: ask-427cc7d8f5

Leo: "we need to have prettier errors" and "we also wanna make sure we have good recoverable/informative disk errors tailscale erros for acpmux".

What changes

This adds the localized strings for #24312's failed-turn card to the agent pane's catalog (webviews/src/agent-session/acpmux/Localizable.xcstrings). There are five keys in 21 languages, with non-English entries marked needs_review:

  • turn.failure.diskFull
  • turn.failure.tailscale
  • turn.failure.agentExited
  • turn.failure.spawnFailed
  • turn.failure.generic

No code reads these keys until #24312 lands, so this changes nothing on screen. The strings are split out so #24312 stays under the ~800-line rule. They are #24312's catalog lines unchanged, so once this lands, #24312's base merge drops them from its diff with no conflict.

Checks

On huge-blue at this head:

  • bun run check:catalog-keys (no repeated key): clean.
  • bun run strings: generates.
  • test/pane-english.test.ts: 3 pass.

Changelog

none

No capture: catalog only, nothing on screen changes.

Agent session: cosmic-gray

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Adds the localized strings for the agent pane's failed-turn error card to Localizable.xcstrings, with no visible behavior change. The five turn.failure.* keys ship in 21 languages, with the Japanese disk-full line reworded per review so it reads naturally.

No code reads these keys yet — PR #24312 consumes them. Landing them first keeps that PR under its size limit, and since they're copied unchanged, #24312's merge drops them from its diff with no conflict.