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

Update euro currency formatting for English locales (Issue #13476) #13479

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

alexgibson
Copy link
Member

One-line summary

This is only a short term fix for the original issue highlighted in #13476. It does not address adding currency formatting to the ftl() helper, which will provide a more robust solution.

Issue / Bugzilla link

#13476

Testing

http://localhost:8000/en-US/products/vpn/?geo=fi

@alexgibson alexgibson added P2 Second level priority - Should have Needs Review Awaiting code review Review: µ Code review time: 5 minutes or less labels Aug 2, 2023
@@ -1011,13 +1011,19 @@ def test_vpn_monthly_price_usd_ca(self):

def test_vpn_monthly_price_euro(self):
"""Should return expected markup"""
markup = self._render(plan="monthly", country_code="DE", lang="de")
markup = self._render(plan="monthly", country_code="DE", lang="en-US")
Copy link
Member Author

@alexgibson alexgibson Aug 2, 2023

Choose a reason for hiding this comment

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

Note for reviewer: updating lang here to match the locale of the request used in the test (en-US) to make things a bit clearer. The lang param is only used for selecting a stripe plan, rather than anything to do with the string translation.

@craigcook craigcook self-assigned this Aug 2, 2023
Copy link
Member

@craigcook craigcook left a comment

Choose a reason for hiding this comment

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

💶

@craigcook craigcook merged commit 4a9a206 into mozilla:main Aug 2, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review Awaiting code review P2 Second level priority - Should have Review: µ Code review time: 5 minutes or less
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants