Re: [Evolution-hackers] dgettext abuse?
- From: Parthasarathi Susarla <sparthasarathi novell com>
- To: Stefan Schmitt <sschmitt4711 nurfuerspam de>
- Cc: evolution-hackers gnome org
- Subject: Re: [Evolution-hackers] dgettext abuse?
- Date: Thu, 19 Jan 2006 11:22:38 +0530
On Wed, 2006-01-18 at 23:25 +0100, Stefan Schmitt wrote:
> Hi,
>
> recently I defined my own private locale for English messages and ISO
> date format. Other applications seem to work fine, but Evolution does
> not. As an example I chose the "Birthday" field in the Contact Editor.
> So I had a look at the source and was impressed by the creativity of
> some developer.
[snip]
> Obviously dgettext (via the macro _(string) ) is used to "translate" a
> date format string. This construct is used at very many other places in
> the source code, too. This is not the right way to do it since dgettext
> depends on LC_MESSAGES and this should only affect texts, not the date
> format.
>
> The date format should be based on the d_fmt property of the current
> locale. But I could not find any reference to nl_langinfo in the whole
> source tree (2.2.3). Is there any reason behind that or is it plain
> ignorance? If it's the latter I'd volunteer to work out some patches.
>
'abused' alright. I guess this thing was overlooked upon. So its not
purely ignorance. Great that you have offered to work on this. Its
really welcome. :)
You could ping on IRC or on the list for any help you might need.
Cheers,
partha
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]