[PR #4045] [MERGED] Localize client UI, refine editor bylines, and prepare v2.3.5 #6219

Closed
opened 2026-10-23 04:08:17 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4045
Author: @SpicyMarinara
Created: 7/24/2026
Status: ✅ Merged
Merged: 7/24/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/2.3.5-editor-byline


📝 Commits (2)

  • 6e85843 Localize client UI and prepare v2.3.5
  • 436e3a6 Update preset editor smoke coverage

📊 Changes

260 files changed (+16498 additions, -11662 deletions)

View changed files

📝 CHANGELOG.md (+8 -0)
📝 README.md (+1 -1)
📝 android/app/build.gradle (+3 -3)
📝 docs/development/localization.md (+12 -0)
📝 e2e/core-flows.e2e.ts (+67 -28)
📝 package.json (+3 -2)
📝 packages/client/package.json (+1 -1)
📝 packages/client/public/manifest.json (+1 -1)
📝 packages/client/src/App.tsx (+36 -28)
📝 packages/client/src/components/agents/AgentCatalogView.tsx (+61 -80)
📝 packages/client/src/components/agents/AgentEditor.tsx (+247 -385)
📝 packages/client/src/components/agents/AgentUpdatePrompter.tsx (+10 -8)
📝 packages/client/src/components/agents/ContextInjectionPanel.tsx (+16 -26)
📝 packages/client/src/components/agents/ContinuityIssueChecklist.tsx (+5 -8)
📝 packages/client/src/components/agents/CustomAgentRepositoriesModal.tsx (+44 -58)
📝 packages/client/src/components/agents/FeatureAgentDetailHost.tsx (+14 -16)
📝 packages/client/src/components/agents/RegexScriptEditor.tsx (+66 -98)
📝 packages/client/src/components/agents/SecretPlotPanel.tsx (+18 -28)
📝 packages/client/src/components/agents/ToolEditor.tsx (+64 -93)
📝 packages/client/src/components/bot-browser/BotBrowserView.tsx (+118 -193)

...and 80 more files

📄 Description

Why

Several visible interface strings—including Noodle controls, editor sections, chat actions, examples, notices, and accessibility labels—were still hard-coded. The legacy exact-English localization bridge also chose the first matching English key, so duplicate labels such as Appearance could resolve through a key that the selected locale did not translate. Character and Persona creator/version metadata additionally competed with secondary header content instead of remaining beside the card name, and the release metadata needed to be synchronized for v2.3.5.

What changed

  • Routes remaining client interface copy through semantic localization, including Noodle timelines, profiles, media, notifications, polls, disclosures, scheduler text, counts, controls, toasts, confirmations, and accessibility text.
  • Makes duplicate-English lookup prefer a key translated in the active locale, fixing the Polish Appearance tab while preserving the English fallback for partial community catalogs.
  • Adds an untranslated-UI audit to localization:check; the audit covers visible JSX, interpolated labels/notices, accessible names, placeholders, loading and empty states, toasts, and confirmations while excluding prompts, authored content, code, configuration, macros, and protocol values.
  • Loads locale catalogs as lazy JSON assets so the expanded English catalog does not inflate the main JavaScript entry.
  • Moves Character and Persona creator/version bylines beside the editable name with responsive truncation for long names.
  • Synchronizes release metadata, changelog placement, README release references, Windows installers, the PWA manifest, and Android metadata for v2.3.5 (versionCode 40).
  • Stabilizes the relevant browser coverage for device-local tracker settings and Active Context cleanup.

User impact

Interface text can now be translated consistently across editors, chats, settings, game surfaces, and Noodle. Incomplete community locales continue to fall back to English. Card authorship/version details remain visible without displacing editor actions, and all release-bearing files agree on v2.3.5.

Automated validation performed locally

  • pnpm check
  • pnpm localization:check — 7,019/7,019 English keys; 299 client files audited; zero candidates
  • pnpm regression:noodle — all 12 regressions passed
  • pnpm smoke:ui — 108 passed, 56 intentionally skipped
  • Focused desktop/mobile editor-byline and language-persistence browser checks — 4 passed
  • pnpm version:check
  • pnpm credits:check
  • git diff --check

Manual verification requested

  • Manually verify Polish Settings renders Wygląd for Appearance after reload.
  • Manually review representative editor, chat toolbar, Chat Settings, game, and Noodle surfaces in a non-English locale.
  • Manually verify long Character and Persona names keep creator/version bylines aligned without displacing header actions.
  • Manually verify v2.3.5 release metadata and the Android upgrade path.

Tracking

No linked issue was provided for this accumulated maintainer-requested work. A tracking issue or feature request should be attached before the PR is marked ready for review, per the contributor workflow.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/4045 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/24/2026 **Status:** ✅ Merged **Merged:** 7/24/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/2.3.5-editor-byline` --- ### 📝 Commits (2) - [`6e85843`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6e85843ad36d8f2d02ebfc9921d0af082b0bf9fe) Localize client UI and prepare v2.3.5 - [`436e3a6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/436e3a63b8fe6021606613cae111fd92e09c8765) Update preset editor smoke coverage ### 📊 Changes **260 files changed** (+16498 additions, -11662 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+8 -0) 📝 `README.md` (+1 -1) 📝 `android/app/build.gradle` (+3 -3) 📝 `docs/development/localization.md` (+12 -0) 📝 `e2e/core-flows.e2e.ts` (+67 -28) 📝 `package.json` (+3 -2) 📝 `packages/client/package.json` (+1 -1) 📝 `packages/client/public/manifest.json` (+1 -1) 📝 `packages/client/src/App.tsx` (+36 -28) 📝 `packages/client/src/components/agents/AgentCatalogView.tsx` (+61 -80) 📝 `packages/client/src/components/agents/AgentEditor.tsx` (+247 -385) 📝 `packages/client/src/components/agents/AgentUpdatePrompter.tsx` (+10 -8) 📝 `packages/client/src/components/agents/ContextInjectionPanel.tsx` (+16 -26) 📝 `packages/client/src/components/agents/ContinuityIssueChecklist.tsx` (+5 -8) 📝 `packages/client/src/components/agents/CustomAgentRepositoriesModal.tsx` (+44 -58) 📝 `packages/client/src/components/agents/FeatureAgentDetailHost.tsx` (+14 -16) 📝 `packages/client/src/components/agents/RegexScriptEditor.tsx` (+66 -98) 📝 `packages/client/src/components/agents/SecretPlotPanel.tsx` (+18 -28) 📝 `packages/client/src/components/agents/ToolEditor.tsx` (+64 -93) 📝 `packages/client/src/components/bot-browser/BotBrowserView.tsx` (+118 -193) _...and 80 more files_ </details> ### 📄 Description ## Why Several visible interface strings—including Noodle controls, editor sections, chat actions, examples, notices, and accessibility labels—were still hard-coded. The legacy exact-English localization bridge also chose the first matching English key, so duplicate labels such as **Appearance** could resolve through a key that the selected locale did not translate. Character and Persona creator/version metadata additionally competed with secondary header content instead of remaining beside the card name, and the release metadata needed to be synchronized for v2.3.5. ## What changed - Routes remaining client interface copy through semantic localization, including Noodle timelines, profiles, media, notifications, polls, disclosures, scheduler text, counts, controls, toasts, confirmations, and accessibility text. - Makes duplicate-English lookup prefer a key translated in the active locale, fixing the Polish **Appearance** tab while preserving the English fallback for partial community catalogs. - Adds an untranslated-UI audit to `localization:check`; the audit covers visible JSX, interpolated labels/notices, accessible names, placeholders, loading and empty states, toasts, and confirmations while excluding prompts, authored content, code, configuration, macros, and protocol values. - Loads locale catalogs as lazy JSON assets so the expanded English catalog does not inflate the main JavaScript entry. - Moves Character and Persona creator/version bylines beside the editable name with responsive truncation for long names. - Synchronizes release metadata, changelog placement, README release references, Windows installers, the PWA manifest, and Android metadata for v2.3.5 (`versionCode` 40). - Stabilizes the relevant browser coverage for device-local tracker settings and Active Context cleanup. ## User impact Interface text can now be translated consistently across editors, chats, settings, game surfaces, and Noodle. Incomplete community locales continue to fall back to English. Card authorship/version details remain visible without displacing editor actions, and all release-bearing files agree on v2.3.5. ## Automated validation performed locally - `pnpm check` - `pnpm localization:check` — 7,019/7,019 English keys; 299 client files audited; zero candidates - `pnpm regression:noodle` — all 12 regressions passed - `pnpm smoke:ui` — 108 passed, 56 intentionally skipped - Focused desktop/mobile editor-byline and language-persistence browser checks — 4 passed - `pnpm version:check` - `pnpm credits:check` - `git diff --check` ## Manual verification requested - [ ] Manually verify Polish Settings renders **Wygląd** for Appearance after reload. - [ ] Manually review representative editor, chat toolbar, Chat Settings, game, and Noodle surfaces in a non-English locale. - [ ] Manually verify long Character and Persona names keep creator/version bylines aligned without displacing header actions. - [ ] Manually verify v2.3.5 release metadata and the Android upgrade path. ## Tracking No linked issue was provided for this accumulated maintainer-requested work. A tracking issue or feature request should be attached before the PR is marked ready for review, per the contributor workflow. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:08:17 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#6219
No description provided.