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()."""