From 7c23db316e794aab2a9181e0f960e094bea71054 Mon Sep 17 00:00:00 2001 From: Guilherme Chalita <54643201+glmchalita@users.noreply.github.com> Date: Sun, 4 May 2025 07:09:11 -0300 Subject: refactor(locale): rename pt-BR streetSuffix to streetPrefix (#3493) --- src/locales/pt_BR/location/index.ts | 4 ++-- src/locales/pt_BR/location/street_pattern.ts | 4 ++-- src/locales/pt_BR/location/street_prefix.ts | 1 + src/locales/pt_BR/location/street_suffix.ts | 1 - 4 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 src/locales/pt_BR/location/street_prefix.ts delete mode 100644 src/locales/pt_BR/location/street_suffix.ts diff --git a/src/locales/pt_BR/location/index.ts b/src/locales/pt_BR/location/index.ts index 76748468..e9edee7a 100644 --- a/src/locales/pt_BR/location/index.ts +++ b/src/locales/pt_BR/location/index.ts @@ -13,7 +13,7 @@ import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; import street_pattern from './street_pattern'; -import street_suffix from './street_suffix'; +import street_prefix from './street_prefix'; const location: LocationDefinition = { building_number, @@ -26,7 +26,7 @@ const location: LocationDefinition = { state, state_abbr, street_pattern, - street_suffix, + street_prefix, }; export default location; diff --git a/src/locales/pt_BR/location/street_pattern.ts b/src/locales/pt_BR/location/street_pattern.ts index af32d0c4..3577414e 100644 --- a/src/locales/pt_BR/location/street_pattern.ts +++ b/src/locales/pt_BR/location/street_pattern.ts @@ -1,4 +1,4 @@ export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', + '{{location.street_prefix}} {{person.firstName}}', + '{{location.street_prefix}} {{person.lastName}}', ]; diff --git a/src/locales/pt_BR/location/street_prefix.ts b/src/locales/pt_BR/location/street_prefix.ts new file mode 100644 index 00000000..49ba524d --- /dev/null +++ b/src/locales/pt_BR/location/street_prefix.ts @@ -0,0 +1 @@ +export default ['Rua', 'Avenida', 'Travessa', 'Alameda', 'Marginal', 'Rodovia']; diff --git a/src/locales/pt_BR/location/street_suffix.ts b/src/locales/pt_BR/location/street_suffix.ts deleted file mode 100644 index 49ba524d..00000000 --- a/src/locales/pt_BR/location/street_suffix.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['Rua', 'Avenida', 'Travessa', 'Alameda', 'Marginal', 'Rodovia']; -- cgit v1.2.3