mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-04-23 07:11:30 +00:00
Make the show/hide editor button be translateable
Missed by accident from earlier commit
This commit is contained in:
@@ -2,13 +2,14 @@ title: $:/core/ui/ControlPanel/Appearance/Palette
|
||||
tags: $:/tags/ControlPanel/Appearance
|
||||
caption: {{$:/language/ControlPanel/Appearance/Palette/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Appearance/Palette/
|
||||
{{$:/snippets/paletteswitcher}}
|
||||
|
||||
<$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 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}}
|
||||
</$reveal>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user