jquense / yup

Dead simple Object schema validation
MIT License
22.73k stars 926 forks source link

Moved the localized object into it's own file #2164

Closed trajano closed 7 months ago

trajano commented 8 months ago

This will provide a example for i18n to translate as it is a single object that needs to be manipulated and separated from the type definition.

In addition the as was removed as it type coercion rather than a type check

jquense commented 7 months ago

Thanks for the PR! I appreciate the effort but I am going to pass on this split. I don't actually want folks to contribute translations as i wouldn't be able to keep them updated or up to date, and for users who need to translate it's easy enough to just copy the part of the file needed. thanks again