gnucash maint: [new-owner-report] use translatable strings

Christopher Lam clam at code.gnucash.org
Thu Dec 24 18:49:39 EST 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/8a188d50 (commit)
	from  https://github.com/Gnucash/gnucash/commit/455ae59a (commit)



commit 8a188d509ca75e983e0f68bac4c7f8e09443e4f6
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Dec 25 07:49:08 2020 +0800

    [new-owner-report] use translatable strings

diff --git a/gnucash/report/reports/standard/new-owner-report.scm b/gnucash/report/reports/standard/new-owner-report.scm
index e336711a2..b3e165b5d 100644
--- a/gnucash/report/reports/standard/new-owner-report.scm
+++ b/gnucash/report/reports/standard/new-owner-report.scm
@@ -223,10 +223,14 @@
         (addto! heading-list (G_ tax-header)))
     (if (debit-col column-vector)
         (addto! heading-list
-                (if formal? debit-header (gnc-account-get-debit-string acct-type))))
+                (if formal?
+                    (G_ debit-header)
+                    (gnc-account-get-debit-string acct-type))))
     (if (credit-col column-vector)
         (addto! heading-list
-                (if formal? credit-header (gnc-account-get-credit-string acct-type))))
+                (if formal?
+                    (G_ credit-header)
+                    (gnc-account-get-credit-string acct-type))))
     (if (bal-col column-vector)
         (addto! heading-list (G_ balance-header)))
     (case link-option



Summary of changes:
 gnucash/report/reports/standard/new-owner-report.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list