From 5bf61d4cad029e1fc8d2bde280b6b36cb098690c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 3 Jul 2023 19:32:13 +0200 Subject: [PATCH] shell/util: Use gtk4 for week-start fallback If langinfo isn't available, we determine the week start via a "magic" string translation from GTK. We currently look up the string in GTK3's domain, we should use GTK4's instead. Part-of: --- src/shell-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell-util.c b/src/shell-util.c index 6b5e82ed7..7c70a4bb8 100644 --- a/src/shell-util.c +++ b/src/shell-util.c @@ -116,7 +116,7 @@ shell_util_get_week_start (void) #else /* Use a define to hide the string from xgettext */ # define GTK_WEEK_START "calendar:week_start:0" - gtk_week_start = dgettext ("gtk30", GTK_WEEK_START); + gtk_week_start = dgettext ("gtk40", GTK_WEEK_START); if (strncmp (gtk_week_start, "calendar:week_start:", 20) == 0) week_start = *(gtk_week_start + 20) - '0';