1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 02:19:55 +00:00

Merge pull request #1489 from xcazin/fred

First fixes to the fr-FR empty wiki generation
This commit is contained in:
Jeremy Ruston 2015-02-10 10:37:23 +00:00
commit 81ff046555
4 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,6 @@
title: $:/editions/fr-FR/snippets/download-empty-button
<$button class="tc-btn-big-green">
<$action-sendmessage $message="tm-download-file" $param="$:/editions/fr-FR/download-empty" filename="empty_fr.html"/>
Télécharger un wiki vide {{$:/core/images/save-button}}
</$button>

View File

@ -0,0 +1,10 @@
title: $:/editions/fr-FR/download-empty
type: text/vnd.tiddlywiki
\define saveTiddlerFilter()
[[$:/core]] [[$:/isEncrypted]] [[$:/themes/tiddlywiki/snowwhite]] [[$:/themes/tiddlywiki/vanilla]] [[$:/languages/fr-FR]] [[$:/language]] -[[$:/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}}

View File

@ -0,0 +1,3 @@
title: $:/language
$:/languages/fr-FR

View File

@ -18,6 +18,14 @@
],
"build": {
"index": [
"--rendertiddler","$:/core/save/all","fr-fr-demo.html","text/plain"]
"--rendertiddler","$:/core/save/all","fr-fr-demo.html","text/plain"],
"empty": [
"--rendertiddler","$:/editions/fr-FR/download-empty","empty_fr.html","text/plain",
"--rendertiddler","$:/editions/fr-FR/download-empty","empty_fr.hta","text/plain"],
"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"]
}
}