diff --git a/editions/zh-Hans/tiddlers/system/download-empty-button-zh-Hans.tid b/editions/zh-Hans/tiddlers/system/download-empty-button-zh-Hans.tid new file mode 100644 index 000000000..87f49437b --- /dev/null +++ b/editions/zh-Hans/tiddlers/system/download-empty-button-zh-Hans.tid @@ -0,0 +1,6 @@ +title: $:/editions/zh-Hans/snippets/download-empty-button + +<$button class="tc-btn-big-green"> +<$action-sendmessage $message="tm-download-file" $param="$:/editions/zh-Hant/download-empty" filename="empty.zh-Hans.html"/> +简体中文版 {{$:/core/images/save-button}} + \ No newline at end of file diff --git a/editions/zh-Hans/tiddlers/system/download-empty-zh-Hans.tid b/editions/zh-Hans/tiddlers/system/download-empty-zh-Hans.tid new file mode 100644 index 000000000..861a1d410 --- /dev/null +++ b/editions/zh-Hans/tiddlers/system/download-empty-zh-Hans.tid @@ -0,0 +1,9 @@ +title: $:/editions/zh-Hans/download-empty + +\define saveTiddlerFilter() +[[$:/core]] [[$:/isEncrypted]] [[$:/language]] [[$:/languages/zh-Hans]] [[$:/themes/tiddlywiki/snowwhite]] [[$:/themes/tiddlywiki/vanilla]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] +\end +\define savingEmpty() +yes +\end +{{$:/core/templates/tiddlywiki5.html}} diff --git a/editions/zh-Hans/tiddlywiki.info b/editions/zh-Hans/tiddlywiki.info index b2c6adb6c..f584583ad 100644 --- a/editions/zh-Hans/tiddlywiki.info +++ b/editions/zh-Hans/tiddlywiki.info @@ -5,7 +5,6 @@ "themes": [ "tiddlywiki/vanilla", "tiddlywiki/snowwhite", - "tiddlywiki/nighttime", "tiddlywiki/starlight", "tiddlywiki/seamless", "tiddlywiki/centralised", @@ -14,8 +13,21 @@ "languages": [ "zh-Hans" ], + "includeWikis": [ + {"path": "../tw5.com", "read-only": true} + ], "build": { "index": [ - "--rendertiddler","$:/core/save/all","zh-hans-demo.html","text/plain"] + "--rendertiddler","$:/core/save/all","index.html","text/plain"], + "empty": [ + "--rendertiddler","$:/editions/zh-Hans/download-empty","empty.html","text/plain", + "--rendertiddler","$:/editions/zh-Hans/download-empty","empty.hta","text/plain"], + "favicon": [ + "--savetiddler","$:/favicon.ico","favicon.ico"], + "static": [ + "--rendertiddler","$:/core/templates/static.template.html","static.html","text/plain", + "--rendertiddler","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain", + "--rendertiddlers","[!is[system]]","$:/core/templates/static.tiddler.html","static","text/plain", + "--rendertiddler","$:/core/templates/static.template.css","static/static.css","text/plain"] } } \ No newline at end of file diff --git a/editions/zh-Hant/tiddlers/system/download-empty-button-zh-Hant.tid b/editions/zh-Hant/tiddlers/system/download-empty-button-zh-Hant.tid new file mode 100644 index 000000000..07ca027c8 --- /dev/null +++ b/editions/zh-Hant/tiddlers/system/download-empty-button-zh-Hant.tid @@ -0,0 +1,6 @@ +title: $:/editions/zh-Hant/snippets/download-empty-button + +<$button class="tc-btn-big-green"> +<$action-sendmessage $message="tm-download-file" $param="$:/editions/zh-Hant/download-empty" filename="empty.zh-Hant.html"/> +繁體中文版 {{$:/core/images/save-button}} + \ No newline at end of file diff --git a/editions/zh-Hant/tiddlers/system/download-empty-zh-Hant.tid b/editions/zh-Hant/tiddlers/system/download-empty-zh-Hant.tid new file mode 100644 index 000000000..c061d9538 --- /dev/null +++ b/editions/zh-Hant/tiddlers/system/download-empty-zh-Hant.tid @@ -0,0 +1,9 @@ +title: $:/editions/zh-Hant/download-empty + +\define saveTiddlerFilter() +[[$:/core]] [[$:/isEncrypted]] [[$:/language]] [[$:/languages/zh-Hant]] [[$:/themes/tiddlywiki/snowwhite]] [[$:/themes/tiddlywiki/vanilla]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] +\end +\define savingEmpty() +yes +\end +{{$:/core/templates/tiddlywiki5.html}} diff --git a/editions/zh-Hant/tiddlywiki.info b/editions/zh-Hant/tiddlywiki.info index 037095e06..26b4e9d89 100644 --- a/editions/zh-Hant/tiddlywiki.info +++ b/editions/zh-Hant/tiddlywiki.info @@ -5,7 +5,6 @@ "themes": [ "tiddlywiki/vanilla", "tiddlywiki/snowwhite", - "tiddlywiki/nighttime", "tiddlywiki/starlight", "tiddlywiki/seamless", "tiddlywiki/centralised", @@ -14,8 +13,21 @@ "languages": [ "zh-Hant" ], + "includeWikis": [ + {"path": "../tw5.com", "read-only": true} + ], "build": { "index": [ - "--rendertiddler","$:/core/save/all","zh-hant-demo.html","text/plain"] + "--rendertiddler","$:/core/save/all","index.html","text/plain"], + "empty": [ + "--rendertiddler","$:/editions/zh-Hant/download-empty","empty.html","text/plain", + "--rendertiddler","$:/editions/zh-Hant/download-empty","empty.hta","text/plain"], + "favicon": [ + "--savetiddler","$:/favicon.ico","favicon.ico"], + "static": [ + "--rendertiddler","$:/core/templates/static.template.html","static.html","text/plain", + "--rendertiddler","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain", + "--rendertiddlers","[!is[system]]","$:/core/templates/static.tiddler.html","static","text/plain", + "--rendertiddler","$:/core/templates/static.template.css","static/static.css","text/plain"] } } \ No newline at end of file