r18088 - gnucash/trunk/src - Minor i18n string improvements

Christian Stimming cstim at code.gnucash.org
Sun May 24 16:28:38 EDT 2009


Author: cstim
Date: 2009-05-24 16:28:38 -0400 (Sun, 24 May 2009)
New Revision: 18088
Trac: http://svn.gnucash.org/trac/changeset/18088

Modified:
   gnucash/trunk/src/business/business-reports/aging.scm
   gnucash/trunk/src/business/business-reports/fancy-invoice.scm
   gnucash/trunk/src/business/business-reports/invoice.scm
   gnucash/trunk/src/report/standard-reports/budget-income-statement.scm
Log:
Minor i18n string improvements

Modified: gnucash/trunk/src/business/business-reports/aging.scm
===================================================================
--- gnucash/trunk/src/business/business-reports/aging.scm	2009-05-23 19:03:01 UTC (rev 18087)
+++ gnucash/trunk/src/business/business-reports/aging.scm	2009-05-24 20:28:38 UTC (rev 18088)
@@ -208,7 +208,7 @@
 		     (gnc:error error-str)
 		     (cons #f (sprintf
 			       (_ "Transactions relating to '%s' contain \
-+more than one currency.  This report is not designed to cope with this possibility.")  (gncOwnerGetName owner))))
+more than one currency.  This report is not designed to cope with this possibility.")  (gncOwnerGetName owner))))
 		   (begin
 		     (gnc:debug "it's an old company")
 		     (if (gnc-numeric-negative-p value)

Modified: gnucash/trunk/src/business/business-reports/fancy-invoice.scm
===================================================================
--- gnucash/trunk/src/business/business-reports/fancy-invoice.scm	2009-05-23 19:03:01 UTC (rev 18087)
+++ gnucash/trunk/src/business/business-reports/fancy-invoice.scm	2009-05-24 20:28:38 UTC (rev 18088)
@@ -859,14 +859,14 @@
 		  (set! date-table (make-date-table))
 		  ;; 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)
-		  (make-date-row! date-table (_ "Due Date") due-date)
+		   date-table (list (sprintf #f "%s #" title) (gncInvoiceGetID invoice)))
+		  (make-date-row! date-table (string-append title " " (_ "Date")) post-date)
+		  (make-date-row! date-table (_ "Due Date") due-date)
 		  date-table)
 		(gnc:make-html-text
 		  ;; oli-custom - FIXME: I have a feeling I broke a
 		 ;; translation by not using string-expand for  
-		  (string-append title (N_ "<br>Invoice&nbsp;in&nbsp;progress...."))))))
+		  (string-append title "<br>" (N_ "Invoice in progress..."))))))
 	  
 	  (gnc:html-table-append-row!
 	  	helper-table

Modified: gnucash/trunk/src/business/business-reports/invoice.scm
===================================================================
--- gnucash/trunk/src/business/business-reports/invoice.scm	2009-05-23 19:03:01 UTC (rev 18087)
+++ gnucash/trunk/src/business/business-reports/invoice.scm	2009-05-24 20:28:38 UTC (rev 18088)
@@ -690,13 +690,13 @@
 	    (if (not (equal? post-date (cons 0 0)))
 		(begin
 		  (set! date-table (make-date-table))
-		  (make-date-row! date-table (string-append title (_ " Date")) post-date)
+		  (make-date-row! date-table (string-append title " " (_ "Date")) post-date)
 		  (make-date-row! date-table (_ "Due Date") due-date)
 		  (gnc:html-document-add-object! document date-table))
 		(gnc:html-document-add-object!
 		 document
 		 (gnc:make-html-text
-		  (N_ "Invoice in progress....")))))
+		  (N_ "Invoice in progress...")))))
 
 	  (make-break! document)
 	  (make-break! document)

Modified: gnucash/trunk/src/report/standard-reports/budget-income-statement.scm
===================================================================
--- gnucash/trunk/src/report/standard-reports/budget-income-statement.scm	2009-05-23 19:03:01 UTC (rev 18087)
+++ gnucash/trunk/src/report/standard-reports/budget-income-statement.scm	2009-05-24 20:28:38 UTC (rev 18088)
@@ -404,7 +404,7 @@
                (revenue-table #f)                  ;; gnc:html-acct-table
                (expense-table #f)                  ;; gnc:html-acct-table
                (budget-name (gnc-budget-get-name budget))
-	       (period-for (string-append " " (_ "for Budget ") budget-name))
+	       (period-for (string-append " " (_ "for Budget") " " budget-name))
 	       )
 
 	  ;; a helper to add a line to our report



More information about the gnucash-changes mailing list