r16741 - gnucash/branches/2.2/src/report/standard-reports - [r16740] Fix i18n string to translate only the meaningful part.

Christian Stimming cstim at cvs.gnucash.org
Thu Dec 27 05:49:26 EST 2007


Author: cstim
Date: 2007-12-27 05:49:26 -0500 (Thu, 27 Dec 2007)
New Revision: 16741
Trac: http://svn.gnucash.org/trac/changeset/16741

Modified:
   gnucash/branches/2.2/src/report/standard-reports/cash-flow.scm
Log:
[r16740] Fix i18n string to translate only the meaningful part.

Remove the unnecessary "for" in the report title.
This doesn't introduce any new string. It can be back-ported right away.

Modified: gnucash/branches/2.2/src/report/standard-reports/cash-flow.scm
===================================================================
--- gnucash/branches/2.2/src/report/standard-reports/cash-flow.scm	2007-12-27 10:44:44 UTC (rev 16740)
+++ gnucash/branches/2.2/src/report/standard-reports/cash-flow.scm	2007-12-27 10:49:26 UTC (rev 16741)
@@ -192,9 +192,11 @@
 
 
     (gnc:html-document-set-title! 
-     doc (sprintf #f (_ "%s - %s to %s for")
-		  (get-option gnc:pagename-general gnc:optname-reportname)
-                  (gnc-print-date from-date-tp) (gnc-print-date to-date-tp)))
+     doc (string-append
+	  (get-option gnc:pagename-general gnc:optname-reportname)
+	  " - "
+	  (sprintf #f (_ "%s to %s")
+		   (gnc-print-date from-date-tp) (gnc-print-date to-date-tp))))
 
 
     ;; add subaccounts if requested



More information about the gnucash-changes mailing list