[PR #5226] [MERGED] fix(launcher): localize proxy, game arguments, release headers, and sponsor section #6148

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

📋 Pull Request Information

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

Base: main ← Head: fix/launcher-settings-and-headers-i18n


📝 Commits (1)

  • 31c1212 fix(launcher): localize proxy, game arguments, release headers, and sponsor section

📊 Changes

10 files changed (+153 additions, -24 deletions)

View changed files

📝 launcher/lang/de.json (+18 -1)
📝 launcher/lang/es.json (+18 -1)
📝 launcher/lang/fr.json (+18 -1)
📝 launcher/lang/pl.json (+18 -1)
📝 launcher/lang/ru.json (+18 -1)
📝 launcher/lang/uk.json (+18 -1)
📝 launcher/lang/zh.json (+18 -1)
📝 launcher/src/main.rs (+23 -15)
📝 launcher/src/mods_page.rs (+1 -1)
📝 launcher/src/mods_project.rs (+3 -1)

📄 Description

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

Summary

Localizes remaining hardcoded UI strings in the launcher identified across Settings, Versions, Patch notes, and Mods pages:

  • Settings:
    • Localized "Proxy" title, description, and example URL placeholder (http://127.0.0.1:7890).
    • Localized "Game arguments" title, description, and example argument placeholder (--server-thread).
  • Versions page:
    • Localized "Builds from GitHub. Each one installs into its own folder." header subtitle.
    • Localized "Loading releases…" and "No releases yet." state labels.
    • Localized "In use" release status tag.
  • Patch notes page:
    • Localized "What changed in each release, newest first." header subtitle.
    • Localized "Support the work below" header and "Horizon is built in the open. Sponsors fund the next release." text.
    • Localized "Sponsor on GitHub" button label.
    • Localized "Loading patch notes…" state label.
  • Mods page & Project:
    • Localized mod trust verdicts (Unsigned and Verified).
  • Translations:
    • Added translations for all 17 keys across all 7 supported language catalogs (de, es, fr, pl, ru, uk, zh).

Verification

  • cargo test --manifest-path launcher/Cargo.toml --lib i18n::: 5/5 passed (including every_language_has_every_string_the_code_asks_for).
  • Verified 0 duplicate keys, identical 500-key catalogs across all 7 locale files, and matching placeholders.
  • cargo fmt --manifest-path launcher/Cargo.toml -- --check: passed cleanly.
  • launcher tests: 326 passed.

pr_ready (tools/pr_ready.py --quick --base hr/main on Phantom, against hr/main at 1629fa2df)

Check Result
Scope ✅ 10 files, +153 −24
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 495 passed
launcher rustfmt ✅
launcher tests ✅ 326 passed

🔄 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/5226 **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/launcher-settings-and-headers-i18n` --- ### 📝 Commits (1) - [`31c1212`](https://github.com/horizon-rust/horizon/commit/31c1212bf73cb9273ab219f6b67767c3899dc363) fix(launcher): localize proxy, game arguments, release headers, and sponsor section ### 📊 Changes **10 files changed** (+153 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `launcher/lang/de.json` (+18 -1) 📝 `launcher/lang/es.json` (+18 -1) 📝 `launcher/lang/fr.json` (+18 -1) 📝 `launcher/lang/pl.json` (+18 -1) 📝 `launcher/lang/ru.json` (+18 -1) 📝 `launcher/lang/uk.json` (+18 -1) 📝 `launcher/lang/zh.json` (+18 -1) 📝 `launcher/src/main.rs` (+23 -15) 📝 `launcher/src/mods_page.rs` (+1 -1) 📝 `launcher/src/mods_project.rs` (+3 -1) </details> ### 📄 Description > 🤖 Opened by josegil1909's AI agent (Antigravity), not by josegil1909 personally. ### Summary Localizes remaining hardcoded UI strings in the launcher identified across Settings, Versions, Patch notes, and Mods pages: - **Settings**: - Localized "Proxy" title, description, and example URL placeholder (`http://127.0.0.1:7890`). - Localized "Game arguments" title, description, and example argument placeholder (`--server-thread`). - **Versions page**: - Localized "Builds from GitHub. Each one installs into its own folder." header subtitle. - Localized "Loading releases…" and "No releases yet." state labels. - Localized "In use" release status tag. - **Patch notes page**: - Localized "What changed in each release, newest first." header subtitle. - Localized "Support the work below" header and "Horizon is built in the open. Sponsors fund the next release." text. - Localized "Sponsor on GitHub" button label. - Localized "Loading patch notes…" state label. - **Mods page & Project**: - Localized mod trust verdicts (`Unsigned` and `Verified`). - **Translations**: - Added translations for all 17 keys across all 7 supported language catalogs (`de`, `es`, `fr`, `pl`, `ru`, `uk`, `zh`). ### Verification - `cargo test --manifest-path launcher/Cargo.toml --lib i18n::`: 5/5 passed (including `every_language_has_every_string_the_code_asks_for`). - Verified 0 duplicate keys, identical 500-key catalogs across all 7 locale files, and matching placeholders. - `cargo fmt --manifest-path launcher/Cargo.toml -- --check`: passed cleanly. - `launcher tests`: 326 passed. **pr_ready** (`tools/pr_ready.py --quick --base hr/main` on Phantom, against hr/main at 1629fa2df) | Check | Result | | --- | --- | | Scope | ✅ 10 files, +153 −24 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 495 passed | | launcher rustfmt | ✅ | | launcher tests | ✅ 326 passed | --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:14: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
horizon-rust/horizon#6148
No description provided.