-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
56 lines (56 loc) · 3.05 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"source": "{conf_dir}/source",
"target": "{conf_dir}/output",
"default_l10n": "de",
"additional_l10ns": [
"en"
],
"resources": [
"{conf_dir}/favicons/*",
"{conf_dir}/images",
"{conf_dir}/templates/styles",
"{conf_dir}/templates/scripts"
],
"exporter": {
"html-template-file": "{conf_dir}/templates/html-template.html"
},
"macros": {
"help-email-link": "[{=property(help-email-address)}](mailto:{=property(help-email-address)})",
"url": "[$1]($1 \"$2\")",
"named-url": "[$2]($1 \"$2\")",
"node-link": "[{=nodeTitle($1)}](#$1 \"{=translate(Chapter)}: {=nodeTitle($1)}\")",
"labeled-node-link": "[{=shift($*)}](#$1 \"{=translate(Chapter)}: {=nodeTitle($1)}\")",
"scene-header-image": "{=macro(zoomable-image-left, scenes/{=property(scene)}/scene-bait.png, Screenshot {=property(scene-translated)})}",
"scene-header-text-de": "In der {=property(scene-translated)}-Szene kannst du $* ausmalen.",
"scene-header-text-en": "In the {=property(scene-translated)} scene, you can color $*.",
"scene-header-localized": "{=macro(scene-header-image)}\n{=macro(scene-header-text-{=property(language)},$*)}\n\n",
"scene-links": "{: class=clearfix}\\n\\n{=macro(linked-text-icon, YouTube, $1, https://www.youtube.com/watch?v={=property(youtube-demo-video-id)}&list=PL-o9mFmKUyeaNl0TSucCBEsVJLK6gcZdZ)}\\n\\n{=macro(linked-text-icon, Scanarium, $2, https://demo.scanarium.com/?scene={=property(scene)})}\\n\\n{=macro(linked-text-icon, Coloring-page, $3, https://scanarium.com/coloring-pages.html?scene={=property(scene)})}",
"scene-links-de": "{=macro(scene-links, Demo Video bei YouTube, Live Demo, Ausmalbilder für diese Szene)}",
"scene-links-en": "{=macro(scene-links, Demo video on YouTube, Live online demo, Coloring pages for this scene)}",
"scene-links-localized": "{=macro(scene-links-{=property(language)})}",
"todo": "\n\n(todo) $*\n{: class=todo}\n\n",
"text-icon": "![$1 icon](images/icons/{=lower($1)}.png \"$2\"){: class=text-icon}",
"linked-text-icon": "[{=macro(text-icon, $1, $2)} $2]($3)",
"zoomable-image-left": "[![{=shift($*)}](images/{=substring($1,,-4)}-small.jpg \"{=shift($*)}\"){: class=left-image }](images/$1)",
"zoomable-image-right": "[![{=shift($*)}](images/{=substring($1,,-4)}-small.jpg \"{=shift($*)}\"){: class=right-image }](images/$1)"
},
"external_functions": {
"translate": {
"file": "{conf_dir}/functions/translate.py",
"name": "translate"
},
"translate1Param": {
"file": "{conf_dir}/functions/translate.py",
"name": "translate1Param"
},
"dumpLanguageMatrix": {
"file": "{conf_dir}/functions/translate.py",
"name": "dumpLanguageMatrix"
},
"safeFilename": {
"file": "{conf_dir}/functions/util.py",
"name": "safeFilename"
}
},
"version_mismatch_actions": ["append-macro-todo", "warning"]
}