From 85aa8a6b122f800f3827a542b01064331cee85c9 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Wed, 2 Mar 2022 09:12:39 +0800 Subject: [PATCH] modify strings as discussed --- gnucash/report/reports/standard/category-barchart.scm | 6 +++--- .../reports/standard/test/test-standard-category-report.scm | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gnucash/report/reports/standard/category-barchart.scm b/gnucash/report/reports/standard/category-barchart.scm index 64928a3e76..283e33bdb5 100644 --- a/gnucash/report/reports/standard/category-barchart.scm +++ b/gnucash/report/reports/standard/category-barchart.scm @@ -185,8 +185,8 @@ developing over time")) (add-option (gnc:make-simple-boolean-option gnc:pagename-display - (N_ "Replace amounts with percentage ratios.") - "e1" (N_ "Display percentage contribution of each account to the Gand Total instead of amounts.") + (N_ "Percentage chart") + "e1" (N_ "Display account contributions as a percentage of the total value for the period.") #f)) (gnc:options-add-plot-size! @@ -259,7 +259,7 @@ developing over time")) (work-to-do 0) (all-data #f) (show-table? (get-option gnc:pagename-display (N_ "Show table"))) - (ratio-chart? (get-option gnc:pagename-display (N_ "Replace amounts with percentage ratios."))) + (ratio-chart? (get-option gnc:pagename-display (N_ "Percentage chart"))) (document (gnc:make-html-document)) (chart (gnc:make-html-chart)) (topl-accounts (gnc:filter-accountlist-type diff --git a/gnucash/report/reports/standard/test/test-standard-category-report.scm b/gnucash/report/reports/standard/test/test-standard-category-report.scm index 87fd3687e0..90d9f33b68 100644 --- a/gnucash/report/reports/standard/test/test-standard-category-report.scm +++ b/gnucash/report/reports/standard/test/test-standard-category-report.scm @@ -245,7 +245,7 @@ (sxml->table-row-col sxml 1 0 2)) ;; test ratios - (set-option expense-options gnc:pagename-display "Replace amounts with percentage ratios." #t) + (set-option expense-options gnc:pagename-display "Percentage chart" #t) (let ((sxml (gnc:options->sxml expense-report-uuid expense-options "test-standard-category-report" "ratios"