1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-31 15:16:18 +00:00
TiddlyWiki5/plugins/tiddlywiki/translators/Translators.tid
Jermolene 39e37d5776 Improvements to translators edition
More improvements for #984
2014-10-24 11:18:37 +01:00

22 lines
1.2 KiB
Plaintext

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>>/>
{{$:/core/ui/PageTemplate/pagecontrols}}
<<tabs "[all[tiddlers+shadows]tag[$:/tags/TranslationGroup]sort[caption]]" "$:/plugins/tiddlywiki/translators/ui/group/Miscellaneous" "$:/state/translatorsTab" "tc-vertical">>