Localize authentication success message

Updated message box title and content to use translation functions.
This commit is contained in:
Giampiero L. authored and GitHub committed 2026-02-12 21:53:16 +01:00
1 parent c2aec01828
commit 4aa1efcf33
1 file changed
+7 -3
+7 -3
View File
@@ -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()."""