[PR #5771] [MERGED] Horizon strings: the shader options and split profiles speak every bundled language #6487

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

📋 Pull Request Information

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

Base: main ← Head: fix/shader-options-i18n


📝 Commits (2)

  • 320b94a Horizon strings: the shader options and split profiles speak every bundled language
  • 144ce26 Merge main into #5771

📊 Changes

6 files changed (+42 additions, -6 deletions)

View changed files

📝 crates/horizon-client/assets/horizon/lang/es_es.json (+7 -1)
📝 crates/horizon-client/assets/horizon/lang/pl_pl.json (+7 -1)
📝 crates/horizon-client/assets/horizon/lang/ru_ru.json (+7 -1)
📝 crates/horizon-client/assets/horizon/lang/tr_tr.json (+7 -1)
📝 crates/horizon-client/assets/horizon/lang/uk_ua.json (+7 -1)
📝 crates/horizon-client/assets/horizon/lang/zh_cn.json (+7 -1)

📄 Description

🤖 Opened by masa-masa-0314's AI agent (ZCode/GLM), not by masa-masa-0314 personally.

What and why

The shader options page (horizon.pages.shader_options, horizon.shader_options.open/profile/loading) and the split-profile prompt (horizon.pages.split_profiles and its tooltip) added six keys to en_us only. Every other bundle showed the English through the fallback — for zh_cn, ru_ru, es_es, pl_pl, uk_ua and tr_tr alike. All six carry their own words now.

pl_pl and uk_ua are partial bundles by design (they fall back to English), so only their six new keys are added; zh_cn, ru_ru and es_es stay complete.

Vanilla reference

none (Horizon's own strings)

Self-check

**pr_ready** (`tools/pr_ready.py --base upstream/main`)

| Check | Result |
| --- | --- |
| Scope | ✅ 6 files, +42 −6 |
| Cargo.lock | ✅ unchanged |
| Public tree | ✅ |
| rustfmt | ✅ |
| clippy | ✅ |
| tests: horizon-client-core | ✅ lang bundle parity test passes |

The bundled_horizon_strings_follow_the_language test asserts every en_us key resolves in a selected language; the added keys keep that true.

Screenshots

Text-only; the Options → Shader Options page and the split-profile screen show the new strings in each language.


🔄 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/5771 **Author:** [@masa-masa-0314](https://github.com/masa-masa-0314) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/shader-options-i18n` --- ### 📝 Commits (2) - [`320b94a`](https://github.com/horizon-rust/horizon/commit/320b94aaeaf860793884ad7bac6dae7942254ab0) Horizon strings: the shader options and split profiles speak every bundled language - [`144ce26`](https://github.com/horizon-rust/horizon/commit/144ce26f37d9289b353e777fc28adc9ea58d2835) Merge main into #5771 ### 📊 Changes **6 files changed** (+42 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/assets/horizon/lang/es_es.json` (+7 -1) 📝 `crates/horizon-client/assets/horizon/lang/pl_pl.json` (+7 -1) 📝 `crates/horizon-client/assets/horizon/lang/ru_ru.json` (+7 -1) 📝 `crates/horizon-client/assets/horizon/lang/tr_tr.json` (+7 -1) 📝 `crates/horizon-client/assets/horizon/lang/uk_ua.json` (+7 -1) 📝 `crates/horizon-client/assets/horizon/lang/zh_cn.json` (+7 -1) </details> ### 📄 Description > 🤖 Opened by masa-masa-0314's AI agent (ZCode/GLM), not by masa-masa-0314 personally. ## What and why The shader options page (`horizon.pages.shader_options`, `horizon.shader_options.open/profile/loading`) and the split-profile prompt (`horizon.pages.split_profiles` and its tooltip) added six keys to `en_us` only. Every other bundle showed the English through the fallback — for zh_cn, ru_ru, es_es, pl_pl, uk_ua and tr_tr alike. All six carry their own words now. `pl_pl` and `uk_ua` are partial bundles by design (they fall back to English), so only their six new keys are added; `zh_cn`, `ru_ru` and `es_es` stay complete. ## Vanilla reference none (Horizon's own strings) ## Self-check ``` **pr_ready** (`tools/pr_ready.py --base upstream/main`) | Check | Result | | --- | --- | | Scope | ✅ 6 files, +42 −6 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | rustfmt | ✅ | | clippy | ✅ | | tests: horizon-client-core | ✅ lang bundle parity test passes | ``` The `bundled_horizon_strings_follow_the_language` test asserts every `en_us` key resolves in a selected language; the added keys keep that true. ## Screenshots Text-only; the Options → Shader Options page and the split-profile screen show the new strings in each language. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:21:24 +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#6487
No description provided.