gnucash maint: [i18n] fix translator comments to be visible to gettext
Christopher Lam
clam at code.gnucash.org
Fri Jun 7 09:24:10 EDT 2019
Updated via https://github.com/Gnucash/gnucash/commit/9752daa8 (commit)
from https://github.com/Gnucash/gnucash/commit/15a35e6a (commit)
commit 9752daa88c4c11cbfc8087690eb338a1a3d02c12
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Fri Jun 7 21:11:55 2019 +0800
[i18n] fix translator comments to be visible to gettext
Part of Bug 797270 - Budget Chart report - translation of header and
dates
Previously, the translator comments were on the same line and were not
processed into .po clues -- this commit fixes it.
diff --git a/gnucash/report/standard-reports/budget.scm b/gnucash/report/standard-reports/budget.scm
index fa82bd9ff..bcbaa9979 100644
--- a/gnucash/report/standard-reports/budget.scm
+++ b/gnucash/report/standard-reports/budget.scm
@@ -476,15 +476,18 @@
(when show-budget?
(gnc:html-table-set-cell/tag!
html-table 1 col0 "centered-label-cell"
- (_ "Bgt"))) ;; Translators: Abbreviation for "Budget"
+ ;; Translators: Abbreviation for "Budget" amount
+ (_ "Bgt")))
(when show-actual?
(gnc:html-table-set-cell/tag!
html-table 1 col1 "centered-label-cell"
- (_ "Act"))) ;; Translators: Abbreviation for "Actual"
+ ;; Translators: Abbreviation for "Actual" amount
+ (_ "Act")))
(when show-diff?
(gnc:html-table-set-cell/tag!
html-table 1 col2 "centered-label-cell"
- (_ "Diff"))) ;; Translators: Abbreviation for "Difference"
+ ;; Translators: Abbreviation for "Difference" amount
+ (_ "Diff")))
(loop (cdr column-list)
col3))))))
Summary of changes:
gnucash/report/standard-reports/budget.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
More information about the gnucash-changes
mailing list