mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 797725 - Untranslatable string "For Period Covering ~a to ~a"
This commit is contained in:
parent
645cc9461d
commit
580efe091c
@ -318,14 +318,17 @@
|
||||
(exchange-fn (gnc:case-exchange-fn price-source report-commodity to-date)))
|
||||
|
||||
(gnc:html-document-set-title!
|
||||
doc (string-append
|
||||
company-name " " report-title " "
|
||||
(if sx?
|
||||
;; Translators: This is part of the report title, which is capitalzed in English, but not all other languages
|
||||
(format #f (G_ "For Period Covering ~a to ~a")
|
||||
(qof-print-date from-date)
|
||||
(qof-print-date to-date))
|
||||
(qof-print-date to-date))))
|
||||
doc
|
||||
(if sx?
|
||||
(gnc:format (G_ "${company-name} ${report-title} For Period Covering ${start} to ${end}")
|
||||
'company-name company-name
|
||||
'report-title report-title
|
||||
'start (qof-print-date from-date)
|
||||
'end (qof-print-date to-date))
|
||||
(gnc:format (G_ "${company-name} ${report-title} ${date}")
|
||||
'company-name company-name
|
||||
'report-title report-title
|
||||
'date (qof-print-date to-date))))
|
||||
|
||||
(if (null? accounts)
|
||||
|
||||
|
@ -298,12 +298,11 @@
|
||||
(gnc:account-get-comm-balance-at-date account end-date #f))
|
||||
|
||||
(gnc:html-document-set-title!
|
||||
doc (format #f
|
||||
(string-append "~a ~a "
|
||||
(G_ "For Period Covering ~a to ~a"))
|
||||
company-name report-title
|
||||
(qof-print-date start-date-printable)
|
||||
(qof-print-date end-date)))
|
||||
doc (gnc:format (G_ "${company-name} ${report-title} For Period Covering ${start} to ${end}")
|
||||
'company-name company-name
|
||||
'report-title report-title
|
||||
'start (qof-print-date start-date-printable)
|
||||
'end (qof-print-date end-date)))
|
||||
|
||||
(if (null? accounts)
|
||||
|
||||
|
@ -403,10 +403,11 @@
|
||||
(gnc:html-table-append-ruler! table (* 2 tree-depth)))
|
||||
|
||||
(gnc:html-document-set-title!
|
||||
doc (format #f (string-append "~a ~a " (G_ "For Period Covering ~a to ~a"))
|
||||
company-name report-title
|
||||
(qof-print-date start-date-printable)
|
||||
(qof-print-date end-date)))
|
||||
doc (gnc:format (G_ "${company-name} ${report-title} For Period Covering ${start} to ${end}")
|
||||
'company-name company-name
|
||||
'report-title report-title
|
||||
'start (qof-print-date start-date-printable)
|
||||
'end (qof-print-date end-date)))
|
||||
|
||||
(if (null? accounts)
|
||||
|
||||
|
@ -399,15 +399,17 @@
|
||||
(period-for (string-append " " (G_ "for Period"))))
|
||||
|
||||
(gnc:html-document-set-title!
|
||||
doc (if (eq? report-variant 'current)
|
||||
(format #f "~a ~a ~a"
|
||||
company-name report-title
|
||||
(qof-print-date end-date))
|
||||
(format #f (string-append "~a ~a "
|
||||
(G_ "For Period Covering ~a to ~a"))
|
||||
company-name report-title
|
||||
(qof-print-date start-date-printable)
|
||||
(qof-print-date end-date))))
|
||||
doc
|
||||
(if (eq? report-variant 'current)
|
||||
(gnc:format (G_ "${company-name} ${report-title} ${date}")
|
||||
'company-name company-name
|
||||
'report-title report-title
|
||||
'date (qof-print-date end-date))
|
||||
(gnc:format (G_ "${company-name} ${report-title} For Period Covering ${start} to ${end}")
|
||||
'company-name company-name
|
||||
'report-title report-title
|
||||
'start (qof-print-date start-date-printable)
|
||||
'end (qof-print-date end-date))))
|
||||
|
||||
(if (null? accounts)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user