diff --git a/plugins/tiddlywiki/translators/macros/translatableStringEditor.tid b/plugins/tiddlywiki/translators/macros/translatableStringEditor.tid index ec1a9585a..a9a09e399 100644 --- a/plugins/tiddlywiki/translators/macros/translatableStringEditor.tid +++ b/plugins/tiddlywiki/translators/macros/translatableStringEditor.tid @@ -10,6 +10,10 @@ tags: $:/tags/Macro <$list filter="""$(editFieldsFilter)$""" variable="editorField"> <$edit-text tag="$(editorTagName)$" field=<> type="text" class="tc-edit-texteditor" minHeight="10px"/> +<$reveal state="$:/state/showEnglishText" type=match text="show" tag="p"> +Default text: +
<$view tiddler="$:/core" subtiddler=<> field=<>/>
+
@@ -60,6 +64,8 @@ Delete translation //<$count filter=<>/> translatable tiddlers in this group// +<$checkbox tiddler="$:/state/showEnglishText" field="text" checked="show" unchecked="hide" default="hide"> Show the default text below editor field + <$radio tiddler="$:/plugins/tiddlywiki/translators/editorTag" value="textarea"> Multi-line editors
<$radio tiddler="$:/plugins/tiddlywiki/translators/editorTag" value="input"> Single-line editors diff --git a/plugins/tiddlywiki/translators/system/styles.tid b/plugins/tiddlywiki/translators/system/styles.tid index 14b7a2177..61c47405d 100644 --- a/plugins/tiddlywiki/translators/system/styles.tid +++ b/plugins/tiddlywiki/translators/system/styles.tid @@ -12,4 +12,9 @@ tags: $:/tags/Stylesheet .tc-translators-string-table .tc-drop-down { min-width: 500px; +} + +.tc-tiddler-frame textarea.tc-edit-texteditor, +.tc-tiddler-frame input.tc-edit-texteditor { + background-color: #feffef; } \ No newline at end of file