[PR #4811] [MERGED] feat(launcher): localize Modpacks tab and port coverage report #5867

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

📋 Pull Request Information

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

Base: main ← Head: fix/4802-modpacks-i18n


📝 Commits (2)

  • 5b492b2 feat(launcher): localize Modpacks tab and port coverage report
  • 7f884ad Merge remote-tracking branch 'origin/main' into HEAD

📊 Changes

9 files changed (+269 additions, -44 deletions)

View changed files

📝 launcher/lang/de.json (+32 -1)
📝 launcher/lang/es.json (+32 -1)
📝 launcher/lang/fr.json (+32 -1)
📝 launcher/lang/pl.json (+32 -1)
📝 launcher/lang/ru.json (+32 -1)
📝 launcher/lang/uk.json (+32 -1)
📝 launcher/lang/zh.json (+32 -1)
📝 launcher/src/modpacks.rs (+11 -5)
📝 launcher/src/modpacks_page.rs (+34 -32)

📄 Description

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

Fixes #4802

Summary

  • Routes the Modpacks tab (launcher/src/modpacks_page.rs and launcher/src/modpacks.rs) through tr(...) / trf(...): import buttons (Import a pack file…, Import an instance folder…), .mrpack/.zip explanation, coverage status cards and filter labels (All, Ported, Partial, Not yet, Not needed), action buttons (Play with {count} mods, Port {count} mods, Use jars from my instance…, Remove, Remove for good), and jar status summaries.
  • Adds the 31 new keys across all 7 launcher language tables (de.json, es.json, fr.json, pl.json, ru.json, uk.json, zh.json) with Spanish translations in launcher/lang/es.json.

Checks

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

🤖 Generated with Google Antigravity


🔄 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/4811 **Author:** [@josegil1909](https://github.com/josegil1909) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/4802-modpacks-i18n` --- ### 📝 Commits (2) - [`5b492b2`](https://github.com/horizon-rust/horizon/commit/5b492b240fbc6e904f70530adb5ec6dff3c1de13) feat(launcher): localize Modpacks tab and port coverage report - [`7f884ad`](https://github.com/horizon-rust/horizon/commit/7f884ad64bd97ae34a6e25d5a507de470257355c) Merge remote-tracking branch 'origin/main' into HEAD ### 📊 Changes **9 files changed** (+269 additions, -44 deletions) <details> <summary>View changed files</summary> 📝 `launcher/lang/de.json` (+32 -1) 📝 `launcher/lang/es.json` (+32 -1) 📝 `launcher/lang/fr.json` (+32 -1) 📝 `launcher/lang/pl.json` (+32 -1) 📝 `launcher/lang/ru.json` (+32 -1) 📝 `launcher/lang/uk.json` (+32 -1) 📝 `launcher/lang/zh.json` (+32 -1) 📝 `launcher/src/modpacks.rs` (+11 -5) 📝 `launcher/src/modpacks_page.rs` (+34 -32) </details> ### 📄 Description > 🤖 Opened by josegil1909's AI agent (Google Antigravity), not by josegil1909 personally. Fixes #4802 ### Summary - Routes the **Modpacks** tab (`launcher/src/modpacks_page.rs` and `launcher/src/modpacks.rs`) through `tr(...)` / `trf(...)`: import buttons (`Import a pack file…`, `Import an instance folder…`), `.mrpack`/`.zip` explanation, coverage status cards and filter labels (`All`, `Ported`, `Partial`, `Not yet`, `Not needed`), action buttons (`Play with {count} mods`, `Port {count} mods`, `Use jars from my instance…`, `Remove`, `Remove for good`), and jar status summaries. - Adds the 31 new keys across all 7 launcher language tables (`de.json`, `es.json`, `fr.json`, `pl.json`, `ru.json`, `uk.json`, `zh.json`) with Spanish translations in `launcher/lang/es.json`. ### Checks - `python3 tools/check_public_tree.py`: passed - `cargo fmt --manifest-path launcher/Cargo.toml --check`: passed - `cargo test --manifest-path launcher/Cargo.toml --lib i18n::tests`: 5 passed - `cargo test --manifest-path launcher/Cargo.toml --lib modpacks::tests`: 3 passed 🤖 Generated with Google Antigravity --- <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:32 +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#5867
No description provided.