From 8cf6b4c7283a383883bdec6ee13b194ae3a5137b Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 30 Aug 2011 14:35:20 +0200 Subject: [PATCH] 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 --- js/ui/userMenu.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index 33c331511..115bcf7c1 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -250,19 +250,19 @@ IMStatusChooserItem.prototype = { _statusForPresence: function(presence) { switch(presence) { case Tp.ConnectionPresenceType.AVAILABLE: - return _("Available"); + return 'available'; case Tp.ConnectionPresenceType.BUSY: - return _("Busy"); + return 'busy'; case Tp.ConnectionPresenceType.OFFLINE: - return _("Unavailable"); + return 'offline'; case Tp.ConnectionPresenceType.HIDDEN: - return _("Hidden"); + return 'hidden'; case Tp.ConnectionPresenceType.AWAY: - return _("Away"); + return 'away'; case Tp.ConnectionPresenceType.EXTENDED_AWAY: - return _("Idle"); + return 'xa'; default: - return _("Unknown"); + return 'unknown'; } },