mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
i18n fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2030 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
8d30be7baa
commit
88b004b038
@ -1,3 +1,11 @@
|
||||
2000-02-27 Dave Peticolas <peticola@cs.ucdavis.edu>
|
||||
|
||||
* 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 <peticola@cs.ucdavis.edu>
|
||||
|
||||
* src/gnome/window-adjust.c (gnc_adjust_update_cb): only update if
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user