vee-validate icon indicating copy to clipboard operation
vee-validate copied to clipboard

required_if translation in @vee-validate/i18n/dist/locale/*.json

Open lk77 opened this issue 2 years ago • 0 comments

What happened?

Hello,

There is a required_if translation for every locales in @vee-validate/i18n/dist/locale/*.json while there is no required_if rule :

{
  "code": "fr",
  "messages": {
[...]
    "required_if": "Le champ {field} est obligatoire lorsque {target} possède cette valeur",
[...]
}

Reproduction steps

Go to translations and see the required_if translation while there is no such rule

Version

Vue.js 3.x and vee-validate 4.x

"@vee-validate/i18n": "^4.8.3", "@vee-validate/rules": "^4.8.4",

What browsers are you seeing the problem on?

  • [ ] Firefox
  • [X] Chrome
  • [ ] Safari
  • [ ] Microsoft Edge

Relevant log output

No response

Demo link

https://github.com/logaretm/vee-validate/blob/main/packages/i18n/src/locale/en.json

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

lk77 avatar Mar 27 '23 13:03 lk77