-
Notifications
You must be signed in to change notification settings - Fork 62
Conversation
fn: (sentence) => { | ||
return sentence.length < MIN_LENGTH || sentence.length > MAX_LENGTH; | ||
}, | ||
error: `Number of characters must be between ${MIN_LENGTH} and ${MAX_LENGTH} (inclusive)`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As with other languages, I think it would make sense to translate these error messages into Lao. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As with other languages, I think it would make sense to translate these error messages into Lao. What do you think?
I agree with you. I will translate these messages into Lao.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution!
🎉 This PR is included in version 2.19.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Propose code for Lao language validator.
It's basic validator code.