-
Notifications
You must be signed in to change notification settings - Fork 300
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
shontzu/WALL-823/inaccurate-jurisdictions-displayed-when-language-is-non-English #8919
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
A production App ID was automatically generated for this PR. (log)
Click here to copy & paste above information.
|
🚨 Lighthouse report for the changes in this PR:
Lighthouse ran with https://deriv-app-git-fork-shontzu-deriv-shontzu-wall-823inaccur-08ee0d.binary.sx/ |
Codecov Report
@@ Coverage Diff @@
## master #8919 +/- ##
======================================
Coverage 0.05% 0.05%
======================================
Files 117 117
Lines 3422 3422
Branches 891 891
======================================
Hits 2 2
Misses 3420 3420 |
…displayed-when-language-is-non-English
…displayed-when-language-is-non-English
…displayed-when-language-is-non-English
case localize('Swap-Free'): | ||
case localize('Swap Free'): |
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.
Why same condition is used twice?
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.
because it other languages (i.e. spanish, Indonesian) there is no dash (-) and it end up at default again
…displayed-when-language-is-non-English
…displayed-when-language-is-non-English
…displayed-when-language-is-non-English
…displayed-when-language-is-non-English
…displayed-when-language-is-non-English
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
✨ PR has been merged by Paimon the Release Bot |
Changes:
the
account_type_card
arg has been localized before passing into the switch case, causing it to return default because there are no matching english casesScreenshots: