1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Ensure stylesheet is re-rendered when the language changes

This ensures that things like the drop message are updated when the
language changes.
This commit is contained in:
Jermolene 2015-02-08 17:56:15 +00:00
parent 1191d60d61
commit cfea481ce8

View File

@ -2,8 +2,16 @@ title: $:/core/ui/PageStylesheet
<$importvariables filter="[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]">
<$set name="currentTiddler" value={{$:/language}}>
<$set name="languageTitle" value={{!!name}}>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]">
<$transclude mode="block"/>
</$list>
</$set>
</$set>
</$importvariables>