BoboTiG / ebook-reader-dict

Finally decent dictionaries based on the Wiktionary for your beloved eBook reader. Daily updates & 14 languages 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
424 stars 24 forks source link

[ES] Adapt the "es-campos-semanticos" script #2143

Closed BoboTiG closed 2 months ago

BoboTiG commented 2 months ago

Fixes #2140

We are still missing lowercase entries. But, it seems they are just duplicates of current entries, right? If so, we could adapt the template to check for the current entry and the entry lowercased.

BoboTiG commented 2 months ago

It's a good thing that we catch the change. For instance, in our tests, we have:

{{moluscos|y|alimentos}}

And trying that in any Spanish wikipage will result in a big red error:

Error de Lua en Módulo:error en la línea 19: PLANTILLA OBSOLETA.

So our tests need to be updated.

The new way is to use the "csem" template: {{csem|moluscos|alimentos}} (note that adding y will result in the same big red error).