gnucash maint: Add a translator comment about invoice title format
Frank H.Ellenberger
fell at code.gnucash.org
Fri Nov 2 18:17:41 EDT 2018
Updated via https://github.com/Gnucash/gnucash/commit/38abaf30 (commit)
from https://github.com/Gnucash/gnucash/commit/4b5ee845 (commit)
commit 38abaf305a4b13867f64aea333092af6cf0f284c
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date: Fri Nov 2 23:16:52 2018 +0100
Add a translator comment about invoice title format
diff --git a/gnucash/report/business-reports/invoice.scm b/gnucash/report/business-reports/invoice.scm
index 44b5c83..5556628 100644
--- a/gnucash/report/business-reports/invoice.scm
+++ b/gnucash/report/business-reports/invoice.scm
@@ -802,6 +802,9 @@ for styling the invoice. Please see the exported report for the CSS class names.
(else
(_ "Invoice"))))
(title (if (string-null? custom-title) default-title custom-title))
+ ;; Translators: This is the format of the invoice title.
+ ;; The first ~a is "Invoice", "Credit Note"... and the second the number.
+ ;; Replace " #" by whatever is common as number abbreviation, i.e. "~a Nr. ~a"
(invoice-title (format #f (_"~a #~a") title (gncInvoiceGetID invoice)))
(layout-lookup-table (list (cons 'none #f)
(cons 'picture (gnc:make-html-div/markup
Summary of changes:
gnucash/report/business-reports/invoice.scm | 3 +++
1 file changed, 3 insertions(+)
More information about the gnucash-changes
mailing list