[PR #8399] [MERGED] docs(i18n): Game Mode UI strings for all eleven UI packs (#8398) #8575

Closed
opened 2026-11-07 16:45:42 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8399
Author: @kolacheee
Created: 10/27/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @kolacheee

Base: docs-i18n ← Head: docs/i18n-ui-game-combat


📝 Commits (2)

  • 7cd48fe ui: translate the missing game.combat keys into all 11 UI packs
  • 0f477d9 ui: translate missing ruleset import, ruleset builder and room fight keys into all 11 UI packs

📊 Changes

12 files changed (+7502 additions, -23 deletions)

View changed files

📝 ui/ar.json (+849 -1)
📝 ui/de.json (+671 -0)
📝 ui/es.json (+663 -0)
📝 ui/fr.json (+675 -0)
📝 ui/hi.json (+660 -0)
📝 ui/ja.json (+669 -0)
📝 ui/ko.json (+659 -0)
📝 ui/manifest.json (+22 -22)
📝 ui/pl.json (+664 -0)
📝 ui/pt-BR.json (+663 -0)
📝 ui/ru.json (+659 -0)
📝 ui/zh-Hans.json (+648 -0)

📄 Description

Linked issue

Closes #8398.

Why this change

Players using another UI language saw many Game Mode screens in English: the fight screen, the ruleset import and builder screens, and room fights (found in a Spanish playtest). The keys exist in English but were missing from the UI language packs.

What changed

  • Added the missing keys to all eleven UI packs (ar, de, es, fr, hi, ja, ko, pl, pt-BR, ru, zh-Hans): about 570 game.combat.* keys, about 220 ruleset builder keys, 64 game.ruleset.import.* keys, and the room fight keys (multiplayer.guest.fight*, multiplayer.host.showFight/showRoom/fightOnScreen, game.room.turnsInRoom, game.room.fightResultFailed).
  • Regenerated ui/manifest.json.
  • Only adds keys. No existing translation changes, and nothing outside ui/. Translations follow each language's glossary and the terms the pack already uses.
  • Keys for Engine code that is not on staging yet show as stale keys until that code lands, which Engine ignores (as in #8378). game.combat.ruleset.event.dyingRevived keeps its current translation until its English change reaches staging.

Validation

  • Every pack has every key it was missing from en.json on the Game Mode branch, with {{placeholders}} and markup kept as in English.
  • scripts/ui-i18n/validate-packs.mjs <staging en.json> --write-manifest, then again without it: passed.
  • git diff --check passed. JSON only.

Manual verification

  • Check the fight screen, ruleset import and builder in a non-English UI language after the pack refresh.

Branch and review behavior

This targets the app-consumed docs-i18n branch. It changes no Engine source, app version or runtime behavior.


🔄 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/8399 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@kolacheee](https://github.com/kolacheee) **Base:** `docs-i18n` ← **Head:** `docs/i18n-ui-game-combat` --- ### 📝 Commits (2) - [`7cd48fe`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7cd48fea304e1cad07f4d5259f9eb4be8da895ce) ui: translate the missing game.combat keys into all 11 UI packs - [`0f477d9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0f477d907b5b6d95ab1654e70617eab9f7bf58ec) ui: translate missing ruleset import, ruleset builder and room fight keys into all 11 UI packs ### 📊 Changes **12 files changed** (+7502 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `ui/ar.json` (+849 -1) 📝 `ui/de.json` (+671 -0) 📝 `ui/es.json` (+663 -0) 📝 `ui/fr.json` (+675 -0) 📝 `ui/hi.json` (+660 -0) 📝 `ui/ja.json` (+669 -0) 📝 `ui/ko.json` (+659 -0) 📝 `ui/manifest.json` (+22 -22) 📝 `ui/pl.json` (+664 -0) 📝 `ui/pt-BR.json` (+663 -0) 📝 `ui/ru.json` (+659 -0) 📝 `ui/zh-Hans.json` (+648 -0) </details> ### 📄 Description ## Linked issue Closes #8398. ## Why this change Players using another UI language saw many Game Mode screens in English: the fight screen, the ruleset import and builder screens, and room fights (found in a Spanish playtest). The keys exist in English but were missing from the UI language packs. ## What changed - Added the missing keys to all eleven UI packs (ar, de, es, fr, hi, ja, ko, pl, pt-BR, ru, zh-Hans): about 570 `game.combat.*` keys, about 220 ruleset builder keys, 64 `game.ruleset.import.*` keys, and the room fight keys (`multiplayer.guest.fight*`, `multiplayer.host.showFight`/`showRoom`/`fightOnScreen`, `game.room.turnsInRoom`, `game.room.fightResultFailed`). - Regenerated `ui/manifest.json`. - Only adds keys. No existing translation changes, and nothing outside `ui/`. Translations follow each language's glossary and the terms the pack already uses. - Keys for Engine code that is not on `staging` yet show as stale keys until that code lands, which Engine ignores (as in #8378). `game.combat.ruleset.event.dyingRevived` keeps its current translation until its English change reaches `staging`. ## Validation - Every pack has every key it was missing from `en.json` on the Game Mode branch, with `{{placeholders}}` and markup kept as in English. - `scripts/ui-i18n/validate-packs.mjs <staging en.json> --write-manifest`, then again without it: passed. - `git diff --check` passed. JSON only. ## Manual verification - [ ] Check the fight screen, ruleset import and builder in a non-English UI language after the pack refresh. ## Branch and review behavior This targets the app-consumed `docs-i18n` branch. It changes no Engine source, app version or runtime behavior. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:45:42 +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#8575
No description provided.