gnucash master: Bug 797270 - Budget Chart report - translation of header and dates

Christopher Lam clam at code.gnucash.org
Fri Jun 7 09:24:33 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/d7f0f5da (commit)
	from  https://github.com/Gnucash/gnucash/commit/e210af23 (commit)



commit d7f0f5da63ad742805b5543f5b30d220c74b8248
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Jun 7 09:07:18 2019 +0800

    Bug 797270 - Budget Chart report - translation of header and dates
    
    Enable translation of header.
    
    Dates are already localised in this report.

diff --git a/gnucash/report/reports/standard/budget-barchart.scm b/gnucash/report/reports/standard/budget-barchart.scm
index a7d4f7b9e..a1b6a4b04 100644
--- a/gnucash/report/reports/standard/budget-barchart.scm
+++ b/gnucash/report/reports/standard/budget-barchart.scm
@@ -236,7 +236,9 @@
           (gnc:html-chart-set-title!
            chart
            (list (xaccAccountGetName acct)
-                 (format #f "Bgt: ~a Act: ~a"
+                 ;; Translators: Bgt and Act refer to budgeted and
+                 ;; actual total amounts.
+                 (format #f (_ "Bgt: ~a Act: ~a")
                          (amount->monetary bgt-sum)
                          (amount->monetary act-sum))))))
        (else



Summary of changes:
 gnucash/report/reports/standard/budget-barchart.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list