From 2b6047f9529b6cde899e8bb208636f64e9e90ed9 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Tue, 20 Mar 2018 11:41:21 -0700 Subject: [PATCH] Fix a string msgid generation. Call gettext in the macro, not on the macro. xgettext doesn't run cpp and can't see inside macros. --- src/gnome/gnc-plugin-page-account-tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gnome/gnc-plugin-page-account-tree.c b/src/gnome/gnc-plugin-page-account-tree.c index ce67bd6f78..0d24978c1f 100644 --- a/src/gnome/gnc-plugin-page-account-tree.c +++ b/src/gnome/gnc-plugin-page-account-tree.c @@ -1162,9 +1162,9 @@ gnc_plugin_page_account_tree_cmd_delete_account (GtkAction *action, GncPluginPag list = qof_instance_get_referring_object_list(QOF_INSTANCE(account)); if (list != NULL) { -#define EXPLANATION "The list below shows objects which make use of the account which you want to delete.\nBefore you can delete it, you must either delete those objects or else modify them so they make use\nof another account" +#define EXPLANATION _("The list below shows objects which make use of the account which you want to delete.\nBefore you can delete it, you must either delete those objects or else modify them so they make use\nof another account") - gnc_ui_object_references_show( _(EXPLANATION), list); + gnc_ui_object_references_show (EXPLANATION, list); g_list_free(list); return; }