Browse Source

Update wording for authorization server error message

CURA-7346
Nino van Hooff 4 years ago
parent
commit
ea00ff3c47
1 changed files with 3 additions and 5 deletions
  1. 3 5
      cura/OAuth2/AuthorizationService.py

+ 3 - 5
cura/OAuth2/AuthorizationService.py

@@ -7,19 +7,17 @@ from typing import Optional, TYPE_CHECKING
 from urllib.parse import urlencode
 
 import requests.exceptions
-
 from PyQt5.QtCore import QUrl
 from PyQt5.QtGui import QDesktopServices
 
 from UM.Logger import Logger
 from UM.Message import Message
 from UM.Signal import Signal
-
-from cura.OAuth2.LocalAuthorizationServer import LocalAuthorizationServer
+from UM.i18n import i18nCatalog
 from cura.OAuth2.AuthorizationHelpers import AuthorizationHelpers, TOKEN_TIMESTAMP_FORMAT
+from cura.OAuth2.LocalAuthorizationServer import LocalAuthorizationServer
 from cura.OAuth2.Models import AuthenticationResponse
 
-from UM.i18n import i18nCatalog
 i18n_catalog = i18nCatalog("cura")
 
 if TYPE_CHECKING:
@@ -171,7 +169,7 @@ class AuthorizationService:
             self._server.start(verification_code, state)
         except OSError:
             Logger.logException("w", "Unable to create authorization request server")
-            Message(i18n_catalog.i18nc("@info", "Unable to start local OAUTH2 server. Check if another login atempt is still active."),
+            Message(i18n_catalog.i18nc("@info", "Unable to start a new sign in process. Check if another sign in attempt is still active."),
                     title=i18n_catalog.i18nc("@info:title", "Warning")).show()
             return