Commit 7233552e authored by Daniel Brötzmann's avatar Daniel Brötzmann

Jingle AV: Fix some strings

parent f7019433
Pipeline #6539 passed with stages
in 4 minutes and 14 seconds
......@@ -130,11 +130,13 @@ def make_bin_from_config(self, config_key, pipeline, text):
None,
conn=self.session.connection,
level='error',
pri_txt=_(f'{text.capitalize()} configuration error'),
sec_txt=_(
f'Couldn’t set up {text}. Check your configuration.\n'
f'Pipeline was:\n{pipeline}\n'
f'Error was:\n{err}')))
pri_txt=_(f'{text} configuration error'),
sec_txt=_('Couldn’t set up %(text)s. Check your '
'configuration.\nPipeline:\n%(pipeline)s\n'
'Error:\n%(error)s') % {
'text': text,
'pipeline': pipeline,
'error': str(err)}))
raise JingleContentSetupException
def add_remote_candidates(self, candidates):
......
......@@ -924,7 +924,8 @@ def handle_event_jingle_incoming(self, event):
if helpers.allow_showing_notification(account):
heading = _('Incoming Call')
text = _(f'{app.get_name_from_jid(account, event.jid)} is calling')
contact = app.get_name_from_jid(account, event.jid)
text = _(f'{contact} is calling')
app.notification.popup(
heading,
event.fjid,
......
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