Make previous patch translatable.
This commit is contained in:
parent
bc5795a10b
commit
5e6d15837c
|
@ -454,7 +454,7 @@ class MessageWindow(object):
|
||||||
label = name
|
label = name
|
||||||
state = control.contact.chatstate
|
state = control.contact.chatstate
|
||||||
if state and bool(len(state)):
|
if state and bool(len(state)):
|
||||||
label = '%s (%s)' % (label, state.capitalize())
|
label = '%s (%s)' % (label, _(state.capitalize()))
|
||||||
else:
|
else:
|
||||||
label = _('Messages')
|
label = _('Messages')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue