[Gnucash-changes] r13600 - gnucash/trunk - Make sure we translate
the button label string.
Derek Atkins
warlord at cvs.gnucash.org
Sat Mar 11 13:10:19 EST 2006
Author: warlord
Date: 2006-03-11 13:10:19 -0500 (Sat, 11 Mar 2006)
New Revision: 13600
Trac: http://svn.gnucash.org/trac/changeset/13600
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/gnome-search/dialog-search.c
Log:
Make sure we translate the button label string.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2006-03-11 17:30:54 UTC (rev 13599)
+++ gnucash/trunk/ChangeLog 2006-03-11 18:10:19 UTC (rev 13600)
@@ -1,3 +1,8 @@
+2006-03-11 Derek Atkins <derek at ihtfp.com>
+
+ * src/gnome-search/dialog-search.c:
+ Make sure we translate the button label string.
+
2006-03-11 David Hampton <hampton at employees.org>
* src/gnome-utils/gnc-tree-model-account.c:
Modified: gnucash/trunk/src/gnome-search/dialog-search.c
===================================================================
--- gnucash/trunk/src/gnome-search/dialog-search.c 2006-03-11 17:30:54 UTC (rev 13599)
+++ gnucash/trunk/src/gnome-search/dialog-search.c 2006-03-11 18:10:19 UTC (rev 13600)
@@ -268,7 +268,7 @@
sw->select_button = button;
for (i = 0; sw->buttons[i].label; i++) {
- button = gtk_button_new_with_label (sw->buttons[i].label);
+ button = gtk_button_new_with_label (_(sw->buttons[i].label));
g_object_set_data (G_OBJECT (button), "data", &(sw->buttons[i]));
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (gnc_search_dialog_result_clicked), sw);
More information about the gnucash-changes
mailing list