commit 8f308d86f0157584181afadcd3b3f122690eb32a
parent cf0c29b79fe9d2feaa6ff48445ce43dff7b9b15b
Author: David Schlachter <t480-debian-git@schlachter.ca>
Date: Sun, 11 Jan 2026 13:50:43 -0500
Actually include etyomology
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -90,6 +90,9 @@ Usage of french-wiktionary-flashcards:
languages other than French
- general code cleanup & organization
- italicise part-of-speech in the TUI
+ - maybe we could create the Anki and the TUI definitions at the same time
+ during initial parsing? Then we'd have all the information required to do
+ a really good job of it.
- better gender tags -- jq through the source data to see what's common
- some kind of tests?
diff --git a/setup.go b/setup.go
@@ -88,7 +88,8 @@ func populateDictionary(rawDictionary string, db *sql.DB) error {
<ol>{{ range .Senses}}
<li class=sense>{{ .Sense }}<br>
{{ if .Example }}<ul><li><i>{{ .Example }}</i></li></ul></li>{{ end }}
-{{ end }}</ol>`)
+{{ end }}</ol>
+{{ if .Etymology }}<p><i>Étymologie: {{ .Etymology }}</i>{{ end }}`)
if err != nil {
panic(err)
}