Skip to content

Commit

Permalink
DEV: Move settings descriptions to locales/en.yml (#26)
Browse files Browse the repository at this point in the history
This makes the translation of the descriptions with Crowdin possible.
  • Loading branch information
moin-Jana authored Dec 2, 2024
1 parent 062b556 commit 513e441
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 4 additions & 0 deletions locales/en.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
12 changes: 3 additions & 9 deletions settings.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 513e441

Please sign in to comment.