After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 122748 - Clock on gnome panel displays wrong message under zh_CN locale
Clock on gnome panel displays wrong message under zh_CN locale
Status: RESOLVED FIXED
Product: l10n
Classification: Infrastructure
Component: Chinese (Simplified) [zh_CN]
GNOME 2.4
Other other
: Normal normal
: ---
Assigned To: Wang Jian
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-09-19 16:55 UTC by luohong99
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description luohong99 2003-09-19 17:00:24 UTC
Distribution: Unknown
Package: gnome-panel
Severity: normal
Version: GNOME2.4.0 unspecified
Gnome-Distributor: FreeBSD GNOME Project
Synopsis: the clock on the panel display wrong message under zh_CN locale
Bugzilla-Product: gnome-panel
Bugzilla-Component: clock applet
Bugzilla-Version: unspecified
Bugzilla-Keyword: i18n
Description:
Language:
zh_CN
Wrong text location:
the clock on the gnomepanel
Current text:
-mÔÂ-dÈÕ ÐÇÆÚÁù -H:45
 
Expected text:
09ÔÂ20ÈÕ ÐÇÆÚÁù 00:45
 
Additional Information:
    I have found that there is something wrong in the zh_CN.po file of
gnomepanel2.4, some msg string should be %m,%d,%H,
but in fact is %-m %-d %-H, so gnome can't display currect message under
zh_CN locale.




------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-09-19 13:00 -------

The original reporter (luohong99@mails.tsinghua.edu.cn) of this bug does not have an account here.
Reassigning to the exporter, unknown@bugzilla.gnome.org.
Reassigning to the default owner of the component, gnome-panel-maint@bugzilla.gnome.org.

Comment 1 Vincent Untz 2003-09-20 13:37:30 UTC
Christian : what should be done with bugs like this ? Should it be
moved to another product or something like that ?
Comment 2 Christian Rose 2003-09-20 14:21:08 UTC
Yeah, the "l10n" product. Moving...
Comment 3 Funda Wang 2003-09-20 16:18:25 UTC
For gnome-2-4, I'll update zh_CN.po.

But for HEAD, I would like the maintainer of gnome-panel to update 
the code internally. Other applications(evolution) can recognize "%-
m" as no more leading zero(i.e. 9 rater than 09), which looks better.
Comment 4 Christian Rose 2003-09-20 16:22:16 UTC
> But for HEAD, I would like the maintainer of gnome-panel to update
> the code internally. Other applications(evolution) can recognize
> "%-m" as no more leading zero(i.e. 9 rater than 09), which looks
> better.

Please report a seperate gnome-panel bug report about that issue.
Comment 5 Wang Jian 2003-09-21 06:42:41 UTC
This bug has been fixed in gnome-2-4 branch of gnome-panel CVS tree.
As Funda Wang stated, it is more a bug of program than a bug of 
translation. Funda Wang please submit a bug report for it.
Linux distributor or other vendor who ships gnome 2.4 should use 
this updated gnome-panel, who knows how to inform them?
Comment 6 Vincent Untz 2003-09-21 10:40:10 UTC
For %d: see %e in 'man strftime'
For %H: see %k in 'man strftime'
And I don't see any %m in the clock applet code.
Comment 7 Ole Laursen 2003-12-02 19:05:15 UTC
%e adds an extra space. That looks bad. It is really not the optimal
solution.