BoboTiG / ebook-reader-dict

Finally decent dictionaries based on the Wiktionary for your beloved eBook reader. Daily updates & 14 locales supported so far.
http://www.tiger-222.fr/?d=2020/04/17/22/14/21-un-dictionnaire-alternatif-et-complet-pour-votre-liseuse
MIT License
425 stars 24 forks source link

[FR] Fix support for "laé" template #2046

Closed BoboTiG closed 5 months ago

BoboTiG commented 6 months ago

Wikicode:

{{lien-ancre-étym|fr|adj-pos}} 

Output:

  File "lang/fr/template_handlers.py", line 732, in render_lae
    phrase = labels[parts[1]] if len(parts) > 1 else ""
             ~~~~~~^^^^^^^^^^
KeyError: 'adj-pos'

Expected:

<i>(Adjectif possessif)</i>

Model link, if any: https://fr.wiktionary.org/wiki/Mod%C3%A8le:la%C3%A9