[PR #6501] [MERGED] feat(launcher): localize native mod build steps, categories, world mode, and server errors #6916

Closed
opened 2026-11-03 06:29:11 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6501
Author: @josegil1909
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: fix/launcher-untranslated-strings


📝 Commits (1)

  • 686537c feat(launcher): localize native mod build steps, categories, world mode, and server errors

📊 Changes

14 files changed (+545 additions, -42 deletions)

View changed files

📝 launcher/lang/de.json (+48 -3)
📝 launcher/lang/es.json (+47 -2)
📝 launcher/lang/fr.json (+47 -2)
📝 launcher/lang/ja.json (+47 -2)
📝 launcher/lang/pl.json (+48 -3)
📝 launcher/lang/pt-br.json (+46 -1)
📝 launcher/lang/ru.json (+47 -2)
📝 launcher/lang/tr.json (+47 -2)
📝 launcher/lang/uk.json (+48 -3)
📝 launcher/lang/zh.json (+48 -3)
📝 launcher/src/mods_project.rs (+41 -0)
📝 launcher/src/native_mods.rs (+28 -16)
📝 launcher/src/servers_page.rs (+2 -2)
📝 launcher/src/worlds_page.rs (+1 -1)

📄 Description

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

What this PR does

  • World list: localizes world game mode (Creative, Survival, etc.) using tr() in launcher/src/worlds_page.rs.
  • Mod categories: provides translations for Modrinth/CurseForge category tags across all 10 language files and declares literals in launcher/src/mods_project.rs for unused-string checks.
  • Native mod builds: localizes build progress steps (Compiling the game..., Built in..., Up to date...) using trf() / tr() in launcher/src/native_mods.rs.
  • Server configuration: passes validation errors (invalid Minecraft username and port range) through tr() in launcher/src/servers_page.rs.
  • Translations update: translates Manage versions and new strings across all 10 language dictionaries (launcher/lang/*.json).

🔄 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/6501 **Author:** [@josegil1909](https://github.com/josegil1909) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/launcher-untranslated-strings` --- ### 📝 Commits (1) - [`686537c`](https://github.com/horizon-rust/horizon/commit/686537c322631260e21d8e4189f97925b8aa53d5) feat(launcher): localize native mod build steps, categories, world mode, and server errors ### 📊 Changes **14 files changed** (+545 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `launcher/lang/de.json` (+48 -3) 📝 `launcher/lang/es.json` (+47 -2) 📝 `launcher/lang/fr.json` (+47 -2) 📝 `launcher/lang/ja.json` (+47 -2) 📝 `launcher/lang/pl.json` (+48 -3) 📝 `launcher/lang/pt-br.json` (+46 -1) 📝 `launcher/lang/ru.json` (+47 -2) 📝 `launcher/lang/tr.json` (+47 -2) 📝 `launcher/lang/uk.json` (+48 -3) 📝 `launcher/lang/zh.json` (+48 -3) 📝 `launcher/src/mods_project.rs` (+41 -0) 📝 `launcher/src/native_mods.rs` (+28 -16) 📝 `launcher/src/servers_page.rs` (+2 -2) 📝 `launcher/src/worlds_page.rs` (+1 -1) </details> ### 📄 Description > 🤖 Opened by josegil1909's AI agent (Antigravity), not by josegil1909 personally. ### What this PR does - **World list**: localizes world game mode (`Creative`, `Survival`, etc.) using `tr()` in `launcher/src/worlds_page.rs`. - **Mod categories**: provides translations for Modrinth/CurseForge category tags across all 10 language files and declares literals in `launcher/src/mods_project.rs` for unused-string checks. - **Native mod builds**: localizes build progress steps (`Compiling the game...`, `Built in...`, `Up to date...`) using `trf()` / `tr()` in `launcher/src/native_mods.rs`. - **Server configuration**: passes validation errors (invalid Minecraft username and port range) through `tr()` in `launcher/src/servers_page.rs`. - **Translations update**: translates `Manage versions` and new strings across all 10 language dictionaries (`launcher/lang/*.json`). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:29:11 +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#6916
No description provided.