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(person): Incorrect behavior of name.firstName() function #1610

Merged
merged 10 commits into from
Dec 21, 2022
8 changes: 8 additions & 0 deletions src/locales/az/person/first_name.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// We don't have a generic first name list for this locale
// So simply concatenate male and female lists and remove any duplicates
// This avoids falling back to fallback locale
import { mergeArrays } from './../../../internal/merge';
import female_first_name from './female_first_name';
import male_first_name from './male_first_name';

export default mergeArrays(female_first_name, male_first_name);
2 changes: 2 additions & 0 deletions src/locales/az/person/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import type { PersonDefinitions } from '../../..';
import female_first_name from './female_first_name';
import female_last_name from './female_last_name';
import first_name from './first_name';
import male_first_name from './male_first_name';
import male_last_name from './male_last_name';
import name_ from './name';
Expand All @@ -14,6 +15,7 @@ import suffix from './suffix';
const person: PersonDefinitions = {
female_first_name,
female_last_name,
first_name,
male_first_name,
male_last_name,
name: name_,
Expand Down
Loading