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

fix(i18n): t function on withTitle hoc #871 #873

Merged
merged 1 commit into from
Mar 25, 2021
Merged

Conversation

gregoirelacoste
Copy link
Member

@gregoirelacoste gregoirelacoste commented Mar 25, 2021

@christpet can you correct my english translation ?
@lutangar i add t function on withTitle HOC. It translate all titles (profiles and extension) but use only extension namespace to refer words (i18n use "extension" NS as defaultNS). It's ok for you ?

closes #871

Copy link
Member

@lutangar lutangar left a comment

Choose a reason for hiding this comment

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

withTitle is not used by profiles, so I'm not sure I see the issue here.

src/app/hocs/withTitle.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@christpet christpet left a comment

Choose a reason for hiding this comment

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

Only a couple of tweaks needed to the language - just made the suggestion.

src/i18n/resources/en/extension.json Outdated Show resolved Hide resolved
@gregoirelacoste
Copy link
Member Author

withTitle is not used by profiles, so I'm not sure I see the issue here.

ok, good news

@gregoirelacoste
Copy link
Member Author

@christpet it's ok for you ?

Copy link
Contributor

@christpet christpet 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!

@gregoirelacoste gregoirelacoste merged commit aaffc81 into master Mar 25, 2021
@gregoirelacoste gregoirelacoste deleted the fix/i18n_titles branch March 25, 2021 16:17
@bmenant
Copy link
Member

bmenant commented Mar 25, 2021

🎉 This PR is included in version 3.67.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix(i18n): title
4 participants