Commit 50253f80 authored by Yann Leboulanger's avatar Yann Leboulanger

fix strings. Fixes #10114

parent 7ed48c0f
Pipeline #5659 passed with stages
in 3 minutes and 11 seconds
......@@ -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'),
......
......@@ -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',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment