diff --git a/src/vcard.py b/src/vcard.py index 6225409e1e4785d20b7a4d989768a45e4fcae1f4..90ee32d0fa89ebb04c1fa2d018880e9b0447aa41 100644 --- a/src/vcard.py +++ b/src/vcard.py @@ -406,8 +406,9 @@ class VcardWindow: def on_publish_button_clicked(self, widget): if gajim.connections[self.account].connected < 2: - ErrorDialog(_('You are not connected to the server'), - _('Without a connection you can not publish your contact information.')).get_response() + dialogs.ErrorDialog(_('You are not connected to the server'), + _('Without a connection you can not publish your contact ' + 'information.')).get_response() return vcard = self.make_vcard() nick = ''