[PR #4839] [MERGED] feat(launcher): localize Instances modal, Export, Launch, Shortcut, and Home tabs #5886

Closed
opened 2026-11-03 05:15:41 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4839
Author: @josegil1909
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @ludovic111

Base: main ← Head: fix/4829-instances-and-tabs-i18n


📝 Commits (10+)

  • 0c3bb45 feat(launcher): localize Instances modal, Export, Launch, Shortcut, and Home tabs
  • 589d016 fix(launcher): localize launch summary and ping notice, fix polish text
  • 4e97410 fix(launcher): deduplicate ping keys in catalogs and add Save translation
  • 233f423 Merge remote-tracking branch 'origin/main' into sweepB/4839
  • d9bbb2f Launcher: pt-BR strings for the keys #4839 and main added
  • 356ccbd Launcher: drop the strings main's native mods pages no longer use
  • 6d7a62f Merge remote-tracking branch 'hr/main' into fix/4829-instances-and-tabs-i18n
  • 653ea77 Merge main into #4839
  • a197021 Launcher: the new strings in pt-BR, Japanese and Turkish
  • 58ab343 Merge the branch's new head into #4839

📊 Changes

27 files changed (+4608 additions, -3367 deletions)

View changed files

📝 launcher/lang/de.json (+578 -462)
📝 launcher/lang/es.json (+579 -463)
📝 launcher/lang/fr.json (+578 -462)
📝 launcher/lang/ja.json (+117 -1)
📝 launcher/lang/pl.json (+581 -465)
📝 launcher/lang/pt-br.json (+117 -1)
📝 launcher/lang/ru.json (+578 -462)
📝 launcher/lang/tr.json (+117 -1)
📝 launcher/lang/uk.json (+578 -462)
📝 launcher/lang/zh.json (+578 -462)
📝 launcher/src/console_page.rs (+24 -9)
📝 launcher/src/datapacks_page.rs (+13 -14)
📝 launcher/src/dev_options.rs (+3 -3)
📝 launcher/src/export_page.rs (+26 -12)
📝 launcher/src/home.rs (+13 -7)
📝 launcher/src/import_page.rs (+14 -9)
📝 launcher/src/instance_mods.rs (+1 -1)
📝 launcher/src/instances_page.rs (+9 -6)
📝 launcher/src/launch.rs (+20 -8)
📝 launcher/src/launch_page.rs (+11 -11)

...and 7 more files

📄 Description

🤖 Opened by josegil1909's AI agent (Google Antigravity), not by josegil1909 personally.

Closes #4829

Summary

Routes the remaining untranslated strings in the Instances dialogs (New instance / Edit instance, Export…, Launch…, Shortcut), Home hero & sub-tabs (Worlds, Multiplayer, Packs, Data packs, Screenshots, Console, Import), and Developer options through tr() / trf(), and adds translations across all 7 supported launcher languages (de, es, fr, pl, ru, uk, zh):

  • launcher/src/instances_page.rs, launcher/src/new_instance.rs: Instance creation/editing dialog (Edit instance, New instance, Name, My instance, Start from, Empty, A copy of the selected one, {from}'s worlds, options and packs are copied; {from} stays as it is., Group, No group, Icon, NONE, Create, Copying…, Search versions).
  • launcher/src/export_page.rs: Export to share, .mrpack / .zip descriptions, Worlds, No worlds to put in., export summary notice, Export, Exporting…, Show in folder.
  • launcher/src/launch_page.rs: When it starts, Before the game, Run the game through, Environment variables, After the game, On this computer, GameMode, MangoHud, Dedicated graphics card, and their descriptions/placeholders.
  • launcher/src/shortcut_page.rs, launcher/src/home.rs: Desktop shortcut status notes ({file} is on your desktop: it plays {name}., {name}'s shortcut is in the trash.), {count} playing now, {version} available, What's new, Got it.
  • launcher/src/{worlds,multiplayer,packs,datapacks,screenshots,console,import}_page.rs, instance_mods.rs, skin_page.rs, dev_options.rs: Remaining labels, placeholders, confirmations, and status notes.
  • launcher/lang/{de,es,fr,pl,ru,uk,zh}.json: Added 112 localization keys across all 7 languages.

Checks

  • cargo fmt --manifest-path launcher/Cargo.toml --check
  • cargo test --manifest-path launcher/Cargo.toml --lib i18n::tests
  • python3 tools/check_public_tree.py

🔄 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/horizon-rust/horizon/pull/4839 **Author:** [@josegil1909](https://github.com/josegil1909) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/4829-instances-and-tabs-i18n` --- ### 📝 Commits (10+) - [`0c3bb45`](https://github.com/horizon-rust/horizon/commit/0c3bb45dc90f52f9f677e2688195fe2ac2f8bfd4) feat(launcher): localize Instances modal, Export, Launch, Shortcut, and Home tabs - [`589d016`](https://github.com/horizon-rust/horizon/commit/589d016ad2b131b0f6bf5f641e0ee4f38bfb1541) fix(launcher): localize launch summary and ping notice, fix polish text - [`4e97410`](https://github.com/horizon-rust/horizon/commit/4e9741087463785529a92641113ba1484bf8452f) fix(launcher): deduplicate ping keys in catalogs and add Save translation - [`233f423`](https://github.com/horizon-rust/horizon/commit/233f42335c73a5f862c0bfc2cbf95c45cd8603bf) Merge remote-tracking branch 'origin/main' into sweepB/4839 - [`d9bbb2f`](https://github.com/horizon-rust/horizon/commit/d9bbb2fbb09fc3b4adc00bc3b72d7034a9dd12ad) Launcher: pt-BR strings for the keys #4839 and main added - [`356ccbd`](https://github.com/horizon-rust/horizon/commit/356ccbd3d3054b41cbcb5a6d4389a7d0f02095c2) Launcher: drop the strings main's native mods pages no longer use - [`6d7a62f`](https://github.com/horizon-rust/horizon/commit/6d7a62fc65fc2e500fe8a66d8ceb4b684c3b3d95) Merge remote-tracking branch 'hr/main' into fix/4829-instances-and-tabs-i18n - [`653ea77`](https://github.com/horizon-rust/horizon/commit/653ea779c470f75db03b0f982919462cb5401675) Merge main into #4839 - [`a197021`](https://github.com/horizon-rust/horizon/commit/a1970218892c384d6de07035163f838802bf2117) Launcher: the new strings in pt-BR, Japanese and Turkish - [`58ab343`](https://github.com/horizon-rust/horizon/commit/58ab34373cd74d7a037518cb744334d2652d70a7) Merge the branch's new head into #4839 ### 📊 Changes **27 files changed** (+4608 additions, -3367 deletions) <details> <summary>View changed files</summary> 📝 `launcher/lang/de.json` (+578 -462) 📝 `launcher/lang/es.json` (+579 -463) 📝 `launcher/lang/fr.json` (+578 -462) 📝 `launcher/lang/ja.json` (+117 -1) 📝 `launcher/lang/pl.json` (+581 -465) 📝 `launcher/lang/pt-br.json` (+117 -1) 📝 `launcher/lang/ru.json` (+578 -462) 📝 `launcher/lang/tr.json` (+117 -1) 📝 `launcher/lang/uk.json` (+578 -462) 📝 `launcher/lang/zh.json` (+578 -462) 📝 `launcher/src/console_page.rs` (+24 -9) 📝 `launcher/src/datapacks_page.rs` (+13 -14) 📝 `launcher/src/dev_options.rs` (+3 -3) 📝 `launcher/src/export_page.rs` (+26 -12) 📝 `launcher/src/home.rs` (+13 -7) 📝 `launcher/src/import_page.rs` (+14 -9) 📝 `launcher/src/instance_mods.rs` (+1 -1) 📝 `launcher/src/instances_page.rs` (+9 -6) 📝 `launcher/src/launch.rs` (+20 -8) 📝 `launcher/src/launch_page.rs` (+11 -11) _...and 7 more files_ </details> ### 📄 Description > 🤖 Opened by josegil1909's AI agent (Google Antigravity), not by josegil1909 personally. Closes #4829 ### Summary Routes the remaining untranslated strings in the **Instances** dialogs (`New instance` / `Edit instance`, `Export…`, `Launch…`, `Shortcut`), **Home** hero & sub-tabs (`Worlds`, `Multiplayer`, `Packs`, `Data packs`, `Screenshots`, `Console`, `Import`), and **Developer options** through `tr()` / `trf()`, and adds translations across all 7 supported launcher languages (`de`, `es`, `fr`, `pl`, `ru`, `uk`, `zh`): - `launcher/src/instances_page.rs`, `launcher/src/new_instance.rs`: Instance creation/editing dialog (`Edit instance`, `New instance`, `Name`, `My instance`, `Start from`, `Empty`, `A copy of the selected one`, `{from}'s worlds, options and packs are copied; {from} stays as it is.`, `Group`, `No group`, `Icon`, `NONE`, `Create`, `Copying…`, `Search versions`). - `launcher/src/export_page.rs`: `Export to share`, `.mrpack` / `.zip` descriptions, `Worlds`, `No worlds to put in.`, export summary notice, `Export`, `Exporting…`, `Show in folder`. - `launcher/src/launch_page.rs`: `When it starts`, `Before the game`, `Run the game through`, `Environment variables`, `After the game`, `On this computer`, `GameMode`, `MangoHud`, `Dedicated graphics card`, and their descriptions/placeholders. - `launcher/src/shortcut_page.rs`, `launcher/src/home.rs`: Desktop shortcut status notes (`{file} is on your desktop: it plays {name}.`, `{name}'s shortcut is in the trash.`), `{count} playing now`, `{version} available`, `What's new`, `Got it`. - `launcher/src/{worlds,multiplayer,packs,datapacks,screenshots,console,import}_page.rs`, `instance_mods.rs`, `skin_page.rs`, `dev_options.rs`: Remaining labels, placeholders, confirmations, and status notes. - `launcher/lang/{de,es,fr,pl,ru,uk,zh}.json`: Added 112 localization keys across all 7 languages. ### Checks - `cargo fmt --manifest-path launcher/Cargo.toml --check` - `cargo test --manifest-path launcher/Cargo.toml --lib i18n::tests` - `python3 tools/check_public_tree.py` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:15:41 +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
horizon-rust/horizon#5886
No description provided.