Show examples at the end.
--- a/py/gadict_c5.py Mon Oct 10 18:42:01 2016 +0300
+++ b/py/gadict_c5.py Mon Oct 10 18:46:48 2016 +0300
@@ -118,6 +118,15 @@
FOUT.write("→ ")
FOUT.write(tr)
FOUT.write("\n")
+ for (lang, tr) in sense.glos_list or []:
+ if LANGS and not (lang in LANGS):
+ continue
+ FOUT.write(" ")
+ if not LANGS or len(LANGS) > 1:
+ FOUT.write(lang)
+ FOUT.write("↦ ")
+ FOUT.write(tr)
+ FOUT.write("\n")
for (lang, tr) in sense.ex_list or []:
if LANGS and not (lang in LANGS):
continue
@@ -127,12 +136,3 @@
FOUT.write("⇒ ")
FOUT.write(tr)
FOUT.write("\n")
- for (lang, tr) in sense.glos_list or []:
- if LANGS and not (lang in LANGS):
- continue
- FOUT.write(" ")
- if not LANGS or len(LANGS) > 1:
- FOUT.write(lang)
- FOUT.write("↦ ")
- FOUT.write(tr)
- FOUT.write("\n")