Git Product home page Git Product logo

Comments (8)

aryanas159 avatar aryanas159 commented on July 18, 2024 1

@Keshav-0907 These are error messages for form validations, not for submissions.

from p5.js-web-editor.

welcome avatar welcome commented on July 18, 2024

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.

from p5.js-web-editor.

aryanas159 avatar aryanas159 commented on July 18, 2024

Hey, @Vishal2002 are you working on this issue?

from p5.js-web-editor.

Vishal2002 avatar Vishal2002 commented on July 18, 2024

Hey, @Vishal2002 are you working on this issue?

I have raised the issue and looking for the maintainers to look into it.

from p5.js-web-editor.

aryanas159 avatar aryanas159 commented on July 18, 2024

This issue is caused because we are directly displaying the error message coming from the API request, I don't think we currently have translations to handle the submitError in the LoginForm. We are probably gonna need to add new translations for every language.
I can work on this.
@lindapaiste how do you suggest we proceed?

from p5.js-web-editor.

Vishal2002 avatar Vishal2002 commented on July 18, 2024

@aryanas159 Buddy that I know

from p5.js-web-editor.

Keshav-0907 avatar Keshav-0907 commented on July 18, 2024

Actually their are translations already present for the errors : ReduxFormUtils

"ReduxFormUtils":  
{
    "errorInvalidEmail": "Please enter a valid email address",
    "errorEmptyEmail": "Please enter an email",
    "errorPasswordMismatch": "Passwords must match",
    "errorEmptyPassword": "Please enter a password",
    "errorShortPassword": "Password must be at least 6 characters",
    "errorConfirmPassword": "Please confirm your password",
    "errorNewPassword": "Please enter a new password or leave the current password empty.",
    "errorEmptyUsername": "Please enter a username.",
    "errorLongUsername": "Username must be less than 20 characters.",
    "errorValidUsername": "Username must only consist of numbers, letters, periods, dashes, and underscores."
}

from p5.js-web-editor.

Vishal2002 avatar Vishal2002 commented on July 18, 2024

@lindapaiste I think we have to integrate i18n library in backend which will first get the preferred language and upto to that we will send the response in the preferred language only.

from p5.js-web-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.