-
Notifications
You must be signed in to change notification settings - Fork 90
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
[frontend] Add chinese language option #1266
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1266 +/- ##
============================================
+ Coverage 28.03% 28.27% +0.24%
- Complexity 1278 1282 +4
============================================
Files 516 516
Lines 13295 13295
Branches 780 780
============================================
+ Hits 3727 3759 +32
+ Misses 9405 9373 -32
Partials 163 163 ☔ View full report in Codecov by Sentry. |
'Selected payload': 'Charge utile sélectionnée', | ||
Prevention: 'Prévention', | ||
'Start date should be at least today': 'La date de début doit être au moins aujourd\'hui', | ||
'Update the xls mapper': 'Mettre à jour le mapper XLS', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It hurts me to say this but it looks like the french word for "mapper" is "mappeur".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aouch good catch
@@ -96,6 +96,9 @@ const UserForm = ({ onSubmit, initialValues }) => { | |||
<MenuItem key="fr" value="fr"> | |||
{t('French')} | |||
</MenuItem> | |||
<MenuItem key="zh" value="zh"> | |||
{t('Chinese')} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The translation is added on the profile but shouldn't we add it to the list of default languages of the platform too ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure to understand your point
It's already available in the AppIntlProvider class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I missed the BrownserLanguage and the moment configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix
195aeb8
to
3e9d16e
Compare
@Dimfacion ready for a second round |
3e9d16e
to
f75b947
Compare
No description provided.