From 1d4b4b8e8e6df5a7feb949ee6f5ed0b07d32d6ad Mon Sep 17 00:00:00 2001 From: Ashar Nadeem Date: Sat, 18 Mar 2023 15:33:30 -0400 Subject: chore(locate): added dedicated swiss street names (#1946) --- src/locales/de_CH/location/index.ts | 2 ++ src/locales/de_CH/location/street.ts | 5 +---- src/locales/de_CH/location/street_name.ts | 33 +++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 src/locales/de_CH/location/street_name.ts diff --git a/src/locales/de_CH/location/index.ts b/src/locales/de_CH/location/index.ts index 6b6259fc..02cfc8da 100644 --- a/src/locales/de_CH/location/index.ts +++ b/src/locales/de_CH/location/index.ts @@ -11,6 +11,7 @@ import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; import street from './street'; +import street_name from './street_name'; const location: LocationDefinitions = { city, @@ -21,6 +22,7 @@ const location: LocationDefinitions = { state, state_abbr, street, + street_name, }; export default location; diff --git a/src/locales/de_CH/location/street.ts b/src/locales/de_CH/location/street.ts index af32d0c4..30a9a5dd 100644 --- a/src/locales/de_CH/location/street.ts +++ b/src/locales/de_CH/location/street.ts @@ -1,4 +1 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; +export default ['{{location.street_name}}']; diff --git a/src/locales/de_CH/location/street_name.ts b/src/locales/de_CH/location/street_name.ts new file mode 100644 index 00000000..b8560fd6 --- /dev/null +++ b/src/locales/de_CH/location/street_name.ts @@ -0,0 +1,33 @@ +export default [ + 'Amthausstrasse', + 'Augustinergasse', + 'Bahnhofstrasse', + 'Birkenweg', + 'Bierkellerweg', + 'Columbusstrasse', + 'Dorfstrasse', + 'Elefantenbach', + 'Endingerstrasse', + 'Glockengasse', + 'Hauptstrasse', + 'Hirschengraben', + 'Honiggasse', + 'Industriestrasse', + 'Katzenplatz', + 'Kirchweg', + 'Knoblauchweg', + 'Lindenhofweg', + 'Melonenstrasse', + 'Oberdorfstrasse', + 'Ödhus', + 'Ogimatte', + 'Rämistrasse', + 'Rennweg', + 'Rosenweg', + 'Schulhausstrasse', + 'Schulstrasse', + 'Sihlfeldstrasse', + 'Trittligasse', + 'Uraniastrasse', + 'Vorstadt', +]; -- cgit v1.2.3