1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-02 14:29:55 +00:00
TiddlyWiki5/plugins/tiddlywiki/translators/Translators.tid
Leilei332 40fca47974
Translator editon update (#8703)
* Translator editon update

Update for the translator editon, including:

* Changes to `--render` in `tiddlywiki.info`, and changes the command
  for generating `$:/languages/Docs/Types/` to replace strings with `_`
instead of using uri encoding.
* Update docs. The guide for changing `$:/core/readme` tiddler is wrong,
  so I removed it.

* Simplify templates and commands

* Add progress bar
2024-10-29 12:07:12 +00:00

27 lines
1.4 KiB
Plaintext

title: $:/Translators
\define allTheTranslatableTiddlerTitles()
[all[tiddlers+shadows]prefix[$:/language/]] [all[tiddlers+shadows]prefix[$:/config/NewJournal/]] [[GettingStarted]] [[$:/SiteTitle]] [[$:/SiteSubtitle]]
[[$:/core/readme]] +[sort[title]]
\end
\define allTheTranslatedTiddlerTitles()
[all[tiddlers]prefix[$:/language/]] [all[tiddlers]prefix[$:/config/NewJournal/]] [[GettingStarted]is[tiddler]] [[$:/SiteTitle]is[tiddler]] [[$:/SiteSubtitle]is[tiddler]]
[[$:/core/readme]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]]
[[$:/core/readme]!is[tiddler]] +[sort[title]]
\end
Number of translated tiddlers: <$count filter=<<allTheTranslatedTiddlerTitles>>/> of <$count filter=<<allTheTranslatableTiddlerTitles>>/>
<$wikify name="max" text="""<$count filter=<<allTheTranslatableTiddlerTitles>>/>""">
<$wikify name="value" text="""<$count filter=<<allTheTranslatedTiddlerTitles>>/>""">
<progress max=<<max>> value=<<value>>/>
</$wikify>
</$wikify>
{{$:/core/ui/PageTemplate/pagecontrols}}
<<tabs "[all[tiddlers+shadows]tag[$:/tags/TranslationGroup]sort[caption]]" "$:/plugins/tiddlywiki/translators/ui/group/Miscellaneous" "$:/state/translatorsTab" "tc-vertical">>