-
Notifications
You must be signed in to change notification settings - Fork 127
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
feat!: remove Transifex calls for OEP-58 | FC-0012 #416
feat!: remove Transifex calls for OEP-58 | FC-0012 #416
Conversation
Thanks for the pull request, @hopewise! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
@hopewise looks like there are some test failures. |
src/i18n/index.js
Outdated
}; | ||
|
||
export default messages; | ||
export default []; |
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.
export default []; | |
export default []; | |
This should fix the lint error
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.
Thanks @brian-smith-tcril , new line got added.
2aaf085
to
8547936
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #416 +/- ##
==========================================
- Coverage 66.96% 66.86% -0.10%
==========================================
Files 25 24 -1
Lines 339 338 -1
Branches 78 78
==========================================
- Hits 227 226 -1
Misses 110 110
Partials 2 2 ☔ View full report in Codecov by Sentry. |
Makefile
Outdated
# Pushing comments to Transifex... | ||
./node_modules/@edx/reactifex/bash_scripts/put_comments_v3.sh | ||
|
||
# Pulls translations from Transifex. | ||
pull_translations: |
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.
Please remove the pull_translations
step without atlas pull
.
Components like Paragon, footer and header don't need atlas pull
.
src/i18n/index.js
Outdated
import hiMessages from './messages/hi.json'; | ||
import frCAMessages from './messages/fr_CA.json'; | ||
// no need to import en messages-- they are in the defaultMessage field | ||
export default []; |
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.
Please fix the newlines.
b022066
to
4357c2f
Compare
4357c2f
to
6cfe121
Compare
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.
@timmc-edx this one is ready, but pending 2U approval.
@hopewise 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
Breaking change!
This change breaks the Jenkins transifex integration which has been deprecated in favor of the new GitHub Transifex App integration as part of OEP-58.
Changes
tx pull
andtx push
commands from the micro-frontend in favorof the
atlas pull
command..json
files will be committed into the repos.src/i18n/index.js
should export and empty array so themake pull_translations
override it with the dynamic list of languages.Makefile
targets and other files.Test results
make pull_translations
works as expected.make pull_translations test results
Merge timeline
This should only be merged after Translation Infrastructure update OEP-58 is fully implemented.
The timing announcement will be shared by @brian-smith-tcril on #translations-project-fc-0012 Open edX Slack channel.
Keep this pull request as a draft to prevent accidental merge.
Pre-merge checklist
References
This contribution is part of the FC-0012 project which is sparked by the Translation Infrastructure update OEP-58.
Up-to-date project overview and details are available in the Approach Memo and Technical Discovery: Translations Infrastructure Implementation document.
Join the conversation on Open edX Slack #translations-project-fc-0012.
Check the links above for full information about the overall project.