[PR #3625] [MERGED] Launcher: Ukrainian #5102

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3625
Author: @GIGABAIT93
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @levzzz5154

Base: main ← Head: feat/ukrainian


📝 Commits (3)

  • 8a9db2d Fonts: Pixelify Sans gets the Cyrillic І
  • e7e5413 Launcher: Ukrainian
  • 9c21a95 Merge main into feat/ukrainian: Ukrainian beside main's Spanish

📊 Changes

10 files changed (+218 additions, -14 deletions)

View changed files

📝 crates/horizon-theme/fonts/PixelifySans-Bold.ttf (+0 -0)
📝 crates/horizon-theme/fonts/PixelifySans-Medium.ttf (+0 -0)
📝 crates/horizon-theme/fonts/PixelifySans-SemiBold.ttf (+0 -0)
📝 docs/design-system.md (+4 -3)
📝 docs/launcher-commands.md (+1 -1)
📝 launcher/README.md (+1 -1)
➕ launcher/lang/uk.json (+196 -0)
📝 launcher/src/cli.rs (+2 -2)
📝 launcher/src/i18n.rs (+7 -1)
📝 launcher/src/i18n/tests.rs (+7 -6)

📄 Description

🤖 Opened by GIGABAIT93's AI agent (Claude Code, Claude Opus 5.5), not by GIGABAIT93 directly.

What and why

Ukrainian for the launcher, as a fifth language beside English, French, Russian and German.

  • launcher/lang/uk.json: the 194 strings the code asks for, written from the English for this launcher (not taken from another project's translation). The typographic apostrophe ’ throughout (the pixel font has no ʼ), «» quotes for page and button names, "екземпляр" for an instance so it never reads as a modpack.
  • Language::Ukrainian (uk, «Українська»): the Settings picker, the system language pick (uk-UA, uk_UA.UTF-8) and horizon-launcher settings language uk; the CLI's help and error now list de and uk (and docs/launcher-commands.md is regenerated).
  • The translation test (every_language_has_every_string_the_code_asks_for) now walks every language but English instead of a fixed list, so the next language is covered without editing it; two assertions for Ukrainian beside the others.
  • Fonts: Pixelify Sans had no capital І (U+0406), which Ukrainian headings, buttons and navigation need («Інший обліковий запис»), so it would have come from the fallback font. As #2844 did for О, each weight maps it to its own Latin I glyph, the same shape. Only cmap changes (and head's checksum adjustment); every other table, the timestamps included, is byte-identical. Every other Ukrainian letter (і ї є ґ), ’, «», — and … were already in all seven bundled fonts (checked against each font's cmap). docs/design-system.md names the added letter.

The game's own 13 strings in Ukrainian are a separate pull request, so this one stays in the launcher.

Native speakers are welcome to suggest wording in review. Not checked here: the launcher's window in Ukrainian on screen.

Suggested label: feature.

Vanilla reference

None: Horizon-only (the launcher).

Self-check

Run on Linux (WSL2).

pr_ready (tools/pr_ready.py --quick --base upstream/main on GIGABAIT, against upstream/main at 0b74b68aa, 1 min 28 s)

Check Result
Scope ✅ 10 files, +225 −11
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 408 passed (32 s)
rustfmt ✅ (7 s)
clippy ✅ (32 s)
tests: horizon-theme ✅ 7 passed
doc tests ✅ 0 passed (1 s)
content root tests ➖ content root untouched
tokens.css up to date ✅
launcher rustfmt ✅ (1 s)
launcher clippy ✅ (8 s)
launcher tests ✅ 253 passed (7 s)
Parity ➖ not run (--quick): CI's parity job picks the affected harnesses
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

🤖 Generated with Claude Code


🔄 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/3625 **Author:** [@GIGABAIT93](https://github.com/GIGABAIT93) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `feat/ukrainian` --- ### 📝 Commits (3) - [`8a9db2d`](https://github.com/horizon-rust/horizon/commit/8a9db2dc7b9aed03498e8f0a7c6a0e40b3136de4) Fonts: Pixelify Sans gets the Cyrillic І - [`e7e5413`](https://github.com/horizon-rust/horizon/commit/e7e54136675a0843e6d18390f16356bcf74205ca) Launcher: Ukrainian - [`9c21a95`](https://github.com/horizon-rust/horizon/commit/9c21a95409d7ec7b6147b9b3bd1d25bfbc8d7809) Merge main into feat/ukrainian: Ukrainian beside main's Spanish ### 📊 Changes **10 files changed** (+218 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-theme/fonts/PixelifySans-Bold.ttf` (+0 -0) 📝 `crates/horizon-theme/fonts/PixelifySans-Medium.ttf` (+0 -0) 📝 `crates/horizon-theme/fonts/PixelifySans-SemiBold.ttf` (+0 -0) 📝 `docs/design-system.md` (+4 -3) 📝 `docs/launcher-commands.md` (+1 -1) 📝 `launcher/README.md` (+1 -1) ➕ `launcher/lang/uk.json` (+196 -0) 📝 `launcher/src/cli.rs` (+2 -2) 📝 `launcher/src/i18n.rs` (+7 -1) 📝 `launcher/src/i18n/tests.rs` (+7 -6) </details> ### 📄 Description > 🤖 Opened by GIGABAIT93's AI agent (Claude Code, Claude Opus 5.5), not by GIGABAIT93 directly. ## What and why Ukrainian for the launcher, as a fifth language beside English, French, Russian and German. - `launcher/lang/uk.json`: the 194 strings the code asks for, written from the English for this launcher (not taken from another project's translation). The typographic apostrophe `’` throughout (the pixel font has no `ʼ`), «» quotes for page and button names, "екземпляр" for an instance so it never reads as a modpack. - `Language::Ukrainian` (`uk`, «Українська»): the Settings picker, the system language pick (`uk-UA`, `uk_UA.UTF-8`) and `horizon-launcher settings language uk`; the CLI's help and error now list `de` and `uk` (and `docs/launcher-commands.md` is regenerated). - The translation test (`every_language_has_every_string_the_code_asks_for`) now walks every language but English instead of a fixed list, so the next language is covered without editing it; two assertions for Ukrainian beside the others. - **Fonts:** Pixelify Sans had no capital І (U+0406), which Ukrainian headings, buttons and navigation need («Інший обліковий запис»), so it would have come from the fallback font. As #2844 did for О, each weight maps it to its own Latin I glyph, the same shape. Only `cmap` changes (and `head`'s checksum adjustment); every other table, the timestamps included, is byte-identical. Every other Ukrainian letter (і ї є ґ), `’`, «», — and … were already in all seven bundled fonts (checked against each font's cmap). `docs/design-system.md` names the added letter. The game's own 13 strings in Ukrainian are a separate pull request, so this one stays in the launcher. Native speakers are welcome to suggest wording in review. Not checked here: the launcher's window in Ukrainian on screen. Suggested label: `feature`. ## Vanilla reference None: Horizon-only (the launcher). ## Self-check Run on Linux (WSL2). **pr_ready** (`tools/pr_ready.py --quick --base upstream/main` on GIGABAIT, against upstream/main at 0b74b68aa, 1 min 28 s) | Check | Result | | --- | --- | | Scope | ✅ 10 files, +225 −11 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 408 passed (32 s) | | rustfmt | ✅ (7 s) | | clippy | ✅ (32 s) | | tests: horizon-theme | ✅ 7 passed | | doc tests | ✅ 0 passed (1 s) | | content root tests | ➖ content root untouched | | tokens.css up to date | ✅ | | launcher rustfmt | ✅ (1 s) | | launcher clippy | ✅ (8 s) | | launcher tests | ✅ 253 passed (7 s) | | Parity | ➖ not run (--quick): CI's parity job picks the affected harnesses | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:10:15 +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#5102
No description provided.