gnucash maint: Bug 797085 - Import Bills & Invoices – headers not translated.

Mike Evans mikee at code.gnucash.org
Mon Jul 29 09:21:36 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/aadb3d14 (commit)
	from  https://github.com/Gnucash/gnucash/commit/5de4b27b (commit)



commit aadb3d14629a975c67353c0d3d8211ef03efacd8
Author: Mike Evans <mikee at saxicola.co.uk>
Date:   Mon Jul 29 14:01:31 2019 +0100

    Bug 797085 - Import Bills & Invoices – headers not translated.
    
    Make strings translatable.
    
    Translators: This adds 22 new translatable strings.

diff --git a/gnucash/import-export/bi-import/dialog-bi-import-gui.c b/gnucash/import-export/bi-import/dialog-bi-import-gui.c
index ef35c74cd..6221c4622 100644
--- a/gnucash/import-export/bi-import/dialog-bi-import-gui.c
+++ b/gnucash/import-export/bi-import/dialog-bi-import-gui.c
@@ -137,30 +137,30 @@ gnc_plugin_bi_import_showGUI (GtkWindow *parent)
   column = gtk_tree_view_column_new_with_attributes (description, renderer, "text", column_id, NULL); \
   gtk_tree_view_column_set_resizable (column, TRUE); \
   gtk_tree_view_append_column (GTK_TREE_VIEW (gui->tree_view), column);
-    CREATE_COLUMN ("id", ID);
-    CREATE_COLUMN ("date__opened", DATE_OPENED);
-    CREATE_COLUMN ("owner__id", OWNER_ID);
-    CREATE_COLUMN ("billing__id", BILLING_ID);
-    CREATE_COLUMN ("notes", NOTES);
-
-    CREATE_COLUMN ("date", DATE);
-    CREATE_COLUMN ("desc", DESC);
-    CREATE_COLUMN ("action", ACTION);
-    CREATE_COLUMN ("account", ACCOUNT);
-    CREATE_COLUMN ("quantity", QUANTITY);
-    CREATE_COLUMN ("price", PRICE);
-    CREATE_COLUMN ("disc__type", DISC_TYPE);
-    CREATE_COLUMN ("disc__how", DISC_HOW);
-    CREATE_COLUMN ("discount", DISCOUNT);
-    CREATE_COLUMN ("taxable", TAXABLE);
-    CREATE_COLUMN ("taxincluded", TAXINCLUDED);
-    CREATE_COLUMN ("tax__table", TAX_TABLE);
-
-    CREATE_COLUMN ("date__posted", DATE_POSTED);
-    CREATE_COLUMN ("due__date", DUE_DATE);
-    CREATE_COLUMN ("account__posted", ACCOUNT_POSTED);
-    CREATE_COLUMN ("memo__posted", MEMO_POSTED);
-    CREATE_COLUMN ("accu__splits", ACCU_SPLITS);
+    CREATE_COLUMN (_("id"), ID);
+    CREATE_COLUMN (_("date__opened"), DATE_OPENED);
+    CREATE_COLUMN (_("owner__id"), OWNER_ID);
+    CREATE_COLUMN (_("billing__id"), BILLING_ID);
+    CREATE_COLUMN (_("notes"), NOTES);
+
+    CREATE_COLUMN (_("date"), DATE);
+    CREATE_COLUMN (_("desc"), DESC);
+    CREATE_COLUMN (_("action"), ACTION);
+    CREATE_COLUMN (_("account"), ACCOUNT);
+    CREATE_COLUMN (_("quantity"), QUANTITY);
+    CREATE_COLUMN (_("price"), PRICE);
+    CREATE_COLUMN (_("disc__type"), DISC_TYPE);
+    CREATE_COLUMN (_("disc__how"), DISC_HOW);
+    CREATE_COLUMN (_("discount"), DISCOUNT);
+    CREATE_COLUMN (_("taxable"), TAXABLE);
+    CREATE_COLUMN (_("taxincluded"), TAXINCLUDED);
+    CREATE_COLUMN (_("tax__table"), TAX_TABLE);
+
+    CREATE_COLUMN (_("date__posted"), DATE_POSTED);
+    CREATE_COLUMN (_("due__date"), DUE_DATE);
+    CREATE_COLUMN (_("account__posted"), ACCOUNT_POSTED);
+    CREATE_COLUMN (_("memo__posted"), MEMO_POSTED);
+    CREATE_COLUMN (_("accu__splits"), ACCU_SPLITS);
 
     gui->component_id = gnc_register_gui_component ("dialog-bi-import-gui",
                         NULL,



Summary of changes:
 .../import-export/bi-import/dialog-bi-import-gui.c | 48 +++++++++++-----------
 1 file changed, 24 insertions(+), 24 deletions(-)



More information about the gnucash-changes mailing list