use helpers.get_uf_show in gc
This commit is contained in:
parent
ab94d57310
commit
f73a14d771
|
@ -27,6 +27,7 @@ import chat
|
||||||
import cell_renderer_image
|
import cell_renderer_image
|
||||||
from gajim import User
|
from gajim import User
|
||||||
from common import gajim
|
from common import gajim
|
||||||
|
from common import helpers
|
||||||
from common import i18n
|
from common import i18n
|
||||||
|
|
||||||
_ = i18n._
|
_ = i18n._
|
||||||
|
@ -272,7 +273,7 @@ class Groupchat_window(chat.Chat):
|
||||||
if show == 'offline':
|
if show == 'offline':
|
||||||
st = _('%s has left') % nick
|
st = _('%s has left') % nick
|
||||||
else:
|
else:
|
||||||
st = _('%s is now %s') % (nick, show)
|
st = _('%s is now %s') % (nick, helpers.get_uf_show(show))
|
||||||
if status:
|
if status:
|
||||||
st += ' (' + status + ')'
|
st += ' (' + status + ')'
|
||||||
self.print_conversation(st, room_jid)
|
self.print_conversation(st, room_jid)
|
||||||
|
|
Loading…
Reference in New Issue