Re: translating clock.schemas.in in gnome-panel



One possible way around this would be to try to get the
information from the locale using nl_langinfo (T_FMT), or by
formatting a simple time like 13:00 with strftime ("%x").
Unfortunately the output of either of these requires some
parsing, which I guess is why you didn’t do it in the first
place.

Noah

On Mon, Apr 05, 2004 at 14:43:21 +0100, Mark McLoughlin wrote:
> Hey,
> 	I've just come across a rather messy little detail in gnome-panel wrt.
> the clock schemas.
> 
> 	Basically, we allow translators to change the default clock format to
> either 12 or 24 hour format. In 2.6, the new clock_format key is used
> for this rather than the hour_format key. The key can have either
> "24-hour" or "12-hour" as its value.
> 
> 	Unfortunately, most translators didn't realize this and translated the
> "hour" part into their native language and the clock applet can't handle
> these values.
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]