diff options
author | Piotr Drąg <piotrdrag@gmail.com> | 2016-11-10 17:07:30 +0100 |
---|---|---|
committer | Piotr Drąg <piotrdrag@gmail.com> | 2016-11-10 17:39:13 +0100 |
commit | 67fd64e3236c263b1cacabc96286398d15e1c05c (patch) | |
tree | 15a5647ef2f637d8cada4e601dd0cee6d92a7959 /lib/ephy-time-helpers.c | |
parent | 052fe4c99c6d3541e0718f43c2f3653a1a24cfe5 (diff) | |
download | epiphany-67fd64e3236c263b1cacabc96286398d15e1c05c.tar.gz |
Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=774217
Diffstat (limited to 'lib/ephy-time-helpers.c')
-rw-r--r-- | lib/ephy-time-helpers.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/ephy-time-helpers.c b/lib/ephy-time-helpers.c index 1ca9eccd3..a162a3756 100644 --- a/lib/ephy-time-helpers.c +++ b/lib/ephy-time-helpers.c @@ -222,8 +222,8 @@ ephy_time_helpers_utf_friendly_time (time_t date) if (then.tm_mday == now.tm_mday && then.tm_mon == now.tm_mon && then.tm_year == now.tm_year) { - /* Translators: "friendly time" string for the current day, strftime format. like "Today 12:34 am" */ - format = _("Today %I:%M %p"); + /* Translators: "friendly time" string for the current day, strftime format. like "Today 12∶34 am" */ + format = _("Today %I∶%M %p"); done = TRUE; } @@ -234,9 +234,9 @@ ephy_time_helpers_utf_friendly_time (time_t date) then.tm_mon == yesterday.tm_mon && then.tm_year == yesterday.tm_year) { /* Translators: "friendly time" string for the previous day, - * strftime format. e.g. "Yesterday 12:34 am" + * strftime format. e.g. "Yesterday 12∶34 am" */ - format = _("Yesterday %I:%M %p"); + format = _("Yesterday %I∶%M %p"); done = TRUE; } } @@ -250,9 +250,9 @@ ephy_time_helpers_utf_friendly_time (time_t date) then.tm_mon == yesterday.tm_mon && then.tm_year == yesterday.tm_year) { /* Translators: "friendly time" string for a day in the current week, - * strftime format. e.g. "Wed 12:34 am" + * strftime format. e.g. "Wed 12∶34 am" */ - format = _("%a %I:%M %p"); + format = _("%a %I∶%M %p"); done = TRUE; break; } @@ -262,9 +262,9 @@ ephy_time_helpers_utf_friendly_time (time_t date) if (!done) { if (then.tm_year == now.tm_year) { /* Translators: "friendly time" string for a day in the current year, - * strftime format. e.g. "Feb 12 12:34 am" + * strftime format. e.g. "Feb 12 12∶34 am" */ - format = _("%b %d %I:%M %p"); + format = _("%b %d %I∶%M %p"); } else { /* Translators: "friendly time" string for a day in a different year, * strftime format. e.g. "Feb 12 1997" |