summaryrefslogtreecommitdiff
path: root/src/gs-lock-plug.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-06-12 12:34:29 +0200
committerinfirit <[email protected]>2014-06-12 12:34:29 +0200
commit8fe598d87e203b9d956a83fa60ab0e481b85f5df (patch)
tree4869f448208c9cb1be12f8700ad96b00b8a2a498 /src/gs-lock-plug.c
parentdebbeac50a48c78fd0ca1559228e54eebc4d7aa8 (diff)
downloadmate-screensaver-8fe598d87e203b9d956a83fa60ab0e481b85f5df.tar.bz2
mate-screensaver-8fe598d87e203b9d956a83fa60ab0e481b85f5df.tar.xz
Revert "Honor locale time settings in lock screen."
This reverts commit debbeac50a48c78fd0ca1559228e54eebc4d7aa8.
Diffstat (limited to 'src/gs-lock-plug.c')
-rw-r--r--src/gs-lock-plug.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index cbc1241..8b47e96 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -300,8 +300,10 @@ date_time_update (GSLockPlug *plug)
gchar *str;
datetime = g_date_time_new_now_local ();
- time = g_date_time_format (datetime, "%X");
- date = g_date_time_format (datetime, "%A, %B %e");
+ /* Translators: Time format, see https://developer.gnome.org/glib/stable/glib-GDateTime.html#g-date-time-format */
+ time = g_date_time_format (datetime, _("%l:%M %p"));
+ /* Translators: Date format, see https://developer.gnome.org/glib/stable/glib-GDateTime.html#g-date-time-format */
+ date = g_date_time_format (datetime, _("%A, %B %e"));
str = g_strdup_printf ("<span size=\"xx-large\" weight=\"ultrabold\">%s</span>", time);
gtk_label_set_text (GTK_LABEL (plug->priv->auth_time_label), str);