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

Add missing prop resource to SelectionDialog #7

Closed
wants to merge 1 commit into from

Conversation

gstvg
Copy link

@gstvg gstvg commented Dec 10, 2019

Fix #6

FieldTitle handles i18n internally. It does so by, when field label is set, using it as key, and when only source is set, using key 'resources.${resource}.fields.${source}'. Currently, with undefined resource being passed to SelectionDialog, and so to FieldTitle, when no label is set, it uses key 'resources.undefined.fields.${source}'. Using that key on i18n files leads to correctly translated label with current version.

@gstvg gstvg closed this Dec 10, 2019
@gstvg
Copy link
Author

gstvg commented Dec 10, 2019

There's already a similar pull request.

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.

Support for translated field names
1 participant