r19326 - gnucash/trunk/src/report/standard-reports - Bug #556713 - inconsistency in report options, partial fix

Geert Janssens gjanssens at code.gnucash.org
Sat Jul 3 10:57:38 EDT 2010


Author: gjanssens
Date: 2010-07-03 10:57:38 -0400 (Sat, 03 Jul 2010)
New Revision: 19326
Trac: http://svn.gnucash.org/trac/changeset/19326

Modified:
   gnucash/trunk/src/report/standard-reports/account-piecharts.scm
   gnucash/trunk/src/report/standard-reports/advanced-portfolio.scm
   gnucash/trunk/src/report/standard-reports/average-balance.scm
   gnucash/trunk/src/report/standard-reports/category-barchart.scm
   gnucash/trunk/src/report/standard-reports/portfolio.scm
   gnucash/trunk/src/report/standard-reports/transaction.scm
Log:
Bug #556713 - inconsistency in report options, partial fix
This commit aligns all occurences of "Report Currency" and variants to "Report's currency"

Modified: gnucash/trunk/src/report/standard-reports/account-piecharts.scm
===================================================================
--- gnucash/trunk/src/report/standard-reports/account-piecharts.scm	2010-07-03 14:36:13 UTC (rev 19325)
+++ gnucash/trunk/src/report/standard-reports/account-piecharts.scm	2010-07-03 14:57:38 UTC (rev 19326)
@@ -288,7 +288,7 @@
            (print-info (gnc-commodity-print-info report-currency #t)))
 
       ;; Converts a commodity-collector into one single double
-      ;; number, depending on the report currency and the
+      ;; number, depending on the report's currency and the
       ;; exchange-fn calculated above. Returns the absolute value
       ;; as double, multiplied by the averaging-multiplies (smaller
       ;; than one; multiplication instead of division to avoid

Modified: gnucash/trunk/src/report/standard-reports/advanced-portfolio.scm
===================================================================
--- gnucash/trunk/src/report/standard-reports/advanced-portfolio.scm	2010-07-03 14:36:13 UTC (rev 19325)
+++ gnucash/trunk/src/report/standard-reports/advanced-portfolio.scm	2010-07-03 14:57:38 UTC (rev 19326)
@@ -63,7 +63,7 @@
      (N_ "Date") "a")
 
     (gnc:options-add-currency! 
-     options gnc:pagename-general (N_ "Report Currency") "c")
+     options gnc:pagename-general (N_ "Report's currency") "c")
 
     (add-option
      (gnc:make-multichoice-option
@@ -374,7 +374,7 @@
 		 ;; with US dollars. In this case, commod-currency
 		 ;; would be US dollars. If there is no price, we
 		 ;; arbitrarily set the commod-currency to the same as
-		 ;; that of the report, currency
+		 ;; that of the report's currency
 		 (commod-currency (if price (gnc-price-get-currency price) currency))
 		 ;; the value of the commodity, expressed in terms of
 		 ;; the report's currency.
@@ -752,7 +752,7 @@
   (let ((to-date     (gnc:date-option-absolute-time
                       (get-option gnc:pagename-general "Date")))
         (accounts    (get-option gnc:pagename-accounts "Accounts"))
-        (currency    (get-option gnc:pagename-general "Report Currency"))
+        (currency    (get-option gnc:pagename-general "Report's currency"))
         (price-source (get-option gnc:pagename-general
                                   optname-price-source))
         (report-title (get-option gnc:pagename-general 

Modified: gnucash/trunk/src/report/standard-reports/average-balance.scm
===================================================================
--- gnucash/trunk/src/report/standard-reports/average-balance.scm	2010-07-03 14:36:13 UTC (rev 19325)
+++ gnucash/trunk/src/report/standard-reports/average-balance.scm	2010-07-03 14:57:38 UTC (rev 19326)
@@ -41,7 +41,7 @@
     (gnc:options-add-interval-choice! 
      options gnc:pagename-general optname-stepsize "b" 'MonthDelta)
 
-    ;; Report currency
+    ;; Report's currency
     (gnc:options-add-currency! 
      options gnc:pagename-general optname-report-currency "c")
     

Modified: gnucash/trunk/src/report/standard-reports/category-barchart.scm
===================================================================
--- gnucash/trunk/src/report/standard-reports/category-barchart.scm	2010-07-03 14:36:13 UTC (rev 19325)
+++ gnucash/trunk/src/report/standard-reports/category-barchart.scm	2010-07-03 14:57:38 UTC (rev 19326)
@@ -261,7 +261,7 @@
                (all-data '()))
           
           ;; Converts a commodity-collector into one single double
-          ;; number, depending on the report currency and the
+          ;; number, depending on the report's currency and the
           ;; exchange-fn calculated above. Returns a double.
           (define (collector->double c date)
             ;; Future improvement: Let the user choose which kind of

Modified: gnucash/trunk/src/report/standard-reports/portfolio.scm
===================================================================
--- gnucash/trunk/src/report/standard-reports/portfolio.scm	2010-07-03 14:36:13 UTC (rev 19325)
+++ gnucash/trunk/src/report/standard-reports/portfolio.scm	2010-07-03 14:57:38 UTC (rev 19326)
@@ -52,7 +52,7 @@
      (N_ "Date") "a")
 
     (gnc:options-add-currency! 
-     options gnc:pagename-general (N_ "Report Currency") "c")
+     options gnc:pagename-general (N_ "Report's currency") "c")
 
     (gnc:options-add-price-source! 
      options gnc:pagename-general
@@ -172,7 +172,7 @@
   (let ((to-date     (gnc:date-option-absolute-time
                       (get-option gnc:pagename-general "Date")))
         (accounts    (get-option gnc:pagename-accounts "Accounts"))
-        (currency    (get-option gnc:pagename-general "Report Currency"))
+        (currency    (get-option gnc:pagename-general "Report's currency"))
         (report-title (get-option gnc:pagename-general 
                                   gnc:optname-reportname))
         (price-source (get-option gnc:pagename-general

Modified: gnucash/trunk/src/report/standard-reports/transaction.scm
===================================================================
--- gnucash/trunk/src/report/standard-reports/transaction.scm	2010-07-03 14:36:13 UTC (rev 19325)
+++ gnucash/trunk/src/report/standard-reports/transaction.scm	2010-07-03 14:57:38 UTC (rev 19326)
@@ -55,7 +55,7 @@
 (define optname-void-transactions (N_ "Void Transactions?"))
 (define optname-table-export (N_ "Table for Exporting"))
 (define optname-common-currency (N_ "Common Currency"))
-(define optname-currency (N_ "Report Currency"))
+(define optname-currency (N_ "Report's currency"))
 (define def:grand-total-style "grand-total")
 (define def:normal-row-style "normal-row")
 (define def:alternate-row-style "alternate-row")



More information about the gnucash-changes mailing list