Philipp Hörist pushed to branch master at gajim / gajim


Commits:
fcda6a05 by lovetox at 2020-10-29T19:35:49+01:00
Interface: Fix string formatting

- - - - -


1 changed file:

- gajim/gui_interface.py


Changes:

=====================================
gajim/gui_interface.py
=====================================
@@ -317,8 +317,8 @@ def handle_event_subscribed_presence(self, event):
             bare_jid,
             event.account,
             title=_('Authorization accepted'),
-            text=_('The contact "%s" has authorized you'
-                   ' to see their status.') % event.jid)
+            text=_('The contact "%(jid)s" has authorized you'
+                   ' to see their status.') % {'jid': event.jid})
 
     def show_unsubscribed_dialog(self, account, contact):
         def _remove():



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/fcda6a05d2476bb5895ac757d8221e7720853f93

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/fcda6a05d2476bb5895ac757d8221e7720853f93
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to