Bug 797270 - Budget Chart report - translation of header and dates

Enable translation of header.

Dates are already localised in this report.
This commit is contained in:
Christopher Lam 2019-06-07 09:07:18 +08:00
parent e210af23f6
commit d7f0f5da63

View File

@ -236,7 +236,9 @@
(gnc:html-chart-set-title! (gnc:html-chart-set-title!
chart chart
(list (xaccAccountGetName acct) (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 bgt-sum)
(amount->monetary act-sum)))))) (amount->monetary act-sum))))))
(else (else