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.
This commit is contained in:
parent
a3fbb937c4
commit
f83e1188c5
|
@ -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");
|
||||
|
|
|
@ -117,7 +117,7 @@ public class View : Box {
|
|||
if (state_ != null) {
|
||||
if (state_ == Xep.ChatStateNotifications.STATE_COMPOSING || state_ == Xep.ChatStateNotifications.STATE_PAUSED) {
|
||||
if (state_ == Xep.ChatStateNotifications.STATE_COMPOSING) {
|
||||
typing_status = new StatusItem(stream_interactor, conversation, _("is typing..."));
|
||||
typing_status = new StatusItem(stream_interactor, conversation, _("is typing…"));
|
||||
} else if (state_ == Xep.ChatStateNotifications.STATE_PAUSED) {
|
||||
typing_status = new StatusItem(stream_interactor, conversation, _("has stopped typing"));
|
||||
}
|
||||
|
|
|
@ -207,7 +207,7 @@ public class Dialog : Gtk.Dialog {
|
|||
ConnectionManager.ConnectionState state = stream_interactor.connection_manager.get_state(account);
|
||||
switch (state) {
|
||||
case ConnectionManager.ConnectionState.CONNECTING:
|
||||
state_label.label = _("Connecting..."); break;
|
||||
state_label.label = _("Connecting…"); break;
|
||||
case ConnectionManager.ConnectionState.CONNECTED:
|
||||
state_label.label = _("Connected"); break;
|
||||
case ConnectionManager.ConnectionState.DISCONNECTED:
|
||||
|
|
Loading…
Reference in a new issue