fix strings for dbus errors
This commit is contained in:
parent
f224f9a82c
commit
09fe8a83da
11
src/gajim.py
11
src/gajim.py
|
@ -847,13 +847,16 @@ class Interface:
|
||||||
try:
|
try:
|
||||||
self.remote = remote_control.Remote(self)
|
self.remote = remote_control.Remote(self)
|
||||||
except remote_control.DbusNotSupported:
|
except remote_control.DbusNotSupported:
|
||||||
if not is_initial:
|
if not is_initial: # show only the first time
|
||||||
dialogs.ErrorDialog(_("D-Bus is not present on this machine"),_("Please install dbus if you want to use remote control.")).get_response()
|
dialog = dialogs.ErrorDialog(
|
||||||
|
_('D-Bus is not present on this machine'),
|
||||||
|
_('Please install D-Bus if you want to use remote control.')).get_response()
|
||||||
self.remote = None
|
self.remote = None
|
||||||
return False
|
return False
|
||||||
except remote_control.SessionBusNotPresent:
|
except remote_control.SessionBusNotPresent:
|
||||||
if not is_initial:
|
if not is_initial: # show only the first time
|
||||||
dialogs.ErrorDialog(_("Session bus is not started"),_("Your system is running without session bus daemon. \n See: for instructions how to do it.")).get_response()
|
dialog = dialogs.ErrorDialog(_('Session bus is not started'),
|
||||||
|
_('Your system is running without session bus daemon. \n See: http://trac.gajim.org/wiki/GajimDBus for instructions on how to enable it.")).get_response()
|
||||||
self.remote = None
|
self.remote = None
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue