From 513e441b7f918ad11e1e146f1338af6ec0a39729 Mon Sep 17 00:00:00 2001 From: moin-Jana <172497896+moin-Jana@users.noreply.github.com> Date: Mon, 2 Dec 2024 22:10:25 +0100 Subject: [PATCH] DEV: Move settings descriptions to locales/en.yml (#26) This makes the translation of the descriptions with Crowdin possible. --- locales/en.yml | 4 ++++ settings.yml | 12 +++--------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/locales/en.yml b/locales/en.yml index 8c3bbd4..e63e3fa 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -1,6 +1,10 @@ en: theme_metadata: description: "A toolbox for developers to quickly toggle common actions while developing" + settings: + show_header_button: "Show the trigger for the dev toolbox in the header panel" + remove_button_from_flow: "Fixes the header button to bottom right. (Requires show_header_button to be enabled)" + actions_close_modal: "Triggering an action in the toolbox will also close the toolbox modal." dev_utils: toggle_btn: "Dev Toolbox" modal: diff --git a/settings.yml b/settings.yml index 9bf1dc5..48238ab 100644 --- a/settings.yml +++ b/settings.yml @@ -1,27 +1,21 @@ show_header_button: type: bool default: false - description: - en: "Show the trigger for the dev toolbox in the header panel" remove_button_from_flow: type: bool default: false - description: - en: "Fixes the header button to bottom right. (Requires show_header_button to be enabled)" actions_close_modal: type: bool default: true - description: - en: "Triggering an action in the toolbox will also close the toolbox modal." custom_links: type: objects default: [] schema: name: link properties: - name: + name: type: string - icon: + icon: type: string - link: + link: type: string