From 88b004b038aa392cefa2e6b07e90fca33d7d4cad Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Mon, 28 Feb 2000 01:44:31 +0000 Subject: [PATCH] i18n fix git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2030 57a11ea4-9604-0410-9ed3-97b8803252fd --- ChangeLog | 8 ++++++++ src/gnome/dialog-transfer.c | 6 ++++-- src/gnome/window-adjust.c | 8 ++++++-- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7f1ce157b3..4295693b15 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2000-02-27 Dave Peticolas + + * src/gnome/dialog-transfer.c (gnc_xfer_dialog_create): use + gnc_localconv to get the currency symbol. + + * src/gnome/window-adjust.c (adjBWindow): put colons after label. + Use gnc_localeconv to get the currency symbol. + 2000-02-26 Dave Peticolas * src/gnome/window-adjust.c (gnc_adjust_update_cb): only update if diff --git a/src/gnome/dialog-transfer.c b/src/gnome/dialog-transfer.c index 367e7bc418..32ccda31fa 100644 --- a/src/gnome/dialog-transfer.c +++ b/src/gnome/dialog-transfer.c @@ -199,9 +199,11 @@ gnc_xfer_dialog_create(GtkWidget * parent, Account * initial, { GtkWidget *amount; - gchar * string; + gchar *currency_symbol; + gchar *string; - string = g_strconcat(AMOUNT_C_STR, " ", CURRENCY_SYMBOL, NULL); + currency_symbol = gnc_localeconv()->currency_symbol; + string = g_strconcat(AMOUNT_C_STR, " ", currency_symbol, NULL); label = gtk_label_new(string); g_free(string); gtk_misc_set_alignment(GTK_MISC(label), 0.95, 0.5); diff --git a/src/gnome/window-adjust.c b/src/gnome/window-adjust.c index e06a4d08d6..0897688875 100644 --- a/src/gnome/window-adjust.c +++ b/src/gnome/window-adjust.c @@ -193,6 +193,7 @@ adjBWindow(Account *account) GtkWidget *hbox, *vbox; GtkWidget *amount, *date; GtkWidget *label; + gchar *currency_symbol; gchar *string; hbox = gtk_hbox_new(FALSE, 5); @@ -203,12 +204,15 @@ adjBWindow(Account *account) vbox = gtk_vbox_new(TRUE, 3); /* Date label */ - label = gtk_label_new(DATE_STR); + string = g_strconcat(DATE_STR, ":", NULL); + label = gtk_label_new(string); + g_free(string); gtk_misc_set_alignment(GTK_MISC(label), 0.95, 0.5); gtk_box_pack_start(GTK_BOX(vbox), label, TRUE, TRUE, 0); /* new balance label */ - string = g_strconcat(NEW_BALN_STR, " ", CURRENCY_SYMBOL, NULL); + currency_symbol = gnc_localeconv()->currency_symbol; + string = g_strconcat(NEW_BALN_STR, ": ", currency_symbol, NULL); label = gtk_label_new(string); g_free(string); gtk_misc_set_alignment(GTK_MISC(label), 0.95, 0.5);