mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-10-25 01:06:05 +03:00
Localize authentication success message
Updated message box title and content to use translation functions.
This commit is contained in:
1 parent
c2aec01828
commit
4aa1efcf33
1 file changed
+7
-3
+7
-3
@@ -668,9 +668,13 @@ class Session:
|
||||
self.auth = None
|
||||
raise # Bad thing happened
|
||||
if IS_FROZEN:
|
||||
tk.messagebox.showinfo(title="Authentication Successful", # type: ignore
|
||||
message="Authentication with cAPI Successful.\n"
|
||||
"You may now close the Frontier login tab if it is still open.")
|
||||
tk.messagebox.showinfo( # type: ignore
|
||||
title=tr.tl("Authentication Successful"),
|
||||
message=tr.tl(
|
||||
"Authentication with cAPI Successful.{CR}"
|
||||
"You may now close the Frontier login tab if it is still open."
|
||||
).format(CR="\n")
|
||||
)
|
||||
|
||||
def close(self) -> None:
|
||||
"""Close the `request.Session()."""
|
||||
|
||||
Reference in new issue
Block a user