[PR #4834] [MERGED] i18n(launcher): add Brazilian Portuguese (pt-BR) translation #5881

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

📋 Pull Request Information

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

Base: main ← Head: loc/add-pt-br-translation


📝 Commits (6)

  • 551be35 i18n(launcher): add Brazilian Portuguese (pt-BR) translation
  • 387d6be i18n(launcher): fix spanish text to brazilian portuguese
  • 99efd0c i18n(launcher): add pt-br translation and wire language support
  • 28b8be4 Merge remote-tracking branch 'origin/main' into pr-4834
  • d114abe Launcher pt-BR: the strings added since the table was written, rustfmt
  • 34f2411 Fix Brazilian Portuguese locale and add missing translations

📊 Changes

4 files changed (+511 additions, -8 deletions)

View changed files

➕ launcher/lang/pt-br.json (+465 -0)
📝 launcher/src/cli.rs (+2 -2)
📝 launcher/src/i18n.rs (+26 -4)
📝 launcher/src/i18n/tests.rs (+18 -2)

📄 Description

Summary

Adds Brazilian Portuguese (pt-BR) translation for the Horizon launcher.

Vanilla Reference

N/A (Launcher localization)

Self-check

pr_ready (tools/pr_ready.py --base upstream/main on DESKTOP-M2KG7US, against upstream/main at c822f6eb8, 32 min 5 s)

Check Result
Scope ✅ 1 files, +241 −0
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ❌ 481 run, FAILED (errors=1, skipped=12) (Windows environment issue on test_perf_bench windows_version subprocess)
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ✅ (10 s)
launcher clippy ✅ (13 min 23 s)
launcher tests ✅ 287 passed (15 min 40 s)
Parity ➖ not run (no vanilla data here): CI's parity job picks the affected harnesses

🔄 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/4834 **Author:** [@Dufru](https://github.com/Dufru) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `loc/add-pt-br-translation` --- ### 📝 Commits (6) - [`551be35`](https://github.com/horizon-rust/horizon/commit/551be35cc3793debde34c77f785c8fc0267f1b88) i18n(launcher): add Brazilian Portuguese (pt-BR) translation - [`387d6be`](https://github.com/horizon-rust/horizon/commit/387d6be2a83ed15e49acbc3d66c73e58abea04ce) i18n(launcher): fix spanish text to brazilian portuguese - [`99efd0c`](https://github.com/horizon-rust/horizon/commit/99efd0ccb4a5335067d149482c2aa587476f7c96) i18n(launcher): add pt-br translation and wire language support - [`28b8be4`](https://github.com/horizon-rust/horizon/commit/28b8be4410921ac396493cc6001b248c609437bd) Merge remote-tracking branch 'origin/main' into pr-4834 - [`d114abe`](https://github.com/horizon-rust/horizon/commit/d114abe94b27244940b62f284a6d21d556145730) Launcher pt-BR: the strings added since the table was written, rustfmt - [`34f2411`](https://github.com/horizon-rust/horizon/commit/34f24116bf73481a714319dd09f2f750abee3de9) Fix Brazilian Portuguese locale and add missing translations ### 📊 Changes **4 files changed** (+511 additions, -8 deletions) <details> <summary>View changed files</summary> ➕ `launcher/lang/pt-br.json` (+465 -0) 📝 `launcher/src/cli.rs` (+2 -2) 📝 `launcher/src/i18n.rs` (+26 -4) 📝 `launcher/src/i18n/tests.rs` (+18 -2) </details> ### 📄 Description ### Summary Adds Brazilian Portuguese (`pt-BR`) translation for the Horizon launcher. ### Vanilla Reference N/A (Launcher localization) ### Self-check **pr_ready** (`tools/pr_ready.py --base upstream/main` on DESKTOP-M2KG7US, against upstream/main at c822f6eb8, 32 min 5 s) | Check | Result | | --- | --- | | Scope | ✅ 1 files, +241 −0 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ❌ 481 run, FAILED (errors=1, skipped=12) *(Windows environment issue on `test_perf_bench` `windows_version` subprocess)* | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ✅ (10 s) | | launcher clippy | ✅ (13 min 23 s) | | launcher tests | ✅ 287 passed (15 min 40 s) | | Parity | ➖ not run (no vanilla data here): CI's parity job picks the affected harnesses | --- <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:39 +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#5881
No description provided.