time message problem
Brought to you by:
owenjm
I'm running your great program using Ubuntu 7.04
and I'm a Traditional Chinese language user
(with locale zh_TW.UTF-8)
everything works fine and wonderful
just one little problem
when the clock system don't set to 24hr system
I got some improper words in the time message
The program will be even better if it's fixed
but it really no a big problem
another suggestion is that you can add title to the "about window" and make the site "http://checkgmail.sf.net" hyperlinked
cheers,
Logged In: YES
user_id=874762
Originator: NO
What do you mean by "improper words" in the time message? Do you mean, you see the wrong time? Or is there a problem with the translation?
As for your second suggestion, adding hyperlinks to windows using Gtk is an incredibly fiddly business. If it was simple, I would have done it already! :)
Cheers,
Owen
Logged In: YES
user_id=1873447
Originator: YES
It's the translation problem
sorry I don't know how to grab the picture of the message
Logged In: YES
user_id=1411312
Originator: NO
The time is taken from the date command, therefore its output depends on the locale. So in Japanese $time might get set to something like "11:23 午前", and for some reason it doesn't seem to be in UTF-8 by default.
1. Run: LC_ALL=ja_JP.UTF-8 checkgmail
2. Ensure the time is set to 12-hour
3. Mouseover the tray icon
Notice that where it may say "am" or "pm" in the English locale (whatever the language is set to internally), it comes up with broken characters (instead of "午前" or "午後", respectively). See http://holizz.googlepages.com/checkgmail-broken-small.png for an example.
This morning I was feeling rather adventurous, so now it looks a little more like this: http://holizz.googlepages.com/checkgmail-fixed-small.png
We just add two lines: http://holizz.googlepages.com/checkgmail.diff