From 4318fc531fb79ab2cb303a8c13b78e71e33e3f38 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Wed, 15 Dec 2021 18:09:23 -0800 Subject: Add site metadata, update README --- dl/fields.txt | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++ dl/updates.json | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 214 insertions(+) create mode 100644 dl/fields.txt create mode 100644 dl/updates.json (limited to 'dl') diff --git a/dl/fields.txt b/dl/fields.txt new file mode 100644 index 00000000..92172988 --- /dev/null +++ b/dl/fields.txt @@ -0,0 +1,102 @@ +{{#*inline "glossary-single"}} + {{~#unless brief~}} + {{~#if tags~}}({{#each tags}}{{name}}{{#unless @last}}, {{/unless}}{{/each}}) {{/if~}} + {{~/unless~}} + {{~#if glossary.[1]~}} + {{#each glossary}}{{.}}{{#unless @last}}, {{/unless}}{{/each}} + {{~else~}} + {{glossary.[0]}} + {{~/if~}} +{{/inline}} + +{{#*inline "audio"}}{{/inline}} + +{{#*inline "character"}} + {{~definition.character~}} +{{/inline}} + +{{#*inline "dictionary"}} + {{~definition.dictionary~}} +{{/inline}} + +{{#*inline "expression"}} + {{~#if modeTermKana~}} + {{~#if definition.reading~}} + {{definition.reading}} + {{~else~}} + {{definition.expression}} + {{~/if~}} + {{~else~}} + {{definition.expression}} + {{~/if~}} +{{/inline}} + +{{#*inline "furigana"}} + {{#furigana}}{{{definition}}}{{/furigana}} +{{/inline}} + +{{#*inline "furigana-plain"}} + {{#furiganaPlain}}{{{definition}}}{{/furiganaPlain}} +{{/inline}} + +{{#*inline "glossary"}} + {{~#if modeKanji~}} + {{~#if definition.glossary.[1]~}} + {{#each definition.glossary}}{{.}}{{#unless @last}}, {{/unless}}{{/each}} + {{~else~}} + {{definition.glossary.[0]}} + {{~/if~}} + {{~else~}} + {{~#if group~}} + {{~#if definition.definitions.[1]~}} + {{#each definition.definitions}} * {{> glossary-single brief=../brief}}{{/each}} + {{~else~}} + {{~> glossary-single definition.definitions.[0] brief=brief~}} + {{~/if~}} + {{~else~}} + {{~> glossary-single definition brief=brief~}} + {{~/if~}} + {{~/if~}} +{{/inline}} + +{{#*inline "glossary-brief"}} + {{~> glossary brief=true ~}} +{{/inline}} + +{{#*inline "kunyomi"}} + {{~#each definition.kunyomi}}{{.}}{{#unless @last}}, {{/unless}}{{/each~}} +{{/inline}} + +{{#*inline "onyomi"}} + {{~#each definition.onyomi}}{{.}}{{#unless @last}}, {{/unless}}{{/each~}} +{{/inline}} + +{{#*inline "reading"}} + {{~#unless modeTermKana}}{{definition.reading}}{{/unless~}} +{{/inline}} + +{{#*inline "sentence"}} + {{~#if definition.cloze}}{{definition.cloze.sentence}}{{/if~}} +{{/inline}} + +{{#*inline "cloze-prefix"}} + {{~#if definition.cloze}}{{definition.cloze.prefix}}{{/if~}} +{{/inline}} + +{{#*inline "cloze-body"}} + {{~#if definition.cloze}}{{definition.cloze.body}}{{/if~}} +{{/inline}} + +{{#*inline "cloze-suffix"}} + {{~#if definition.cloze}}{{definition.cloze.suffix}}{{/if~}} +{{/inline}} + +{{#*inline "tags"}} + {{~#each definition.tags}}{{name}}{{#unless @last}}, {{/unless}}{{/each~}} +{{/inline}} + +{{#*inline "url"}} + {{definition.url}} +{{/inline}} + +{{~> (lookup . "marker") ~}} diff --git a/dl/updates.json b/dl/updates.json new file mode 100644 index 00000000..c8f61a81 --- /dev/null +++ b/dl/updates.json @@ -0,0 +1,112 @@ +{ + "addons": { + "alex.testing@foosoft.net": { + "updates": [ + { + "version": "21.1.31.0", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.1.31.0-an+fx.xpi" + }, + { + "version": "21.1.31.1", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.1.31.1-an+fx.xpi" + }, + { + "version": "21.2.28.0", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.2.28.0-an+fx.xpi" + }, + { + "version": "21.2.28.1", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.2.28.1-an+fx.xpi" + }, + { + "version": "21.2.28.2", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.2.28.2-an+fx.xpi" + }, + { + "version": "21.3.31.0", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.3.31.0-an+fx.xpi" + }, + { + "version": "21.3.31.1", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.3.31.1-an+fx.xpi" + }, + { + "version": "21.3.31.2", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.3.31.2-an+fx.xpi" + }, + { + "version": "21.4.30.0", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.4.30.0-an+fx.xpi" + }, + { + "version": "21.4.30.1", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.4.30.1-an+fx.xpi" + }, + { + "version": "21.4.30.2", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.4.30.2-an+fx.xpi" + }, + { + "version": "21.5.31.0", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.5.31.0-an+fx.xpi" + }, + { + "version": "21.5.31.1", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.5.31.1-an+fx.xpi" + }, + { + "version": "21.6.30.0", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.6.30.0-an+fx.xpi" + }, + { + "version": "21.6.30.1", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.6.30.1-an+fx.xpi" + }, + { + "version": "21.6.30.2", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.6.30.2-an+fx.xpi" + }, + { + "version": "21.7.31.0", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.7.31.0-an+fx.xpi" + }, + { + "version": "21.7.31.1", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.7.31.1-an+fx.xpi" + }, + { + "version": "21.7.31.2", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.7.31.2-an+fx.xpi" + }, + { + "version": "21.8.31.0", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.8.31.0-an+fx.xpi" + }, + { + "version": "21.8.31.1", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.8.31.1-an+fx.xpi" + }, + { + "version": "21.9.30.0", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.9.30.0-an+fx.xpi" + }, + { + "version": "21.9.30.1", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.9.30.1-an+fx.xpi" + }, + { + "version": "21.9.30.2", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.9.30.2-an+fx.xpi" + }, + { + "version": "21.10.31.0", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.10.31.0-an+fx.xpi" + }, + { + "version": "21.10.31.1", + "update_link": "https://foosoft.net/projects/yomichan/dl/yomichan_testing-21.10.31.1-an+fx.xpi" + } + ] + } + } +} -- cgit v1.2.3