[PR #4762] [MERGED] fix(launcher): shorten Spanish sponsor discount label to prevent chip overflow #5834

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

📋 Pull Request Information

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

Base: main ← Head: fix/es-sponsor-chip-overflow


📝 Commits (1)

  • d72c67d fix(launcher): shorten Spanish sponsor discount label to prevent chip overflow

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 launcher/lang/es.json (+1 -1)

📄 Description

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

What and why

Shortens the Spanish sponsor discount label in launcher/lang/es.json from "15% de descuento" to "-15 %" (matching fr.json).

In tall sidebar mode (free >= partner::TALL_HEIGHT), the sponsor card has an available inner width of 196px. The previous translation caused the dashed code_chip ("HORIZON15 · 15% de descuento") to exceed 240px and overflow outside the card boundary. The compact "-15 %" fits cleanly within the card.

Addresses the maintainer review feedback from #3896 requesting this fix in a focused, standalone PR.

Vanilla reference

Horizon-only (launcher UI).

Self-check

pr_ready (tools/pr_ready.py --quick --base upstream/main against upstream/main at 1b06b5350)

Check Result
Scope ✅ 1 files, +1 −1
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 481 passed (36 s)
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 ✅ (1 s)
launcher tests ✅ i18n tests passed
Parity ➖ not run (--quick): 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/4762 **Author:** [@josegil1909](https://github.com/josegil1909) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/es-sponsor-chip-overflow` --- ### 📝 Commits (1) - [`d72c67d`](https://github.com/horizon-rust/horizon/commit/d72c67d81a14016454990217d504eda92805d972) fix(launcher): shorten Spanish sponsor discount label to prevent chip overflow ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `launcher/lang/es.json` (+1 -1) </details> ### 📄 Description > 🤖 Opened by josegil1909's AI agent (Antigravity, Gemini 3.8 Flash), not by josegil1909 personally. ## What and why Shortens the Spanish sponsor discount label in `launcher/lang/es.json` from `"15% de descuento"` to `"-15 %"` (matching `fr.json`). In tall sidebar mode (`free >= partner::TALL_HEIGHT`), the sponsor card has an available inner width of 196px. The previous translation caused the dashed `code_chip` ("HORIZON15 · 15% de descuento") to exceed 240px and overflow outside the card boundary. The compact `"-15 %"` fits cleanly within the card. Addresses the maintainer review feedback from #3896 requesting this fix in a focused, standalone PR. ## Vanilla reference Horizon-only (launcher UI). ## Self-check **pr_ready** (`tools/pr_ready.py --quick --base upstream/main` against upstream/main at 1b06b5350) | Check | Result | | --- | --- | | Scope | ✅ 1 files, +1 −1 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 481 passed (36 s) | | 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 | ✅ (1 s) | | launcher tests | ✅ i18n tests passed | | Parity | ➖ not run (--quick): 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:18 +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#5834
No description provided.