mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-11 18:00:26 +00:00
Merge pull request #1489 from xcazin/fred
First fixes to the fr-FR empty wiki generation
This commit is contained in:
commit
81ff046555
6
editions/fr-FR/tiddlers/system/download-empty-button.tid
Normal file
6
editions/fr-FR/tiddlers/system/download-empty-button.tid
Normal 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>
|
10
editions/fr-FR/tiddlers/system/download-empty.tid
Executable file
10
editions/fr-FR/tiddlers/system/download-empty.tid
Executable 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}}
|
3
editions/fr-FR/tiddlers/system/language.tid
Normal file
3
editions/fr-FR/tiddlers/system/language.tid
Normal file
@ -0,0 +1,3 @@
|
||||
title: $:/language
|
||||
|
||||
$:/languages/fr-FR
|
@ -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"]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user