Skip to content

Commit 1da6785

Browse files
authored
feat(location): fi addresses (#2146)
1 parent fd8cfe5 commit 1da6785

9 files changed

+63
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['###', '##', '#'];

src/locales/fi/location/city_name.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
export default [
2+
'Espoo',
3+
'Helsinki',
4+
'Hyvinkää',
5+
'Iisalmi',
6+
'Joensuu',
7+
'Jyväskylä',
8+
'Kokkola',
9+
'Kuopio',
10+
'Lahti',
11+
'Oulu',
12+
'Pori',
13+
'Porvoo',
14+
'Raisio',
15+
'Rovaniemi',
16+
'Sastamala',
17+
'Tampere',
18+
'Turku',
19+
'Vaasa',
20+
'Valkeakoski',
21+
'Vantaa',
22+
];
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['{{location.city_name}}'];

src/locales/fi/location/index.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,26 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { LocationDefinition } from '../../..';
6+
import building_number from './building_number';
7+
import city_name from './city_name';
8+
import city_pattern from './city_pattern';
9+
import postcode from './postcode';
10+
import secondary_address from './secondary_address';
611
import state from './state';
12+
import street_address from './street_address';
13+
import street_pattern from './street_pattern';
14+
import street_suffix from './street_suffix';
715

816
const location: LocationDefinition = {
17+
building_number,
18+
city_name,
19+
city_pattern,
20+
postcode,
21+
secondary_address,
922
state,
23+
street_address,
24+
street_pattern,
25+
street_suffix,
1026
};
1127

1228
export default location;

src/locales/fi/location/postcode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['#####'];
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['A', 'B', 'C', 'A #', 'A ##', 'B #', 'B ##', 'C #', 'C ##'];
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export default {
2+
normal: '{{location.street}} {{location.buildingNumber}}',
3+
full: '{{location.street}} {{location.buildingNumber}} {{location.secondaryAddress}}',
4+
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export default [
2+
'{{person.first_name}}{{location.street_suffix}}',
3+
'{{person.last_name}}{{location.street_suffix}}',
4+
];
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
export default [
2+
'katu',
3+
'tie',
4+
'kuja',
5+
'polku',
6+
'kaari',
7+
'linja',
8+
'raitti',
9+
'rinne',
10+
'penger',
11+
'ranta',
12+
'väylä',
13+
];

0 commit comments

Comments
 (0)