Yann Leboulanger pushed to branch gajim_1.2 at gajim / gajim
Commits: e415869f by Yann Leboulanger at 2020-05-19T14:12:50+02:00 fix strings. Fixes #10114
- - - - -
2 changed files:
- gajim/groupchat_control.py - gajim/gui_interface.py
Changes:
===================================== gajim/groupchat_control.py ===================================== @@ -828,8 +828,8 @@ class GroupchatControl(ChatControlBase): NewConfirmationDialog( _('Voice Request'), _('Voice Request'), - _('<b>%(nick)s</b> from <b>%(room_name)s</b> requests voice') % ( - event.voice_request.nick, self.room_name), + _('<b>%(nick)s</b> from <b>%(room_name)s</b> requests voice') % { + 'nick': event.voice_request.nick, 'room_name': self.room_name}, [DialogButton.make('Cancel'), DialogButton.make('Accept', text=_('_Approve'),
===================================== gajim/gui_interface.py ===================================== @@ -352,7 +352,8 @@ class Interface: jid = contact.jid NewConfirmationDialog( _('Subscription Removed'), - _('%(name)s (%(jid)s) has removed subscription from you') % (name, jid), + _('%(name)s (%(jid)s) has removed subscription from you') % { + 'name': name, 'jid': jid}, _('You will always see this contact as offline.\n' 'Do you want to remove them from your contact list?'), [DialogButton.make('Cancel',
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/e415869f9fecc5586115388fe51e9f781...