From f730125ffb941fe936d6a18c775cbe3a99b312dc Mon Sep 17 00:00:00 2001 From: makhtar-sarr Date: Sat, 11 Nov 2023 07:12:53 +0000 Subject: [PATCH] feat(locale): and location to fr_SN (#2533) --- src/locales/fr_SN/index.ts | 2 + src/locales/fr_SN/location/building_number.ts | 1 + src/locales/fr_SN/location/city_name.ts | 53 +++++++++++++++++++ src/locales/fr_SN/location/city_pattern.ts | 1 + src/locales/fr_SN/location/default_country.ts | 1 + src/locales/fr_SN/location/index.ts | 22 ++++++++ src/locales/fr_SN/location/postcode.ts | 1 + src/locales/fr_SN/location/state.ts | 16 ++++++ 8 files changed, 97 insertions(+) create mode 100644 src/locales/fr_SN/location/building_number.ts create mode 100644 src/locales/fr_SN/location/city_name.ts create mode 100644 src/locales/fr_SN/location/city_pattern.ts create mode 100644 src/locales/fr_SN/location/default_country.ts create mode 100644 src/locales/fr_SN/location/index.ts create mode 100644 src/locales/fr_SN/location/postcode.ts create mode 100644 src/locales/fr_SN/location/state.ts diff --git a/src/locales/fr_SN/index.ts b/src/locales/fr_SN/index.ts index 027ca3f3054..5a35c753b4f 100644 --- a/src/locales/fr_SN/index.ts +++ b/src/locales/fr_SN/index.ts @@ -4,10 +4,12 @@ */ import type { LocaleDefinition } from '../..'; import internet from './internet'; +import location from './location'; import metadata from './metadata'; const fr_SN: LocaleDefinition = { internet, + location, metadata, }; diff --git a/src/locales/fr_SN/location/building_number.ts b/src/locales/fr_SN/location/building_number.ts new file mode 100644 index 00000000000..b875f685863 --- /dev/null +++ b/src/locales/fr_SN/location/building_number.ts @@ -0,0 +1 @@ +export default ['####', '###', '##', '#']; diff --git a/src/locales/fr_SN/location/city_name.ts b/src/locales/fr_SN/location/city_name.ts new file mode 100644 index 00000000000..8e7b51ca8ee --- /dev/null +++ b/src/locales/fr_SN/location/city_name.ts @@ -0,0 +1,53 @@ +export default [ + 'Bakel', + 'Bambey', + 'Bargny', + 'Bignona', + 'Dagana', + 'Dahra', + 'Dakar', + 'Diourbel', + 'Fatick', + 'Gandiaye', + 'Gossas', + 'Goudomp', + 'Guinguinéo', + 'Guédiawaye', + 'Joal-Fadiouth', + 'Kaffrine', + 'Kanel', + 'Kaolack', + 'Kayar', + 'Khombole', + 'Kolda', + 'Koungheul', + 'Kébémer', + 'Kédougou', + 'Linguère', + 'Louga', + 'Matam', + 'Mbacké', + 'Mboro', + 'Mbour', + 'NDofan', + 'Ndioum', + 'Ngaaÿ Meckhe', + 'Nguékhokh', + 'Nioro du Rip', + 'Ourossogui', + 'Pikine', + 'Pout', + 'Richard-Toll', + 'Rufisque', + 'Saint-Louis', + 'Sokone', + 'Sébikhotane', + 'Sédhiou', + 'Tambacounda', + 'Thiadiaye', + 'Thiès', + 'Tivaouane', + 'Touba', + 'Vélingara', + 'Ziguinchor', +]; diff --git a/src/locales/fr_SN/location/city_pattern.ts b/src/locales/fr_SN/location/city_pattern.ts new file mode 100644 index 00000000000..ad43b68fc5c --- /dev/null +++ b/src/locales/fr_SN/location/city_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.city_name}}']; diff --git a/src/locales/fr_SN/location/default_country.ts b/src/locales/fr_SN/location/default_country.ts new file mode 100644 index 00000000000..dd6221e0c48 --- /dev/null +++ b/src/locales/fr_SN/location/default_country.ts @@ -0,0 +1 @@ +export default ['Sénégal']; diff --git a/src/locales/fr_SN/location/index.ts b/src/locales/fr_SN/location/index.ts new file mode 100644 index 00000000000..f46a91ce126 --- /dev/null +++ b/src/locales/fr_SN/location/index.ts @@ -0,0 +1,22 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LocationDefinition } from '../../..'; +import building_number from './building_number'; +import city_name from './city_name'; +import city_pattern from './city_pattern'; +import default_country from './default_country'; +import postcode from './postcode'; +import state from './state'; + +const location: LocationDefinition = { + building_number, + city_name, + city_pattern, + default_country, + postcode, + state, +}; + +export default location; diff --git a/src/locales/fr_SN/location/postcode.ts b/src/locales/fr_SN/location/postcode.ts new file mode 100644 index 00000000000..db2bcfedae5 --- /dev/null +++ b/src/locales/fr_SN/location/postcode.ts @@ -0,0 +1 @@ +export default ['#####']; diff --git a/src/locales/fr_SN/location/state.ts b/src/locales/fr_SN/location/state.ts new file mode 100644 index 00000000000..da6aa87a848 --- /dev/null +++ b/src/locales/fr_SN/location/state.ts @@ -0,0 +1,16 @@ +export default [ + 'Dakar', + 'Diourbel', + 'Fatick', + 'Kaffrine', + 'Kaolack', + 'Kolda', + 'Kédougou', + 'Louga', + 'Matam', + 'Saint-Louis', + 'Sédhiou', + 'Tambacounda', + 'Thiès', + 'Ziguinchor', +];