aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAshar Nadeem <[email protected]>2023-03-18 15:33:30 -0400
committerGitHub <[email protected]>2023-03-18 20:33:30 +0100
commit1d4b4b8e8e6df5a7feb949ee6f5ed0b07d32d6ad (patch)
tree57baf7c0920eb9d48320ac99e882a33de8f9251b /src
parentf6c8ca36b4e288697ae87a8bbdd027cd34947875 (diff)
downloadfaker-1d4b4b8e8e6df5a7feb949ee6f5ed0b07d32d6ad.tar.xz
faker-1d4b4b8e8e6df5a7feb949ee6f5ed0b07d32d6ad.zip
chore(locate): added dedicated swiss street names (#1946)
Diffstat (limited to 'src')
-rw-r--r--src/locales/de_CH/location/index.ts2
-rw-r--r--src/locales/de_CH/location/street.ts5
-rw-r--r--src/locales/de_CH/location/street_name.ts33
3 files changed, 36 insertions, 4 deletions
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',
+];