summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schlachter <t480-debian-git@schlachter.ca>2026-01-11 13:50:43 -0500
committerDavid Schlachter <t480-debian-git@schlachter.ca>2026-01-11 13:50:43 -0500
commit8f308d86f0157584181afadcd3b3f122690eb32a (patch)
treebebf2118e948f2f6f7b9f253f6e2ee766895f63f
parentcf0c29b79fe9d2feaa6ff48445ce43dff7b9b15b (diff)
Actually include etyomology
-rw-r--r--README.md3
-rw-r--r--setup.go3
2 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 283a25f..2112bee 100644
--- 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
index dbd9955..7921f47 100644
--- 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)
}