-
-
Notifications
You must be signed in to change notification settings - Fork 731
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
Add 'Voucher:' before voucher code on edit cart page #13061
Add 'Voucher:' before voucher code on edit cart page #13061
Conversation
Thank you, @kernal053! That was super fast! Is it ready for review? |
Yes. |
Great! I wonder if it makes sense to use the same string as we do in other places. That way at least those ones where we want the format 'Voucher: Code' are always the same. What do you think? Does it make sense, @kernal053? |
Yes, it makes sense to ensure consistent format. So, should I go ahead and make similar changes in |
I was thinking the other way round? 🤔 |
Looks like there is more work to be done here, and also could you address the rubocop warning ? Moving back to in process. |
@drummer83 Apologies, I thought it will provide flexibility for customizing format if needed in future with just changing scope in en.yml such as Voucher (CODE), CODE (Voucher) ? If we're planning to keep format 'Voucher: Code' then I will change it to same string as we are using in other places currently. |
Yes, let's keep the format because the positions above and below have the same format and they are hard coded as well. Thanks again, especially for your patience, and sorry for the confusion. |
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.
Good fix, and great work on the specs, thank you!
I like the idea of using the translation engine as you suggested, but it's good that this is consistent with other parts of the app 👍
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.
Thank you.
Hey @kernal053 , Thanks for this improvement! I was able to verify the change you've introduced: Before this PR After this PR This closes the underlying issue and can be merged. |
What? Why?
What should we test?
Release notes
Changelog Category (reviewers may add a label for the release notes):
The title of the pull request will be included in the release notes.
Dependencies
Documentation updates
Before:
After: