make a string translatable

This commit is contained in:
Yann Leboulanger 2007-08-20 10:28:39 +00:00
parent b2ea1fe5c2
commit 00c7e7712a
1 changed files with 1 additions and 2 deletions

View File

@ -3348,8 +3348,7 @@ class RosterWindow:
'savegpgpass') 'savegpgpass')
keyid = gajim.config.get_per('accounts', account, 'keyid') keyid = gajim.config.get_per('accounts', account, 'keyid')
if keyid and not gajim.config.get('usegpg'): if keyid and not gajim.config.get('usegpg'):
#TODO: make this string translatable dialog = dialogs.WarningDialog(_('GPG is not usable'), _('You will be connected to %s without OpenPGP.') % account)
dialog = dialogs.WarningDialog('GPG is not usable', _('You will be connected to %s without OpenPGP.') % account)
if keyid and gajim.connections[account].connected < 2 and \ if keyid and gajim.connections[account].connected < 2 and \
gajim.config.get('usegpg'): gajim.config.get('usegpg'):