From 31628ca90d7c5b2820eeed462c63ae2c1133d6b8 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Thu, 15 Dec 2005 16:34:11 +0000 Subject: [PATCH] String i18n cleanup in David Jafferians account deletion patch git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12161 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome/glade/account.glade | 2 +- src/gnome/gnc-plugin-page-account-tree.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gnome/glade/account.glade b/src/gnome/glade/account.glade index f6099292d7..2af2a142fc 100644 --- a/src/gnome/glade/account.glade +++ b/src/gnome/glade/account.glade @@ -2864,7 +2864,7 @@ and placeholder accounts may have an opening balance. True - One or more sub- accounts contain transactions. What would you like to do with these transactions? + One or more sub-accounts contain transactions. What would you like to do with these transactions? False False GTK_JUSTIFY_LEFT diff --git a/src/gnome/gnc-plugin-page-account-tree.c b/src/gnome/gnc-plugin-page-account-tree.c index c7b2982675..12104d339b 100644 --- a/src/gnome/gnc-plugin-page-account-tree.c +++ b/src/gnome/gnc-plugin-page-account-tree.c @@ -1121,7 +1121,7 @@ gnc_plugin_page_account_tree_cmd_delete_account (GtkAction *action, GncPluginPag glade_xml_signal_autoconnect_full(xml, gnc_glade_autoconnect_full_func, dialog); label = glade_xml_get_widget (xml, "header"); - message = g_strdup_printf("Deleting account %s", acct_name); + message = g_strdup_printf(_("Deleting account %s"), acct_name); gtk_label_set_text(GTK_LABEL(label), message); g_free(message); @@ -1228,7 +1228,7 @@ gnc_plugin_page_account_tree_cmd_delete_account (GtkAction *action, GncPluginPag lines[++i] = g_strdup_printf(format, name); } else if (splits) { format = _("All transactions in this account will be deleted."); - lines[++i] = g_strdup_printf(format); + lines[++i] = g_strdup_printf("%s", format); } } if (children) { @@ -1239,7 +1239,7 @@ gnc_plugin_page_account_tree_cmd_delete_account (GtkAction *action, GncPluginPag lines[++i] = g_strdup_printf(format, name); } else { format = _("All of its subaccounts will be deleted."); - lines[++i] = g_strdup_printf(format); + lines[++i] = g_strdup_printf("%s", format); if (dta) { name = xaccAccountGetFullName(ta, gnc_get_account_separator ()); format = _("All sub-account transactions will be moved to " @@ -1247,11 +1247,11 @@ gnc_plugin_page_account_tree_cmd_delete_account (GtkAction *action, GncPluginPag lines[++i] = g_strdup_printf(format, name); } else if (delete_res.has_splits) { format = _("All sub-account transactions will be deleted."); - lines[++i] = g_strdup_printf(format); + lines[++i] = g_strdup_printf("%s", format); } } } - lines[++i] = _("Are you sure you want to do this ?"); + lines[++i] = _("Are you sure you want to do this?"); lines[i] = NULL; i--; /* Don't try to free the constant question. */ message = g_strjoinv(" ", lines);