Skip to content

Commit 8f0abd3

Browse files
author
Matt Mayer
authored
fix(locale): fix pt_PT street addresses (#1911)
1 parent bb72a66 commit 8f0abd3

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

src/locales/pt_PT/location/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import country from './country';
1212
import default_country from './default_country';
1313
import direction from './direction';
1414
import postcode from './postcode';
15+
import secondary_address from './secondary_address';
1516
import street from './street';
1617
import street_address from './street_address';
1718
import street_prefix from './street_prefix';
@@ -26,6 +27,7 @@ const location: LocationDefinitions = {
2627
default_country,
2728
direction,
2829
postcode,
30+
secondary_address,
2931
street,
3032
street_address,
3133
street_prefix,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['#Drt.', '#Esq.', '#Frt', 'R/C', 'Cv', '#A', '#B', '#C'];

src/locales/pt_PT/location/street.ts

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
export default [
22
'{{location.street_prefix}} {{person.first_name}} {{person.last_name}}',
3-
'N#',
4-
'N##',
5-
'N###',
6-
'N###-#',
73
];
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export default {
22
normal: '{{location.street}} {{location.buildingNumber}}',
3-
full: '{{location.street}} {{location.buildingNumber}} {{location.secondaryAddress}}',
3+
full: '{{location.street}} {{location.buildingNumber}}-{{location.secondaryAddress}}',
44
};

0 commit comments

Comments
 (0)