fix: translation of profile language setting #15258
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does it do?
After PR #12788, the translation of profile language setting is broken since the i18n key is changed from
Settings.profile.form.section.experience.documentation
toSettings.profile.form.section.experience.here
.But first, one line is forgot to change
strapi/packages/core/admin/admin/src/pages/ProfilePage/index.js
Line 461 in 05be584
Secondly, it breaks many non-EN translations if no one updated that i18n key.
This PR aimed to fix both issues.
How to test it?
Go to the profile language setting page, change to different languages, see if the highlighted hint change accordingly.
Related issue(s)/PR(s)
#12788