[mate-screensaver] 01/08: debian/patches/1003_proper-locale-datetime.patch: Applied upstream.
Martin Wimpress
flexiondotorg-guest at moszumanska.debian.org
Mon Jun 15 17:30:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
flexiondotorg-guest pushed a commit to branch debian/experimental
in repository mate-screensaver.
commit 068fd57925429bb536b94d8d998bd96d980776ac
Author: Martin Wimpress <code at flexion.org>
Date: Mon Jun 15 18:17:16 2015 +0100
debian/patches/1003_proper-locale-datetime.patch: Applied upstream.
---
debian/patches/1003_proper-locale-datetime.patch | 23 -----------------------
1 file changed, 23 deletions(-)
diff --git a/debian/patches/1003_proper-locale-datetime.patch b/debian/patches/1003_proper-locale-datetime.patch
deleted file mode 100644
index 7948435..0000000
--- a/debian/patches/1003_proper-locale-datetime.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Author: Brian M. Carlson (https://github.com/bk2204)
-Description: Use locale representation of datetime objects
-Forwarded: https://github.com/mate-desktop/mate-screensaver/pull/47
-Abstract:
- Instead of burdening i18n team members with figuring out
- the correct datetime format for the different locales,
- we directly get the datetime format directly via strftime()
- and the underlying libc/locale implementation.
---- a/src/gs-lock-plug.c
-+++ b/src/gs-lock-plug.c
-@@ -300,10 +300,8 @@
- gchar *str;
-
- datetime = g_date_time_new_now_local ();
-- /* 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"));
-+ time = g_date_time_format (datetime, "%X");
-+ date = g_date_time_format (datetime, "%x");
-
- 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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-screensaver.git
More information about the pkg-mate-commits
mailing list