don't translate IM status
They are well-known strings defined in the Telepathy spec and so shouldn't be translated. https://bugzilla.gnome.org/show_bug.cgi?id=657696
This commit is contained in:
parent
612b9e9faf
commit
8cf6b4c728
@ -250,19 +250,19 @@ IMStatusChooserItem.prototype = {
|
|||||||
_statusForPresence: function(presence) {
|
_statusForPresence: function(presence) {
|
||||||
switch(presence) {
|
switch(presence) {
|
||||||
case Tp.ConnectionPresenceType.AVAILABLE:
|
case Tp.ConnectionPresenceType.AVAILABLE:
|
||||||
return _("Available");
|
return 'available';
|
||||||
case Tp.ConnectionPresenceType.BUSY:
|
case Tp.ConnectionPresenceType.BUSY:
|
||||||
return _("Busy");
|
return 'busy';
|
||||||
case Tp.ConnectionPresenceType.OFFLINE:
|
case Tp.ConnectionPresenceType.OFFLINE:
|
||||||
return _("Unavailable");
|
return 'offline';
|
||||||
case Tp.ConnectionPresenceType.HIDDEN:
|
case Tp.ConnectionPresenceType.HIDDEN:
|
||||||
return _("Hidden");
|
return 'hidden';
|
||||||
case Tp.ConnectionPresenceType.AWAY:
|
case Tp.ConnectionPresenceType.AWAY:
|
||||||
return _("Away");
|
return 'away';
|
||||||
case Tp.ConnectionPresenceType.EXTENDED_AWAY:
|
case Tp.ConnectionPresenceType.EXTENDED_AWAY:
|
||||||
return _("Idle");
|
return 'xa';
|
||||||
default:
|
default:
|
||||||
return _("Unknown");
|
return 'unknown';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user