From b38ddf508731992b4a0ccaf1d7aab67b60a55573 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 27 Apr 2023 23:33:47 +0100 Subject: [PATCH] gregistrysettingsbackend: Remove translatable pspec nick/blurb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The file was not listed in `POTFILES.in` (as pointed out by Piotr Drąg in https://gitlab.gnome.org/GNOME/glib/-/commit/fee0a7679a2bfc3590f57e2ed7c13057272c5fdc#note_1722885), so either it needs to be added to `POTFILES.in` or the translatable strings need to be removed. Recent prior art from GTK shows that there’s actually no longer any point in setting the nick/blurb as no tools use them (and if they did, it would result in a rubbish user experience). See https://gitlab.gnome.org/GNOME/gtk/-/issues/4904. Hence, drop the strings entirely. See #2991 for tracking this across all of GIO. Signed-off-by: Philip Withnall Helps: #2991 --- gio/gregistrysettingsbackend.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gio/gregistrysettingsbackend.c b/gio/gregistrysettingsbackend.c index 772fae037..88ae913ce 100644 --- a/gio/gregistrysettingsbackend.c +++ b/gio/gregistrysettingsbackend.c @@ -2319,8 +2319,7 @@ g_registry_settings_backend_class_init (GRegistrySettingsBackendClass *class) g_object_class_install_property (object_class, PROP_REGISTRY_KEY, g_param_spec_string ("registry-key", - P_("Root registry key"), - P_("The path to the registry key where settings are stored"), + NULL, NULL, "HKEY_CURRENT_USER\\Software\\GSettings", G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));