• Florian Müllner's avatar
    wall-clock: Use LC_TIME for strftime format string translations · 0f3de28f
    Florian Müllner authored
    In order to handle the clock's various display setting correctly for
    different locales, we mark strftime format strings for translation.
    However those translations are looked up according to the locale
    defined by LC_MESSAGES, while the conversion characters themselves
    are resolved according to LC_TIME, with rather odd results when
    mixing locales.
    The correct solution would be to install translations for format
    strings in the LC_TIME catalogue and look them up with dcgettext(),
    but we don't have the infrastructure to do that easily. Work around
    this by adding a helper method that looks up a string in LC_MESSAGES
    using the locale defined by LC_TIME and use that to translate the
    format strings, which has the same result.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=789205
    0f3de28f
Name
Last commit
Last update
desktop-docs Loading commit data...
docs/reference/gnome-desktop3 Loading commit data...
libgnome-desktop Loading commit data...
po Loading commit data...
tests Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING-DOCS Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
ChangeLog-20020212 Loading commit data...
ChangeLog.pre-git Loading commit data...
HACKING Loading commit data...
MAINTAINERS Loading commit data...
NEWS Loading commit data...
README Loading commit data...
config.h.meson Loading commit data...
gnome-desktop.doap Loading commit data...
gnome-version.xml.in Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...