-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(plugin): empty or whitespace-only fields #503
Conversation
* **plugin/server/services/translate.js** - Skip translation if array is empty * **plugin/server/utils/__tests__/translatable-fields.test.js** - Add tests to verify that empty or whitespace-only fields are not translated. * **plugin/server/utils/translatable-fields.js** - Add check to ignore fields with empty or whitespace-only strings before translation. fixes #252
bde010a
to
b557d78
Compare
🎉 This PR is included in version 1.3.2 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.2.3 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.1.2 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 2.0.0-next.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.3.0-next.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.2.0-next.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
fixes #252