[PR #8446] [MERGED] docs-i18n: branch tree and branch graph UI strings, Mari composer guide (#8154, #8163, #8425) #8607

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

📋 Pull Request Information

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

Base: docs-i18n ← Head: i18n-branch-ui-8154-8163


📝 Commits (10+)

📊 Changes

32 files changed (+904 additions, -81 deletions)

View changed files

📝 de/home/professor-mari.md (+60 -3)
📝 de/manifest.json (+3 -3)
📝 es/home/professor-mari.md (+60 -3)
📝 es/manifest.json (+3 -3)
📝 fr/home/professor-mari.md (+60 -3)
📝 fr/manifest.json (+3 -3)
📝 hi/home/professor-mari.md (+60 -3)
📝 hi/manifest.json (+3 -3)
📝 ja/home/professor-mari.md (+59 -2)
📝 ja/manifest.json (+3 -3)
📝 ko/home/professor-mari.md (+59 -2)
📝 ko/manifest.json (+3 -3)
📝 pl/home/professor-mari.md (+60 -3)
📝 pl/manifest.json (+3 -3)
📝 pt-br/home/professor-mari.md (+60 -3)
📝 pt-br/manifest.json (+3 -3)
📝 ru/home/professor-mari.md (+60 -3)
📝 ru/manifest.json (+3 -3)
📝 ui/ar.json (+23 -0)
📝 ui/de.json (+23 -0)

...and 12 more files

📄 Description

Linked issue

Closes #8154. Closes #8163. Closes #8425.

This PR targets docs-i18n, not the default branch, so GitHub will not close the issues. Close them by hand when this PR merges.

Why this change

People using another UI language see the chat-list branch tree's expand/collapse button and the whole branch graph window (#8114, #8160) in English: none of the 23 keys reached the UI packs. The translated Professor Mari guide also lacks the paperclip menu, @ links and / commands that #8415 adds.

The docs side of #8154 and #8163 (and all of #8058) is already in every pack via #8378, which synced them to staging f5372eda after #7908, #8160, #8192 and #8209 merged. This PR adds only what is still missing.

What changed

UI packs (done, one commit per language): the 23 keys in all eleven packs (ar, de, es, fr, hi, ja, ko, pl, pt-BR, ru, zh-Hans), plus ui/manifest.json.

  • ui.layout.chatsidebar.expandBranches / collapseBranches and the 21 chat.settings.branchGraph* keys.
  • Only adds keys; no existing translation changes. Each pack's diff is exactly +23 lines.
  • The graph's labels reuse each documentation pack's existing gloss from chats/branches.md (e.g. Branch graph → de "Verzweigungsgraph", ja "分岐グラフ", zh-hans "分支图"), so the guide and the app say the same thing. Speaker labels reuse the pack's peekYou / peekReply / chat.toolbar.switchTo terms.
  • Plurals follow the packs: only _one / _other. _one is grammatical for the language's one-form (ru also fires it for 21, 31, …); _other is count-neutral where the language has more forms (ru "Показать скрытые сообщения: {{count}}", ar "إظهار الرسائل المخفية ({{count}})").
  • branchGraphRun ("··· {{number}} ···") stays byte-identical everywhere.

Review rulings (an independent reviewer per script family, after translation):

  • pl: _one moved the count inline ("Pokaż {{count}} ukrytą wiadomość"), as the pack does for every _one.
  • ar: "طي" without shadda (the pack writes it 40 times, never "طيّ"; different bytes split search); _other made count-neutral, since the singular noun was wrong for 2 and 3–10.
  • ru: _one made grammatical ("Показать {{count}} скрытое сообщение").
  • de, es, fr, hi, ja, ko, pt-BR, zh-Hans: no changes.

Doubts left for native readers: fr legend "Séparation non enregistrée" is terse ("Point de séparation non enregistré" would mirror the Fork label); ko "응답" vs peekReply's "답장" for Reply; ar "مخطط الفروع" is a new term (ar has no docs pack to borrow from).

Professor Mari guide (#8425): home/professor-mari.md in all ten documentation packs (de, es, fr, hi, ja, ko, pl, pt-br, ru, zh-hans), synced to staging 0786460b6499 (#8415). One commit per language for the translation, one for review fixes. Manifests rebuilt.

  • New sections "The paperclip menu", "Linking things with @" (8-row table) and "Commands with /" (9-row table); the attaching-files sentence now names the menu item and /attach; Chat history names /new (or /restart).
  • Each translated "Commands with /" heading carries <a id="commands-with-"></a> so the paperclip section's #commands-with- link resolves in every pack (same pattern as de/chats/chat-settings.md).
  • UI labels stay English bold with each pack's existing gloss.

Review rulings (Mari guide):

  • Gloss placement follows each glossary. Where English adds an earlier mention of a label the file already glossed (New chat, Memories, Attach files or photos, Chats), the gloss moves to the new first mention and the later one runs bare (de, hi, ru, zh-hans and the other once-per-file packs). ko keeps new earlier mentions bare per its glossary precedent; ja glosses once per section.
  • hi, ja, ko, ru, zh-hans: the Add chat history explanation moved out of the parenthesis after the label into its own sentence, because in those packs that slot is the gloss. The Latin packs give the gloss first and the explanation after a semicolon in the same parenthesis.
  • ru: glossed Lorebooks and Presets in the @ list (the pack glosses both elsewhere); "пока это ее поле". zh-hans: "提问、存在的问题" so "questions" and "problems" are no longer both 问题.
  • No bold Persistent and no English type names in the @ table's Link column.

Doubts for native readers: pl "dołączanie" vs "dołączenie" for the attach gloss; the parenthesis in the /new table row ("/restart also works") is terse in several packs; ko 항목 now means both "library item" and lorebook Entries in the @ section; zh-hans /new(或 /restart) uses half-width parentheses in prose (has precedent).

Known older drift, not touched here: es home/professor-mari.md line 43 has an em dash from before this PR.

Validation

  • scripts/ui-i18n/validate-packs.mjs <staging en.json> --write-manifest, then again without it (each pack: +23 keys, no new stale keys).
  • build-manifest.mjs + validate-pack.mjs on every touched documentation pack.
  • Open the Professor Mari guide in a non-English docs language and click the "Commands with /" link in the paperclip section.
  • Manually verify, in a non-English UI language after the pack refresh: the branch-count button's tooltip in the chat list, and the Branch graph button, window, legend, fold markers and hover text in Chat Settings → Chat Branches.

Branch and review behavior

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

🤖 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/8446 **Author:** [@ylli-selmani](https://github.com/ylli-selmani) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@ylli-selmani](https://github.com/ylli-selmani) **Base:** `docs-i18n` ← **Head:** `i18n-branch-ui-8154-8163` --- ### 📝 Commits (10+) - [`b891944`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b89194469b868cf8edc2f86660a0bdbad696c54d) ui(de): translate branch tree and branch graph keys (#8154, #8163) - [`b6844bc`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b6844bc389333c7bac12ced1195d41fb7a62b656) ui(es): translate branch tree and branch graph keys (#8154, #8163) - [`ed207fe`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ed207fe3d885eee56cbe9c9d4d7d9ddf99646ce8) ui(fr): translate branch tree and branch graph keys (#8154, #8163) - [`b7875dd`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b7875dd8a4b1b206a569f1e71ee560b774694228) ui(pl): translate branch tree and branch graph keys (#8154, #8163) - [`628bd66`](https://github.com/Pasta-Devs/Marinara-Engine/commit/628bd665afc3725b602eb79f1dc01fd7f77bcd5a) ui(pt-BR): translate branch tree and branch graph keys (#8154, #8163) - [`6c28909`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6c28909f1c84ccb3ff1422bd49dd149ff2371da8) ui(ar): translate branch tree and branch graph keys (#8154, #8163) - [`0403567`](https://github.com/Pasta-Devs/Marinara-Engine/commit/04035673dc6853c89cc8d42a7079e46bfde279d7) ui(hi): translate branch tree and branch graph keys (#8154, #8163) - [`fe72352`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fe7235252e6eb0106abedb55603a0a8024e2087a) ui(ja): translate branch tree and branch graph keys (#8154, #8163) - [`17ef1f8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/17ef1f858980554fddd7c86027a09c4dc9e14427) ui(ko): translate branch tree and branch graph keys (#8154, #8163) - [`fe15e24`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fe15e2476f52a33cc312209be0bb6667415d81dc) ui(ru): translate branch tree and branch graph keys (#8154, #8163) ### 📊 Changes **32 files changed** (+904 additions, -81 deletions) <details> <summary>View changed files</summary> 📝 `de/home/professor-mari.md` (+60 -3) 📝 `de/manifest.json` (+3 -3) 📝 `es/home/professor-mari.md` (+60 -3) 📝 `es/manifest.json` (+3 -3) 📝 `fr/home/professor-mari.md` (+60 -3) 📝 `fr/manifest.json` (+3 -3) 📝 `hi/home/professor-mari.md` (+60 -3) 📝 `hi/manifest.json` (+3 -3) 📝 `ja/home/professor-mari.md` (+59 -2) 📝 `ja/manifest.json` (+3 -3) 📝 `ko/home/professor-mari.md` (+59 -2) 📝 `ko/manifest.json` (+3 -3) 📝 `pl/home/professor-mari.md` (+60 -3) 📝 `pl/manifest.json` (+3 -3) 📝 `pt-br/home/professor-mari.md` (+60 -3) 📝 `pt-br/manifest.json` (+3 -3) 📝 `ru/home/professor-mari.md` (+60 -3) 📝 `ru/manifest.json` (+3 -3) 📝 `ui/ar.json` (+23 -0) 📝 `ui/de.json` (+23 -0) _...and 12 more files_ </details> ### 📄 Description ## Linked issue Closes #8154. Closes #8163. Closes #8425. This PR targets `docs-i18n`, not the default branch, so GitHub will not close the issues. Close them by hand when this PR merges. ## Why this change People using another UI language see the chat-list branch tree's expand/collapse button and the whole branch graph window (#8114, #8160) in English: none of the 23 keys reached the UI packs. The translated Professor Mari guide also lacks the paperclip menu, `@` links and `/` commands that #8415 adds. The docs side of #8154 and #8163 (and all of #8058) is already in every pack via #8378, which synced them to staging `f5372eda` after #7908, #8160, #8192 and #8209 merged. This PR adds only what is still missing. ## What changed **UI packs (done, one commit per language):** the 23 keys in all eleven packs (ar, de, es, fr, hi, ja, ko, pl, pt-BR, ru, zh-Hans), plus `ui/manifest.json`. - `ui.layout.chatsidebar.expandBranches` / `collapseBranches` and the 21 `chat.settings.branchGraph*` keys. - Only adds keys; no existing translation changes. Each pack's diff is exactly +23 lines. - The graph's labels reuse each documentation pack's existing gloss from `chats/branches.md` (e.g. **Branch graph** → de "Verzweigungsgraph", ja "分岐グラフ", zh-hans "分支图"), so the guide and the app say the same thing. Speaker labels reuse the pack's `peekYou` / `peekReply` / `chat.toolbar.switchTo` terms. - Plurals follow the packs: only `_one` / `_other`. `_one` is grammatical for the language's one-form (ru also fires it for 21, 31, …); `_other` is count-neutral where the language has more forms (ru "Показать скрытые сообщения: {{count}}", ar "إظهار الرسائل المخفية ({{count}})"). - `branchGraphRun` ("··· {{number}} ···") stays byte-identical everywhere. **Review rulings** (an independent reviewer per script family, after translation): - pl: `_one` moved the count inline ("Pokaż {{count}} ukrytą wiadomość"), as the pack does for every `_one`. - ar: "طي" without shadda (the pack writes it 40 times, never "طيّ"; different bytes split search); `_other` made count-neutral, since the singular noun was wrong for 2 and 3–10. - ru: `_one` made grammatical ("Показать {{count}} скрытое сообщение"). - de, es, fr, hi, ja, ko, pt-BR, zh-Hans: no changes. Doubts left for native readers: fr legend "Séparation non enregistrée" is terse ("Point de séparation non enregistré" would mirror the Fork label); ko "응답" vs `peekReply`'s "답장" for **Reply**; ar "مخطط الفروع" is a new term (ar has no docs pack to borrow from). **Professor Mari guide (#8425):** `home/professor-mari.md` in all ten documentation packs (de, es, fr, hi, ja, ko, pl, pt-br, ru, zh-hans), synced to staging `0786460b6499` (#8415). One commit per language for the translation, one for review fixes. Manifests rebuilt. - New sections "The paperclip menu", "Linking things with @" (8-row table) and "Commands with /" (9-row table); the attaching-files sentence now names the menu item and `/attach`; Chat history names `/new` (or `/restart`). - Each translated "Commands with /" heading carries `<a id="commands-with-"></a>` so the paperclip section's `#commands-with-` link resolves in every pack (same pattern as `de/chats/chat-settings.md`). - UI labels stay English bold with each pack's existing gloss. **Review rulings (Mari guide):** - Gloss placement follows each glossary. Where English adds an earlier mention of a label the file already glossed (**New chat**, **Memories**, **Attach files or photos**, **Chats**), the gloss moves to the new first mention and the later one runs bare (de, hi, ru, zh-hans and the other once-per-file packs). ko keeps new earlier mentions bare per its glossary precedent; ja glosses once per section. - hi, ja, ko, ru, zh-hans: the **Add chat history** explanation moved out of the parenthesis after the label into its own sentence, because in those packs that slot is the gloss. The Latin packs give the gloss first and the explanation after a semicolon in the same parenthesis. - ru: glossed **Lorebooks** and **Presets** in the @ list (the pack glosses both elsewhere); "пока это ее поле". zh-hans: "提问、存在的问题" so "questions" and "problems" are no longer both 问题. - No bold **Persistent** and no English type names in the @ table's Link column. Doubts for native readers: pl "dołączanie" vs "dołączenie" for the attach gloss; the parenthesis in the `/new` table row ("`/restart` also works") is terse in several packs; ko 항목 now means both "library item" and lorebook **Entries** in the @ section; zh-hans `/new`(或 `/restart`) uses half-width parentheses in prose (has precedent). Known older drift, not touched here: es `home/professor-mari.md` line 43 has an em dash from before this PR. ## Validation - [ ] `scripts/ui-i18n/validate-packs.mjs <staging en.json> --write-manifest`, then again without it (each pack: +23 keys, no new stale keys). - [ ] `build-manifest.mjs` + `validate-pack.mjs` on every touched documentation pack. - [ ] Open the Professor Mari guide in a non-English docs language and click the "Commands with /" link in the paperclip section. - [ ] Manually verify, in a non-English UI language after the pack refresh: the branch-count button's tooltip in the chat list, and the **Branch graph** button, window, legend, fold markers and hover text in Chat Settings → Chat Branches. ## Branch and review behavior This targets the app-consumed `docs-i18n` branch. It changes no Engine source, app version or runtime behavior. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <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:56 +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#8607
No description provided.