r20239 - gnucash/trunk/src/report/business-reports - Bug #641557: I18n slightly improved in fancy-invoice

Christian Stimming cstim at code.gnucash.org
Sat Feb 5 11:29:08 EST 2011


Author: cstim
Date: 2011-02-05 11:29:08 -0500 (Sat, 05 Feb 2011)
New Revision: 20239
Trac: http://svn.gnucash.org/trac/changeset/20239

Modified:
   gnucash/trunk/src/report/business-reports/fancy-invoice.scm
Log:
Bug #641557: I18n slightly improved in fancy-invoice

Modified: gnucash/trunk/src/report/business-reports/fancy-invoice.scm
===================================================================
--- gnucash/trunk/src/report/business-reports/fancy-invoice.scm	2011-02-05 16:28:55 UTC (rev 20238)
+++ gnucash/trunk/src/report/business-reports/fancy-invoice.scm	2011-02-05 16:29:08 UTC (rev 20239)
@@ -885,7 +885,12 @@
 		  ;; oli-custom - moved invoice number here
 		  (gnc:html-table-append-row!
 		   date-table (list (sprintf #f (_ "%s #") title) (gncInvoiceGetID invoice)))
-		  (make-date-row! date-table (string-append title " " (_ "Date")) post-date)
+                  ;; Translators: The first %s below is "Invoice" or
+                  ;; "Bill" or even the custom title from the
+                  ;; options. This string sucks for i18n, but I don't
+                  ;; have a better solution right now without breaking
+                  ;; other people's invoices.
+		  (make-date-row! date-table (sprintf #f (_ "%s Date") title) post-date)
 		  (make-date-row! date-table (_ "Due Date") due-date)
 		  date-table)
 		(gnc:make-html-text



More information about the gnucash-changes mailing list