Skip to content
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

fix: non-relevant directories are added if conf/locale is missing #385

Merged

Conversation

shadinaif
Copy link
Contributor

@shadinaif shadinaif commented Jun 10, 2023

When python-translations is processed; we can have non-relevant directories added to the translation directory if make extract_translations did not generate the proper English directory at conf/locale

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Jun 10, 2023
@openedx-webhooks
Copy link

openedx-webhooks commented Jun 10, 2023

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:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

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.

When python-translations is processed; we can have non-relevant directories added
to the translation directory if `make extract_translations` did not generate
the proper English directory at conf/locale

Refs: FC-0012 OEP-58
@shadinaif shadinaif force-pushed the shadinaif/fail-if-python-conf-is-missing branch from ddfce3e to 936b81a Compare June 10, 2023 11:23
@shadinaif shadinaif marked this pull request as ready for review June 12, 2023 12:36
@shadinaif
Copy link
Contributor Author

@OmarIthawi @brian-smith-tcril please review

Copy link
Member

@OmarIthawi OmarIthawi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shadinaif Looks like a great addition, thanks!

Please test it on a fork and share the results.

@OmarIthawi OmarIthawi self-requested a review June 12, 2023 13:22
shadinaif added a commit to Zeit-Labs/openedx-translations that referenced this pull request Jul 20, 2023
shadinaif added a commit to Zeit-Labs/openedx-translations that referenced this pull request Jul 20, 2023
@shadinaif
Copy link
Contributor Author

As you can see here @OmarIthawi , master branch of credentials-themes caused it to fail because it's not complying with the correct path for locale\en. While DoneXBlock passed normally

@OmarIthawi OmarIthawi merged commit b878015 into openedx:main Jul 22, 2023
@openedx-webhooks
Copy link

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

@OmarIthawi OmarIthawi deleted the shadinaif/fail-if-python-conf-is-missing branch July 22, 2023 17:23
@OmarIthawi
Copy link
Member

Thanks @shadinaif!! Merged :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants