diff --git a/app/ui/dialogs.py b/app/ui/dialogs.py index aea782cf..82507e10 100644 --- a/app/ui/dialogs.py +++ b/app/ui/dialogs.py @@ -109,17 +109,7 @@ class Dialog(Enum): dialog question ok-cancel - Are you sure? - - - - - - False - vertical - 2 - - + {text} """ @@ -242,7 +232,8 @@ def get_input_dialog(transient, text): def get_message_dialog(transient, dialog_type): builder = Gtk.Builder() - builder.add_from_string(Dialog.MESSAGE.value.format(use_header=_IS_GNOME_SESSION)) + builder.set_translation_domain(TEXT_DOMAIN) + builder.add_from_string(Dialog.MESSAGE.value.format(use_header=0, text="Are you sure?")) dialog = builder.get_object("message_dialog") dialog.set_transient_for(transient) response = dialog.run()