summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
}