From 27dff93aa27d755874aa5022c78f17ff8e9cf7e0 Mon Sep 17 00:00:00 2001 From: Matt Mayer Date: Tue, 10 Jan 2023 01:45:24 +0700 Subject: [PATCH] feat(person): split prefix into gendered versions (#1665) --- src/locales/ar/person/female_prefix.ts | 1 + src/locales/ar/person/index.ts | 4 ++++ src/locales/ar/person/male_prefix.ts | 1 + src/locales/ar/person/prefix.ts | 6 +++++- src/locales/az/person/female_prefix.ts | 1 + src/locales/az/person/index.ts | 4 ++++ src/locales/az/person/male_prefix.ts | 1 + src/locales/az/person/prefix.ts | 6 +++++- src/locales/cz/person/female_prefix.ts | 1 + src/locales/cz/person/index.ts | 4 ++++ src/locales/cz/person/male_prefix.ts | 1 + src/locales/cz/person/prefix.ts | 6 +++++- src/locales/de/person/female_prefix.ts | 1 + src/locales/de/person/index.ts | 4 ++++ src/locales/de/person/male_prefix.ts | 1 + src/locales/de/person/prefix.ts | 6 +++++- src/locales/de_AT/person/female_prefix.ts | 1 + src/locales/de_AT/person/index.ts | 4 ++++ src/locales/de_AT/person/male_prefix.ts | 1 + src/locales/de_AT/person/prefix.ts | 6 +++++- src/locales/de_CH/person/female_prefix.ts | 1 + src/locales/de_CH/person/index.ts | 4 ++++ src/locales/de_CH/person/male_prefix.ts | 1 + src/locales/de_CH/person/prefix.ts | 6 +++++- src/locales/dv/person/female_prefix.ts | 1 + src/locales/dv/person/index.ts | 4 ++++ src/locales/dv/person/male_prefix.ts | 1 + src/locales/dv/person/prefix.ts | 6 +++++- src/locales/el/person/female_prefix.ts | 1 + src/locales/el/person/index.ts | 4 ++++ src/locales/el/person/male_prefix.ts | 1 + src/locales/el/person/prefix.ts | 6 +++++- src/locales/en/person/female_prefix.ts | 1 + src/locales/en/person/index.ts | 4 ++++ src/locales/en/person/male_prefix.ts | 1 + src/locales/en/person/prefix.ts | 6 +++++- src/locales/es/person/female_prefix.ts | 1 + src/locales/es/person/index.ts | 4 ++++ src/locales/es/person/male_prefix.ts | 1 + src/locales/es/person/prefix.ts | 6 +++++- src/locales/es_MX/person/female_prefix.ts | 1 + src/locales/es_MX/person/index.ts | 4 ++++ src/locales/es_MX/person/male_prefix.ts | 1 + src/locales/es_MX/person/prefix.ts | 6 +++++- src/locales/fa/person/female_prefix.ts | 1 + src/locales/fa/person/index.ts | 4 ++++ src/locales/fa/person/male_prefix.ts | 1 + src/locales/fa/person/prefix.ts | 6 +++++- src/locales/fr/person/female_prefix.ts | 1 + src/locales/fr/person/index.ts | 4 ++++ src/locales/fr/person/male_prefix.ts | 1 + src/locales/fr/person/prefix.ts | 6 +++++- src/locales/fr_BE/person/female_prefix.ts | 1 + src/locales/fr_BE/person/index.ts | 4 ++++ src/locales/fr_BE/person/male_prefix.ts | 1 + src/locales/fr_BE/person/prefix.ts | 6 +++++- src/locales/fr_CH/person/female_prefix.ts | 1 + src/locales/fr_CH/person/index.ts | 4 ++++ src/locales/fr_CH/person/male_prefix.ts | 1 + src/locales/fr_CH/person/prefix.ts | 6 +++++- src/locales/ge/person/female_prefix.ts | 1 + src/locales/ge/person/index.ts | 4 ++++ src/locales/ge/person/male_prefix.ts | 1 + src/locales/ge/person/prefix.ts | 6 +++++- src/locales/he/person/female_prefix.ts | 1 + src/locales/he/person/index.ts | 4 ++++ src/locales/he/person/male_prefix.ts | 1 + src/locales/he/person/prefix.ts | 6 +++++- src/locales/hr/person/female_prefix.ts | 1 + src/locales/hr/person/index.ts | 4 ++++ src/locales/hr/person/male_prefix.ts | 1 + src/locales/hr/person/prefix.ts | 6 +++++- src/locales/hu/person/female_prefix.ts | 1 + src/locales/hu/person/index.ts | 4 ++++ src/locales/hu/person/male_prefix.ts | 1 + src/locales/hu/person/prefix.ts | 6 +++++- src/locales/id_ID/person/female_prefix.ts | 1 + src/locales/id_ID/person/index.ts | 4 ++++ src/locales/id_ID/person/male_prefix.ts | 1 + src/locales/id_ID/person/prefix.ts | 6 +++++- src/locales/it/person/female_prefix.ts | 1 + src/locales/it/person/index.ts | 4 ++++ src/locales/it/person/male_prefix.ts | 1 + src/locales/it/person/prefix.ts | 6 +++++- src/locales/lv/person/female_prefix.ts | 1 + src/locales/lv/person/index.ts | 4 ++++ src/locales/lv/person/male_prefix.ts | 1 + src/locales/lv/person/prefix.ts | 6 +++++- src/locales/mk/person/prefix.ts | 6 +++++- src/locales/nb_NO/person/female_prefix.ts | 1 + src/locales/nb_NO/person/index.ts | 4 ++++ src/locales/nb_NO/person/male_prefix.ts | 1 + src/locales/nb_NO/person/prefix.ts | 6 +++++- src/locales/nl/person/female_prefix.ts | 1 + src/locales/nl/person/index.ts | 4 ++++ src/locales/nl/person/male_prefix.ts | 1 + src/locales/nl/person/prefix.ts | 6 +++++- src/locales/nl_BE/person/female_prefix.ts | 1 + src/locales/nl_BE/person/index.ts | 4 ++++ src/locales/nl_BE/person/male_prefix.ts | 1 + src/locales/nl_BE/person/prefix.ts | 6 +++++- src/locales/pl/person/female_prefix.ts | 1 + src/locales/pl/person/index.ts | 4 ++++ src/locales/pl/person/male_prefix.ts | 1 + src/locales/pl/person/prefix.ts | 6 +++++- src/locales/pt_BR/person/female_prefix.ts | 1 + src/locales/pt_BR/person/index.ts | 4 ++++ src/locales/pt_BR/person/male_prefix.ts | 1 + src/locales/pt_BR/person/prefix.ts | 6 +++++- src/locales/pt_PT/person/prefix.ts | 6 +++++- src/locales/ro/person/female_prefix.ts | 1 + src/locales/ro/person/index.ts | 4 ++++ src/locales/ro/person/male_prefix.ts | 1 + src/locales/ro/person/prefix.ts | 6 +++++- src/locales/ru/person/female_prefix.ts | 1 + src/locales/ru/person/index.ts | 4 ++++ src/locales/ru/person/male_prefix.ts | 1 + src/locales/ru/person/prefix.ts | 6 +++++- src/locales/sk/person/female_prefix.ts | 1 + src/locales/sk/person/index.ts | 4 ++++ src/locales/sk/person/male_prefix.ts | 1 + src/locales/sk/person/prefix.ts | 6 +++++- src/locales/sv/person/female_prefix.ts | 1 + src/locales/sv/person/index.ts | 4 ++++ src/locales/sv/person/male_prefix.ts | 1 + src/locales/sv/person/prefix.ts | 6 +++++- src/locales/tr/person/female_prefix.ts | 1 + src/locales/tr/person/index.ts | 4 ++++ src/locales/tr/person/male_prefix.ts | 1 + src/locales/tr/person/prefix.ts | 6 +++++- src/locales/uk/person/female_prefix.ts | 1 + src/locales/uk/person/index.ts | 4 ++++ src/locales/uk/person/male_prefix.ts | 1 + src/locales/uk/person/prefix.ts | 6 +++++- src/locales/ur/person/female_prefix.ts | 1 + src/locales/ur/person/index.ts | 4 ++++ src/locales/ur/person/male_prefix.ts | 1 + src/locales/ur/person/prefix.ts | 6 +++++- src/locales/zh_CN/person/female_prefix.ts | 1 + src/locales/zh_CN/person/index.ts | 6 ++++++ src/locales/zh_CN/person/male_prefix.ts | 1 + src/locales/zh_CN/person/prefix.ts | 5 +++++ src/locales/zh_TW/person/female_prefix.ts | 1 + src/locales/zh_TW/person/index.ts | 6 ++++++ src/locales/zh_TW/person/male_prefix.ts | 1 + src/locales/zh_TW/person/prefix.ts | 5 +++++ test/__snapshots__/person.spec.ts.snap | 10 +++++----- test/all_functional.spec.ts | 2 +- 148 files changed, 416 insertions(+), 42 deletions(-) create mode 100644 src/locales/ar/person/female_prefix.ts create mode 100644 src/locales/ar/person/male_prefix.ts create mode 100644 src/locales/az/person/female_prefix.ts create mode 100644 src/locales/az/person/male_prefix.ts create mode 100644 src/locales/cz/person/female_prefix.ts create mode 100644 src/locales/cz/person/male_prefix.ts create mode 100644 src/locales/de/person/female_prefix.ts create mode 100644 src/locales/de/person/male_prefix.ts create mode 100644 src/locales/de_AT/person/female_prefix.ts create mode 100644 src/locales/de_AT/person/male_prefix.ts create mode 100644 src/locales/de_CH/person/female_prefix.ts create mode 100644 src/locales/de_CH/person/male_prefix.ts create mode 100644 src/locales/dv/person/female_prefix.ts create mode 100644 src/locales/dv/person/male_prefix.ts create mode 100644 src/locales/el/person/female_prefix.ts create mode 100644 src/locales/el/person/male_prefix.ts create mode 100644 src/locales/en/person/female_prefix.ts create mode 100644 src/locales/en/person/male_prefix.ts create mode 100644 src/locales/es/person/female_prefix.ts create mode 100644 src/locales/es/person/male_prefix.ts create mode 100644 src/locales/es_MX/person/female_prefix.ts create mode 100644 src/locales/es_MX/person/male_prefix.ts create mode 100644 src/locales/fa/person/female_prefix.ts create mode 100644 src/locales/fa/person/male_prefix.ts create mode 100644 src/locales/fr/person/female_prefix.ts create mode 100644 src/locales/fr/person/male_prefix.ts create mode 100644 src/locales/fr_BE/person/female_prefix.ts create mode 100644 src/locales/fr_BE/person/male_prefix.ts create mode 100644 src/locales/fr_CH/person/female_prefix.ts create mode 100644 src/locales/fr_CH/person/male_prefix.ts create mode 100644 src/locales/ge/person/female_prefix.ts create mode 100644 src/locales/ge/person/male_prefix.ts create mode 100644 src/locales/he/person/female_prefix.ts create mode 100644 src/locales/he/person/male_prefix.ts create mode 100644 src/locales/hr/person/female_prefix.ts create mode 100644 src/locales/hr/person/male_prefix.ts create mode 100644 src/locales/hu/person/female_prefix.ts create mode 100644 src/locales/hu/person/male_prefix.ts create mode 100644 src/locales/id_ID/person/female_prefix.ts create mode 100644 src/locales/id_ID/person/male_prefix.ts create mode 100644 src/locales/it/person/female_prefix.ts create mode 100644 src/locales/it/person/male_prefix.ts create mode 100644 src/locales/lv/person/female_prefix.ts create mode 100644 src/locales/lv/person/male_prefix.ts create mode 100644 src/locales/nb_NO/person/female_prefix.ts create mode 100644 src/locales/nb_NO/person/male_prefix.ts create mode 100644 src/locales/nl/person/female_prefix.ts create mode 100644 src/locales/nl/person/male_prefix.ts create mode 100644 src/locales/nl_BE/person/female_prefix.ts create mode 100644 src/locales/nl_BE/person/male_prefix.ts create mode 100644 src/locales/pl/person/female_prefix.ts create mode 100644 src/locales/pl/person/male_prefix.ts create mode 100644 src/locales/pt_BR/person/female_prefix.ts create mode 100644 src/locales/pt_BR/person/male_prefix.ts create mode 100644 src/locales/ro/person/female_prefix.ts create mode 100644 src/locales/ro/person/male_prefix.ts create mode 100644 src/locales/ru/person/female_prefix.ts create mode 100644 src/locales/ru/person/male_prefix.ts create mode 100644 src/locales/sk/person/female_prefix.ts create mode 100644 src/locales/sk/person/male_prefix.ts create mode 100644 src/locales/sv/person/female_prefix.ts create mode 100644 src/locales/sv/person/male_prefix.ts create mode 100644 src/locales/tr/person/female_prefix.ts create mode 100644 src/locales/tr/person/male_prefix.ts create mode 100644 src/locales/uk/person/female_prefix.ts create mode 100644 src/locales/uk/person/male_prefix.ts create mode 100644 src/locales/ur/person/female_prefix.ts create mode 100644 src/locales/ur/person/male_prefix.ts create mode 100644 src/locales/zh_CN/person/female_prefix.ts create mode 100644 src/locales/zh_CN/person/male_prefix.ts create mode 100644 src/locales/zh_CN/person/prefix.ts create mode 100644 src/locales/zh_TW/person/female_prefix.ts create mode 100644 src/locales/zh_TW/person/male_prefix.ts create mode 100644 src/locales/zh_TW/person/prefix.ts diff --git a/src/locales/ar/person/female_prefix.ts b/src/locales/ar/person/female_prefix.ts new file mode 100644 index 00000000000..bb62f09b4d6 --- /dev/null +++ b/src/locales/ar/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['سيدة', 'آنسة', 'دكتور', 'بروفيسور']; diff --git a/src/locales/ar/person/index.ts b/src/locales/ar/person/index.ts index 581c3d68a0d..45178928aae 100644 --- a/src/locales/ar/person/index.ts +++ b/src/locales/ar/person/index.ts @@ -4,9 +4,11 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; @@ -14,9 +16,11 @@ import title from './title'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/ar/person/male_prefix.ts b/src/locales/ar/person/male_prefix.ts new file mode 100644 index 00000000000..e4bf0939efe --- /dev/null +++ b/src/locales/ar/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['سيد', 'دكتور', 'بروفيسور']; diff --git a/src/locales/ar/person/prefix.ts b/src/locales/ar/person/prefix.ts index 6f6c38effc8..cb1d846e0d6 100644 --- a/src/locales/ar/person/prefix.ts +++ b/src/locales/ar/person/prefix.ts @@ -1 +1,5 @@ -export default ['سيد', 'سيدة', 'آنسة', 'دكتور', 'بروفيسور']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/az/person/female_prefix.ts b/src/locales/az/person/female_prefix.ts new file mode 100644 index 00000000000..d6d1738de67 --- /dev/null +++ b/src/locales/az/person/female_prefix.ts @@ -0,0 +1 @@ +export default []; diff --git a/src/locales/az/person/index.ts b/src/locales/az/person/index.ts index 2aa50080963..3b06817adb7 100644 --- a/src/locales/az/person/index.ts +++ b/src/locales/az/person/index.ts @@ -5,9 +5,11 @@ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import male_first_name from './male_first_name'; import male_last_name from './male_last_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; @@ -15,9 +17,11 @@ import suffix from './suffix'; const person: PersonDefinitions = { female_first_name, female_last_name, + female_prefix, first_name, male_first_name, male_last_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/az/person/male_prefix.ts b/src/locales/az/person/male_prefix.ts new file mode 100644 index 00000000000..d6d1738de67 --- /dev/null +++ b/src/locales/az/person/male_prefix.ts @@ -0,0 +1 @@ +export default []; diff --git a/src/locales/az/person/prefix.ts b/src/locales/az/person/prefix.ts index d6d1738de67..cb1d846e0d6 100644 --- a/src/locales/az/person/prefix.ts +++ b/src/locales/az/person/prefix.ts @@ -1 +1,5 @@ -export default []; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/cz/person/female_prefix.ts b/src/locales/cz/person/female_prefix.ts new file mode 100644 index 00000000000..f499187e2c3 --- /dev/null +++ b/src/locales/cz/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Ing.', 'Mgr.', 'JUDr.', 'MUDr.']; diff --git a/src/locales/cz/person/index.ts b/src/locales/cz/person/index.ts index 22c88ff9075..7161bc3a883 100644 --- a/src/locales/cz/person/index.ts +++ b/src/locales/cz/person/index.ts @@ -5,10 +5,12 @@ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; import male_last_name from './male_last_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; @@ -17,10 +19,12 @@ import title from './title'; const person: PersonDefinitions = { female_first_name, female_last_name, + female_prefix, first_name, last_name, male_first_name, male_last_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/cz/person/male_prefix.ts b/src/locales/cz/person/male_prefix.ts new file mode 100644 index 00000000000..f499187e2c3 --- /dev/null +++ b/src/locales/cz/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Ing.', 'Mgr.', 'JUDr.', 'MUDr.']; diff --git a/src/locales/cz/person/prefix.ts b/src/locales/cz/person/prefix.ts index f499187e2c3..cb1d846e0d6 100644 --- a/src/locales/cz/person/prefix.ts +++ b/src/locales/cz/person/prefix.ts @@ -1 +1,5 @@ -export default ['Ing.', 'Mgr.', 'JUDr.', 'MUDr.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/de/person/female_prefix.ts b/src/locales/de/person/female_prefix.ts new file mode 100644 index 00000000000..bdb64211705 --- /dev/null +++ b/src/locales/de/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Frau', 'Dr.', 'Prof. Dr.']; diff --git a/src/locales/de/person/index.ts b/src/locales/de/person/index.ts index 00cd7c190b1..da73119bfca 100644 --- a/src/locales/de/person/index.ts +++ b/src/locales/de/person/index.ts @@ -4,9 +4,11 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import nobility_title_prefix from './nobility_title_prefix'; import prefix from './prefix'; @@ -14,9 +16,11 @@ import sex from './sex'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, nobility_title_prefix, prefix, diff --git a/src/locales/de/person/male_prefix.ts b/src/locales/de/person/male_prefix.ts new file mode 100644 index 00000000000..3da2b9167cd --- /dev/null +++ b/src/locales/de/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Herr', 'Dr.', 'Prof. Dr.']; diff --git a/src/locales/de/person/prefix.ts b/src/locales/de/person/prefix.ts index 44f0d037317..cb1d846e0d6 100644 --- a/src/locales/de/person/prefix.ts +++ b/src/locales/de/person/prefix.ts @@ -1 +1,5 @@ -export default ['Hr.', 'Fr.', 'Dr.', 'Prof. Dr.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/de_AT/person/female_prefix.ts b/src/locales/de_AT/person/female_prefix.ts new file mode 100644 index 00000000000..bdb64211705 --- /dev/null +++ b/src/locales/de_AT/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Frau', 'Dr.', 'Prof. Dr.']; diff --git a/src/locales/de_AT/person/index.ts b/src/locales/de_AT/person/index.ts index 8973cc7eddc..3e0d9ba6d5f 100644 --- a/src/locales/de_AT/person/index.ts +++ b/src/locales/de_AT/person/index.ts @@ -4,18 +4,22 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import nobility_title_prefix from './nobility_title_prefix'; import prefix from './prefix'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, nobility_title_prefix, prefix, diff --git a/src/locales/de_AT/person/male_prefix.ts b/src/locales/de_AT/person/male_prefix.ts new file mode 100644 index 00000000000..3da2b9167cd --- /dev/null +++ b/src/locales/de_AT/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Herr', 'Dr.', 'Prof. Dr.']; diff --git a/src/locales/de_AT/person/prefix.ts b/src/locales/de_AT/person/prefix.ts index 296dad7d0a6..cb1d846e0d6 100644 --- a/src/locales/de_AT/person/prefix.ts +++ b/src/locales/de_AT/person/prefix.ts @@ -1 +1,5 @@ -export default ['Dr.', 'Prof. Dr.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/de_CH/person/female_prefix.ts b/src/locales/de_CH/person/female_prefix.ts new file mode 100644 index 00000000000..bdb64211705 --- /dev/null +++ b/src/locales/de_CH/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Frau', 'Dr.', 'Prof. Dr.']; diff --git a/src/locales/de_CH/person/index.ts b/src/locales/de_CH/person/index.ts index 2ba33f8c482..aa067bc01ab 100644 --- a/src/locales/de_CH/person/index.ts +++ b/src/locales/de_CH/person/index.ts @@ -4,17 +4,21 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, }; diff --git a/src/locales/de_CH/person/male_prefix.ts b/src/locales/de_CH/person/male_prefix.ts new file mode 100644 index 00000000000..3da2b9167cd --- /dev/null +++ b/src/locales/de_CH/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Herr', 'Dr.', 'Prof. Dr.']; diff --git a/src/locales/de_CH/person/prefix.ts b/src/locales/de_CH/person/prefix.ts index 522edb84517..cb1d846e0d6 100644 --- a/src/locales/de_CH/person/prefix.ts +++ b/src/locales/de_CH/person/prefix.ts @@ -1 +1,5 @@ -export default ['Hr.', 'Fr.', 'Dr.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/dv/person/female_prefix.ts b/src/locales/dv/person/female_prefix.ts new file mode 100644 index 00000000000..1afa1c4c0d7 --- /dev/null +++ b/src/locales/dv/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['އަމީރު', 'އަމީރާ', 'ބަނޑޭރި', 'ބޮޑު']; diff --git a/src/locales/dv/person/index.ts b/src/locales/dv/person/index.ts index 81661b02408..e2807f3c6be 100644 --- a/src/locales/dv/person/index.ts +++ b/src/locales/dv/person/index.ts @@ -5,10 +5,12 @@ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; import male_last_name from './male_last_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import sex from './sex'; @@ -16,10 +18,12 @@ import sex from './sex'; const person: PersonDefinitions = { female_first_name, female_last_name, + female_prefix, first_name, last_name, male_first_name, male_last_name, + male_prefix, name: name_, prefix, sex, diff --git a/src/locales/dv/person/male_prefix.ts b/src/locales/dv/person/male_prefix.ts new file mode 100644 index 00000000000..1afa1c4c0d7 --- /dev/null +++ b/src/locales/dv/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['އަމީރު', 'އަމީރާ', 'ބަނޑޭރި', 'ބޮޑު']; diff --git a/src/locales/dv/person/prefix.ts b/src/locales/dv/person/prefix.ts index 1afa1c4c0d7..cb1d846e0d6 100644 --- a/src/locales/dv/person/prefix.ts +++ b/src/locales/dv/person/prefix.ts @@ -1 +1,5 @@ -export default ['އަމީރު', 'އަމީރާ', 'ބަނޑޭރި', 'ބޮޑު']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/el/person/female_prefix.ts b/src/locales/el/person/female_prefix.ts new file mode 100644 index 00000000000..16f3880593b --- /dev/null +++ b/src/locales/el/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Κυρία', 'Δόκτορ']; diff --git a/src/locales/el/person/index.ts b/src/locales/el/person/index.ts index 7a045ad777c..8dd6f4d6c14 100644 --- a/src/locales/el/person/index.ts +++ b/src/locales/el/person/index.ts @@ -4,18 +4,22 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import title from './title'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, title, diff --git a/src/locales/el/person/male_prefix.ts b/src/locales/el/person/male_prefix.ts new file mode 100644 index 00000000000..296735bdee5 --- /dev/null +++ b/src/locales/el/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Κύριος', 'Δόκτορ']; diff --git a/src/locales/el/person/prefix.ts b/src/locales/el/person/prefix.ts index da5c4e3e2a6..cb1d846e0d6 100644 --- a/src/locales/el/person/prefix.ts +++ b/src/locales/el/person/prefix.ts @@ -1 +1,5 @@ -export default ['Κυρία', 'Δυς', 'Κύριος', 'Δόκτορ']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/en/person/female_prefix.ts b/src/locales/en/person/female_prefix.ts new file mode 100644 index 00000000000..43fce37a544 --- /dev/null +++ b/src/locales/en/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Mrs.', 'Ms.', 'Miss', 'Dr.']; diff --git a/src/locales/en/person/index.ts b/src/locales/en/person/index.ts index 0f1b5889890..774f852e189 100644 --- a/src/locales/en/person/index.ts +++ b/src/locales/en/person/index.ts @@ -8,11 +8,13 @@ import bio_patterns from './bio_patterns'; import bio_supporter from './bio_supporter'; import female_first_name from './female_first_name'; import female_middle_name from './female_middle_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import gender from './gender'; import last_name from './last_name'; import male_first_name from './male_first_name'; import male_middle_name from './male_middle_name'; +import male_prefix from './male_prefix'; import middle_name from './middle_name'; import name_ from './name'; import prefix from './prefix'; @@ -27,11 +29,13 @@ const person: PersonDefinitions = { bio_supporter, female_first_name, female_middle_name, + female_prefix, first_name, gender, last_name, male_first_name, male_middle_name, + male_prefix, middle_name, name: name_, prefix, diff --git a/src/locales/en/person/male_prefix.ts b/src/locales/en/person/male_prefix.ts new file mode 100644 index 00000000000..795e64fdd11 --- /dev/null +++ b/src/locales/en/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Mr.', 'Dr.']; diff --git a/src/locales/en/person/prefix.ts b/src/locales/en/person/prefix.ts index 7dd8c5cbf57..cb1d846e0d6 100644 --- a/src/locales/en/person/prefix.ts +++ b/src/locales/en/person/prefix.ts @@ -1 +1,5 @@ -export default ['Mr.', 'Mrs.', 'Ms.', 'Miss', 'Dr.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/es/person/female_prefix.ts b/src/locales/es/person/female_prefix.ts new file mode 100644 index 00000000000..608ec674521 --- /dev/null +++ b/src/locales/es/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Sra.', 'Sta.']; diff --git a/src/locales/es/person/index.ts b/src/locales/es/person/index.ts index 581c3d68a0d..45178928aae 100644 --- a/src/locales/es/person/index.ts +++ b/src/locales/es/person/index.ts @@ -4,9 +4,11 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; @@ -14,9 +16,11 @@ import title from './title'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/es/person/male_prefix.ts b/src/locales/es/person/male_prefix.ts new file mode 100644 index 00000000000..b9e5cc3eee8 --- /dev/null +++ b/src/locales/es/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Sr.']; diff --git a/src/locales/es/person/prefix.ts b/src/locales/es/person/prefix.ts index 0e7d848f1b8..cb1d846e0d6 100644 --- a/src/locales/es/person/prefix.ts +++ b/src/locales/es/person/prefix.ts @@ -1 +1,5 @@ -export default ['Sr.', 'Sra.', 'Sta.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/es_MX/person/female_prefix.ts b/src/locales/es_MX/person/female_prefix.ts new file mode 100644 index 00000000000..608ec674521 --- /dev/null +++ b/src/locales/es_MX/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Sra.', 'Sta.']; diff --git a/src/locales/es_MX/person/index.ts b/src/locales/es_MX/person/index.ts index 581c3d68a0d..45178928aae 100644 --- a/src/locales/es_MX/person/index.ts +++ b/src/locales/es_MX/person/index.ts @@ -4,9 +4,11 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; @@ -14,9 +16,11 @@ import title from './title'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/es_MX/person/male_prefix.ts b/src/locales/es_MX/person/male_prefix.ts new file mode 100644 index 00000000000..b9e5cc3eee8 --- /dev/null +++ b/src/locales/es_MX/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Sr.']; diff --git a/src/locales/es_MX/person/prefix.ts b/src/locales/es_MX/person/prefix.ts index 0e7d848f1b8..cb1d846e0d6 100644 --- a/src/locales/es_MX/person/prefix.ts +++ b/src/locales/es_MX/person/prefix.ts @@ -1 +1,5 @@ -export default ['Sr.', 'Sra.', 'Sta.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/fa/person/female_prefix.ts b/src/locales/fa/person/female_prefix.ts new file mode 100644 index 00000000000..120551532ed --- /dev/null +++ b/src/locales/fa/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['خانم', 'دکتر']; diff --git a/src/locales/fa/person/index.ts b/src/locales/fa/person/index.ts index 7a045ad777c..8dd6f4d6c14 100644 --- a/src/locales/fa/person/index.ts +++ b/src/locales/fa/person/index.ts @@ -4,18 +4,22 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import title from './title'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, title, diff --git a/src/locales/fa/person/male_prefix.ts b/src/locales/fa/person/male_prefix.ts new file mode 100644 index 00000000000..6db2d6d175c --- /dev/null +++ b/src/locales/fa/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['آقای', 'دکتر']; diff --git a/src/locales/fa/person/prefix.ts b/src/locales/fa/person/prefix.ts index 23481c79e17..cb1d846e0d6 100644 --- a/src/locales/fa/person/prefix.ts +++ b/src/locales/fa/person/prefix.ts @@ -1 +1,5 @@ -export default ['آقای', 'خانم', 'دکتر']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/fr/person/female_prefix.ts b/src/locales/fr/person/female_prefix.ts new file mode 100644 index 00000000000..b4084ae4816 --- /dev/null +++ b/src/locales/fr/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Mme', 'Mlle', 'Dr', 'Prof']; diff --git a/src/locales/fr/person/index.ts b/src/locales/fr/person/index.ts index 507240d7c3e..ef31c9cae13 100644 --- a/src/locales/fr/person/index.ts +++ b/src/locales/fr/person/index.ts @@ -4,9 +4,11 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import sex from './sex'; @@ -14,9 +16,11 @@ import title from './title'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, sex, diff --git a/src/locales/fr/person/male_prefix.ts b/src/locales/fr/person/male_prefix.ts new file mode 100644 index 00000000000..8a217d89622 --- /dev/null +++ b/src/locales/fr/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['M', 'Dr', 'Prof']; diff --git a/src/locales/fr/person/prefix.ts b/src/locales/fr/person/prefix.ts index 9418fa41e53..cb1d846e0d6 100644 --- a/src/locales/fr/person/prefix.ts +++ b/src/locales/fr/person/prefix.ts @@ -1 +1,5 @@ -export default ['M', 'Mme', 'Mlle', 'Dr', 'Prof']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/fr_BE/person/female_prefix.ts b/src/locales/fr_BE/person/female_prefix.ts new file mode 100644 index 00000000000..b4084ae4816 --- /dev/null +++ b/src/locales/fr_BE/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Mme', 'Mlle', 'Dr', 'Prof']; diff --git a/src/locales/fr_BE/person/index.ts b/src/locales/fr_BE/person/index.ts index 1bfa6faae98..edcb3423663 100644 --- a/src/locales/fr_BE/person/index.ts +++ b/src/locales/fr_BE/person/index.ts @@ -4,10 +4,12 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import gender from './gender'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; @@ -15,10 +17,12 @@ import title from './title'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, gender, last_name, male_first_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/fr_BE/person/male_prefix.ts b/src/locales/fr_BE/person/male_prefix.ts new file mode 100644 index 00000000000..8a217d89622 --- /dev/null +++ b/src/locales/fr_BE/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['M', 'Dr', 'Prof']; diff --git a/src/locales/fr_BE/person/prefix.ts b/src/locales/fr_BE/person/prefix.ts index 87573ab94f2..cb1d846e0d6 100644 --- a/src/locales/fr_BE/person/prefix.ts +++ b/src/locales/fr_BE/person/prefix.ts @@ -1 +1,5 @@ -export default ['Mr.', 'Dr.', 'Prof.', 'P.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/fr_CH/person/female_prefix.ts b/src/locales/fr_CH/person/female_prefix.ts new file mode 100644 index 00000000000..b4084ae4816 --- /dev/null +++ b/src/locales/fr_CH/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Mme', 'Mlle', 'Dr', 'Prof']; diff --git a/src/locales/fr_CH/person/index.ts b/src/locales/fr_CH/person/index.ts index 507240d7c3e..ef31c9cae13 100644 --- a/src/locales/fr_CH/person/index.ts +++ b/src/locales/fr_CH/person/index.ts @@ -4,9 +4,11 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import sex from './sex'; @@ -14,9 +16,11 @@ import title from './title'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, sex, diff --git a/src/locales/fr_CH/person/male_prefix.ts b/src/locales/fr_CH/person/male_prefix.ts new file mode 100644 index 00000000000..8a217d89622 --- /dev/null +++ b/src/locales/fr_CH/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['M', 'Dr', 'Prof']; diff --git a/src/locales/fr_CH/person/prefix.ts b/src/locales/fr_CH/person/prefix.ts index 9418fa41e53..cb1d846e0d6 100644 --- a/src/locales/fr_CH/person/prefix.ts +++ b/src/locales/fr_CH/person/prefix.ts @@ -1 +1,5 @@ -export default ['M', 'Mme', 'Mlle', 'Dr', 'Prof']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/ge/person/female_prefix.ts b/src/locales/ge/person/female_prefix.ts new file mode 100644 index 00000000000..512cc520837 --- /dev/null +++ b/src/locales/ge/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['ქ-ნი', 'ქალბატონი']; diff --git a/src/locales/ge/person/index.ts b/src/locales/ge/person/index.ts index 55a45eb2707..9cc20d089b8 100644 --- a/src/locales/ge/person/index.ts +++ b/src/locales/ge/person/index.ts @@ -3,15 +3,19 @@ * Run 'pnpm run generate:locales' to update. */ import type { PersonDefinitions } from '../../..'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import title from './title'; const person: PersonDefinitions = { + female_prefix, first_name, last_name, + male_prefix, name: name_, prefix, title, diff --git a/src/locales/ge/person/male_prefix.ts b/src/locales/ge/person/male_prefix.ts new file mode 100644 index 00000000000..9343ba0d865 --- /dev/null +++ b/src/locales/ge/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['ბ-ნი', 'ბატონი']; diff --git a/src/locales/ge/person/prefix.ts b/src/locales/ge/person/prefix.ts index d180b6b7be4..cb1d846e0d6 100644 --- a/src/locales/ge/person/prefix.ts +++ b/src/locales/ge/person/prefix.ts @@ -1 +1,5 @@ -export default ['ბ-ნი', 'ბატონი', 'ქ-ნი', 'ქალბატონი']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/he/person/female_prefix.ts b/src/locales/he/person/female_prefix.ts new file mode 100644 index 00000000000..7d31401b1c6 --- /dev/null +++ b/src/locales/he/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['גברת', 'עו"ד', "'פרופ", 'ד"ר']; diff --git a/src/locales/he/person/index.ts b/src/locales/he/person/index.ts index 7a045ad777c..8dd6f4d6c14 100644 --- a/src/locales/he/person/index.ts +++ b/src/locales/he/person/index.ts @@ -4,18 +4,22 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import title from './title'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, title, diff --git a/src/locales/he/person/male_prefix.ts b/src/locales/he/person/male_prefix.ts new file mode 100644 index 00000000000..6deccc7cf5b --- /dev/null +++ b/src/locales/he/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['מר', 'עו"ד', "'פרופ", 'ד"ר']; diff --git a/src/locales/he/person/prefix.ts b/src/locales/he/person/prefix.ts index 9be0e75010f..cb1d846e0d6 100644 --- a/src/locales/he/person/prefix.ts +++ b/src/locales/he/person/prefix.ts @@ -1 +1,5 @@ -export default ['מר', 'גברת', 'עו"ד', "'פרופ", 'ד"ר']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/hr/person/female_prefix.ts b/src/locales/hr/person/female_prefix.ts new file mode 100644 index 00000000000..a469dd1dd6a --- /dev/null +++ b/src/locales/hr/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['gđa.', 'gđa', 'dr.']; diff --git a/src/locales/hr/person/index.ts b/src/locales/hr/person/index.ts index 581c3d68a0d..45178928aae 100644 --- a/src/locales/hr/person/index.ts +++ b/src/locales/hr/person/index.ts @@ -4,9 +4,11 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; @@ -14,9 +16,11 @@ import title from './title'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/hr/person/male_prefix.ts b/src/locales/hr/person/male_prefix.ts new file mode 100644 index 00000000000..276a5ab6160 --- /dev/null +++ b/src/locales/hr/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['g.', 'dr.']; diff --git a/src/locales/hr/person/prefix.ts b/src/locales/hr/person/prefix.ts index ce182e8beaa..cb1d846e0d6 100644 --- a/src/locales/hr/person/prefix.ts +++ b/src/locales/hr/person/prefix.ts @@ -1 +1,5 @@ -export default ['g.', 'gđa.', 'gđa', 'dr.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/hu/person/female_prefix.ts b/src/locales/hu/person/female_prefix.ts new file mode 100644 index 00000000000..f6b457bfbdc --- /dev/null +++ b/src/locales/hu/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Dr.', 'Prof.']; diff --git a/src/locales/hu/person/index.ts b/src/locales/hu/person/index.ts index 2ba33f8c482..aa067bc01ab 100644 --- a/src/locales/hu/person/index.ts +++ b/src/locales/hu/person/index.ts @@ -4,17 +4,21 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, }; diff --git a/src/locales/hu/person/male_prefix.ts b/src/locales/hu/person/male_prefix.ts new file mode 100644 index 00000000000..f6b457bfbdc --- /dev/null +++ b/src/locales/hu/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Dr.', 'Prof.']; diff --git a/src/locales/hu/person/prefix.ts b/src/locales/hu/person/prefix.ts index f6b457bfbdc..cb1d846e0d6 100644 --- a/src/locales/hu/person/prefix.ts +++ b/src/locales/hu/person/prefix.ts @@ -1 +1,5 @@ -export default ['Dr.', 'Prof.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/id_ID/person/female_prefix.ts b/src/locales/id_ID/person/female_prefix.ts new file mode 100644 index 00000000000..d6d1738de67 --- /dev/null +++ b/src/locales/id_ID/person/female_prefix.ts @@ -0,0 +1 @@ +export default []; diff --git a/src/locales/id_ID/person/index.ts b/src/locales/id_ID/person/index.ts index dd110277103..0727a0d60c0 100644 --- a/src/locales/id_ID/person/index.ts +++ b/src/locales/id_ID/person/index.ts @@ -5,10 +5,12 @@ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; +import female_prefix from './female_prefix'; import female_title from './female_title'; import first_name from './first_name'; import male_first_name from './male_first_name'; import male_last_name from './male_last_name'; +import male_prefix from './male_prefix'; import male_title from './male_title'; import name_ from './name'; import prefix from './prefix'; @@ -17,10 +19,12 @@ import suffix from './suffix'; const person: PersonDefinitions = { female_first_name, female_last_name, + female_prefix, female_title, first_name, male_first_name, male_last_name, + male_prefix, male_title, name: name_, prefix, diff --git a/src/locales/id_ID/person/male_prefix.ts b/src/locales/id_ID/person/male_prefix.ts new file mode 100644 index 00000000000..d6d1738de67 --- /dev/null +++ b/src/locales/id_ID/person/male_prefix.ts @@ -0,0 +1 @@ +export default []; diff --git a/src/locales/id_ID/person/prefix.ts b/src/locales/id_ID/person/prefix.ts index d6d1738de67..cb1d846e0d6 100644 --- a/src/locales/id_ID/person/prefix.ts +++ b/src/locales/id_ID/person/prefix.ts @@ -1 +1,5 @@ -export default []; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/it/person/female_prefix.ts b/src/locales/it/person/female_prefix.ts new file mode 100644 index 00000000000..dd49461b8f2 --- /dev/null +++ b/src/locales/it/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Sig.', 'Dott.', 'Dr.', 'Ing.']; diff --git a/src/locales/it/person/index.ts b/src/locales/it/person/index.ts index 55193f15df2..eb000343bc3 100644 --- a/src/locales/it/person/index.ts +++ b/src/locales/it/person/index.ts @@ -4,18 +4,22 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/it/person/male_prefix.ts b/src/locales/it/person/male_prefix.ts new file mode 100644 index 00000000000..dd49461b8f2 --- /dev/null +++ b/src/locales/it/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Sig.', 'Dott.', 'Dr.', 'Ing.']; diff --git a/src/locales/it/person/prefix.ts b/src/locales/it/person/prefix.ts index dd49461b8f2..cb1d846e0d6 100644 --- a/src/locales/it/person/prefix.ts +++ b/src/locales/it/person/prefix.ts @@ -1 +1,5 @@ -export default ['Sig.', 'Dott.', 'Dr.', 'Ing.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/lv/person/female_prefix.ts b/src/locales/lv/person/female_prefix.ts new file mode 100644 index 00000000000..9f8feac5df6 --- /dev/null +++ b/src/locales/lv/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Prof.', 'Dr.', 'Biedrs']; diff --git a/src/locales/lv/person/index.ts b/src/locales/lv/person/index.ts index f1ac9682f93..42de5bcb140 100644 --- a/src/locales/lv/person/index.ts +++ b/src/locales/lv/person/index.ts @@ -5,9 +5,11 @@ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import male_first_name from './male_first_name'; import male_last_name from './male_last_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; @@ -16,9 +18,11 @@ import title from './title'; const person: PersonDefinitions = { female_first_name, female_last_name, + female_prefix, first_name, male_first_name, male_last_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/lv/person/male_prefix.ts b/src/locales/lv/person/male_prefix.ts new file mode 100644 index 00000000000..9f8feac5df6 --- /dev/null +++ b/src/locales/lv/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Prof.', 'Dr.', 'Biedrs']; diff --git a/src/locales/lv/person/prefix.ts b/src/locales/lv/person/prefix.ts index 9f8feac5df6..cb1d846e0d6 100644 --- a/src/locales/lv/person/prefix.ts +++ b/src/locales/lv/person/prefix.ts @@ -1 +1,5 @@ -export default ['Prof.', 'Dr.', 'Biedrs']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/mk/person/prefix.ts b/src/locales/mk/person/prefix.ts index 7f2454a63ab..cb1d846e0d6 100644 --- a/src/locales/mk/person/prefix.ts +++ b/src/locales/mk/person/prefix.ts @@ -1 +1,5 @@ -export default ['{{person.female_prefix}}', '{{person.male_prefix}}']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/nb_NO/person/female_prefix.ts b/src/locales/nb_NO/person/female_prefix.ts new file mode 100644 index 00000000000..f6b457bfbdc --- /dev/null +++ b/src/locales/nb_NO/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Dr.', 'Prof.']; diff --git a/src/locales/nb_NO/person/index.ts b/src/locales/nb_NO/person/index.ts index 55193f15df2..eb000343bc3 100644 --- a/src/locales/nb_NO/person/index.ts +++ b/src/locales/nb_NO/person/index.ts @@ -4,18 +4,22 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/nb_NO/person/male_prefix.ts b/src/locales/nb_NO/person/male_prefix.ts new file mode 100644 index 00000000000..f6b457bfbdc --- /dev/null +++ b/src/locales/nb_NO/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Dr.', 'Prof.']; diff --git a/src/locales/nb_NO/person/prefix.ts b/src/locales/nb_NO/person/prefix.ts index f6b457bfbdc..cb1d846e0d6 100644 --- a/src/locales/nb_NO/person/prefix.ts +++ b/src/locales/nb_NO/person/prefix.ts @@ -1 +1,5 @@ -export default ['Dr.', 'Prof.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/nl/person/female_prefix.ts b/src/locales/nl/person/female_prefix.ts new file mode 100644 index 00000000000..f2a34781553 --- /dev/null +++ b/src/locales/nl/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Dhr.', 'Mevr. Dr.', 'Bsc', 'Msc', 'Prof.']; diff --git a/src/locales/nl/person/index.ts b/src/locales/nl/person/index.ts index 562b58c9ec7..c93db9e8cc9 100644 --- a/src/locales/nl/person/index.ts +++ b/src/locales/nl/person/index.ts @@ -4,9 +4,11 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; @@ -14,9 +16,11 @@ import tussenvoegsel from './tussenvoegsel'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/nl/person/male_prefix.ts b/src/locales/nl/person/male_prefix.ts new file mode 100644 index 00000000000..def6df170ea --- /dev/null +++ b/src/locales/nl/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Dhr.', 'Bsc', 'Msc', 'Prof.']; diff --git a/src/locales/nl/person/prefix.ts b/src/locales/nl/person/prefix.ts index f2a34781553..cb1d846e0d6 100644 --- a/src/locales/nl/person/prefix.ts +++ b/src/locales/nl/person/prefix.ts @@ -1 +1,5 @@ -export default ['Dhr.', 'Mevr. Dr.', 'Bsc', 'Msc', 'Prof.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/nl_BE/person/female_prefix.ts b/src/locales/nl_BE/person/female_prefix.ts new file mode 100644 index 00000000000..f421877a2d4 --- /dev/null +++ b/src/locales/nl_BE/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Dr.', 'Ir.', 'Ing.', 'Prof.']; diff --git a/src/locales/nl_BE/person/index.ts b/src/locales/nl_BE/person/index.ts index 55193f15df2..eb000343bc3 100644 --- a/src/locales/nl_BE/person/index.ts +++ b/src/locales/nl_BE/person/index.ts @@ -4,18 +4,22 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/nl_BE/person/male_prefix.ts b/src/locales/nl_BE/person/male_prefix.ts new file mode 100644 index 00000000000..f421877a2d4 --- /dev/null +++ b/src/locales/nl_BE/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Dr.', 'Ir.', 'Ing.', 'Prof.']; diff --git a/src/locales/nl_BE/person/prefix.ts b/src/locales/nl_BE/person/prefix.ts index f421877a2d4..cb1d846e0d6 100644 --- a/src/locales/nl_BE/person/prefix.ts +++ b/src/locales/nl_BE/person/prefix.ts @@ -1 +1,5 @@ -export default ['Dr.', 'Ir.', 'Ing.', 'Prof.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/pl/person/female_prefix.ts b/src/locales/pl/person/female_prefix.ts new file mode 100644 index 00000000000..5a64a3d02e1 --- /dev/null +++ b/src/locales/pl/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Pani']; diff --git a/src/locales/pl/person/index.ts b/src/locales/pl/person/index.ts index c8aa156bc95..dd43110b7c8 100644 --- a/src/locales/pl/person/index.ts +++ b/src/locales/pl/person/index.ts @@ -4,10 +4,12 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import gender from './gender'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import sex from './sex'; @@ -15,10 +17,12 @@ import title from './title'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, gender, last_name, male_first_name, + male_prefix, name: name_, prefix, sex, diff --git a/src/locales/pl/person/male_prefix.ts b/src/locales/pl/person/male_prefix.ts new file mode 100644 index 00000000000..257663c307f --- /dev/null +++ b/src/locales/pl/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Pan']; diff --git a/src/locales/pl/person/prefix.ts b/src/locales/pl/person/prefix.ts index e4a8be4aa16..cb1d846e0d6 100644 --- a/src/locales/pl/person/prefix.ts +++ b/src/locales/pl/person/prefix.ts @@ -1 +1,5 @@ -export default ['Pan', 'Pani']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/pt_BR/person/female_prefix.ts b/src/locales/pt_BR/person/female_prefix.ts new file mode 100644 index 00000000000..2e0a9de4130 --- /dev/null +++ b/src/locales/pt_BR/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Sra.', 'Srta.', 'Dra.']; diff --git a/src/locales/pt_BR/person/index.ts b/src/locales/pt_BR/person/index.ts index a68dd26747a..b5a0277d1e8 100644 --- a/src/locales/pt_BR/person/index.ts +++ b/src/locales/pt_BR/person/index.ts @@ -4,9 +4,11 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import sex from './sex'; @@ -15,9 +17,11 @@ import title from './title'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, sex, diff --git a/src/locales/pt_BR/person/male_prefix.ts b/src/locales/pt_BR/person/male_prefix.ts new file mode 100644 index 00000000000..e8a73267976 --- /dev/null +++ b/src/locales/pt_BR/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Sr.', 'Dr.']; diff --git a/src/locales/pt_BR/person/prefix.ts b/src/locales/pt_BR/person/prefix.ts index a24ade480c2..cb1d846e0d6 100644 --- a/src/locales/pt_BR/person/prefix.ts +++ b/src/locales/pt_BR/person/prefix.ts @@ -1 +1,5 @@ -export default ['Sr.', 'Sra.', 'Srta.', 'Dr.', 'Dra.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/pt_PT/person/prefix.ts b/src/locales/pt_PT/person/prefix.ts index 7f2454a63ab..cb1d846e0d6 100644 --- a/src/locales/pt_PT/person/prefix.ts +++ b/src/locales/pt_PT/person/prefix.ts @@ -1 +1,5 @@ -export default ['{{person.female_prefix}}', '{{person.male_prefix}}']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/ro/person/female_prefix.ts b/src/locales/ro/person/female_prefix.ts new file mode 100644 index 00000000000..200c7072c25 --- /dev/null +++ b/src/locales/ro/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Dna', 'Dra']; diff --git a/src/locales/ro/person/index.ts b/src/locales/ro/person/index.ts index 55193f15df2..eb000343bc3 100644 --- a/src/locales/ro/person/index.ts +++ b/src/locales/ro/person/index.ts @@ -4,18 +4,22 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/ro/person/male_prefix.ts b/src/locales/ro/person/male_prefix.ts new file mode 100644 index 00000000000..bd26c34655a --- /dev/null +++ b/src/locales/ro/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Dl', 'Dra']; diff --git a/src/locales/ro/person/prefix.ts b/src/locales/ro/person/prefix.ts index 821d18fdc69..cb1d846e0d6 100644 --- a/src/locales/ro/person/prefix.ts +++ b/src/locales/ro/person/prefix.ts @@ -1 +1,5 @@ -export default ['Dl', 'Dna', 'Dra']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/ru/person/female_prefix.ts b/src/locales/ru/person/female_prefix.ts new file mode 100644 index 00000000000..d6d1738de67 --- /dev/null +++ b/src/locales/ru/person/female_prefix.ts @@ -0,0 +1 @@ +export default []; diff --git a/src/locales/ru/person/index.ts b/src/locales/ru/person/index.ts index d14b2f9939d..b3ab4748405 100644 --- a/src/locales/ru/person/index.ts +++ b/src/locales/ru/person/index.ts @@ -6,10 +6,12 @@ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; import female_middle_name from './female_middle_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import male_first_name from './male_first_name'; import male_last_name from './male_last_name'; import male_middle_name from './male_middle_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; @@ -19,10 +21,12 @@ const person: PersonDefinitions = { female_first_name, female_last_name, female_middle_name, + female_prefix, first_name, male_first_name, male_last_name, male_middle_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/ru/person/male_prefix.ts b/src/locales/ru/person/male_prefix.ts new file mode 100644 index 00000000000..d6d1738de67 --- /dev/null +++ b/src/locales/ru/person/male_prefix.ts @@ -0,0 +1 @@ +export default []; diff --git a/src/locales/ru/person/prefix.ts b/src/locales/ru/person/prefix.ts index d6d1738de67..cb1d846e0d6 100644 --- a/src/locales/ru/person/prefix.ts +++ b/src/locales/ru/person/prefix.ts @@ -1 +1,5 @@ -export default []; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/sk/person/female_prefix.ts b/src/locales/sk/person/female_prefix.ts new file mode 100644 index 00000000000..f499187e2c3 --- /dev/null +++ b/src/locales/sk/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Ing.', 'Mgr.', 'JUDr.', 'MUDr.']; diff --git a/src/locales/sk/person/index.ts b/src/locales/sk/person/index.ts index f1ac9682f93..42de5bcb140 100644 --- a/src/locales/sk/person/index.ts +++ b/src/locales/sk/person/index.ts @@ -5,9 +5,11 @@ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import male_first_name from './male_first_name'; import male_last_name from './male_last_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; @@ -16,9 +18,11 @@ import title from './title'; const person: PersonDefinitions = { female_first_name, female_last_name, + female_prefix, first_name, male_first_name, male_last_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/sk/person/male_prefix.ts b/src/locales/sk/person/male_prefix.ts new file mode 100644 index 00000000000..f499187e2c3 --- /dev/null +++ b/src/locales/sk/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Ing.', 'Mgr.', 'JUDr.', 'MUDr.']; diff --git a/src/locales/sk/person/prefix.ts b/src/locales/sk/person/prefix.ts index f499187e2c3..cb1d846e0d6 100644 --- a/src/locales/sk/person/prefix.ts +++ b/src/locales/sk/person/prefix.ts @@ -1 +1,5 @@ -export default ['Ing.', 'Mgr.', 'JUDr.', 'MUDr.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/sv/person/female_prefix.ts b/src/locales/sv/person/female_prefix.ts new file mode 100644 index 00000000000..d18bd45786c --- /dev/null +++ b/src/locales/sv/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Dr.', 'Prof.', 'PhD.']; diff --git a/src/locales/sv/person/index.ts b/src/locales/sv/person/index.ts index 7a045ad777c..8dd6f4d6c14 100644 --- a/src/locales/sv/person/index.ts +++ b/src/locales/sv/person/index.ts @@ -4,18 +4,22 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import title from './title'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, title, diff --git a/src/locales/sv/person/male_prefix.ts b/src/locales/sv/person/male_prefix.ts new file mode 100644 index 00000000000..d18bd45786c --- /dev/null +++ b/src/locales/sv/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Dr.', 'Prof.', 'PhD.']; diff --git a/src/locales/sv/person/prefix.ts b/src/locales/sv/person/prefix.ts index d18bd45786c..cb1d846e0d6 100644 --- a/src/locales/sv/person/prefix.ts +++ b/src/locales/sv/person/prefix.ts @@ -1 +1,5 @@ -export default ['Dr.', 'Prof.', 'PhD.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/tr/person/female_prefix.ts b/src/locales/tr/person/female_prefix.ts new file mode 100644 index 00000000000..526e08f0eca --- /dev/null +++ b/src/locales/tr/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Bayan', 'Dr.', 'Prof. Dr.']; diff --git a/src/locales/tr/person/index.ts b/src/locales/tr/person/index.ts index 2ba33f8c482..aa067bc01ab 100644 --- a/src/locales/tr/person/index.ts +++ b/src/locales/tr/person/index.ts @@ -4,17 +4,21 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, }; diff --git a/src/locales/tr/person/male_prefix.ts b/src/locales/tr/person/male_prefix.ts new file mode 100644 index 00000000000..6fc84287fb2 --- /dev/null +++ b/src/locales/tr/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Bay', 'Dr.', 'Prof. Dr.']; diff --git a/src/locales/tr/person/prefix.ts b/src/locales/tr/person/prefix.ts index 4679299636c..cb1d846e0d6 100644 --- a/src/locales/tr/person/prefix.ts +++ b/src/locales/tr/person/prefix.ts @@ -1 +1,5 @@ -export default ['Bay', 'Bayan', 'Dr.', 'Prof. Dr.']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/uk/person/female_prefix.ts b/src/locales/uk/person/female_prefix.ts new file mode 100644 index 00000000000..96dfe34807b --- /dev/null +++ b/src/locales/uk/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Пані']; diff --git a/src/locales/uk/person/index.ts b/src/locales/uk/person/index.ts index d14b2f9939d..b3ab4748405 100644 --- a/src/locales/uk/person/index.ts +++ b/src/locales/uk/person/index.ts @@ -6,10 +6,12 @@ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; import female_middle_name from './female_middle_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import male_first_name from './male_first_name'; import male_last_name from './male_last_name'; import male_middle_name from './male_middle_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; @@ -19,10 +21,12 @@ const person: PersonDefinitions = { female_first_name, female_last_name, female_middle_name, + female_prefix, first_name, male_first_name, male_last_name, male_middle_name, + male_prefix, name: name_, prefix, suffix, diff --git a/src/locales/uk/person/male_prefix.ts b/src/locales/uk/person/male_prefix.ts new file mode 100644 index 00000000000..d10ea075aa3 --- /dev/null +++ b/src/locales/uk/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Пан']; diff --git a/src/locales/uk/person/prefix.ts b/src/locales/uk/person/prefix.ts index 22dcdb8cbbe..cb1d846e0d6 100644 --- a/src/locales/uk/person/prefix.ts +++ b/src/locales/uk/person/prefix.ts @@ -1 +1,5 @@ -export default ['Пан', 'Пані']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/ur/person/female_prefix.ts b/src/locales/ur/person/female_prefix.ts new file mode 100644 index 00000000000..baca2da79b7 --- /dev/null +++ b/src/locales/ur/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['محترمہ.', 'ڈاکٹر']; diff --git a/src/locales/ur/person/index.ts b/src/locales/ur/person/index.ts index a68dd26747a..b5a0277d1e8 100644 --- a/src/locales/ur/person/index.ts +++ b/src/locales/ur/person/index.ts @@ -4,9 +4,11 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; import prefix from './prefix'; import sex from './sex'; @@ -15,9 +17,11 @@ import title from './title'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, prefix, sex, diff --git a/src/locales/ur/person/male_prefix.ts b/src/locales/ur/person/male_prefix.ts new file mode 100644 index 00000000000..dcbb0ba2712 --- /dev/null +++ b/src/locales/ur/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['محترم.', 'ڈاکٹر']; diff --git a/src/locales/ur/person/prefix.ts b/src/locales/ur/person/prefix.ts index 87a129c2d07..cb1d846e0d6 100644 --- a/src/locales/ur/person/prefix.ts +++ b/src/locales/ur/person/prefix.ts @@ -1 +1,5 @@ -export default ['محترم.', 'محترمہ.', 'ڈاکٹر']; +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/zh_CN/person/female_prefix.ts b/src/locales/zh_CN/person/female_prefix.ts new file mode 100644 index 00000000000..d6d1738de67 --- /dev/null +++ b/src/locales/zh_CN/person/female_prefix.ts @@ -0,0 +1 @@ +export default []; diff --git a/src/locales/zh_CN/person/index.ts b/src/locales/zh_CN/person/index.ts index b0887ae5b87..aa067bc01ab 100644 --- a/src/locales/zh_CN/person/index.ts +++ b/src/locales/zh_CN/person/index.ts @@ -4,17 +4,23 @@ */ import type { PersonDefinitions } from '../../..'; import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; import name_ from './name'; +import prefix from './prefix'; const person: PersonDefinitions = { female_first_name, + female_prefix, first_name, last_name, male_first_name, + male_prefix, name: name_, + prefix, }; export default person; diff --git a/src/locales/zh_CN/person/male_prefix.ts b/src/locales/zh_CN/person/male_prefix.ts new file mode 100644 index 00000000000..d6d1738de67 --- /dev/null +++ b/src/locales/zh_CN/person/male_prefix.ts @@ -0,0 +1 @@ +export default []; diff --git a/src/locales/zh_CN/person/prefix.ts b/src/locales/zh_CN/person/prefix.ts new file mode 100644 index 00000000000..cb1d846e0d6 --- /dev/null +++ b/src/locales/zh_CN/person/prefix.ts @@ -0,0 +1,5 @@ +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/zh_TW/person/female_prefix.ts b/src/locales/zh_TW/person/female_prefix.ts new file mode 100644 index 00000000000..d6d1738de67 --- /dev/null +++ b/src/locales/zh_TW/person/female_prefix.ts @@ -0,0 +1 @@ +export default []; diff --git a/src/locales/zh_TW/person/index.ts b/src/locales/zh_TW/person/index.ts index aa1a48571f3..7b03f9f1347 100644 --- a/src/locales/zh_TW/person/index.ts +++ b/src/locales/zh_TW/person/index.ts @@ -3,14 +3,20 @@ * Run 'pnpm run generate:locales' to update. */ import type { PersonDefinitions } from '../../..'; +import female_prefix from './female_prefix'; import first_name from './first_name'; import last_name from './last_name'; +import male_prefix from './male_prefix'; import name_ from './name'; +import prefix from './prefix'; const person: PersonDefinitions = { + female_prefix, first_name, last_name, + male_prefix, name: name_, + prefix, }; export default person; diff --git a/src/locales/zh_TW/person/male_prefix.ts b/src/locales/zh_TW/person/male_prefix.ts new file mode 100644 index 00000000000..d6d1738de67 --- /dev/null +++ b/src/locales/zh_TW/person/male_prefix.ts @@ -0,0 +1 @@ +export default []; diff --git a/src/locales/zh_TW/person/prefix.ts b/src/locales/zh_TW/person/prefix.ts new file mode 100644 index 00000000000..cb1d846e0d6 --- /dev/null +++ b/src/locales/zh_TW/person/prefix.ts @@ -0,0 +1,5 @@ +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/test/__snapshots__/person.spec.ts.snap b/test/__snapshots__/person.spec.ts.snap index 593d9978f6e..cac08c1ad47 100644 --- a/test/__snapshots__/person.spec.ts.snap +++ b/test/__snapshots__/person.spec.ts.snap @@ -34,9 +34,9 @@ exports[`person > 42 > middleName > noArgs 1`] = `"Greer"`; exports[`person > 42 > middleName > with sex 1`] = `"Houston"`; -exports[`person > 42 > prefix > noArgs 1`] = `"Mrs."`; +exports[`person > 42 > prefix > noArgs 1`] = `"Miss"`; -exports[`person > 42 > prefix > with sex 1`] = `"Mrs."`; +exports[`person > 42 > prefix > with sex 1`] = `"Mr."`; exports[`person > 42 > sex > noArgs 1`] = `"female"`; @@ -84,7 +84,7 @@ exports[`person > 1211 > middleName > noArgs 1`] = `"Sawyer"`; exports[`person > 1211 > middleName > with sex 1`] = `"Walter"`; -exports[`person > 1211 > prefix > noArgs 1`] = `"Dr."`; +exports[`person > 1211 > prefix > noArgs 1`] = `"Ms."`; exports[`person > 1211 > prefix > with sex 1`] = `"Dr."`; @@ -134,9 +134,9 @@ exports[`person > 1337 > middleName > noArgs 1`] = `"Dakota"`; exports[`person > 1337 > middleName > with sex 1`] = `"Ethan"`; -exports[`person > 1337 > prefix > noArgs 1`] = `"Mrs."`; +exports[`person > 1337 > prefix > noArgs 1`] = `"Miss"`; -exports[`person > 1337 > prefix > with sex 1`] = `"Mrs."`; +exports[`person > 1337 > prefix > with sex 1`] = `"Mr."`; exports[`person > 1337 > sex > noArgs 1`] = `"female"`; diff --git a/test/all_functional.spec.ts b/test/all_functional.spec.ts index abc34d82cef..26b151443f0 100644 --- a/test/all_functional.spec.ts +++ b/test/all_functional.spec.ts @@ -31,7 +31,7 @@ const BROKEN_LOCALE_METHODS = { stateAbbr: ['cz', 'sk'], }, person: { - prefix: ['az', 'id_ID', 'ru'], + prefix: ['az', 'id_ID', 'ru', 'zh_CN', 'zh_TW'], suffix: ['az', 'it', 'mk', 'pt_PT', 'ru'], }, };