processing / p5.js-web-editor

The p5.js Editor is a website for creating p5.js sketches, with a focus on making coding accessible and inclusive for artists, designers, educators, beginners, and anyone else! You can create, share, or remix p5.js sketches without needing to download or configure anything.
https://editor.p5js.org
GNU Lesser General Public License v2.1
1.36k stars 1.32k forks source link

Error message not showing in proper selected language #3202

Closed poojadas09 closed 1 month ago

poojadas09 commented 2 months ago

p5.js version

No response

What is your operating system?

Windows

Web browser and version

127.0.6533.74 (Official Build) (64-bit) (cohort: Control)

Actual Behavior

Go to Home page Change Language to your understandable language When you don't enter Email and try to login it shows "Please enter email" in English

Expected Behavior

Go to Home page Change Language to your understandable language e.g hindi When you don't enter Email and try to login it shows "Please enter email" in Hindi

Steps to reproduce

Steps:

Go to Home page Change Language to your understandable language When you don't enter Email and try to login it shows "Please enter email" in English

Snippet:


// Paste your code here :)
![error in p5 editor](https://github.com/user-attachments/assets/dbcf0337-4205-49d0-82c8-3bdf634becb2)
welcome[bot] commented 2 months ago

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

ayush2743 commented 2 months ago

I would like to work on this issue. Can you assign it to me?

raclim commented 1 month ago

Thank you for reporting this!

I've tried to trigger this email error while using different translations, and have not been able to reproduce this particular issue. I think something similar to this might happen if you receive this error message and try to change the language, but it can be adjusted by reloading the page or recreating the error again.

Looking at the file that handles this, it seems that the particular function, validateLogin, is handling the translations correctly. Due to this, I personally feel that this is not an issue for now and will close this here. However, I'm open to revisiting this if there are more reports of this in the future, thanks!