Skip to content

Commit a170b6c

Browse files
committedMar 3, 2025
Change text
- Rename install and uninstall buttons - Add description to install and uninstall buttons - Improve buttons description
1 parent 8e9d3f8 commit a170b6c

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed
 

‎src/gui/mod.rs

+14-8
Original file line numberDiff line numberDiff line change
@@ -1437,10 +1437,13 @@ impl eframe::App for App {
14371437
}
14381438

14391439
ui.add_enabled_ui(self.state.config.drg_pak_path.is_some(), |ui| {
1440-
let mut button = ui.button("Install mods");
1440+
let mut button = ui.button("Apply changes").on_hover_text(
1441+
"Install the hook DLL inside the game folder and regenerate mod bundle.",
1442+
);
14411443
if self.state.config.drg_pak_path.is_none() {
14421444
button = button.on_disabled_hover_text(
1443-
"DRG install not found. Configure it in the settings menu.",
1445+
"Deep Rock Galactic not found.\n\
1446+
Set the correct path in the settings menu.",
14441447
);
14451448
}
14461449

@@ -1464,10 +1467,13 @@ impl eframe::App for App {
14641467
});
14651468

14661469
ui.add_enabled_ui(self.state.config.drg_pak_path.is_some(), |ui| {
1467-
let mut button = ui.button("Uninstall mods");
1470+
let mut button = ui.button("Uninstall hook and mods").on_hover_text(
1471+
"Remove the hook DLL and mod bundle from the game folder.",
1472+
);
14681473
if self.state.config.drg_pak_path.is_none() {
14691474
button = button.on_disabled_hover_text(
1470-
"DRG install not found. Configure it in the settings menu.",
1475+
"Deep Rock Galactic not found.\n\
1476+
Set the correct path in the settings menu.",
14711477
);
14721478
}
14731479
if button.clicked() {
@@ -1501,8 +1507,8 @@ impl eframe::App for App {
15011507
if ui
15021508
.button("Update cache")
15031509
.on_hover_text(
1504-
"Checks for updates for all mods and updates local cache\n\
1505-
due to strict mod.io rate-limiting, can take a long time for large mod lists",
1510+
"Checks for updates for all mods and updates local cache.\n\
1511+
This can take a long time for large mod lists due to strict mod.io rate-limiting.",
15061512
)
15071513
.clicked()
15081514
{
@@ -1528,15 +1534,15 @@ impl eframe::App for App {
15281534
}
15291535
ui.spinner();
15301536
}
1531-
if ui.button("Lint mods").on_hover_text("Lint mods in the current profile").clicked() {
1537+
if ui.button("Lint mods").on_hover_text("Lint mods in the current profile.").clicked() {
15321538
let mut mods = Vec::new();
15331539
let active_profile = self.state.mod_data.active_profile.clone();
15341540
self.state.mod_data.for_each_enabled_mod(&active_profile, |mc| {
15351541
mods.push(mc.spec.clone());
15361542
});
15371543
self.lints_toggle_window = Some(WindowLintsToggle { mods });
15381544
}
1539-
if ui.button("⚙").on_hover_text("Open settings").clicked() {
1545+
if ui.button("⚙").on_hover_text("Open mint-notag settings.").clicked() {
15401546
self.settings_window = Some(WindowSettings::new(&self.state));
15411547
}
15421548
if let Some(available_update) = &self.available_update {

0 commit comments

Comments
 (0)