From 921ff6ae390abeafafea8d4fa7a1c127d2e3c560 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Thu, 20 Feb 2014 16:07:03 +0000 Subject: [PATCH] Make palette editor translateable --- core/language/en-GB/ControlPanel.multids | 5 +++++ core/wiki/paletteeditor.tid | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/core/language/en-GB/ControlPanel.multids b/core/language/en-GB/ControlPanel.multids index 1c142863b..398333ef2 100644 --- a/core/language/en-GB/ControlPanel.multids +++ b/core/language/en-GB/ControlPanel.multids @@ -9,6 +9,11 @@ Advanced/TiddlerFields/Hint: This is the full set of TiddlerFields in use in thi Appearance/Caption: Appearance Appearance/Hint: Ways to customise the appearance of your TiddlyWiki. Appearance/Palette/Caption: Palette +Appearance/Palette/Editor/Clone/Caption: clone +Appearance/Palette/Editor/Clone/Prompt: It is recommended that you clone this shadow palette before editing it +Appearance/Palette/Editor/Prompt/Modified: This shadow palette has been modified +Appearance/Palette/Editor/Prompt: Editing +Appearance/Palette/Editor/Reset/Caption: reset Appearance/Palette/Prompt: Current palette: Appearance/StoryView/Caption: Story View Appearance/StoryView/Prompt: Current view: diff --git a/core/wiki/paletteeditor.tid b/core/wiki/paletteeditor.tid index acc90d188..517f89957 100644 --- a/core/wiki/paletteeditor.tid +++ b/core/wiki/paletteeditor.tid @@ -1,19 +1,20 @@ title: $:/snippets/paletteeditor +\define lingo-base() $:/language/ControlPanel/Appearance/Palette/Editor/ <$set name="currentTiddler" value={{$:/palette}}> -Editing <$link to={{$:/palette}}><$macrocall $name="currentTiddler" $output="text/plain"/> +<> <$link to={{$:/palette}}><$macrocall $name="currentTiddler" $output="text/plain"/> <$list filter="[is[current]is[shadow]is[tiddler]]" variable="listItem"> -This shadow palette has been modified -<$button message="tw-delete-tiddler" param={{$:/palette}}>reset +<> +<$button message="tw-delete-tiddler" param={{$:/palette}}><> <$list filter="[is[current]is[shadow]!is[tiddler]]" variable="listItem"> -It is recommended that you clone this shadow palette before editing it +<> -<$button message="tw-new-tiddler" param={{$:/palette}}>clone +<$button message="tw-new-tiddler" param={{$:/palette}}><> <$list filter="[is[current]indexes[]]" variable="colourName">
<$macrocall $name="colourName" $output="text/plain"/> <$edit-text index=<> tag="input"/>