From 2c15982ca6b0f458044ded4512b431d57ef251c5 Mon Sep 17 00:00:00 2001 From: heliguy Date: Sun, 24 Sep 2023 03:49:09 -0400 Subject: [PATCH] Make all trash dialogs use the same wording --- src/orphans_window.py | 2 +- src/properties_window.py | 2 +- src/window.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/orphans_window.py b/src/orphans_window.py index f1db37e..dce1f64 100644 --- a/src/orphans_window.py +++ b/src/orphans_window.py @@ -149,7 +149,7 @@ class OrphansWindow(Adw.Window): self.select_all_button.set_active(False) self.generateList() - dialog = Adw.MessageDialog.new(self, _("Trash folders?"), _("These folders will be moved to the trash.")) + dialog = Adw.MessageDialog.new(self, _("Trash folders?"), _("These folders will be sent to the trash.")) dialog.connect("response", onResponse, dialog.choose_finish) dialog.set_close_response("cancel") dialog.add_response("cancel", _("Cancel")) diff --git a/src/properties_window.py b/src/properties_window.py index 2a0590b..a4edd3a 100644 --- a/src/properties_window.py +++ b/src/properties_window.py @@ -54,7 +54,7 @@ def show_properties_window(widget, index, window): dialog.set_body(_("Your user files and data for this app will be sent to the trash.")) dialog.set_close_response("cancel") dialog.add_response("cancel", _("Cancel")) - dialog.add_response("continue", _("Send Data to Trash")) + dialog.add_response("continue", _("Trash Data")) dialog.set_response_appearance("continue", Adw.ResponseAppearance.DESTRUCTIVE) dialog.set_transient_for(properties_window) dialog.connect("response", on_response, dialog.choose_finish) diff --git a/src/window.py b/src/window.py index e52fb5b..0efc98f 100644 --- a/src/window.py +++ b/src/window.py @@ -311,7 +311,7 @@ class WarehouseWindow(Adw.ApplicationWindow): self.refresh_list_of_flatpaks(_a, False) def batch_clean_handler(self, widget): - dialog = Adw.MessageDialog.new(self, _("Trash Selected Apps' User Data?"), _("This user data will be sent to the trash.")) + dialog = Adw.MessageDialog.new(self, _("Trash Selected Apps' User Data?"), _("Your user files and data for these apps will be sent to the trash.")) dialog.set_close_response("cancel") dialog.add_response("cancel", _("Cancel")) dialog.add_response("continue", _("Trash Data"))