Mercurial > libervia-backend
comparison libervia/frontends/quick_frontend/quick_app.py @ 4124:6b581d4c249f
frontends (quick app): reformulate backend not running message + use "Libervia" instead of "SàT"
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 03 Oct 2023 16:22:10 +0200 |
parents | 26b7ed2817da |
children | bb74f7dc3b10 |
comparison
equal
deleted
inserted
replaced
4123:c8b19a32f5c0 | 4124:6b581d4c249f |
---|---|
365 quick_games.Radiocol.register_signals(self) | 365 quick_games.Radiocol.register_signals(self) |
366 self.on_bridge_connected() | 366 self.on_bridge_connected() |
367 | 367 |
368 def _bridge_eb(self, failure): | 368 def _bridge_eb(self, failure): |
369 if isinstance(failure, exceptions.BridgeExceptionNoService): | 369 if isinstance(failure, exceptions.BridgeExceptionNoService): |
370 print((_("Can't connect to SàT backend, are you sure it's launched ?"))) | 370 print( |
371 _("Unable to connect to the Libervia backend. Are you sure it's running?") | |
372 ) | |
371 sys.exit(C.EXIT_BACKEND_NOT_FOUND) | 373 sys.exit(C.EXIT_BACKEND_NOT_FOUND) |
372 elif isinstance(failure, exceptions.BridgeInitError): | 374 elif isinstance(failure, exceptions.BridgeInitError): |
373 print((_("Can't init bridge"))) | 375 print((_("Can't init bridge"))) |
374 sys.exit(C.EXIT_BRIDGE_ERROR) | 376 sys.exit(C.EXIT_BRIDGE_ERROR) |
375 else: | 377 else: |