From 4aa1efcf33ad97716a810caaed7d4ec8318a92fa Mon Sep 17 00:00:00 2001 From: "Giampiero L." <54741923+GLWine@users.noreply.github.com> Date: Thu, 12 Feb 2026 21:53:16 +0100 Subject: [PATCH] Localize authentication success message Updated message box title and content to use translation functions. --- companion.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/companion.py b/companion.py index c205b765..873d96a8 100644 --- a/companion.py +++ b/companion.py @@ -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()."""