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-14 21:50:35 +02:00 • committed by Federico Mena Quintero
commit 4292fb433c
2 changed files with 4 additions and 4 deletions

View file

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

View file

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