openedx / xblock-lti-consumer

GNU Affero General Public License v3.0
28 stars 81 forks source link

feat: standardize translation directory for i18n_tool #341

Closed shadinaif closed 1 year ago

shadinaif commented 1 year ago

feat: standardize translation directory for i18n_tool

This PR prepares the repository to comply with openedx-translations by doing the following:

References

This pull request is part of the FC-0012 project which is sparked by the Translation Infrastructure update OEP-58.

Check the links above for full information about the overall project.

Internalization is being rearchitected in Open edX Python, XBlock, Micro-frontend, and other projects. There are a number of immediately visible changes:

Breaking Changes

One of the primary goals of the project is to avoid breaking changes. If you noticed any suspicious code, please raise your concern. But before that, please know the strategy we're following to avoid breaking changes

For XBlocks:

openedx-webhooks commented 1 year ago

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.

e0d commented 1 year ago

Resolved the conversation with an errant click, unresolved and ran that tests.

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (f9dac31) 97.68% compared to head (e4bb599) 97.68%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #341 +/- ## ======================================= Coverage 97.68% 97.68% ======================================= Files 77 77 Lines 6187 6187 ======================================= Hits 6044 6044 Misses 143 143 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `97.68% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#carryforward-flags-in-the-pull-request-comment) to find out more. Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

mphilbrick211 commented 1 year ago

Hi @MichaelRoytman! Would you mind taking a look at this? Thanks!

MichaelRoytman commented 1 year ago

Hi, @mphilbrick211! I took a look a few weeks ago and left a few questions for Shadi. If they could address my remaining questions, I'd be happy to re-review. I want to confirm the impact on Javascript string translations and on existing translations in the repository. Thank you.

MichaelRoytman commented 1 year ago

Hi, @mphilbrick211! I took a look a few weeks ago and left a few questions for Shadi. If they could address my remaining questions, I'd be happy to re-review. I want to confirm the impact on Javascript string translations and on existing translations in the repository. Thank you.

MichaelRoytman commented 1 year ago

Hi, @mphilbrick211! I took a look a few weeks ago and left a few questions for Shadi. If they could address my remaining questions, I'd be happy to re-review. I want to confirm the impact on Javascript string translations and on existing translations in the repository. Thank you.

MichaelRoytman commented 1 year ago

Hi, @mphilbrick211! I took a look a few weeks ago and left a few questions for Shadi. If they could address my remaining questions, I'd be happy to re-review. I want to confirm the impact on Javascript string translations and on existing translations in the repository. Thank you.

MichaelRoytman commented 1 year ago

Oof. Github is having issues and posted my comment four times. Sorry for tagging you four times! 😅

mphilbrick211 commented 1 year ago

Hi, @mphilbrick211! I took a look a few weeks ago and left a few questions for Shadi. If they could address my remaining questions, I'd be happy to re-review. I want to confirm the impact on Javascript string translations and on existing translations in the repository. Thank you.

Hi @shadinaif! Friendly ping on this :)

shadinaif commented 1 year ago

Hi @MichaelRoytman and @mphilbrick211 , thank you for your patience on this. I'll push an update and address the issues above very soon. We decided to finish the project without introducing any breaking changes until the last phase of it. I'll add a detailed description to the PR, we're working on a template for that

Thank you!

shadinaif commented 1 year ago

@MichaelRoytman please review now, tested on devstack olive, works fine. We're not changing any behavior in this phase, please see the details in the PR description. Thank you!

e0d commented 1 year ago

@shadinaif Looks like there are some test failures.

shadinaif commented 1 year ago

Thank you @e0d . The error is related to a missing token for codecov.io . It's either deleted by someone, or affected by latest Github incident and needs to be re-set https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/

sarina commented 1 year ago

Merging PR on behalf of Shadi, as it has 3 approvals and looks good to me.

openedx-webhooks commented 1 year ago

@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.