From 485de75ffc3c98ac71adcc815ce2edec10b227f7 Mon Sep 17 00:00:00 2001 From: Bram Chen Date: Mon, 20 Apr 2015 11:39:08 +0800 Subject: [PATCH] Add download-empty for chinese editions --- .../tiddlers/system/download-empty-button-zh-Hans.tid | 6 ++++++ .../zh-Hans/tiddlers/system/download-empty-zh-Hans.tid | 9 +++++++++ .../tiddlers/system/download-empty-button-zh-Hant.tid | 6 ++++++ .../zh-Hant/tiddlers/system/download-empty-zh-Hant.tid | 9 +++++++++ 4 files changed, 30 insertions(+) create mode 100644 editions/zh-Hans/tiddlers/system/download-empty-button-zh-Hans.tid create mode 100644 editions/zh-Hans/tiddlers/system/download-empty-zh-Hans.tid create mode 100644 editions/zh-Hant/tiddlers/system/download-empty-button-zh-Hant.tid create mode 100644 editions/zh-Hant/tiddlers/system/download-empty-zh-Hant.tid 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-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}}