mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Make all trash dialogs use the same wording
This commit is contained in:
@@ -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"))
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user