GNOME Bugzilla – Bug 103964
strftime self-check is probably incorrect
Last modified: 2007-06-23 17:12:13 UTC
While reviewing the translation of messages for eel, there were a couple of messages of this kind: > #. localizers: These strings are part of the strftime > #. * self-check code and must be changed to match what strtfime > #. * yields. The first one is "%m/%d/%y, %I:%M %p". > #. > #: eel/eel-glib-extensions.c:1128 > msgid "01/01/00, 01:00 AM" > msgstr "01/01/00, 01:00 " I took a quick look in the code, but didn't immediately realise what the point is to do run-time checks of a function like this. But more importantly, I doubt it could work correctly. Assume I have LC_MESSAGES set to sv_SE (so I get the above msgstr), but LC_TIME set to en_US, (so that strftime will return what is in msgid above), Then this test would fail, wouldn't it? Even assuming the functions involved have no bugs. Even if it isn't too common to have different values for different LC_* domains, it is definitely not a bug. (And I know about real-world people who does.:-)
Removing the string keyword since this isn't really about changing strings. I think we should just remove the nautilus --check stuff since it's never worked anyway...
*** This bug has been marked as a duplicate of 348191 ***