diff options
| author | Guilherme Chalita <[email protected]> | 2025-05-04 07:09:11 -0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-04 12:09:11 +0200 |
| commit | 7c23db316e794aab2a9181e0f960e094bea71054 (patch) | |
| tree | 247120ee5166fffe34529bceb489c3c2dcc73c5a | |
| parent | 1dbd8fa511e0c69ed73324a330f16f9aa1a6670a (diff) | |
| download | faker-7c23db316e794aab2a9181e0f960e094bea71054.tar.xz faker-7c23db316e794aab2a9181e0f960e094bea71054.zip | |
refactor(locale): rename pt-BR streetSuffix to streetPrefix (#3493)
| -rw-r--r-- | src/locales/pt_BR/location/index.ts | 4 | ||||
| -rw-r--r-- | src/locales/pt_BR/location/street_pattern.ts | 4 | ||||
| -rw-r--r-- | src/locales/pt_BR/location/street_prefix.ts (renamed from src/locales/pt_BR/location/street_suffix.ts) | 0 |
3 files changed, 4 insertions, 4 deletions
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_suffix.ts b/src/locales/pt_BR/location/street_prefix.ts index 49ba524d..49ba524d 100644 --- a/src/locales/pt_BR/location/street_suffix.ts +++ b/src/locales/pt_BR/location/street_prefix.ts |
