Mercurial > hg > lxmldump
comparison lxmldump.py @ 46:931d05a8bbb8
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 26 May 2021 13:52:12 +0300 |
parents | 23f00a0da841 |
children | 2e8282f1a837 |
comparison
equal
deleted
inserted
replaced
45:23f00a0da841 | 46:931d05a8bbb8 |
---|---|
47 PKK_MODE_ANKI: u"<a href='https://kaino.kotus.fi/cgi-bin/kks/karjala.cgi?a={href}'>{text}</a>", | 47 PKK_MODE_ANKI: u"<a href='https://kaino.kotus.fi/cgi-bin/kks/karjala.cgi?a={href}'>{text}</a>", |
48 }, | 48 }, |
49 | 49 |
50 "word_fmt": { | 50 "word_fmt": { |
51 PKK_MODE_NORMAL: "\"{word}\"{search}{attr}\n{hyphenation}", | 51 PKK_MODE_NORMAL: "\"{word}\"{search}{attr}\n{hyphenation}", |
52 PKK_MODE_ANKI: "&{word}{search}{attr}{hyphenation}\n", | 52 PKK_MODE_ANKI: "{word}{search}{attr}{hyphenation}\n", |
53 }, | 53 }, |
54 "word_attr_list": { | 54 "word_attr_list": { |
55 PKK_MODE_NORMAL: " ({alist}) ", | 55 PKK_MODE_NORMAL: " ({alist}) ", |
56 }, | 56 }, |
57 "word_attr_list_empty": { | 57 "word_attr_list_empty": { |
92 PKK_MODE_ANKI: "[{index}]:\n", | 92 PKK_MODE_ANKI: "[{index}]:\n", |
93 }, | 93 }, |
94 | 94 |
95 "definition_fmt": { | 95 "definition_fmt": { |
96 PKK_MODE_NORMAL: "{indent}defn \"{text}\"\n", | 96 PKK_MODE_NORMAL: "{indent}defn \"{text}\"\n", |
97 PKK_MODE_ANKI: "? {text}\n", | 97 PKK_MODE_ANKI: "? \"{text}\"\n", |
98 }, | 98 }, |
99 | 99 |
100 "example_fmt": { | 100 "example_fmt": { |
101 PKK_MODE_NORMAL: "{indent}exmp \"{text}\"{geostr}\n", | 101 PKK_MODE_NORMAL: "{indent}exmp \"{text}\"{geostr}\n", |
102 PKK_MODE_ANKI: "- {text}{geostr}\n", | 102 PKK_MODE_ANKI: "- \"{text}\"{geostr}\n", |
103 }, | 103 }, |
104 "example_geo_list": { | 104 "example_geo_list": { |
105 PKK_MODE_NORMAL: " ({alist})", | 105 PKK_MODE_NORMAL: " ({alist})", |
106 }, | 106 }, |
107 "example_geo_list_empty": { | 107 "example_geo_list_empty": { |