gnucash maint: Mark "_New Account" button label in import-account-matcher translatable

Frank H.Ellenberger fell at code.gnucash.org
Wed Jan 3 01:16:49 EST 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/4fe2eb2e (commit)
	from  https://github.com/Gnucash/gnucash/commit/3f82940e (commit)



commit 4fe2eb2e49c6223f20ce8b84293e7b8c45e93d55
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Wed Jan 3 07:16:40 2018 +0100

    Mark "_New Account" button label in import-account-matcher translatable
    
    Because the MsgId already exists, it does not break string freeze.
    Thanks to Mechtilde for heads up.

diff --git a/src/import-export/import-account-matcher.c b/src/import-export/import-account-matcher.c
index a828311..e5ad6b2 100644
--- a/src/import-export/import-account-matcher.c
+++ b/src/import-export/import-account-matcher.c
@@ -435,7 +435,7 @@ AccountPickerDialog* gnc_import_account_assist_setup(GtkWidget *parent)
     picker->account_online_id_label = GTK_WIDGET(gtk_builder_get_object (builder, "online_id_label"));
 
     /* Add the New Account Button */
-    button = gtk_button_new_with_mnemonic ("_New Account");
+    button = gtk_button_new_with_mnemonic (_("_New Account"));
     h_box = gtk_hbox_new(TRUE, 0);
     gtk_box_pack_start(GTK_BOX(h_box), button, FALSE, FALSE, 0);
     gtk_box_pack_start( GTK_BOX(box), h_box, FALSE, FALSE, 6);



Summary of changes:
 src/import-export/import-account-matcher.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list