[Xfce4-commits] [apps/xfce4-screensaver] 01/02: Add context for translators for date and time in lock dialog

noreply at xfce.org noreply at xfce.org
Tue Nov 20 02:28:46 CET 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit b63d30252a9b8d52209007172e4479fba615c270
Author: Olivier Duchateau <duchateau.olivier at gmail.com>
Date:   Sat Nov 3 21:42:03 2018 +0100

    Add context for translators for date and time in lock dialog
    
    Signed-off-by: Sean Davis <smd.seandavis at gmail.com>
---
 src/gs-lock-plug.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index 58534af..a751e73 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -264,7 +264,9 @@ date_time_update (GSLockPlug *plug) {
     gchar     *str;
 
     datetime = g_date_time_new_now_local ();
-    datetime_format = g_date_time_format (datetime, _("%A, %B %e   %H:%M"));
+    /* TRANSLATORS: adjust this accordingly for your locale format */
+    datetime_format = g_date_time_format (datetime, NC_("Date",
+                                                        "%A %d %B %Y   %H:%M"));
 
     str = g_strdup_printf ("<b>%s</b>", datetime_format);
     gtk_label_set_markup (GTK_LABEL (plug->priv->auth_datetime_label), str);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list