diff options
author | Nicolò Chieffo <84yelo3@gmail.com> | 2010-08-09 19:25:11 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-08-09 19:25:11 +0800 |
commit | 8f599de3f64c57848bb27c6fdbc26c47337530fc (patch) | |
tree | 032814c69f995b5524803abf891ef420617602e6 /libempathy | |
parent | 878faf8c3357c3b96a5dc49d53754382079bd470 (diff) | |
download | gsoc2013-empathy-8f599de3f64c57848bb27c6fdbc26c47337530fc.tar gsoc2013-empathy-8f599de3f64c57848bb27c6fdbc26c47337530fc.tar.gz gsoc2013-empathy-8f599de3f64c57848bb27c6fdbc26c47337530fc.tar.bz2 gsoc2013-empathy-8f599de3f64c57848bb27c6fdbc26c47337530fc.tar.lz gsoc2013-empathy-8f599de3f64c57848bb27c6fdbc26c47337530fc.tar.xz gsoc2013-empathy-8f599de3f64c57848bb27c6fdbc26c47337530fc.tar.zst gsoc2013-empathy-8f599de3f64c57848bb27c6fdbc26c47337530fc.zip |
Allow translators to localize time formats (#623934)
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-time.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libempathy/empathy-time.h b/libempathy/empathy-time.h index 9a14b257c..65e0127c7 100644 --- a/libempathy/empathy-time.h +++ b/libempathy/empathy-time.h @@ -30,9 +30,14 @@ 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); |