1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 09:00:27 +00:00

Make palette editor translateable

This commit is contained in:
Jermolene 2014-02-20 16:07:03 +00:00
parent b9e72fb676
commit 921ff6ae39
2 changed files with 11 additions and 5 deletions

View File

@ -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:

View File

@ -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>
<<lingo Prompt>> <$link to={{$:/palette}}><$macrocall $name="currentTiddler" $output="text/plain"/></$link>
<$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>
<<lingo Prompt/Modified>>
<$button message="tw-delete-tiddler" param={{$:/palette}}><<lingo Reset/Caption>></$button>
</$list>
<$list filter="[is[current]is[shadow]!is[tiddler]]" variable="listItem">
It is recommended that you clone this shadow palette before editing it
<<lingo Clone/Prompt>>
</$list>
<$button message="tw-new-tiddler" param={{$:/palette}}>clone</$button>
<$button message="tw-new-tiddler" param={{$:/palette}}><<lingo Clone/Caption>></$button>
<table><tbody><$list filter="[is[current]indexes[]]" variable="colourName"><tr><td><$macrocall $name="colourName" $output="text/plain"/></td>
<td><$edit-text index=<<colourName>> tag="input"/></td>