GtkFileChooser: Missing hour on today's files for it&hu locales on Win32

The file chooser does not show the hours for files modified today
when using it & hu locales on Win32.  This is due to the %k format conversion
for strftime() that is in Olson's Timezone Package, which msvcrt.dll doesn't have.
Cygwin has it, though.

So for now, we just use a %H format.  While %k would render
six-in-the-morning as " 6" (6 preceded by a space), %H will render it
as "06".

https://bugzilla.gnome.org/show_bug.cgi?id=560337
This commit is contained in:
Valerio Messina 2013-06-13 22:40:47 +02:00 committed by Federico Mena Quintero
parent 08d49fdd58
commit a37a72bafd
2 changed files with 4 additions and 4 deletions

View File

@ -1772,11 +1772,11 @@ msgstr "Ismeretlen"
#: ../gtk/gtkfilechooserdefault.c:6642 #: ../gtk/gtkfilechooserdefault.c:6642
msgid "%H:%M" msgid "%H:%M"
msgstr "%k.%M" msgstr "%H.%M"
#: ../gtk/gtkfilechooserdefault.c:6644 #: ../gtk/gtkfilechooserdefault.c:6644
msgid "Yesterday at %H:%M" msgid "Yesterday at %H:%M"
msgstr "Tegnap %k.%M" msgstr "Tegnap %H.%M"
#: ../gtk/gtkfilechooserdefault.c:7346 #: ../gtk/gtkfilechooserdefault.c:7346
msgid "Cannot change to folder because it is not local" msgid "Cannot change to folder because it is not local"

View File

@ -1832,11 +1832,11 @@ msgstr "Sconosciuto"
#: ../gtk/gtkfilechooserdefault.c:6642 #: ../gtk/gtkfilechooserdefault.c:6642
msgid "%H:%M" msgid "%H:%M"
msgstr "%k.%M" msgstr "%H.%M"
#: ../gtk/gtkfilechooserdefault.c:6644 #: ../gtk/gtkfilechooserdefault.c:6644
msgid "Yesterday at %H:%M" msgid "Yesterday at %H:%M"
msgstr "Ieri alle %k.%M" msgstr "Ieri alle %H.%M"
#: ../gtk/gtkfilechooserdefault.c:7346 #: ../gtk/gtkfilechooserdefault.c:7346
msgid "Cannot change to folder because it is not local" msgid "Cannot change to folder because it is not local"