Make all trash dialogs use the same wording

This commit is contained in:
heliguy
2023-09-24 03:49:09 -04:00
parent bd764eeb0b
commit 2c15982ca6
3 changed files with 3 additions and 3 deletions

View File

@@ -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"))

View File

@@ -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)

View File

@@ -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"))