-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
feat: add danish country code #2818
Conversation
lib/locales/da-DK.yml
Outdated
@@ -52,6 +52,8 @@ da-DK: | |||
- "#{first_name} #{last_name} #{last_name}" | |||
- "#{first_name} #{last_name} #{last_name}" | |||
|
|||
country_code: '45' |
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.
country_code: '45' | |
country_code: ['45'] |
Did this work for you as it is? Looking at the other locales, it seems the generator expects this value to be in an array 🤔
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.
It's working with the sting. See 520f812
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.
ah, thank you for confirming! Do you mind adding an array just to keep the pattern? If in the future we refactor these files, it's easier if they all follow the same pattern. Thanks!
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.
sure, see 02f875e
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.
thanks!
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.
could you please add a test for your implementation?
sure. please check 520f812 |
Motivation / Background
This Pull Request has been created because the country code for danish locales is missing.
Checklist
Before submitting the PR make sure the following are checked:
[Fix #issue-number]