mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-29 03:27:00 +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:
19
plugins/tiddlywiki/translators/Translators.tid
Normal file
19
plugins/tiddlywiki/translators/Translators.tid
Normal file
@@ -0,0 +1,19 @@
|
||||
title: $:/Translators
|
||||
|
||||
\define allTheTranslatableTiddlerTitles()
|
||||
[all[tiddlers+shadows]prefix[$:/language/]] [all[tiddlers+shadows]prefix[$:/config/NewJournal/]] [[GettingStarted]] [[$:/SiteTitle]] [[$:/SiteSubtitle]] +[sort[title]]
|
||||
\end
|
||||
\define allTheTranslatedTiddlerTitles()
|
||||
[all[tiddlers]prefix[$:/language/]] [all[tiddlers]prefix[$:/config/NewJournal/]] [[GettingStarted]is[tiddler]] [[$:/SiteTitle]is[tiddler]] [[$:/SiteSubtitle]is[tiddler]] +[sort[title]]
|
||||
\end
|
||||
\define allTheNotTranslatedTiddlerTitles()
|
||||
[all[tiddlers+shadows]!is[tiddler]prefix[$:/language/]] [all[tiddlers+shadows]!is[tiddler]prefix[$:/config/NewJournal/]] [[GettingStarted]!is[tiddler]] [[$:/SiteTitle]!is[tiddler]] [[$:/SiteSubtitle]!is[tiddler]] +[sort[title]]
|
||||
\end
|
||||
|
||||
Number of translatable tiddlers: <$count filter=<<allTheTranslatableTiddlerTitles>>/>
|
||||
|
||||
Number of tiddlers translated so far: <$count filter=<<allTheTranslatedTiddlerTitles>>/>
|
||||
|
||||
Number of tiddlers not yet translated: <$count filter=<<allTheNotTranslatedTiddlerTitles>>/>
|
||||
|
||||
<<tabs "[all[tiddlers+shadows]tag[$:/tags/TranslationGroup]sort[caption]]" "$:/plugins/tiddlywiki/translators/ui/group/Miscellaneous" "$:/state/translatorsTab" "tc-vertical">>
|
||||
Reference in New Issue
Block a user