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 629429 - "May" have the same expression of short and full form with "GDateTime" msgctxt
"May" have the same expression of short and full form with "GDateTime" msgctxt
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-09-12 13:25 UTC by Aron Xu
Modified: 2010-09-14 03:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Aron Xu 2010-09-12 13:25:58 UTC
In glib's translation file, "May" have the same expression of short and full form with "GDateTime" msgctxt. This will make translators unable to adjust translations of short form and full form and the only way to keep all in good shape is make them the same. Please change this, by adding a different msgctxt is probably a way.
Comment 1 Morten Welinder 2010-09-13 17:44:17 UTC
Is there a reason why the translations are done via gettext as opposed
to asking the C library?

Code for using the C library can be found in goffice's goffice/util/datetime.c
at the bottom.  (It's actually going via GDate, but it basically boils
down to using strftime.)
Comment 2 Aron Xu 2010-09-14 03:48:58 UTC
(In reply to comment #1)
> Is there a reason why the translations are done via gettext as opposed
> to asking the C library?
> 
> Code for using the C library can be found in goffice's goffice/util/datetime.c
> at the bottom.  (It's actually going via GDate, but it basically boils
> down to using strftime.)

Sorry I don't why glib developers is doing this, in fact we already have translations for all kinds of date format in GNU coreutils (`date' command) so I think translating them is not that useful.