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

Fix female_first_name and male_first_name #1398

Merged
merged 8 commits into from
Oct 11, 2018
Merged

Fix female_first_name and male_first_name #1398

merged 8 commits into from
Oct 11, 2018

Conversation

vbrazo
Copy link
Member

@vbrazo vbrazo commented Oct 11, 2018

Faker::Name has female_first_name and male_first_name and a few locales had first_name_men, masculine_name, first_name_women and feminine_name in their .yml files.

  • .en-MS.yml
  • .fi-FI.yml
  • .nb-NO.yml
  • .sk.yml
  • .sv.yml

This PR changes these locales to strive for consistency in the locales. Since we're using the flexible :name in the Faker::Name, I added aliases to avoid crashes. We're not deprecating these old methods for now.

ps: I also added tests for these new locales.

@vbrazo vbrazo self-assigned this Oct 11, 2018
@vbrazo vbrazo merged commit 102a768 into faker-ruby:master Oct 11, 2018
@vbrazo vbrazo deleted the fixes/fix-name-locales branch October 11, 2018 13:11
davidmorton0 pushed a commit to davidmorton0/faker that referenced this pull request Jul 12, 2021
* Add first_name method to bg locale

* Add male_first_name and female_first_name methods to en-MS locale

* Fix female_first_name and male_first_name - fi-FI locale

* Fix female_first_name and male_first_name - nb-NO locale

* Fix female_first_name and male_first_name - sk locale

* Fix female_first_name and male_first_name - sv locale

* Add alias to old method locales

* Update CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant