From 516735defa46373a9d6df6fe66454d7572f99904 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Thu, 24 Sep 2026 13:36:58 +0900 Subject: [PATCH] chore: add string --- dzgui/strings/preconnect.py | 3 +-- dzgui/views/pages/preconnect.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dzgui/strings/preconnect.py b/dzgui/strings/preconnect.py index 274c4b0..cd54196 100644 --- a/dzgui/strings/preconnect.py +++ b/dzgui/strings/preconnect.py @@ -11,8 +11,6 @@ mods = "Mods" total_mods = "Total mods: " up_to_date = "All mods are up to date." all_updated = "All mods updated." -"If you recently installed {build} or moved it to a different drive, " -"restart Steam to allow these changes to synchronize, then try again." required_space = " Need to download {0} MiB of mod updates." placeholder_no_mods = "This server has no mods." @@ -36,6 +34,7 @@ steam_not_running = "'{0}' is set as the default Steam client, but it is either use_desktop_mode = "Use Desktop Mode to download mods on Steam Deck." version_mismatch = "Local client version '{0}' does not match remote version '{1}'." version_missing = "Remote server is running the build '{0}', but it is not installed." +no_errors = "No errors." # Warnings diff --git a/dzgui/views/pages/preconnect.py b/dzgui/views/pages/preconnect.py index 93b0fb6..38bf90e 100644 --- a/dzgui/views/pages/preconnect.py +++ b/dzgui/views/pages/preconnect.py @@ -176,8 +176,7 @@ class PreConnectionAssistant(Gtk.Box): self.error_box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) self.error_tree = MaskedTree(ERROR) - # TODO: strings - self.error_placeholder = Placeholder("No errors.") + self.error_placeholder = Placeholder(preconnect.no_errors) self.error_box.add(self.error_tree) self.error_box.add(self.error_placeholder) self.error_frame = HeadingFrame.new_with_widget_and_label(