Add save shortcut to shortcuts dialog (#25271)

This commit is contained in:
Jan-Philipp Benecke 2025-05-02 12:16:04 +02:00 committed by Bram Kragten
parent fae619085c
commit 32acef8fad
2 changed files with 11 additions and 5 deletions

View File

@ -69,12 +69,17 @@ const _SHORTCUTS: Section[] = [
],
},
{
key: "ui.dialogs.shortcuts.automations.title",
key: "ui.dialogs.shortcuts.automation_script.title",
items: [
{
type: "shortcut",
shortcut: [{ key: "ui.dialogs.shortcuts.shortcuts.ctrl_cmd" }, "V"],
key: "ui.dialogs.shortcuts.automations.paste",
key: "ui.dialogs.shortcuts.automation_script.paste",
},
{
type: "shortcut",
shortcut: [{ key: "ui.dialogs.shortcuts.shortcuts.ctrl_cmd" }, "S"],
key: "ui.dialogs.shortcuts.automation_script.save",
},
],
},

View File

@ -1938,9 +1938,10 @@
"title": "Assist",
"open_assist": "open Assist dialog"
},
"automations": {
"title": "Automations",
"paste": "to paste automation YAML from clipboard to automation editor"
"automation_script": {
"title": "Automations / Scripts",
"paste": "to paste automation/script YAML from clipboard to editor",
"save": "to save automation/script"
},
"charts": {
"title": "Charts",