From e3c1906eaf97bf0c3d2af151a8717897936f4323 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Thu, 20 Feb 2014 17:53:23 +0000 Subject: [PATCH] Make the show/hide editor button be translateable Missed by accident from earlier commit --- core/language/en-GB/ControlPanel.multids | 2 ++ core/ui/ControlPanel/Appearance/Palette.tid | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/core/language/en-GB/ControlPanel.multids b/core/language/en-GB/ControlPanel.multids index 398333ef2..4704cd10a 100644 --- a/core/language/en-GB/ControlPanel.multids +++ b/core/language/en-GB/ControlPanel.multids @@ -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: Editing Appearance/Palette/Editor/Reset/Caption: reset +Appearance/Palette/ShowEditor/Caption: show editor +Appearance/Palette/HideEditor/Caption: hide editor Appearance/Palette/Prompt: Current palette: Appearance/StoryView/Caption: Story View Appearance/StoryView/Prompt: Current view: diff --git a/core/ui/ControlPanel/Appearance/Palette.tid b/core/ui/ControlPanel/Appearance/Palette.tid index 0805c5fef..4e3638bbf 100644 --- a/core/ui/ControlPanel/Appearance/Palette.tid +++ b/core/ui/ControlPanel/Appearance/Palette.tid @@ -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 set="$:/state/ShowPaletteEditor" setTo="yes"><> <$reveal type="match" state="$:/state/ShowPaletteEditor" text="yes"> -<$button set="$:/state/ShowPaletteEditor" setTo="no">hide editor +<$button set="$:/state/ShowPaletteEditor" setTo="no"><> {{$:/snippets/paletteeditor}}