mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-10 03:49:13 +00:00
Add support for splitting standalone translations
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/Buttons.multids
|
||||
|
||||
{{$:/language/Buttons/||$:/plugins/tiddlywiki/translators/templates/multids}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/ControlPanel.multids
|
||||
|
||||
{{$:/language/ControlPanel/||$:/plugins/tiddlywiki/translators/templates/multids}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/Dates.multids
|
||||
|
||||
{{[prefix[$:/language/Date/]] [prefix[$:/language/RelativeDate/]]||$:/plugins/tiddlywiki/translators/templates/filtered-multids}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/EditTemplate.multids
|
||||
|
||||
{{$:/language/EditTemplate/||$:/plugins/tiddlywiki/translators/templates/multids}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/Fields.multids
|
||||
|
||||
{{$:/language/Docs/Fields/||$:/plugins/tiddlywiki/translators/templates/multids}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/Filters.multids
|
||||
|
||||
{{$:/language/Filters/||$:/plugins/tiddlywiki/translators/templates/multids}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/GettingStarted.tid
|
||||
|
||||
{{GettingStarted||$:/plugins/tiddlywiki/translators/templates/tid}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/Import.multids
|
||||
|
||||
{{$:/language/Import/||$:/plugins/tiddlywiki/translators/templates/multids}}
|
||||
@@ -0,0 +1,18 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/Misc.multids
|
||||
|
||||
{{[all[tiddlers+shadows]prefix[$:/language/]]
|
||||
-[all[tiddlers+shadows]prefix[$:/language/Buttons/]]
|
||||
-[all[tiddlers+shadows]prefix[$:/language/ControlPanel/]]
|
||||
-[all[tiddlers+shadows]prefix[$:/language/Date/]]
|
||||
-[all[tiddlers+shadows]prefix[$:/language/Docs/]]
|
||||
-[all[tiddlers+shadows]prefix[$:/language/EditTemplate/]]
|
||||
-[all[tiddlers+shadows]prefix[$:/language/Filters/]]
|
||||
-[all[tiddlers+shadows]prefix[$:/language/Help/]]
|
||||
-[all[tiddlers+shadows]prefix[$:/language/Import/]]
|
||||
-[all[tiddlers+shadows]prefix[$:/language/Modals/]]
|
||||
-[all[tiddlers+shadows]prefix[$:/language/Notifications/]]
|
||||
-[all[tiddlers+shadows]prefix[$:/language/RelativeDate/]]
|
||||
-[all[tiddlers+shadows]prefix[$:/language/Search/]]
|
||||
-[all[tiddlers+shadows]prefix[$:/language/SideBar/]]
|
||||
-[all[tiddlers+shadows]prefix[$:/language/TiddlerInfo/]]
|
||||
+[sort[title]]||$:/plugins/tiddlywiki/translators/templates/filtered-multids}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/ModuleTypes.multids
|
||||
|
||||
{{$:/language/Docs/ModuleTypes/||$:/plugins/tiddlywiki/translators/templates/multids}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/NewJournal.multids
|
||||
|
||||
{{$:/config/NewJournal/||$:/plugins/tiddlywiki/translators/templates/multids}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/Notifications.multids
|
||||
|
||||
{{$:/language/Notifications/||$:/plugins/tiddlywiki/translators/templates/multids}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/PaletteColours.multids
|
||||
|
||||
{{$:/language/Docs/PaletteColours/||$:/plugins/tiddlywiki/translators/templates/multids}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/Search.multids
|
||||
|
||||
{{$:/language/Search/||$:/plugins/tiddlywiki/translators/templates/multids}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/SideBar.multids
|
||||
|
||||
{{$:/language/SideBar/||$:/plugins/tiddlywiki/translators/templates/multids}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/SiteSubtitle.tid
|
||||
|
||||
{{$:/SiteSubtitle||$:/plugins/tiddlywiki/translators/templates/tid}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/SiteTitle.tid
|
||||
|
||||
{{$:/SiteTitle||$:/plugins/tiddlywiki/translators/templates/tid}}
|
||||
@@ -0,0 +1,3 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/TiddlerInfo.multids
|
||||
|
||||
{{$:/language/TiddlerInfo/||$:/plugins/tiddlywiki/translators/templates/multids}}
|
||||
@@ -0,0 +1,9 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/filtered-multids
|
||||
|
||||
\define generateMultids(filter)
|
||||
title: $:/language/
|
||||
|
||||
<$list filter="""$filter$"""><$list filter="[is[current]removeprefix[$:/language/]]"><$text text=<<currentTiddler>>/></$list>: <$text text={{!!text}}/>
|
||||
</$list>
|
||||
\end
|
||||
<$macrocall $name="generateMultids" filter=<<currentTiddler>>/>
|
||||
@@ -0,0 +1,9 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/help-tid
|
||||
|
||||
\define generateTid(title)
|
||||
title: $:/language/Help/$title$
|
||||
description: <$text text={{$:/language/Help/$title$!!description}}/>
|
||||
|
||||
<$text text={{$:/language/Help/$title$}}/>
|
||||
\end
|
||||
<$macrocall $name="generateTid" title=<<currentTiddler>>/>
|
||||
@@ -0,0 +1,12 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/modal-tid
|
||||
|
||||
\define generateTid(title)
|
||||
title: $:/language/Modals/$title$
|
||||
type: <$text text={{$:/language/Modals/$title$!!type}}/>
|
||||
subtitle: <$text text={{$:/language/Modals/$title$!!subtitle}}/>
|
||||
footer: <$text text={{$:/language/Modals/$title$!!footer}}/>
|
||||
help: <$text text={{$:/language/Modals/$title$!!help}}/>
|
||||
|
||||
<$text text={{$:/language/Modals/$title$}}/>
|
||||
\end
|
||||
<$macrocall $name="generateTid" title=<<currentTiddler>>/>
|
||||
@@ -0,0 +1,9 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/multids
|
||||
|
||||
\define generateMultids(prefix)
|
||||
title: $prefix$
|
||||
|
||||
<$list filter="[prefix[$prefix$]sort[title]]"><$list filter="[is[current]removeprefix[$prefix$]]"><$text text=<<currentTiddler>>/></$list>: <$text text={{!!text}}/>
|
||||
</$list>
|
||||
\end
|
||||
<$macrocall $name="generateMultids" prefix=<<currentTiddler>>/>
|
||||
@@ -0,0 +1,8 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/tid
|
||||
|
||||
\define generateTid(title)
|
||||
title: $title$
|
||||
|
||||
<$transclude tiddler="""$title$"""/>
|
||||
\end
|
||||
<$macrocall $name="generateTid" title=<<currentTiddler>>/>
|
||||
@@ -0,0 +1,10 @@
|
||||
title: $:/plugins/tiddlywiki/translators/templates/type-tid
|
||||
|
||||
\define generateTid(title)
|
||||
title: $:/language/Docs/Types/$title$
|
||||
description: <$text text={{$:/language/Docs/Types/$title$!!description}}/>
|
||||
name: <$text text={{$:/language/Docs/Types/$title$!!name}}/>
|
||||
group: <$text text={{$:/language/Docs/Types/$title$!!group}}/>
|
||||
|
||||
\end
|
||||
<$macrocall $name="generateTid" title=<<currentTiddler>>/>
|
||||
Reference in New Issue
Block a user