RaphaelDDL / e7db-ui

EpicSevenDB.com UI for game information, such as Heroes, Artifacts, Gear, Skills and anything else necessary to present the DB. Made with NUXT.js (Vue.js, Express, SASS)
https://epicsevendb.com
Other
10 stars 5 forks source link

Chinese Traditional webpage bug #38

Closed zx900930 closed 4 years ago

zx900930 commented 4 years ago

The lang should be zht not tw, lang=tw returns no data. now its not translated. example: https://epicsevendb.com/tw/hero/alencia https://api.epicsevendb.com/hero/alencia?lang=zht probably can be fixed by add 'tw' to the requestedLanguage list https://github.com/EpicSevenDB/api/pull/11

RaphaelDDL commented 4 years ago

Thanks for catching it.

I added to the switch below the lang check (to change tw to zht) but didn't add to the list of acceptable langs

RaphaelDDL commented 4 years ago

Ok, API deployed.

https://epicsevendb.com/tw/hero/alencia

Thank you 👍