-
Notifications
You must be signed in to change notification settings - Fork 48
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: extract from edx-platform #1275
feat: extract from edx-platform #1275
Conversation
Thanks for the pull request, @shadinaif! 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. |
6ffe77d
to
fc0fc10
Compare
ready for your review @OmarIthawi |
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 @shadinaif. Please check the inline comments, also test this in a fork.
fc0fc10
to
5fe0118
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.
This looks good now. Please let me know when it's ready @shadinaif.
6002859
to
09b8fa5
Compare
this one is ready @OmarIthawi @brian-smith-tcril |
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.
One change @shadinaif and this is ready.
I noticed that Arabic and Catalan are committed besides the source English translations in the test pull request you posted:
Please address the change and it should be good.
09b8fa5
to
1f7881b
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.
Looks good! @shadinaif please remove this leftover comment and it should be ready to merge.
62cdf20
to
b37ebe0
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.
minor comment change
b37ebe0
to
a2eab63
Compare
@@ -214,7 +245,7 @@ jobs: | |||
cd translations/${{ matrix.repo }} | |||
# finds the directory containing the english locale usually located in | |||
# */*/conf/locale/en | |||
EN_DIR=$(find . -type d -regex ".+conf\/locale\/en$") | |||
EN_DIR=$(find . -type d -regex ".+conf\/locale\/en$" | head -n 1) |
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.
@OmarIthawi , setting it as draft so I can fix it tomorrow morning. This addition | head -n 1
is causing a problem with other repos like ecommerce
e-commerce problem resolved, was another issue. But we don't want | head -n 1
anyway. If the repository contains more than /conf/locale/en
directory; then it must be resolved in that repo and reported as an error here
cc/ @OmarIthawi
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 review now @OmarIthawi . It works fine :) . The script works for edx-platform
and other repos. Tested in fork. Also, notice that we don't delete contents of conf/locale
anymore
a2eab63
to
4e77b2b
Compare
4e77b2b
to
3738508
Compare
3738508
to
32b59d4
Compare
This contribution is part of the [FC-0012 project](https://openedx.atlassian.net/l/cp/XGS0iCcQ) which is sparked by the [Translation Infrastructure update OEP-58](https://open-edx-proposals.readthedocs.io/en/latest/architectural-decisions/oep-0058-arch-translations-management.html#specification).
32b59d4
to
5a6fb8e
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.
Thanks @shadinaif! It seems to be working fine.
I'll merge it now. Please keep an eye on it.
@shadinaif 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
@shadinaif it looks it it's working: Thanks for making this change! |
Changes
edx-platform
to the python-translations jobedx-platform
setup time from 4 minutes to 3 minutesSuggestions
TODO
edx-platform
and other reposdjango.po
anddjangojs.po
as suggested: docs: decision to standardize django/djangojs po files FC-0012 edx-platform#32994This contribution is part of the FC-0012 project which is sparked by the Translation Infrastructure update OEP-58.