Bug 797279 - Reports RTL do not support RTL

RTL autodetect seems to rely on the report-title being RTL.
This commit is contained in:
Christopher Lam
2019-12-09 19:31:31 +08:00
parent e40bee0ff6
commit 60765e388a

View File

@@ -725,7 +725,7 @@ invoices and amounts.")))))
(document (gnc:make-html-document)) (document (gnc:make-html-document))
(table (gnc:make-html-table)) (table (gnc:make-html-table))
(headings (make-heading-list used-columns link-option)) (headings (make-heading-list used-columns link-option))
(report-title (string-append (owner-string type) " " (_ "Report")))) (report-title (string-append (_ (owner-string type)) " " (_ "Report"))))
(cond (cond
((not (gncOwnerIsValid owner)) ((not (gncOwnerIsValid owner))
@@ -751,7 +751,7 @@ invoices and amounts.")))))
(gnc:html-document-set-headline! (gnc:html-document-set-headline!
document (gnc:html-markup document (gnc:html-markup
"span" (owner-string type) " " (_ "Report:") " " "span" report-title ": "
(gnc:html-markup-anchor (gnc:html-markup-anchor
(if (eqv? GNC-OWNER-JOB type) (if (eqv? GNC-OWNER-JOB type)
(gnc:job-anchor-text (gncOwnerGetJob owner)) (gnc:job-anchor-text (gncOwnerGetJob owner))