From 7215022089ef228b7599862ff6dcde0fd503949e Mon Sep 17 00:00:00 2001 From: "Peter F. Patel-Schneider" Date: Wed, 14 Dec 2022 11:00:26 -0500 Subject: [PATCH] ui: improve error pop-up for errors when creating devices --- lib/solaar/ui/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/solaar/ui/__init__.py b/lib/solaar/ui/__init__.py index ec551563..61becfaf 100644 --- a/lib/solaar/ui/__init__.py +++ b/lib/solaar/ui/__init__.py @@ -51,14 +51,14 @@ def _error_dialog(reason, object): if reason == 'permissions': title = _('Permissions error') text = ( - _('Found a Logitech Receiver (%s), but did not have permission to open it.') % object + '\n\n' + - _("If you've just installed Solaar, try removing the receiver and plugging it back in.") + _('Found a Logitech receiver or device (%s), but did not have permission to open it.') % object + '\n\n' + + _("If you've just installed Solaar, try disconnecting the receiver or device and then reconnecting it.") ) elif reason == 'nodevice': title = _('Cannot connect to device error') text = ( _('Found a Logitech receiver or device at %s, but encountered an error connecting to it.') % object + '\n\n' + - _('Try removing the device and plugging it back in or turning it off and then on.') + _('Try disconnecting the device and then reconnecting it or turning it off and then on.') ) elif reason == 'unpair': title = _('Unpairing failed')