mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-07-01 08:59:57 +00:00
ux: add mnemonics to the rest of dialogs
This commit is contained in:
parent
5edbd1f96c
commit
cd0918bef4
|
@ -601,7 +601,7 @@ class GradienceApplication(Adw.Application):
|
|||
"irreversibly overwritten!"
|
||||
),
|
||||
"apply",
|
||||
_("Apply"),
|
||||
_("_Apply"),
|
||||
Adw.ResponseAppearance.SUGGESTED,
|
||||
transient_for=self.props.active_window,
|
||||
)
|
||||
|
@ -614,7 +614,7 @@ class GradienceApplication(Adw.Application):
|
|||
_("Restore applied color scheme?"),
|
||||
_("Make sure you have the current settings saved as a preset."),
|
||||
"restore",
|
||||
_("Restore"),
|
||||
_("_Restore"),
|
||||
Adw.ResponseAppearance.DESTRUCTIVE,
|
||||
transient_for=self.props.active_window,
|
||||
)
|
||||
|
@ -626,7 +626,7 @@ class GradienceApplication(Adw.Application):
|
|||
_("Reset applied color scheme?"),
|
||||
_("Make sure you have the current settings saved as a preset."),
|
||||
"reset",
|
||||
_("Reset"),
|
||||
_("_Reset"),
|
||||
Adw.ResponseAppearance.DESTRUCTIVE,
|
||||
transient_for=self.props.active_window,
|
||||
)
|
||||
|
|
|
@ -41,7 +41,7 @@ class GradienceAppTypeDialog(Adw.MessageDialog):
|
|||
self.set_heading(heading)
|
||||
self.set_body(body)
|
||||
|
||||
self.add_response("cancel", _("Cancel"))
|
||||
self.add_response("cancel", _("_Cancel"))
|
||||
self.add_response(ok_response_name, ok_response_label)
|
||||
self.set_response_appearance(ok_response_name, ok_response_appearance)
|
||||
self.set_default_response("cancel")
|
||||
|
|
Loading…
Reference in a new issue