mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-16 14:51:24 +00:00
Make the show/hide editor button be translateable
Missed by accident from earlier commit
This commit is contained in:
@@ -14,6 +14,8 @@ Appearance/Palette/Editor/Clone/Prompt: It is recommended that you clone this sh
|
|||||||
Appearance/Palette/Editor/Prompt/Modified: This shadow palette has been modified
|
Appearance/Palette/Editor/Prompt/Modified: This shadow palette has been modified
|
||||||
Appearance/Palette/Editor/Prompt: Editing
|
Appearance/Palette/Editor/Prompt: Editing
|
||||||
Appearance/Palette/Editor/Reset/Caption: reset
|
Appearance/Palette/Editor/Reset/Caption: reset
|
||||||
|
Appearance/Palette/ShowEditor/Caption: show editor
|
||||||
|
Appearance/Palette/HideEditor/Caption: hide editor
|
||||||
Appearance/Palette/Prompt: Current palette:
|
Appearance/Palette/Prompt: Current palette:
|
||||||
Appearance/StoryView/Caption: Story View
|
Appearance/StoryView/Caption: Story View
|
||||||
Appearance/StoryView/Prompt: Current view:
|
Appearance/StoryView/Prompt: Current view:
|
||||||
|
|||||||
@@ -2,13 +2,14 @@ title: $:/core/ui/ControlPanel/Appearance/Palette
|
|||||||
tags: $:/tags/ControlPanel/Appearance
|
tags: $:/tags/ControlPanel/Appearance
|
||||||
caption: {{$:/language/ControlPanel/Appearance/Palette/Caption}}
|
caption: {{$:/language/ControlPanel/Appearance/Palette/Caption}}
|
||||||
|
|
||||||
|
\define lingo-base() $:/language/ControlPanel/Appearance/Palette/
|
||||||
{{$:/snippets/paletteswitcher}}
|
{{$:/snippets/paletteswitcher}}
|
||||||
|
|
||||||
<$reveal type="nomatch" state="$:/state/ShowPaletteEditor" text="yes">
|
<$reveal type="nomatch" state="$:/state/ShowPaletteEditor" text="yes">
|
||||||
<$button set="$:/state/ShowPaletteEditor" setTo="yes">show editor</$button>
|
<$button set="$:/state/ShowPaletteEditor" setTo="yes"><<lingo ShowEditor/Caption>></$button>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
<$reveal type="match" state="$:/state/ShowPaletteEditor" text="yes">
|
<$reveal type="match" state="$:/state/ShowPaletteEditor" text="yes">
|
||||||
<$button set="$:/state/ShowPaletteEditor" setTo="no">hide editor</$button>
|
<$button set="$:/state/ShowPaletteEditor" setTo="no"><<lingo HideEditor/Caption>></$button>
|
||||||
{{$:/snippets/paletteeditor}}
|
{{$:/snippets/paletteeditor}}
|
||||||
</$reveal>
|
</$reveal>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user