-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into duyhn/add-people-names-from-South-Africa
- Loading branch information
Showing
26 changed files
with
468 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#pragma once | ||
|
||
#include "../CountryAddresses.h" | ||
#include "BrazilCitySuffixes.h" | ||
#include "BrazilStreetSuffixes.h" | ||
#include "BrazilStates.h" | ||
|
||
namespace faker | ||
{ | ||
const std::string brazilZipCodeFormat{"#####-###"}; | ||
|
||
const std::vector<std::string> brazilAddressFormats{"{street} {buildingNumber}", | ||
"{street} {buildingNumber} {secondaryAddress}"}; | ||
|
||
const std::vector<std::string> brazilSecondaryAddressFormats{"Apto. ###", "Sobrado ##", "Casa #", "Lote ##", "Quadra ##"}; | ||
|
||
const std::vector<std::string> brazilBuildingNumberFormats{"#####", "####", "###"}; | ||
|
||
const std::vector<std::string> brazilStreetFormats{"{firstName} {streetSuffix}", "{lastName} {streetSuffix}"}; | ||
|
||
const std::vector<std::string> brazilCityFormats{"{firstName} {citySuffix}", "{lastName} {citySuffix}"}; | ||
|
||
const CountryAddresses brazilAddresses{ brazilZipCodeFormat, | ||
brazilAddressFormats, | ||
brazilSecondaryAddressFormats, | ||
brazilStreetFormats, | ||
{}, | ||
{}, | ||
brazilStreetSuffixes, | ||
brazilBuildingNumberFormats, | ||
brazilCityFormats, | ||
{}, | ||
{}, | ||
brazilCitySuffixes, | ||
brazilStates, | ||
{}}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#pragma once | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace faker | ||
{ | ||
const std::vector<std::string> brazilCitySuffixes{ | ||
"do Descoberto", "de Nossa Senhora", "do Norte", "do Sul" | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#pragma once | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace faker | ||
{ | ||
const std::vector<std::string> brazilStates = { | ||
"Acre", | ||
"Alagoas", | ||
"Amapá", | ||
"Amazonas", | ||
"Bahia", | ||
"Ceará", | ||
"Distrito Federal", | ||
"Espírito Santo", | ||
"Goiás", | ||
"Maranhão", | ||
"Mato Grosso", | ||
"Mato Grosso do Sul", | ||
"Minas Gerais", | ||
"Pará", | ||
"Paraíba", | ||
"Paraná", | ||
"Pernambuco", | ||
"Piauí", | ||
"Rio de Janeiro", | ||
"Rio Grande do Norte", | ||
"Rio Grande do Sul", | ||
"Rondônia", | ||
"Roraima", | ||
"Santa Catarina", | ||
"São Paulo", | ||
"Sergipe", | ||
"Tocantins", | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#pragma once | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace faker | ||
{ | ||
const std::vector<std::string> brazilStreetSuffixes{ | ||
"Rua", "Avenida", "Travessa", "Alameda", "Marginal", "Rodovia", | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.