fix(i18n): three UI strings no longer name the owner, his domain or a work repo #46

Closed
gabrielvidal wants to merge 0 commits from generic-ui-strings into main
pull from: generic-ui-strings
Owner

Summary

Three UI strings named the hub's owner by first name, his domain and a work repository. Translation plugins are keyed on the English text, so the public translation-fr plugin carried those names and the public export of the plugins repo refused to build — which is why ai-agent.plugins.gabvdl.xyz and the public mirror could not be published. The strings are now generic.

Key changes

  • AddComputerDialog.tsx: "Gabriel can read the conversations…" → "The owner of this hub can read the conversations…".
  • OpenRouterBrowser.tsx: the empty state says "The model catalogue couldn't be reached…" instead of naming APPE's host.
  • PairWizard.tsx: the placeholder example is ~/src/my-project.
  • backend/core/i18n_keys/ui.json: regenerated (UPDATE_I18N_KEYS=1 npx vitest run src/i18n).

Key decisions

  • Fix at the source rather than strip the entries at export: the auto-translate job re-adds any core key missing from translation-fr (it did so on 2026-11-29, undoing the scrub), so only generic English keys hold.
  • The disclosure says "the owner of this hub" rather than reading the owner's name from the hub; a static string stays translatable.

Changelog

  • Changed: the add-a-computer notice, the OpenRouter browser's empty state and the pairing placeholder no longer name a person, a domain or a repository.

Test notes

  • npx vitest run src/i18n src/business/machines src/business/computers src/business/composer: 183 pass; tsc --noEmit clean.
  • Backend test_i18n not run (no backend venv on the EVOX2); the key list it reads is the one the frontend test regenerates and checks.
  • No screenshots: copy-only change.
  • Merge together with ai-agent-plugins generic-ui-strings (the French entries for the new keys); until both are live these three strings show in English. Deploy from the Homelab, not from the EVOX2.

🤖 Generated with Claude Code

## Summary Three UI strings named the hub's owner by first name, his domain and a work repository. Translation plugins are keyed on the English text, so the public `translation-fr` plugin carried those names and the public export of the plugins repo refused to build — which is why `ai-agent.plugins.gabvdl.xyz` and the public mirror could not be published. The strings are now generic. ## Key changes - `AddComputerDialog.tsx`: "Gabriel can read the conversations…" → "The owner of this hub can read the conversations…". - `OpenRouterBrowser.tsx`: the empty state says "The model catalogue couldn't be reached…" instead of naming APPE's host. - `PairWizard.tsx`: the placeholder example is `~/src/my-project`. - `backend/core/i18n_keys/ui.json`: regenerated (`UPDATE_I18N_KEYS=1 npx vitest run src/i18n`). ## Key decisions - Fix at the source rather than strip the entries at export: the auto-translate job re-adds any core key missing from `translation-fr` (it did so on 2026-11-29, undoing the scrub), so only generic English keys hold. - The disclosure says "the owner of this hub" rather than reading the owner's name from the hub; a static string stays translatable. ## Changelog - Changed: the add-a-computer notice, the OpenRouter browser's empty state and the pairing placeholder no longer name a person, a domain or a repository. ## Test notes - `npx vitest run src/i18n src/business/machines src/business/computers src/business/composer`: 183 pass; `tsc --noEmit` clean. - Backend `test_i18n` not run (no backend venv on the EVOX2); the key list it reads is the one the frontend test regenerates and checks. - No screenshots: copy-only change. - Merge together with ai-agent-plugins `generic-ui-strings` (the French entries for the new keys); until both are live these three strings show in English. Deploy from the Homelab, not from the EVOX2. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
gabrielvidal self-assigned this 2026-11-29 11:23:17 +01:00
gabrielvidal added 1 commit 2026-11-29 11:23:17 +01:00
The add-a-computer disclosure said who reads the conversations by first
name, the OpenRouter browser's empty state named the catalogue's host and
the pairing placeholder gave a work repo as its example. Translation
plugins are keyed on the English, so the public translation-fr carried
those names and the public export refused it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Author
Owner
Merged into `main` as 6f2a6e93 by the auto-ship batch https://ai-agent.lab.gabvdl.xyz/conversation/aa58254e-3970-4757-91b3-f7508bc9025b.
gabrielvidal closed this pull request 2026-11-29 12:33:11 +01:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gabrielvidal/ai-agent#46