Kaysoro / KaellyBot

Discord Bot for Dofus game
GNU General Public License v3.0
69 stars 26 forks source link

German language #268

Open stelzo opened 2 years ago

stelzo commented 2 years ago

Fixes small typos in the English labels and introduces German.

I am testing it on my server, so far there is one problem: In the English (and fr, es) encyclopedia, the effects are like 201 to 250 Vitality while in German they write +201 bis +250 Vitalität. Mind the +. In the current parsing of the data, this will cause the Bot to not write the :vitality: Emoji.

Surely, one could change the parsing but I think this won't be necessary because

  1. the emojis are eyecandy and the Bot has harder problems looking into the future and
  2. moving the item search to an API in the foreseeable future will make parsing this obsolete, dramatically increase the speed of the query and adding the Emojis back in really easy.

If parsing the + is crucial for getting German into Kaelly before the API though, I will do it ;)

Note: the {~ps}{~zs} stuff is creepy but in every language in the encyclopedia right now.

image