feat: add tooltip to load menu button

This commit is contained in:
aclist 2026-05-29 00:43:34 +09:00
parent 86e2249a23
commit 1212c09110
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
update_mods = "Update mods and connect"
connect = "Connect"
connect_last = "Load to menu screen"
connect_last_tooltip = (
"Launch DayZ with these mods (if any) and\ngo to the menu screen without connecting."
)
back = "Back"
cancel = "Cancel"
warnings = "Warnings"

View File

@ -107,7 +107,7 @@ class PreConnectionAssistant(Gtk.ScrolledWindow):
)
self.ok = Gtk.Button(label=preconnect.update_mods, halign=Gtk.Align.END)
self.connect_last = Gtk.Button(
label=preconnect.connect_last, halign=Gtk.Align.END
label=preconnect.connect_last, halign=Gtk.Align.END, tooltip_text=preconnect.connect_last_tooltip
)
# TODO: abstract