From fedf3a99456a05f2acffc963d97afea66cbbe5eb Mon Sep 17 00:00:00 2001 From: xRangerDE Date: Mon, 11 May 2026 03:13:42 +0200 Subject: [PATCH] i18n+polish: localize queue detail labels + style the retry button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three queue-item detail labels were hardcoded German in the renderer's HTML template: "Streamer:" / "Dauer:" / "Datum:". The queue-details panel that expands when a user clicks a queue items title would render these labels in German regardless of the selected locale — same i18n gap as the empty states fixed in 4.6.37. Added queue.detailStreamer / detailDuration / detailDate to both locale tables ("Streamer:" / "Duration:" / "Date:" in EN, "Streamer:" / "Dauer:" / "Datum:" in DE) and wrapped the labels in a .queue-detail-label span so the colour distinction between label and value (secondary vs primary text colour) is consistent. The error-state retry button was a span with five inline-style props and a unicode ↻ as its glyph — visually drab and not really a button semantically (screen reader read it as text). Promoted to a real ` : ''} x `; diff --git a/src/styles.css b/src/styles.css index 0d4e20c..64597a1 100644 --- a/src/styles.css +++ b/src/styles.css @@ -859,6 +859,36 @@ select option { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + cursor: pointer; +} + +.queue-detail-label { + color: var(--text-secondary); + font-weight: 500; + margin-right: 4px; +} + +.queue-retry-btn { + background: transparent; + border: 1px solid var(--border-soft); + border-radius: 6px; + color: var(--text-secondary); + cursor: pointer; + padding: 4px 8px; + font-size: 14px; + line-height: 1; + align-self: center; + transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s; +} + +.queue-retry-btn:hover { + background: rgba(145, 70, 255, 0.18); + border-color: rgba(145, 70, 255, 0.55); + color: #fff; +} + +.queue-retry-btn:active { + transform: scale(0.92); } .queue-main {