Skip to content

Commit

Permalink
fix(locale): fix pt_PT street addresses (#1911)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Mayer committed Mar 11, 2023
1 parent bb72a66 commit 8f0abd3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/locales/pt_PT/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import country from './country';
import default_country from './default_country';
import direction from './direction';
import postcode from './postcode';
import secondary_address from './secondary_address';
import street from './street';
import street_address from './street_address';
import street_prefix from './street_prefix';
Expand All @@ -26,6 +27,7 @@ const location: LocationDefinitions = {
default_country,
direction,
postcode,
secondary_address,
street,
street_address,
street_prefix,
Expand Down
1 change: 1 addition & 0 deletions src/locales/pt_PT/location/secondary_address.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default ['#Drt.', '#Esq.', '#Frt', 'R/C', 'Cv', '#A', '#B', '#C'];
4 changes: 0 additions & 4 deletions src/locales/pt_PT/location/street.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
export default [
'{{location.street_prefix}} {{person.first_name}} {{person.last_name}}',
'N#',
'N##',
'N###',
'N###-#',
];
2 changes: 1 addition & 1 deletion src/locales/pt_PT/location/street_address.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
normal: '{{location.street}} {{location.buildingNumber}}',
full: '{{location.street}} {{location.buildingNumber}} {{location.secondaryAddress}}',
full: '{{location.street}} {{location.buildingNumber}}-{{location.secondaryAddress}}',
};

0 comments on commit 8f0abd3

Please sign in to comment.