From 21bc1222da06b913970ef338d126b6328fc6a7a3 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Sun, 22 Nov 2026 14:49:38 +0900 Subject: [PATCH] chore: abstract CLI flags --- dzgui/strings/flags.py | 5 +++++ dzgui/util/strings.py | 18 ------------------ 2 files changed, 5 insertions(+), 18 deletions(-) create mode 100644 dzgui/strings/flags.py diff --git a/dzgui/strings/flags.py b/dzgui/strings/flags.py new file mode 100644 index 00000000..fb24cdf6 --- /dev/null +++ b/dzgui/strings/flags.py @@ -0,0 +1,5 @@ +description = "DayZ server browser and mod manager" +version = "print version information" +uninstall = "clean up state/config files" +debug = "enable developer debugging features" +map_count = "check and update system map count value" diff --git a/dzgui/util/strings.py b/dzgui/util/strings.py index 88f93e33..3384aded 100644 --- a/dzgui/util/strings.py +++ b/dzgui/util/strings.py @@ -360,20 +360,6 @@ no_mods = "No local mods found." no_servers = "No server metadata to list." -flags = Flags( - description="DayZ server browser and mod manager", - version="print version information", - uninstall="clean up state/config files", - debug="enable developer debugging features", - map_count="check and update system map count value", -) - - -api_error = ( - "API key validation error or timeout. See 'Help > Show debug log' for details." -) - - server_labels = ServerLabels( browser="Server Browser", saved="Saved Servers", @@ -389,7 +375,3 @@ atomic_buttons = AtomicButton( keys="Keys", keys_tooltip="Toggles the keybindings dialog", ) - -address_already_saved = "This address is already in your Saved Servers" -stop_scanning = "Stop scanning on first hit" -abort_tooltip = "Unless you have multiple DayZ servers on your LAN,\nleave this checked to get results faster"