[gnome-logs] Mark a UI string for translation



commit fb1fd24c479086298ae0bbac24a5167009440ae6
Author: David King <davidk gnome org>
Date:   Fri Aug 21 12:34:44 2015 +0100

    Mark a UI string for translation

 po/POTFILES.in |    2 +-
 src/gl-util.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 9eba65d..751765f 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -6,8 +6,8 @@ data/org.gnome.Logs.appdata.xml.in
 data/org.gnome.Logs.desktop.in
 data/org.gnome.Logs.gschema.xml
 src/gl-application.c
+src/gl-eventtoolbar.c
 src/gl-eventviewdetail.c
 src/gl-eventviewlist.c
 src/gl-eventviewrow.c
-src/gl-eventtoolbar.c
 src/gl-util.c
diff --git a/src/gl-util.c b/src/gl-util.c
index 7c1372c..ba5d090 100644
--- a/src/gl-util.c
+++ b/src/gl-util.c
@@ -238,7 +238,7 @@ gl_util_boot_time_to_display (guint64 realtime_first,
     /* Transltors: the first string is the earliest timestamp of the boot,
      * and the second string is the newest timestamp. An example string might
      * be '08:10 - 08:30' */
-    time_display = g_strdup_printf ("%s - %s", time_first, time_last);
+    time_display = g_strdup_printf (_("%s – %s"), time_first, time_last);
 
     g_date_time_unref (now);
     g_free (time_first);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]