Add a translator comment about invoice title format

This commit is contained in:
Frank H. Ellenberger 2018-11-02 23:16:52 +01:00
parent 4b5ee84575
commit 38abaf305a

View File

@ -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