From fe40f03933b72cbb29cffcd7b23014c7fc576994 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Sat, 19 Sep 2026 15:54:18 +0200 Subject: [PATCH] tdf#173575 Fix mnemonic in Range for %VALUETYPE label MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The character to indicate a mnemonic with VCL widgets is ~, not _. I didn’t notice this because it was working fine with the GTK plugin, presumably because it ends up accepting either character internally. The previous string was copied from a UI file where the mnemonic character does need to be _. Now that the string has changed I’ve changed the context too because it will end up as a new string for translators now anyway. Change-Id: I5e52926ea4cdfd50bed6dda5d4cd6a5a5f550b4f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211226 Reviewed-by: Neil Roberts Tested-by: Jenkins --- chart2/inc/strings.hrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart2/inc/strings.hrc b/chart2/inc/strings.hrc index 3442f6bc06a6..7cb8c04eba1d 100644 --- a/chart2/inc/strings.hrc +++ b/chart2/inc/strings.hrc @@ -185,7 +185,7 @@ #define STR_INVALID_TIME_UNIT NC_("STR_INVALID_TIME_UNIT", "The major and minor interval need to be greater or equal to the resolution. Check your input.") #define STR_UNSUPPORTED_CHART_TYPE NC_("STR_UNSUPPORTED_CHART_TYPE", "One or more chart types are unsupported in this version of %PRODUCTNAME") -#define STR_RANGE_FOR_VALUETYPE NC_("tp_DataSource|FT_RANGE", "Ran_ge for %VALUETYPE") +#define STR_RANGE_FOR_VALUETYPE NC_("STR_RANGE_FOR_VALUETYPE", "Ran~ge for %VALUETYPE") #endif