formio / formio.js

JavaScript powered Forms with JSON Form Builder
https://formio.github.io/formio.js
MIT License
1.83k stars 1.04k forks source link

FIO-6710: added translation for day component placeholder #5659

Closed ZenMasterJacob20011 closed 1 week ago

ZenMasterJacob20011 commented 1 week ago

Link to Jira Ticket

https://formio.atlassian.net/browse/FIO-6710

Description

What changed?

Previously, formio.js did not translate the placeholder for the day component. This PR replaces this behavior by wrapping the placeholder text with this.t().

Dependencies

N/A

How has this PR been tested?

I added automated tests to cover translations and also manually tested

Checklist: