Skip to content
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

Use default calculated i18n keys #1848

Merged
merged 2 commits into from
Dec 10, 2021

Conversation

sdirix
Copy link
Member

@sdirix sdirix commented Dec 9, 2021

If there is no 'i18n' key in schema or ui schema a default
calculated key based on the data path of the respective control
is used.

Additionally fixes the issue that the 'required' message of
localized errors were overwritten by JSON Forms.

Also removed redundant exports in JSON Forms core and
cleans up imports in test cases which lead to errors when
executing ava.

If there is no 'i18n' key in schema or ui schema a default
calculated key based on the data path of the respective control
is used.

Additionally fixes the issue that the 'required' message of
localized errors were overwritten by JSON Forms.
@coveralls
Copy link

coveralls commented Dec 9, 2021

Coverage Status

Coverage decreased (-0.2%) to 85.259% when pulling 9b83a44 on sdirix:add-default-i18n-keys into 7363465 on eclipsesource:master.

Copy link
Member

@AlexandraBuzila AlexandraBuzila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me and works as expected!

@sdirix sdirix merged commit 79fb30f into eclipsesource:master Dec 10, 2021
@sdirix sdirix deleted the add-default-i18n-keys branch December 10, 2021 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants