joshzcold / Cold-Family-Feud

Host your own Family Feud game. Mobile friendly with built in buzzers.
https://famf.app
MIT License
77 stars 45 forks source link

Bug: error messages coming from server should be translated. i18n #28

Open joshzcold opened 3 years ago

joshzcold commented 3 years ago

image Example of message coming from server.

eddiep12 commented 1 month ago

I would like to contribute. Where can I find the code for this bug?

joshzcold commented 1 month ago

Hey @eddiep12 https://github.com/joshzcold/Cold-Family-Feud/blob/master/pages%2Fapi%2Fws.js#L541

This file is pretty much all the backend logic.

Any return to the websocket action "error" would be this bug/feature

The "error" action gets returned and the client side immediately shows it either in the console.log or in the UI

You either have to trigger the translation function here or in all places in the frontend where it's showing the error.

Thanks for your consideration in contributing ❤️

Good luck 👍