From 264f98d9c47d96b04fab30aec8073ba3ec8d6c1f Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Fri, 11 Oct 2024 19:00:56 +0200 Subject: [PATCH] add language strings --- core/language/en-GB/ControlPanel.multids | 4 ++++ core/ui/ControlPanel/Settings/StoryFilterFields.tid | 13 +++++++++++++ core/ui/ControlPanel/Settings/StoryFilterFlags.tid | 13 +++++++++++++ core/wiki/config/ShortcutInfo.multids | 2 +- core/wiki/config/shortcuts/shortcuts.multids | 2 +- 5 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 core/ui/ControlPanel/Settings/StoryFilterFields.tid create mode 100644 core/ui/ControlPanel/Settings/StoryFilterFlags.tid diff --git a/core/language/en-GB/ControlPanel.multids b/core/language/en-GB/ControlPanel.multids index 7adf4aa04..b98ca4d2c 100644 --- a/core/language/en-GB/ControlPanel.multids +++ b/core/language/en-GB/ControlPanel.multids @@ -175,6 +175,10 @@ Settings/NavigationPermalinkviewMode/UpdateAddressBar/Description: Update addres Settings/PerformanceInstrumentation/Caption: Performance Instrumentation Settings/PerformanceInstrumentation/Hint: Displays performance statistics in the browser developer console. Requires reload to take effect Settings/PerformanceInstrumentation/Description: Enable performance instrumentation +Settings/StoryFilterFields/Caption: Story Filter Fields +Settings/StoryFilterFields/Hint: The fields for the `search` filter of the story river +Settings/StoryFilterFlags/Caption: Story Filter Flags +Settings/StoryFilterFlags/Hint: The flags for the `search` filter of the story river Settings/ToolbarButtonStyle/Caption: Toolbar Button Style Settings/ToolbarButtonStyle/Hint: Choose the style for toolbar buttons: Settings/ToolbarButtonStyle/Styles/Borderless: Borderless diff --git a/core/ui/ControlPanel/Settings/StoryFilterFields.tid b/core/ui/ControlPanel/Settings/StoryFilterFields.tid new file mode 100644 index 000000000..09838a4a7 --- /dev/null +++ b/core/ui/ControlPanel/Settings/StoryFilterFields.tid @@ -0,0 +1,13 @@ +title: $:/core/ui/ControlPanel/Settings/StoryFilterFields +tags: $:/tags/ControlPanel/Settings +caption: {{$:/language/ControlPanel/Settings/StoryFilterFields/Caption}} + +\whitespace trim +\define lingo-base() $:/language/ControlPanel/Settings/StoryFilterFields/ + +<$link to="$:/config/StoryFilter/fields" class="tc-control-panel-item"> + <> + + +<$edit-text tag="input" tiddler="$:/config/StoryFilter/fields" default=""/>
+ diff --git a/core/ui/ControlPanel/Settings/StoryFilterFlags.tid b/core/ui/ControlPanel/Settings/StoryFilterFlags.tid new file mode 100644 index 000000000..df9012951 --- /dev/null +++ b/core/ui/ControlPanel/Settings/StoryFilterFlags.tid @@ -0,0 +1,13 @@ +title: $:/core/ui/ControlPanel/Settings/StoryFilterFlags +tags: $:/tags/ControlPanel/Settings +caption: {{$:/language/ControlPanel/Settings/StoryFilterFlags/Caption}} + +\whitespace trim +\define lingo-base() $:/language/ControlPanel/Settings/StoryFilterFlags/ + +<$link to="$:/config/StoryFilter/flags" class="tc-control-panel-item"> + <> + + +<$edit-text tag="input" tiddler="$:/config/StoryFilter/flags" default=""/>
+ diff --git a/core/wiki/config/ShortcutInfo.multids b/core/wiki/config/ShortcutInfo.multids index 47ed8bd91..b6a39874a 100644 --- a/core/wiki/config/ShortcutInfo.multids +++ b/core/wiki/config/ShortcutInfo.multids @@ -8,7 +8,7 @@ cancel-edit-tiddler: {{$:/language/Buttons/Cancel/Hint}} change-sidebar-layout: {{$:/language/Shortcuts/SidebarLayout/Hint}} delete-field: {{$:/language/EditTemplate/Field/Remove/Hint}} excise: {{$:/language/Buttons/Excise/Hint}} -filter-river: Filter the Story River +filter-river: {{$:/language/Buttons/StoryFilter/Hint}} heading-1: {{$:/language/Buttons/Heading1/Hint}} heading-2: {{$:/language/Buttons/Heading2/Hint}} heading-3: {{$:/language/Buttons/Heading3/Hint}} diff --git a/core/wiki/config/shortcuts/shortcuts.multids b/core/wiki/config/shortcuts/shortcuts.multids index c25e02f72..d9b5b3953 100644 --- a/core/wiki/config/shortcuts/shortcuts.multids +++ b/core/wiki/config/shortcuts/shortcuts.multids @@ -8,7 +8,6 @@ change-sidebar-layout: shift-alt-Down delete-field: shift-alt-D excise: ctrl-E filter-river: alt-F -sidebar-search: ctrl-shift-F heading-1: ctrl-1 heading-2: ctrl-2 heading-3: ctrl-3 @@ -35,6 +34,7 @@ preview: alt-P quote: ctrl-Q save-tiddler: ctrl+enter save-wiki: ctrl-S +sidebar-search: ctrl-shift-F stamp: ctrl-S strikethrough: ctrl-T subscript: ctrl-shift-B