[PR #4814] [MERGED] feat(launcher): localize Mods browser, filters, and GitHub mods panel #5865

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/4814
Author: @josegil1909
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @levzzz5154

Base: main ← Head: fix/4812-mods-page-i18n


📝 Commits (4)

  • 0b91292 feat(launcher): localize Mods browser, filters, and GitHub mods panel
  • fd4a625 Merge remote-tracking branch 'hr/main' into fix/pr-4814
  • c97b85d Polish: fix mixed-script word in the GitHub mods panel text
  • ceca630 Launcher: update the Mods page header translations for the trimmed text

📊 Changes

11 files changed (+713 additions, -102 deletions)

View changed files

📝 launcher/lang/de.json (+85 -1)
📝 launcher/lang/es.json (+85 -1)
📝 launcher/lang/fr.json (+85 -1)
📝 launcher/lang/pl.json (+85 -1)
📝 launcher/lang/ru.json (+85 -1)
📝 launcher/lang/uk.json (+85 -1)
📝 launcher/lang/zh.json (+85 -1)
📝 launcher/src/blocks.rs (+4 -2)
📝 launcher/src/github_mods_page.rs (+33 -26)
📝 launcher/src/mods_page.rs (+52 -48)
📝 launcher/src/mods_project.rs (+29 -19)

📄 Description

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

Fixes #4812

Summary

  • Translates tab labels in blocks::tabs and badge labels in blocks::badge via crate::i18n::tr.
  • Routes the Mods browser, filter bar, project detail view, and GitHub native mod panel strings in launcher/src/mods_page.rs, launcher/src/mods_project.rs, and launcher/src/github_mods_page.rs through tr() and trf().
  • Adds the corresponding 84 translation keys across all 7 locale files (de.json, es.json, fr.json, pl.json, ru.json, uk.json, zh.json).

Test Plan

  • 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/4814 **Author:** [@josegil1909](https://github.com/josegil1909) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `fix/4812-mods-page-i18n` --- ### 📝 Commits (4) - [`0b91292`](https://github.com/horizon-rust/horizon/commit/0b912926a3712058c1ce6b6bd6250510416bdfd8) feat(launcher): localize Mods browser, filters, and GitHub mods panel - [`fd4a625`](https://github.com/horizon-rust/horizon/commit/fd4a625f7e6a60edf8179a02dd64d7d9d29be7b5) Merge remote-tracking branch 'hr/main' into fix/pr-4814 - [`c97b85d`](https://github.com/horizon-rust/horizon/commit/c97b85dc0b2e967732168501090b2b40f02b1900) Polish: fix mixed-script word in the GitHub mods panel text - [`ceca630`](https://github.com/horizon-rust/horizon/commit/ceca6301a688535fb34f03e657efc83a51a67a47) Launcher: update the Mods page header translations for the trimmed text ### 📊 Changes **11 files changed** (+713 additions, -102 deletions) <details> <summary>View changed files</summary> 📝 `launcher/lang/de.json` (+85 -1) 📝 `launcher/lang/es.json` (+85 -1) 📝 `launcher/lang/fr.json` (+85 -1) 📝 `launcher/lang/pl.json` (+85 -1) 📝 `launcher/lang/ru.json` (+85 -1) 📝 `launcher/lang/uk.json` (+85 -1) 📝 `launcher/lang/zh.json` (+85 -1) 📝 `launcher/src/blocks.rs` (+4 -2) 📝 `launcher/src/github_mods_page.rs` (+33 -26) 📝 `launcher/src/mods_page.rs` (+52 -48) 📝 `launcher/src/mods_project.rs` (+29 -19) </details> ### 📄 Description > 🤖 Opened by josegil1909's AI agent (Google Antigravity), not by josegil1909 personally. Fixes #4812 ### Summary - Translates tab labels in `blocks::tabs` and badge labels in `blocks::badge` via `crate::i18n::tr`. - Routes the Mods browser, filter bar, project detail view, and GitHub native mod panel strings in `launcher/src/mods_page.rs`, `launcher/src/mods_project.rs`, and `launcher/src/github_mods_page.rs` through `tr()` and `trf()`. - Adds the corresponding 84 translation keys across all 7 locale files (`de.json`, `es.json`, `fr.json`, `pl.json`, `ru.json`, `uk.json`, `zh.json`). ### Test Plan - `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: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#5865
No description provided.