From 98e9b3cf3055b2b60773322497f73ee1af57e170 Mon Sep 17 00:00:00 2001 From: Arsh Kumar Singh Date: Fri, 8 May 2026 19:22:05 +0530 Subject: [PATCH] Qt: Disambiguate offset direction labels from DPad/Stick labels (#18695) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary The "Left" and "Right" strings in `pad_settings_dialog` were shared between DPad/Stick direction labels (which have ample space) and offset value labels — Squircle Values, Stick Multipliers, and Stick Interpolation (where space is tight). Translators couldn't abbreviate the offset version without also affecting the direction binding labels. ## Change Added disambiguation via `comment="Offset direction"` in the `.ui` file's `` elements for the six offset labels: - `label_squircle_left` - `label_squircle_right` - `label_stick_multi_left` - `label_stick_multi_right` - `left_stick_lerp_label` - `right_stick_lerp_label` Qt now generates separate translation entries, allowing translators to use shorter abbreviations in the tight offset areas while keeping full forms for direction bindings. **English UI is unchanged** — no visual difference for English users. Fixes #18691 --- rpcs3/rpcs3qt/pad_settings_dialog.ui | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rpcs3/rpcs3qt/pad_settings_dialog.ui b/rpcs3/rpcs3qt/pad_settings_dialog.ui index 62f0bcf4f5..9d7204b3f1 100644 --- a/rpcs3/rpcs3qt/pad_settings_dialog.ui +++ b/rpcs3/rpcs3qt/pad_settings_dialog.ui @@ -2348,7 +2348,7 @@ - Left + Left @@ -2378,7 +2378,7 @@ - Right + Right @@ -2429,7 +2429,7 @@ - Left + Left @@ -2456,7 +2456,7 @@ - Right + Right @@ -2673,7 +2673,7 @@ - Left + Left @@ -2703,7 +2703,7 @@ - Right + Right