diff options
| author | Matt Mayer <[email protected]> | 2023-06-17 18:02:53 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-17 11:02:53 +0000 |
| commit | 1da6785af373566ce6399e93ea0aca465e19e898 (patch) | |
| tree | 81088325abbe4c55babf686d2512feb4ca46486a /src/locales/fi | |
| parent | fd8cfe53fd59b89f91a07327711faafdd821999e (diff) | |
| download | faker-1da6785af373566ce6399e93ea0aca465e19e898.tar.xz faker-1da6785af373566ce6399e93ea0aca465e19e898.zip | |
feat(location): fi addresses (#2146)
Diffstat (limited to 'src/locales/fi')
| -rw-r--r-- | src/locales/fi/location/building_number.ts | 1 | ||||
| -rw-r--r-- | src/locales/fi/location/city_name.ts | 22 | ||||
| -rw-r--r-- | src/locales/fi/location/city_pattern.ts | 1 | ||||
| -rw-r--r-- | src/locales/fi/location/index.ts | 16 | ||||
| -rw-r--r-- | src/locales/fi/location/postcode.ts | 1 | ||||
| -rw-r--r-- | src/locales/fi/location/secondary_address.ts | 1 | ||||
| -rw-r--r-- | src/locales/fi/location/street_address.ts | 4 | ||||
| -rw-r--r-- | src/locales/fi/location/street_pattern.ts | 4 | ||||
| -rw-r--r-- | src/locales/fi/location/street_suffix.ts | 13 |
9 files changed, 63 insertions, 0 deletions
diff --git a/src/locales/fi/location/building_number.ts b/src/locales/fi/location/building_number.ts new file mode 100644 index 00000000..20cefab6 --- /dev/null +++ b/src/locales/fi/location/building_number.ts @@ -0,0 +1 @@ +export default ['###', '##', '#']; diff --git a/src/locales/fi/location/city_name.ts b/src/locales/fi/location/city_name.ts new file mode 100644 index 00000000..aa45b727 --- /dev/null +++ b/src/locales/fi/location/city_name.ts @@ -0,0 +1,22 @@ +export default [ + 'Espoo', + 'Helsinki', + 'Hyvinkää', + 'Iisalmi', + 'Joensuu', + 'Jyväskylä', + 'Kokkola', + 'Kuopio', + 'Lahti', + 'Oulu', + 'Pori', + 'Porvoo', + 'Raisio', + 'Rovaniemi', + 'Sastamala', + 'Tampere', + 'Turku', + 'Vaasa', + 'Valkeakoski', + 'Vantaa', +]; diff --git a/src/locales/fi/location/city_pattern.ts b/src/locales/fi/location/city_pattern.ts new file mode 100644 index 00000000..ad43b68f --- /dev/null +++ b/src/locales/fi/location/city_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.city_name}}']; diff --git a/src/locales/fi/location/index.ts b/src/locales/fi/location/index.ts index ce30cbb4..6b0acaf3 100644 --- a/src/locales/fi/location/index.ts +++ b/src/locales/fi/location/index.ts @@ -3,10 +3,26 @@ * 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 postcode from './postcode'; +import secondary_address from './secondary_address'; import state from './state'; +import street_address from './street_address'; +import street_pattern from './street_pattern'; +import street_suffix from './street_suffix'; const location: LocationDefinition = { + building_number, + city_name, + city_pattern, + postcode, + secondary_address, state, + street_address, + street_pattern, + street_suffix, }; export default location; diff --git a/src/locales/fi/location/postcode.ts b/src/locales/fi/location/postcode.ts new file mode 100644 index 00000000..db2bcfed --- /dev/null +++ b/src/locales/fi/location/postcode.ts @@ -0,0 +1 @@ +export default ['#####']; diff --git a/src/locales/fi/location/secondary_address.ts b/src/locales/fi/location/secondary_address.ts new file mode 100644 index 00000000..f3a032eb --- /dev/null +++ b/src/locales/fi/location/secondary_address.ts @@ -0,0 +1 @@ +export default ['A', 'B', 'C', 'A #', 'A ##', 'B #', 'B ##', 'C #', 'C ##']; diff --git a/src/locales/fi/location/street_address.ts b/src/locales/fi/location/street_address.ts new file mode 100644 index 00000000..437f20dd --- /dev/null +++ b/src/locales/fi/location/street_address.ts @@ -0,0 +1,4 @@ +export default { + normal: '{{location.street}} {{location.buildingNumber}}', + full: '{{location.street}} {{location.buildingNumber}} {{location.secondaryAddress}}', +}; diff --git a/src/locales/fi/location/street_pattern.ts b/src/locales/fi/location/street_pattern.ts new file mode 100644 index 00000000..06ca3a5e --- /dev/null +++ b/src/locales/fi/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.first_name}}{{location.street_suffix}}', + '{{person.last_name}}{{location.street_suffix}}', +]; diff --git a/src/locales/fi/location/street_suffix.ts b/src/locales/fi/location/street_suffix.ts new file mode 100644 index 00000000..4733258b --- /dev/null +++ b/src/locales/fi/location/street_suffix.ts @@ -0,0 +1,13 @@ +export default [ + 'katu', + 'tie', + 'kuja', + 'polku', + 'kaari', + 'linja', + 'raitti', + 'rinne', + 'penger', + 'ranta', + 'väylä', +]; |
