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

I18n support #47

Merged
merged 9 commits into from
Aug 14, 2019
Merged

I18n support #47

merged 9 commits into from
Aug 14, 2019

Conversation

abhishek-kaushik
Copy link
Member

Added Support for translations and updated vulnerable packages.

Signed-off-by: Abhishek Kaushik <abhishek@humanmade.com>
Signed-off-by: Abhishek Kaushik <abhishek@humanmade.com>
Copy link
Member

@mattheu mattheu left a comment

Choose a reason for hiding this comment

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

Thanks for doing this @abhishek-kaushik - i left 2 comments.

inc/namespace.php Outdated Show resolved Hide resolved
js/post-select/containers/term-select-form-field.js Outdated Show resolved Hide resolved
@abhishek-kaushik abhishek-kaushik marked this pull request as ready for review August 12, 2019 09:23
Signed-off-by: Abhishek Kaushik <abhishek@humanmade.com>
Signed-off-by: Abhishek Kaushik <abhishek@humanmade.com>
@abhishek-kaushik
Copy link
Member Author

I have changed text-domain to hm-gb-tools. but strings inside js/post-select/containers are not being translated.

@mattheu
Copy link
Member

mattheu commented Aug 12, 2019

I'm not sure i'm afraid - I can't see why this is not working!

@stuartshields
Copy link
Contributor

I'll have a look today

@stuartshields
Copy link
Contributor

@mattheu So I tracked the issue down to the following error:

react Class properties must be methods

I've let @abhishek-kaushik know the issue and he's going to go and update accordingly.

Signed-off-by: Abhishek Kaushik <abhishek@humanmade.com>
};
constructor( props ) {
super( props );
this.state = {
Copy link
Contributor

Choose a reason for hiding this comment

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

@abhishek-kaushik just being picky, add a blank line above.

Signed-off-by: Abhishek Kaushik <abhishek@humanmade.com>
Copy link
Contributor

@stuartshields stuartshields left a comment

Choose a reason for hiding this comment

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

@mattheu Can you also scan over the changes proposed in this PR. Everything looks good from my end.

Copy link
Member

@mattheu mattheu left a comment

Choose a reason for hiding this comment

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

Thanks for doing this @stuartshields and @abhishek-kaushik

@stuartshields stuartshields merged commit 25b3d32 into master Aug 14, 2019
@stuartshields stuartshields deleted the i18n-support branch August 14, 2019 12:12
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.

None yet

3 participants