[Gnucash-changes] r12161 - gnucash/trunk/src/gnome - String i18n
cleanup in David Jafferians account deletion patch
Christian Stimming
cstim at cvs.gnucash.org
Thu Dec 15 11:34:12 EST 2005
Author: cstim
Date: 2005-12-15 11:34:11 -0500 (Thu, 15 Dec 2005)
New Revision: 12161
Trac: http://svn.gnucash.org/trac/changeset/12161
Modified:
gnucash/trunk/src/gnome/glade/account.glade
gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c
Log:
String i18n cleanup in David Jafferians account deletion patch
Modified: gnucash/trunk/src/gnome/glade/account.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/account.glade 2005-12-15 16:30:44 UTC (rev 12160)
+++ gnucash/trunk/src/gnome/glade/account.glade 2005-12-15 16:34:11 UTC (rev 12161)
@@ -2864,7 +2864,7 @@
<child>
<widget class="GtkLabel" id="sa_trans_rw">
<property name="visible">True</property>
- <property name="label" translatable="yes">One or more sub- accounts contain transactions. What would you like to do with these transactions?</property>
+ <property name="label" translatable="yes">One or more sub-accounts contain transactions. What would you like to do with these transactions?</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
Modified: gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c 2005-12-15 16:30:44 UTC (rev 12160)
+++ gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c 2005-12-15 16:34:11 UTC (rev 12161)
@@ -1121,7 +1121,7 @@
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 @@
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 @@
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 @@
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);
More information about the gnucash-changes
mailing list