[PR #7745] [MERGED] ui-i18n: settings search registry keys #7909

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7745
Author: @ylli-selmani
Created: 10/16/2026
Status: ✅ Merged
Merged: 10/16/2026
Merged by: @ylli-selmani

Base: docs-i18n ← Head: ui-i18n-settings-search-2026-10-16


📝 Commits (2)

  • f1e543b ui-i18n: translate settings search registry keys (#7684)
  • 3ee1482 ui-i18n: finish {{mod}}+K sentences in ko, pl, zh-Hans and regenerate manifest

📊 Changes

12 files changed (+1590 additions, -28 deletions)

View changed files

📝 ui/ar.json (+142 -0)
📝 ui/de.json (+143 -1)
📝 ui/es.json (+142 -0)
📝 ui/fr.json (+142 -0)
📝 ui/hi.json (+142 -0)
📝 ui/ja.json (+142 -0)
📝 ui/ko.json (+144 -2)
📝 ui/manifest.json (+22 -22)
📝 ui/pl.json (+143 -1)
📝 ui/pt-BR.json (+142 -0)
📝 ui/ru.json (+142 -0)
📝 ui/zh-Hans.json (+144 -2)

📄 Description

Linked issue

Closes #7684 (closed by hand after merge, since the base is not the default branch).

Why this change

#7683 added the settings search registry labels and descriptions to en.json. Until the UI packs carry them, those strings fall back to English.

What changed

Two slices:

  1. Translations: the 142 settings.search.<controlId>.label / .description keys (111 descriptions and 31 labels; the issue says 143, the file has 142) added to all eleven packs: ar, de, es, fr, hi, ja, ko, pl, pt-BR, ru, zh-Hans. Keys stay in each pack's existing order and nothing else in the packs is reordered.
  2. Validator drift fixes: the validator refuses packs whose strings lost an interpolation token, and English gained {{mod}}+K hints after some packs were written. I added the missing sentence to de and pl (onboarding.finish.body), ko and zh-Hans (onboarding.finish.body, home.professorMari.widgetDescription). Without this the validator could not regenerate ui/manifest.json. ui/manifest.json is regenerated.

Validation

  • node scripts/ui-i18n/validate-packs.mjs <staging en.json> --write-manifest, then the same without the flag: no errors for any pack
  • Native-speaker review
  • Checked label fit in the app on desktop and mobile (not done; most strings are descriptions)

Translation source

Machine-assisted first drafts written with Claude, keeping product names, mode names and Professor Mari consistent with each pack's existing wording (ko and zh-Hans use their translated mode names). No fluent-speaker review yet.

🤖 Generated with [Claude Code]


🔄 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/7745 **Author:** [@ylli-selmani](https://github.com/ylli-selmani) **Created:** 10/16/2026 **Status:** ✅ Merged **Merged:** 10/16/2026 **Merged by:** [@ylli-selmani](https://github.com/ylli-selmani) **Base:** `docs-i18n` ← **Head:** `ui-i18n-settings-search-2026-10-16` --- ### 📝 Commits (2) - [`f1e543b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f1e543bf667e4489fa21108b4c4cb3d484e93035) ui-i18n: translate settings search registry keys (#7684) - [`3ee1482`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3ee14828a69fa81db89e5dabf3ce53a0f3f00e47) ui-i18n: finish {{mod}}+K sentences in ko, pl, zh-Hans and regenerate manifest ### 📊 Changes **12 files changed** (+1590 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `ui/ar.json` (+142 -0) 📝 `ui/de.json` (+143 -1) 📝 `ui/es.json` (+142 -0) 📝 `ui/fr.json` (+142 -0) 📝 `ui/hi.json` (+142 -0) 📝 `ui/ja.json` (+142 -0) 📝 `ui/ko.json` (+144 -2) 📝 `ui/manifest.json` (+22 -22) 📝 `ui/pl.json` (+143 -1) 📝 `ui/pt-BR.json` (+142 -0) 📝 `ui/ru.json` (+142 -0) 📝 `ui/zh-Hans.json` (+144 -2) </details> ### 📄 Description ## Linked issue Closes #7684 (closed by hand after merge, since the base is not the default branch). ## Why this change #7683 added the settings search registry labels and descriptions to `en.json`. Until the UI packs carry them, those strings fall back to English. ## What changed Two slices: 1. **Translations**: the 142 `settings.search.<controlId>.label` / `.description` keys (111 descriptions and 31 labels; the issue says 143, the file has 142) added to all eleven packs: `ar`, `de`, `es`, `fr`, `hi`, `ja`, `ko`, `pl`, `pt-BR`, `ru`, `zh-Hans`. Keys stay in each pack's existing order and nothing else in the packs is reordered. 2. **Validator drift fixes**: the validator refuses packs whose strings lost an interpolation token, and English gained `{{mod}}+K` hints after some packs were written. I added the missing sentence to `de` and `pl` (`onboarding.finish.body`), `ko` and `zh-Hans` (`onboarding.finish.body`, `home.professorMari.widgetDescription`). Without this the validator could not regenerate `ui/manifest.json`. `ui/manifest.json` is regenerated. ## Validation - [x] `node scripts/ui-i18n/validate-packs.mjs <staging en.json> --write-manifest`, then the same without the flag: no errors for any pack - [ ] Native-speaker review - [ ] Checked label fit in the app on desktop and mobile (not done; most strings are descriptions) ### Translation source Machine-assisted first drafts written with Claude, keeping product names, mode names and Professor Mari consistent with each pack's existing wording (`ko` and `zh-Hans` use their translated mode names). No fluent-speaker review yet. 🤖 Generated with [Claude Code] --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:08:45 +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#7909
No description provided.