-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fix translations of category design theme not being applied #17854
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 translations of category design theme not being applied #17854
Conversation
Hi @cezary-zeglen. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@phoenix128 Thanks for the code review, I thought I should stick to the old coding conventions when modifying old classes. I'll commit fixes sometime this week. |
Hello @cezary-zeglen , |
Hi @cezary-zeglen , looks like that you made a commit with a different email than in the GitHub profile. Please, add email from commit to your profile or make a new commit with the email from profile and force push the branch. Also, please, sign CLA, otherwise we can't proceed with your PR. |
@sidolov Yeah, sorry about that. When I'll find a bit of time I'll fix issues with the code and just squash all the commits. BTW, I have a question regarding the workflow here. I'm used to pushing commits, checking reports for test results, fixing and then setting commit in gerrit to special status to announce to my reviewers that the commit awaits code review. This way noone is bothered with the commit untill I set its status to the correct one. How does it work here? I don't want to bother people with my work in progress commits but I also don't see that much need for setting up all tests locally. |
99092e2
to
032d07b
Compare
Hi @cezary-zeglen , we are expecting that newly created PR us ready to review (all tests passed, solution well tested, etc). I understand that in some cases you don't know about scenarios that can be affected by fix, you need to submit the PR and wait for a Travis. In that case, we can wait for the test results and drop you a message in something went wrong. |
Hey @cezary-zeglen. Thank you for your contribution. Test |
@slavvka I know, sorry it takes so much time for me to commit a fix but I'll try to find time this week to take care of this. |
@cezary-zeglen okay, thank you for the efforts! |
fbf3fd0
to
40c2a9c
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.
@cezary-zeglen thank you the changes. But I have comments so please fix it.
@slavvka Sorry but I'm not sure if I understand correctly, so you want me just to improve the unit tests or also to remove the setter and reimplement the whole bugfix? |
@cezary-zeglen Sorry, I really missed that you use the added method in the solution. So you are right, you don't need to update |
@slavvka Ok, now this is embarassing - I realized that force reloading translator is enough to fix this bug. Do you want me to squash all of these commits or leave it as is? |
72005d7
to
57bb789
Compare
@cezary-zeglen Yep, but that's wonderful since the time could give you the possibility to dramatically improve your solution! Yes, please squash it to make this PR even more ideal :) Also after having all tests passed could you please to up-port it to 2.3 as we want to all fixes to be delivered to 2.3 firstly. Then we could deliver this PR as well. |
57bb789
to
f6eb7fb
Compare
Hi @slavvka, thank you for the review. |
Hi @cezary-zeglen. Thank you for your contribution. Please, consider to port this solution to 2.3 release line. |
Description
Currently if you enable custom design theme for category the translations of selected theme are not used. This commit fixes the problem.
Fixed Issues (if relevant)
#17625
Manual testing scenarios
(Copied from #17625 )
Commit changes point 5. so the translation is being applied
Contribution checklist