aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_summary/message_item.vala
diff options
context:
space:
mode:
authorlinkmauve <linkmauve@linkmauve.fr>2017-06-29 01:23:48 +0100
committerfiaxh <fiaxh@users.noreply.github.com>2017-06-29 02:23:48 +0200
commitf83e1188c5dcf1981832f296203f94503b467e30 (patch)
tree568cf0d0af57b540464cbcf5f56fa422c1c26328 /main/src/ui/conversation_summary/message_item.vala
parenta3fbb937c483b356ecf8e08124e019120dbbe1d7 (diff)
downloaddino-f83e1188c5dcf1981832f296203f94503b467e30.tar.gz
dino-f83e1188c5dcf1981832f296203f94503b467e30.zip
Small i18n fixes (#53)
* Replace “...” with “…” in user-visible strings, as per GNOME’s HIG. * Add a message for translators to know that a string starts a sentence.
Diffstat (limited to 'main/src/ui/conversation_summary/message_item.vala')
-rw-r--r--main/src/ui/conversation_summary/message_item.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/ui/conversation_summary/message_item.vala b/main/src/ui/conversation_summary/message_item.vala
index 74d46805..b03202f5 100644
--- a/main/src/ui/conversation_summary/message_item.vala
+++ b/main/src/ui/conversation_summary/message_item.vala
@@ -111,6 +111,7 @@ public class MessageItem : Grid, ConversationItem {
/* xgettext:no-c-format */ /* Time in 12h format (w/o seconds) */ _("%l\u2236%M %p"));
} else if (timespan > TimeSpan.MINUTE) {
ulong mins = (ulong) (timespan.abs() / TimeSpan.MINUTE);
+ /* xgettext:this is the beginning of a sentence. */
return n("%i min ago", "%i mins ago", mins).printf(mins);
} else {
return _("Just now");