Skip to content

Commit

Permalink
fix(locale): limited ja first names without passing sex (#2190)
Browse files Browse the repository at this point in the history
  • Loading branch information
KeisukeYamashita authored Jun 4, 2023
1 parent 785a38a commit 5de8874
Showing 1 changed file with 8 additions and 23 deletions.
31 changes: 8 additions & 23 deletions src/locales/ja/person/first_name.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
export default [
'大翔',
'蓮',
'颯太',
'樹',
'大和',
'陽翔',
'陸斗',
'太一',
'海翔',
'蒼空',
'翼',
'陽菜',
'結愛',
'結衣',
'杏',
'莉子',
'美羽',
'結菜',
'心愛',
'愛菜',
'美咲',
];
// 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);

0 comments on commit 5de8874

Please sign in to comment.