GNOME Bugzilla – Bug 122748
Clock on gnome panel displays wrong message under zh_CN locale
Last modified: 2004-12-22 21:47:04 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.
Christian : what should be done with bugs like this ? Should it be moved to another product or something like that ?
Yeah, the "l10n" product. Moving...
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.
> 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.
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?
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.
%e adds an extra space. That looks bad. It is really not the optimal solution.