-
Notifications
You must be signed in to change notification settings - Fork 15
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: add trans filter to html templates #41
Conversation
Thanks for the pull request, @Ian2012! 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. |
@OmarIthawi here is the PR. Are these changes sufficient enough? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #41 +/- ##
==========================================
+ Coverage 90.78% 90.84% +0.06%
==========================================
Files 1 2 +1
Lines 141 142 +1
==========================================
+ Hits 128 129 +1
Misses 13 13
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
b6136fd
to
850ccd5
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.
Much better. Thanks @Ian2012.
Please let me know whenever the translation PR is ready.
@OmarIthawi I think we should merge this first so that the messages files in openedx-translations gets updated. Once the translations are added to the repo, I will open the new PR |
@Ian2012 I can't review this pull request at the moment. I think it has few anti-patterns that could be problematic in terms of the i18n e.g. Most text should be translated directly within the templates instead of the Python files. @mphilbrick211 would you mind tagging someone else for reviewing? |
@farhan @thezaeemaanwar can you review this PR. This page might be helpful: https://docs.openedx.org/en/latest/translators/references/index.html |
@OmarIthawi are there other resources you can provide to remove the anti-patterns in this PR? |
@feanil @Ian2012 that might be the only one I found. Sorry my earlier comment wasn't very specific. Before I give a good feedback I need to review the whole XBlock and then give a recommendation, which is out of my time at the moment. I recommend checking i18n at https://github.com/openedx/xblock-drag-and-drop-v2 and https://github.com/openedx/edx-ora2/ and see the patterns there and copy what applies. Nevertheless, I don't see any blockers to this pull request. |
850ccd5
to
c2bd87b
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.
Query and a change request rest all seems ok
2dc9f5a
to
70016d1
Compare
@farhan can you review again? |
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.
👍
@Ian2012 approved, let me know when PR is ready to merge. |
fix: revert changes to default variables chore: quality checks
0f0e368
to
de51e56
Compare
@farhan ready. Thanks for your review |
@Ian2012 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
Description
This PR makes the translation fixes mentioned here: eduNEXT#3 (comment)