Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The given data was invalid translate #24

Closed
wallysonn opened this issue Aug 12, 2020 · 3 comments
Closed

The given data was invalid translate #24

wallysonn opened this issue Aug 12, 2020 · 3 comments

Comments

@wallysonn
Copy link

how to translate "The given data was invalid"?

@lucascudo
Copy link
Owner

lucascudo commented Sep 4, 2020

"Dados fornecidos inválidos". Esta frase está no Laravel, "@wallysonn?

@luizgdi
Copy link

luizgdi commented Sep 23, 2020

@lucascudo @wallysonn
en: I don't think you can translate dinamically since this is static in the code, maybe doing some custom exception that extends that one you can achieve this.
br: Não acho que seja possível traduzir dinamicamente já que no código está estático, talvez fazendo uma exception personalizada que extende aquela ali seja possível.
validation

Aproveitar a resposta pra já agradecer pelas traduções, muito úteis, obrigadão Lucas!!

@lucascudo
Copy link
Owner

@wallysonn, unfortunately we can`t add a custom exception is out of the scope for this solution.
@luizgdi thank you for clarifying it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants