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:
Jermolene
2014-10-22 14:14:24 +01:00
parent 1b620387dd
commit 5bb74319e1
19 changed files with 248 additions and 0 deletions

View File

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