From c24565426af85a82372ff5757dd90b7c891d6029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E6=9D=B0=E5=8F=8B=20Jieyou=20Xu=20=28Joe=29?= <39484203+jieyouxu@users.noreply.github.com> Date: Sun, 4 Aug 2024 13:03:20 +0800 Subject: [PATCH] gui: rename primary action buttons - Rename "Install mods" -> "Apply changes" to be less confusing. - Rename "Uninstall mods" -> "Uninstall hook and mods". - Added hover text for both buttons to help explain what they do. --- src/gui/mod.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gui/mod.rs b/src/gui/mod.rs index c58ee319..d259b09c 100644 --- a/src/gui/mod.rs +++ b/src/gui/mod.rs @@ -1762,7 +1762,9 @@ impl eframe::App for App { } ui.add_enabled_ui(self.state.config.drg_pak_path.is_some(), |ui| { - let mut button = ui.button("Install mods"); + let mut button = ui.button("Apply changes").on_hover_text( + "Install the hook dll to game folder and regenerate mod bundle", + ); if self.state.config.drg_pak_path.is_none() { button = button.on_disabled_hover_text( "DRG install not found. Configure it in the settings menu.", @@ -1800,7 +1802,9 @@ impl eframe::App for App { }); ui.add_enabled_ui(self.state.config.drg_pak_path.is_some(), |ui| { - let mut button = ui.button("Uninstall mods"); + let mut button = ui.button("Uninstall hook and mods").on_hover_text( + "Remove the hook dll and mod bundle from game folder", + ); if self.state.config.drg_pak_path.is_none() { button = button.on_disabled_hover_text( "DRG install not found. Configure it in the settings menu.",