mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-25 15:34:37 +00:00
First pass at an edition for translators working in the browser
The user interface needs some refinements but it shows the basic principles. The idea is that the translator would email their modified file, which would then be merged into the core repo (some additional tools will be helpful for this). Fixes #984
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
title: $:/plugins/tiddlywiki/translators/macros/translatableStringEditor
|
||||
tags: $:/tags/Macro
|
||||
|
||||
\define translatableStringEditor(editorTag:"input")
|
||||
<div class="tc-translators-string-table">
|
||||
|
||||
<$count filter=<<translatableTiddlerTitles>>/> translatable tiddlers in this group
|
||||
|
||||
<$list filter=<<translatableTiddlerTitles>>>
|
||||
<div>
|
||||
|
||||
<hr>
|
||||
|
||||
Title: <$link><$text text=<<currentTiddler>>/></$link>
|
||||
|
||||
<$edit-text tag="$editorTag$" type="text" class="tc-edit-texteditor"/>
|
||||
|
||||
Core en-GB text:
|
||||
|
||||
<textarea class="tc-edit-texteditor" readonly>
|
||||
|
||||
<$view tiddler="$:/core" subtiddler=<<currentTiddler>>/>
|
||||
|
||||
</textarea>
|
||||
|
||||
</div>
|
||||
</$list>
|
||||
</div>
|
||||
\end
|
||||
Reference in New Issue
Block a user