Previously, formio.js did not translate the counter message when you had showCharCount and showWordCount enabled. This PR replaces this behavior by adding a translations for showCharCount and showWordCount.
Why have you chosen this solution?
This allows for users to override the the translation by adding the typeRemaining and typeCount to the i18n options.
Dependencies
N/A
How has this PR been tested?
I added automated tests to test translation and manually tested
Checklist:
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (if applicable)
[x] My changes generate no new warnings
[x] My changes include tests that prove my fix is effective (or that my feature works as intended)
[x] New and existing unit/integration tests pass locally with my changes
[x] Any dependent changes have corresponding PRs that are listed above
Link to Jira Ticket
https://formio.atlassian.net/browse/FIO-7936
Description
What changed?
Previously, formio.js did not translate the counter message when you had showCharCount and showWordCount enabled. This PR replaces this behavior by adding a translations for showCharCount and showWordCount.
Why have you chosen this solution?
This allows for users to override the the translation by adding the typeRemaining and typeCount to the i18n options.
Dependencies
N/A
How has this PR been tested?
I added automated tests to test translation and manually tested
Checklist: