mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #556713 - inconsistency in report options, partial fix
This commit replaces "From/To" with "Start Date/End Date" in all standard reports. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19325 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
8ec2678f30
commit
bac826d063
@ -59,8 +59,8 @@ balance at a given time"))
|
||||
(define reportname-assets (N_ "Assets"))
|
||||
(define reportname-liabilities (N_ "Liabilities"))
|
||||
|
||||
(define optname-from-date (N_ "From"))
|
||||
(define optname-to-date (N_ "To"))
|
||||
(define optname-from-date (N_ "Start Date"))
|
||||
(define optname-to-date (N_ "End Date"))
|
||||
(define optname-report-currency (N_ "Report's currency"))
|
||||
(define optname-price-source (N_ "Price Source"))
|
||||
|
||||
|
@ -15,8 +15,8 @@
|
||||
|
||||
(define reportname (N_ "Average Balance"))
|
||||
|
||||
(define optname-from-date (N_ "From"))
|
||||
(define optname-to-date (N_ "To"))
|
||||
(define optname-from-date (N_ "Start Date"))
|
||||
(define optname-to-date (N_ "End Date"))
|
||||
(define optname-stepsize (N_ "Step Size"))
|
||||
(define optname-report-currency (N_ "Report's currency"))
|
||||
(define optname-price-source (N_ "Price Source"))
|
||||
|
@ -38,8 +38,8 @@
|
||||
|
||||
;; define all option's names so that they are properly defined
|
||||
;; in *one* place.
|
||||
;;(define optname-from-date (N_ "From"))
|
||||
;;(define optname-to-date (N_ "To"))
|
||||
;;(define optname-from-date (N_ "Start Date"))
|
||||
;;(define optname-to-date (N_ "End Date"))
|
||||
|
||||
(define optname-display-depth (N_ "Account Display Depth"))
|
||||
(define optname-show-subaccounts (N_ "Always show sub-accounts"))
|
||||
|
@ -40,8 +40,8 @@
|
||||
|
||||
;; define all option's names so that they are properly defined
|
||||
;; in *one* place.
|
||||
(define optname-from-date (N_ "From"))
|
||||
(define optname-to-date (N_ "To"))
|
||||
(define optname-from-date (N_ "Start Date"))
|
||||
(define optname-to-date (N_ "End Date"))
|
||||
|
||||
(define optname-display-depth (N_ "Account Display Depth"))
|
||||
(define optname-show-subaccounts (N_ "Always show sub-accounts"))
|
||||
|
@ -65,8 +65,8 @@ developing over time"))
|
||||
(define reportname-liabilities (N_ "Liabilities Over Time"))
|
||||
|
||||
;; Option names
|
||||
(define optname-from-date (N_ "From"))
|
||||
(define optname-to-date (N_ "To"))
|
||||
(define optname-from-date (N_ "Start Date"))
|
||||
(define optname-to-date (N_ "End Date"))
|
||||
(define optname-stepsize (N_ "Step Size"))
|
||||
(define optname-report-currency (N_ "Report's currency"))
|
||||
(define optname-price-source (N_ "Price Source"))
|
||||
|
@ -52,8 +52,8 @@
|
||||
(define reportname-income (N_ "Income vs. Day of Week"))
|
||||
(define reportname-expense (N_ "Expenses vs. Day of Week"))
|
||||
|
||||
(define optname-from-date (N_ "From"))
|
||||
(define optname-to-date (N_ "To"))
|
||||
(define optname-from-date (N_ "Start Date"))
|
||||
(define optname-to-date (N_ "End Date"))
|
||||
(define optname-report-currency (N_ "Report's currency"))
|
||||
(define optname-price-source (N_ "Price Source"))
|
||||
|
||||
|
@ -36,8 +36,8 @@
|
||||
|
||||
(define reportname (N_ "Income/Expense Chart"))
|
||||
|
||||
(define optname-from-date (N_ "From"))
|
||||
(define optname-to-date (N_ "To"))
|
||||
(define optname-from-date (N_ "Start Date"))
|
||||
(define optname-to-date (N_ "End Date"))
|
||||
(define optname-stepsize (N_ "Step Size"))
|
||||
(define optname-report-currency (N_ "Report's currency"))
|
||||
(define optname-price-source (N_ "Price Source"))
|
||||
|
@ -32,8 +32,8 @@
|
||||
|
||||
(gnc:module-load "gnucash/report/report-system" 0)
|
||||
|
||||
(define optname-from-date (N_ "From"))
|
||||
(define optname-to-date (N_ "To"))
|
||||
(define optname-from-date (N_ "Start Date"))
|
||||
(define optname-to-date (N_ "End Date"))
|
||||
(define optname-stepsize (N_ "Step Size"))
|
||||
|
||||
(define pagename-price (N_ "Price"))
|
||||
|
@ -564,7 +564,7 @@
|
||||
|
||||
(gnc:options-add-date-interval!
|
||||
gnc:*transaction-report-options*
|
||||
gnc:pagename-general (N_ "From") (N_ "To") "a")
|
||||
gnc:pagename-general (N_ "Start Date") (N_ "End Date") "a")
|
||||
|
||||
|
||||
(gnc:register-trep-option
|
||||
@ -1312,10 +1312,10 @@ Credit Card, and Income accounts")))))
|
||||
(filter-mode (opt-val gnc:pagename-accounts "Filter Type"))
|
||||
(begindate (gnc:timepair-start-day-time
|
||||
(gnc:date-option-absolute-time
|
||||
(opt-val gnc:pagename-general "From"))))
|
||||
(opt-val gnc:pagename-general "Start Date"))))
|
||||
(enddate (gnc:timepair-end-day-time
|
||||
(gnc:date-option-absolute-time
|
||||
(opt-val gnc:pagename-general "To"))))
|
||||
(opt-val gnc:pagename-general "End Date"))))
|
||||
(report-title (opt-val
|
||||
gnc:pagename-general
|
||||
gnc:optname-reportname))
|
||||
|
Loading…
Reference in New Issue
Block a user