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 653060 - gnome-shell: wrong date format
gnome-shell: wrong date format
Status: RESOLVED FIXED
Product: l10n
Classification: Infrastructure
Component: Spanish [es]
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-es-list@gnome.org
gnome-es-list@gnome.org
Depends on:
Blocks:
 
 
Reported: 2011-06-20 22:49 UTC by Diego Escalante Urrelo (not reading bugmail)
Modified: 2011-08-04 10:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
po: fix Spanish clock time translation (1.24 KB, patch)
2011-06-20 22:49 UTC, Diego Escalante Urrelo (not reading bugmail)
none Details | Review
po: fix Spanish clock time translation (1.55 KB, patch)
2011-07-07 08:20 UTC, Diego Escalante Urrelo (not reading bugmail)
none Details | Review

Description Diego Escalante Urrelo (not reading bugmail) 2011-06-20 22:49:33 UTC
Also, sesión is wrong and says sesioń.
Comment 1 Diego Escalante Urrelo (not reading bugmail) 2011-06-20 22:49:56 UTC
Created attachment 190323 [details] [review]
po: fix Spanish clock time translation

Bug #653060
Comment 2 Daniel Mustieles 2011-06-21 08:01:57 UTC
Many thanks for your bug report, Diego.

I've applied your patch, and this afternoon will commit the fixed .po.
Comment 3 Jorge González 2011-06-21 08:16:52 UTC
Diego, Daniel: concerning the misspelled accent, I believe it can be wrong, however I see exactly the same in msgid and msgstr in the diff. 

And actually, after reading the comments I'm not sure the patch is correct, since there are two strings that specify AM/PM format, and only one is taken into account in the patch, the other is not:

#. Translators: This is a time format with date used
#. for AM/PM.
#: ../js/ui/dateMenu.js:175
msgid "%a %b %e, %l:%M:%S %p"
msgstr "%a %e de %b, %H:%M:%S"

#: ../js/ui/dateMenu.js:176
msgid "%a %b %e, %l:%M %p"
msgstr "%a %e de %b, %H:%M"

#. Translators: This is a time format without date used
#. for AM/PM.
#: ../js/ui/dateMenu.js:180
msgid "%a %l:%M:%S %p"
msgstr "%a %H:%M:%S"

#: ../js/ui/dateMenu.js:181
msgid "%a %l:%M %p"
msgstr "%a %H:%M"
Comment 4 Daniel Mustieles 2011-06-21 08:45:59 UTC
Jorge, you are right.

As I've seen in http://www.mkssoftware.com/docs/man3/strftime.3.asp, %l shows the hour in 12-hour format, so %p is needed. We should also change this other strings, but maybe we should use te 24-hour format instead in all strings.

What do you think about it?
Comment 5 Diego Escalante Urrelo (not reading bugmail) 2011-06-22 03:46:13 UTC
24h format everywhere would be hardcoding stuff in the translation, evil :).

My visible bug right now is that unchecking "Use 24h format" in Date/Time preferences doesn't have any effect.
Perú usually plays by am/pm instead of hrs. I thought it was a really long standing bug in my locales or Debian but turns out it was the translation, I hated you guys for a while but then started loving you again :^).

So, please don't hardcode it to hrs, and consider fixing all the strings that wrongly changed %l for %H.
Comment 6 Jorge González 2011-06-22 07:59:05 UTC
Diego, I understand we only have to change those for AM/PM, which is stated in the comment, neither the four of them, nor one you pointed out.
Comment 7 Diego Escalante Urrelo (not reading bugmail) 2011-07-07 08:20:18 UTC
Created attachment 191435 [details] [review]
po: fix Spanish clock time translation

Bug #653060
Comment 8 Diego Escalante Urrelo (not reading bugmail) 2011-07-07 08:22:19 UTC
Tried gnome-shell master today, I had to make these changes to get the date as I expected it:
Jue 7 de Jul, 3:21 AM
The AM was missing, which turns out was because the time was in Hrs not AM/PM.

On a side note, shouldn't Jue and Jul be on lower? Like jue and jul. Is this something gnome-shell is doing? Or the locale is wrong?
Comment 9 Diego Escalante Urrelo (not reading bugmail) 2011-08-04 10:41:00 UTC
Done in GUADEC Hispana :)