]> git.0d.be Git - empathy.git/commitdiff
Allow translators to localize time formats (#623934)
authorNicolò Chieffo <84yelo3@gmail.com>
Mon, 9 Aug 2010 11:25:11 +0000 (13:25 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 9 Aug 2010 11:25:11 +0000 (13:25 +0200)
libempathy/empathy-time.h

index 9a14b257cde8ed65037eb1d632ee3a1c39f33aae..65e0127c7cabd59048ea4f9118ae091cfa18be44 100644 (file)
 
 G_BEGIN_DECLS
 
-#define EMPATHY_TIME_FORMAT_DISPLAY_SHORT "%H:%M"
-#define EMPATHY_DATE_FORMAT_DISPLAY_SHORT  "%a %d %b %Y"
-#define EMPATHY_TIME_DATE_FORMAT_DISPLAY_SHORT "%c"
+/*
+ * Translators: use your locale preferred time format.
+ * The fields follow the strftime standard:
+ * look at the manual if you need help (man strftime)
+ */
+#define EMPATHY_TIME_FORMAT_DISPLAY_SHORT _("%H:%M")
+#define EMPATHY_DATE_FORMAT_DISPLAY_SHORT  _("%a %d %b %Y")
+#define EMPATHY_TIME_DATE_FORMAT_DISPLAY_SHORT _("%a %d %b %Y, %H:%M")
 
 time_t  empathy_time_get_current     (void);
 time_t  empathy_time_get_local_time  (struct tm   *tm);