From eee763dd45e373df436db004e3db0d3533a15cec Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Sun, 24 May 2009 20:28:38 +0000 Subject: [PATCH] Minor i18n string improvements git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18088 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/business/business-reports/aging.scm | 2 +- src/business/business-reports/fancy-invoice.scm | 8 ++++---- src/business/business-reports/invoice.scm | 4 ++-- src/report/standard-reports/budget-income-statement.scm | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/business/business-reports/aging.scm b/src/business/business-reports/aging.scm index 9267654150..1bab7621f3 100644 --- a/src/business/business-reports/aging.scm +++ b/src/business/business-reports/aging.scm @@ -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) diff --git a/src/business/business-reports/fancy-invoice.scm b/src/business/business-reports/fancy-invoice.scm index 7e9e7af8be..cd96d7625a 100644 --- a/src/business/business-reports/fancy-invoice.scm +++ b/src/business/business-reports/fancy-invoice.scm @@ -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_ "
Invoice in progress....")))))) + (string-append title "
" (N_ "Invoice in progress...")))))) (gnc:html-table-append-row! helper-table diff --git a/src/business/business-reports/invoice.scm b/src/business/business-reports/invoice.scm index 3d9f5abf4b..fb9fcd41f1 100644 --- a/src/business/business-reports/invoice.scm +++ b/src/business/business-reports/invoice.scm @@ -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) diff --git a/src/report/standard-reports/budget-income-statement.scm b/src/report/standard-reports/budget-income-statement.scm index 29188f023d..8c5b213b8c 100644 --- a/src/report/standard-reports/budget-income-statement.scm +++ b/src/report/standard-reports/budget-income-statement.scm @@ -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