-
Notifications
You must be signed in to change notification settings - Fork 14k
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
chore(fr-translation): update whole French translation (based on 1.3.0 release) #16868
Conversation
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 reviewed the first 1300 lines (I will continue later)
@audour this PR has a conflict - can you rebase it so we can get these comprehensive fixes merged? Thanks! |
Hi @villebro,
|
@audour I think this will work just fine. The PR will be squashed to a single commit during merging, so it doesn't really matter how many commits there are in the PR. So to reiterate what I think is most sensible here:
|
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: martin-raymond <martin.raymond31@gmail.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: martin-raymond <martin.raymond31@gmail.com>
9d38055
to
c395d09
Compare
Thanks to @martin-raymond and @mathieudruart for their suggestions: I've applied almost all of them. For others I've answered with a comment. |
@audour Thank you for the contribution! We can merge, as soon as the the checks pass :) |
Thanks @audour - I kicked off the tests, will babysit this and ping you if there's anything that needs further attention. |
Codecov Report
@@ Coverage Diff @@
## master #16868 +/- ##
==========================================
+ Coverage 76.94% 82.05% +5.10%
==========================================
Files 1042 362 -680
Lines 56248 29117 -27131
Branches 7784 0 -7784
==========================================
- Hits 43280 23891 -19389
+ Misses 12709 5226 -7483
+ Partials 259 0 -259
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@audour it appears you need to fix some lint to get CI green: |
… extracting new strings
…zy lines and filling missing strings
Hi @villebro, sorry for that I've just pushed an update. News since last push:
Hope CI will turn green |
Thanks so much for this! I started tests, fingers crossed 🤞 |
@villebro I am curious why one of the tests is not passing as this PR seems super low risk? |
@junlincc we have a linting rule that expects the code to be formatted in a certain way. For instance, it doesn't allow for blank spaces at the end of the line or missing/excessive line changes at the end of files. @audour do you mind taking another look? If needed I can help fix the issue. |
Hi @villebro, I can take another look but to be efficient I need to know the list of linting rules as the file |
This appears to be the violation (redundant line change at the end of the file): diff --git a/superset/translations/fr/LC_MESSAGES/messages.po b/superset/translations/fr/LC_MESSAGES/messages.po
index c2058ee9e..8beec739c 100644
--- a/superset/translations/fr/LC_MESSAGES/messages.po
+++ b/superset/translations/fr/LC_MESSAGES/messages.po
@@ -10632,4 +10632,3 @@ msgstr "Zone de texte"
#: superset-frontend/src/visualizations/TimeTable/TimeTableChartPlugin.js:36
msgid "Trend"
msgstr "Tendance"
- These get picked up automatically by |
…t new line at EOF
Thanks, so is it ok with this new commit b4a6813 ? |
Yes, this seems to have fixed it 👍 merging as soon as the flaky test has passed (restarted now) |
…0 release) (#16868) * Update whole French translation (from 1.3.0) * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po Co-authored-by: martin-raymond <martin.raymond31@gmail.com> * Update superset/translations/fr/LC_MESSAGES/messages.po * Update superset/translations/fr/LC_MESSAGES/messages.json * Update and fix superset/translations/fr/LC_MESSAGES/messages.po after extracting new strings * Update superset/translations/fr/LC_MESSAGES/messages.po by fixing fuzzy lines and filling missing strings * Update superset/translations/fr/LC_MESSAGES/messages.po : just rerun `pybabel update` * Update superset/translations/fr/LC_MESSAGES/messages.json * Update superset/translations/fr/LC_MESSAGES/messages.po: fix redundant new line at EOF Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com> Co-authored-by: martin-raymond <martin.raymond31@gmail.com>
SUMMARY
Based on 1.3.0 release, update whole French translation by following CONTRIBUTING.md#translating.
BEFORE/AFTER SCREENSHOTS
Before:
After:
ADDITIONAL INFORMATION
superset/translations/messages.pot
)superset/translations/fr/LC_MESSAGES/messages.po
)superset/translations/fr/LC_MESSAGES/messages.json
)1.3.0
superset instancemessages.po
andmessages.json