From c4b47c708dd8a1437b9623e165aeca2698c2b421 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 29 Nov 2023 13:39:58 +0000 Subject: [PATCH] gwin32appinfo: Use correct gettext macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `P_()` is for pspec strings — it gave us the option to split them out to a separate translation domain. `_()` is for normal strings. Spotted by Sophie Herold: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3411#note_1733329 Signed-off-by: Philip Withnall --- gio/gwin32appinfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gio/gwin32appinfo.c b/gio/gwin32appinfo.c index 9e35239f8..f17787846 100644 --- a/gio/gwin32appinfo.c +++ b/gio/gwin32appinfo.c @@ -4253,7 +4253,7 @@ g_win32_app_info_get_name (GAppInfo *appinfo) else if (info->app && info->app->canonical_name_u8) return info->app->canonical_name_u8; else - return P_("Unnamed"); + return _("Unnamed"); } static const char * @@ -5213,11 +5213,11 @@ g_win32_app_info_launch_internal (GWin32AppInfo *info, { if (info->app->is_uwp || info->handler == NULL) g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, - P_("The app ‘%s’ in the application object has no verbs"), + _("The app ‘%s’ in the application object has no verbs"), g_win32_appinfo_application_get_some_name (info->app)); else if (info->handler->verbs->len == 0) g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, - P_("The app ‘%s’ and the handler ‘%s’ in the application object have no verbs"), + _("The app ‘%s’ and the handler ‘%s’ in the application object have no verbs"), g_win32_appinfo_application_get_some_name (info->app), info->handler->handler_id_folded);