Fwd: Re: Date Options for Reports
David T.
sunfish62 at yahoo.com
Mon Mar 17 01:37:50 EDT 2008
When I sent this in back in January, I never heard anything more. I don't know
whether it will be included in a future version of Gnucash or not, although I
see it isn't in 2.2.4
Thanks,
David
--- "David T." <sunfish62 at yahoo.com> wrote:
> Date: Mon, 21 Jan 2008 11:35:40 -0800 (PST)
> From: "David T." <sunfish62 at yahoo.com>
> Subject: Re: Date Options for Reports
> To: Derek Atkins <warlord at MIT.EDU>
> CC: devel gnucash <gnucash-devel at gnucash.org>
>
> Okay. I have re-run diff as you requested. I do not see any options in Yahoo
> mail to set the attachment as text; perhaps by adding '.txt' to the filename,
> it will come through as you need it?
>
> David
>
> --- Derek Atkins <warlord at MIT.EDU> wrote:
>
> > Hi,
> >
> > Try using "diff -u" please? This patch is unusable as is. Thanks.
> >
> > Also, you can attach the patch as a text/x-patch instead
> > of octet-stream.
> >
> > -derek
> >
> > "David T." <sunfish62 at yahoo.com> writes:
> >
> > > Yes. I just saw the other thread regarding guile-strings.c
> > >
> > > I notice now in the file that each line is preceded by a comment line:
> > >
> > > /* src/app-utils/date-utilities.scm */
> > >
> > > Assuming that this scheme file is the actual place I should patch, I
> attach
> > a
> > > patch for the date-utilities.scm file.
> > >
> > > David
> > >
> > > --- Derek Atkins <warlord at MIT.EDU> wrote:
> > >
> > >> Quoting "David T." <sunfish62 at yahoo.com>:
> > >>
> > >> > I have been bothered by the inconsistency of the date options on
> > reports. I
> > >> > have noticed that GC uses "Start of this month", but "Start of current
> > >> > quarter"; "Start of ...", but "Current Year Start" and "Previous Year
> > >> > Start". I
> > >> > would like to see a standardized set of terms:
> > >> >
> > >> > Option Tooltip
> > >> > Start of current {interval} The start of the current {interval}
> > >> > Start of previous {interval} The start of the previous {interval}
> > >> >
> > >> > along with the same entries under the To: selectbox.
> > >> >
> > >> > I am not certain, but it looks like these strings are established in
> > >> > guile-strings.c. If this is in fact, I attach the results of "diff
> > >> > guile-strings.c guile-strings-mine.c" in the hopes that the changes
> can
> > get
> > >> > integrated into the main program.
> > >>
> > >> Bzzt. guile-strings.c is a magic file, generated solely for the purpose
> > >> of translation of scheme strings. You'll need to search through
> > >> the .scm files to find the sources of these strings.
> > >>
> > >> Also, it's POSSIBLE that changing these strings could result in
> > >> breaking existing report options, but that would depend on how
> > >> they are implemented.
> > >>
> > >> Thanks,
> > >>
> > >> > David
> > >>
> > >> -derek
> > >>
> > >> --
> > >> Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> > >> Member, MIT Student Information Processing Board (SIPB)
> > >> URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
> > >> warlord at MIT.EDU PGP key available
> > >>
> > >>
> > >
> > >
> > >
> > >
> >
>
____________________________________________________________________________________
> > > Looking for last minute shopping deals?
> > > Find them fast with Yahoo! Search.
> > http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> > >
> >
> > --
> > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> > Member, MIT Student Information Processing Board (SIPB)
> > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
> > warlord at MIT.EDU PGP key available
> >
>
>
>
>
>
____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping> ---
date-utilities.scm 2007-08-19 06:46:24.000000000 -0700
> +++ date-utilities-mine.scm 2008-01-18 18:31:38.000000000 -0800
> @@ -629,88 +629,88 @@
> (define (gnc:reldate-initialize)
> (gnc:reldate-string-db
> 'store 'start-cal-year-string
> - (N_ "Current Year Start"))
> + (N_ "Start of current year"))
>
> (gnc:reldate-string-db
> 'store 'start-cal-year-desc
> - (N_ "Start of the current calendar year"))
> + (N_ "The start of the current calendar year"))
>
> (gnc:reldate-string-db
> 'store 'end-cal-year-string
> - (N_ "Current Year End"))
> + (N_ "End of current year"))
> (gnc:reldate-string-db
> 'store 'end-cal-year-desc
> - (N_ "End of the current calendar year"))
> + (N_ "The end of the current calendar year"))
>
> (gnc:reldate-string-db
> 'store 'start-prev-year-string
> - (N_ "Previous Year Start"))
> + (N_ "Start of previous year"))
> (gnc:reldate-string-db
> 'store 'start-prev-year-desc
> - (N_ "Beginning of the previous calendar year"))
> + (N_ "The start of the previous calendar year"))
>
> (gnc:reldate-string-db
> 'store 'end-prev-year-string
> - (N_ "Previous Year End"))
> + (N_ "End of previous year"))
> (gnc:reldate-string-db
> 'store 'end-prev-year-desc
> - (N_ "End of the Previous Year"))
> + (N_ "The end of the previous calendar year"))
>
> (gnc:reldate-string-db
> 'store 'start-accounting-period-string
> (N_ "Start of Financial Period"))
> (gnc:reldate-string-db
> 'store 'start-accounting-period-desc
> - (N_ "Start of the accounting period, as set in the global preferences"))
> + (N_ "The start of the accounting period, as set in the global
> preferences"))
>
> (gnc:reldate-string-db
> 'store 'end-accounting-period-string
> (N_ "End of Financial Period"))
> (gnc:reldate-string-db
> 'store 'end-accounting-period-desc
> - (N_ "End of the accounting period, as set in the global preferences"))
> + (N_ "The end of the accounting period, as set in the global
> preferences"))
>
> (gnc:reldate-string-db
> 'store 'start-this-month-string
> - (N_ "Start of this month"))
> + (N_ "Start of current month"))
> (gnc:reldate-string-db
> 'store 'start-this-month-desc
> - (N_ "Start of the current month"))
> + (N_ "The start of the current month"))
>
> (gnc:reldate-string-db
> 'store 'end-this-month-string
> - (N_ "End of this month"))
> + (N_ "End of current month"))
> (gnc:reldate-string-db
> 'store 'end-this-month-desc
> - (N_ "End of the current month"))
> + (N_ "The end of the current month"))
>
> (gnc:reldate-string-db
> 'store 'start-prev-month-string
> (N_ "Start of previous month"))
> (gnc:reldate-string-db
> 'store 'start-prev-month-desc
> - (N_ "The beginning of the previous month"))
> + (N_ "The start of the previous month"))
>
> (gnc:reldate-string-db
> 'store 'end-prev-month-string
> (N_ "End of previous month"))
> (gnc:reldate-string-db
> 'store 'end-prev-month-desc
> - (N_ "Last day of previous month"))
> + (N_ "The end of the previous month"))
>
> (gnc:reldate-string-db
> 'store 'start-current-quarter-string
> (N_ "Start of current quarter"))
> (gnc:reldate-string-db
> 'store 'start-current-quarter-desc
> - (N_ "The start of the latest quarterly accounting period"))
> + (N_ "The start of the current quarterly accounting period"))
>
> (gnc:reldate-string-db
> 'store 'end-current-quarter-string
> (N_ "End of current quarter"))
> (gnc:reldate-string-db
> 'store 'end-current-quarter-desc
> - (N_ "The end of the latest quarterly accounting period"))
> + (N_ "The end of the current quarterly accounting period"))
>
> (gnc:reldate-string-db
> 'store 'start-prev-quarter-string
> @@ -724,7 +724,7 @@
> (N_ "End of previous quarter"))
> (gnc:reldate-string-db
> 'store 'end-prev-quarter-desc
> - (N_ "End of previous quarterly accounting period"))
> + (N_ "The end of previous quarterly accounting period"))
>
> (gnc:reldate-string-db
> 'store 'today-string
>
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: date-utilities-patch.txt
Url: http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080316/547d284d/attachment.txt
More information about the gnucash-devel
mailing list