From 5e3ba6e98ab9feeec22c50e113b4cb57c8f88240 Mon Sep 17 00:00:00 2001
From: Nikos Kouremenos <kourem@gmail.com>
Date: Sat, 21 May 2005 13:44:50 +0000
Subject: [PATCH] bugfix

---
 src/common/helpers.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/common/helpers.py b/src/common/helpers.py
index 98973adfbc..8d3e73a7cc 100644
--- a/src/common/helpers.py
+++ b/src/common/helpers.py
@@ -22,7 +22,7 @@ _ = i18n._
 
 def get_uf_show(show):
 	'''returns a userfriendly string for dnd/xa/chat
-	and capitalize()s the rest'''
+	and capitalize()s the rest and make translatable'''
 	if show == 'dnd':
 		uf_show = _('Busy')
 	elif show == 'xa':
@@ -35,6 +35,8 @@ def get_uf_show(show):
 		uf_show = _('Connecting')
 	elif show == 'away':
 		uf_show = _('Away')
-	elif show == 'away':
-		uf_show = _('Away')
+	elif show == 'offline':
+		uf_show = _('Offline')
+	elif show == 'invisible':
+		uf_show = _('Invisible')
 	return uf_show
-- 
GitLab