Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/titonobre/faker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Marak committed Oct 15, 2018
2 parents 33e552b + 31b3f48 commit 3d3e373
Show file tree
Hide file tree
Showing 42 changed files with 1,316 additions and 1 deletion.
1 change: 1 addition & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ faker.locale = "de";
* nl
* pl
* pt_BR
* pt_PT
* ru
* sk
* sv
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function Faker (opts) {
self.git = bindAll(new Git(self));

var _definitions = {
"name": ["first_name", "last_name", "prefix", "suffix", "gender", "title", "male_first_name", "female_first_name", "male_middle_name", "female_middle_name", "male_last_name", "female_last_name"],
"name": ["first_name", "last_name", "prefix", "suffix", "gender", "title", "male_prefix", "female_prefix", "male_first_name", "female_first_name", "male_middle_name", "female_middle_name", "male_last_name", "female_last_name"],
"address": ["city_prefix", "city_suffix", "street_suffix", "county", "country", "country_code", "state", "state_abbr", "street_prefix", "postcode", "postcode_by_state", "direction", "direction_abbr"],
"company": ["adjective", "noun", "descriptor", "bs_adjective", "bs_noun", "bs_verb", "suffix"],
"lorem": ["words"],
Expand Down
1 change: 1 addition & 0 deletions lib/locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ exports['nl_BE'] = require('./locales/nl_BE');
exports['nl'] = require('./locales/nl');
exports['pl'] = require('./locales/pl');
exports['pt_BR'] = require('./locales/pt_BR');
exports['pt_PT'] = require('./locales/pt_PT');
exports['ro'] = require('./locales/ro');
exports['ru'] = require('./locales/ru');
exports['sk'] = require('./locales/sk');
Expand Down
6 changes: 6 additions & 0 deletions lib/locales/pt_PT/address/building_number.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module["exports"] = [
"####",
"###",
"##",
"#"
];
3 changes: 3 additions & 0 deletions lib/locales/pt_PT/address/city.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module["exports"] = [
"#{city_name}"
];
153 changes: 153 additions & 0 deletions lib/locales/pt_PT/address/city_name.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
module["exports"] = [
"Abrantes",
"Agualva-Cacém",
"Águeda",
"Albufeira",
"Alcácer do Sal",
"Alcobaça",
"Alfena",
"Almada",
"Almeirim",
"Amadora",
"Amarante",
"Amora",
"Anadia",
"Angra do Heroísmo",
"Aveiro",
"Barcelos",
"Barreiro",
"Beja",
"Braga",
"Bragança",
"Caldas da Rainha",
"Câmara de Lobos",
"Caniço",
"Cantanhede",
"Cartaxo",
"Castelo Branco",
"Chaves",
"Coimbra",
"Costa da Caparica",
"Covilhã",
"Elvas",
"Entroncamento",
"Ermesinde",
"Esmoriz",
"Espinho",
"Esposende",
"Estarreja",
"Estremoz",
"Évora",
"Fafe",
"Faro",
"Fátima",
"Felgueiras",
"Fiães",
"Figueira da Foz",
"Freamunde",
"Funchal",
"Fundão",
"Gafanha da Nazaré",
"Gandra",
"Gondomar",
"Gouveia",
"Guarda",
"Guimarães",
"Horta",
"Ílhavo",
"Lagoa",
"Lagos",
"Lamego",
"Leiria",
"Lisbon",
"Lixa",
"Loulé",
"Loures",
"Lourosa",
"Macedo de Cavaleiros",
"Machico",
"Maia",
"Mangualde",
"Marco de Canaveses",
"Marinha Grande",
"Matosinhos",
"Mealhada",
"Mêda",
"Miranda do Douro",
"Mirandela",
"Montemor-o-Novo",
"Montijo",
"Moura",
"Odivelas",
"Olhão da Restauração",
"Oliveira de Azeméis",
"Oliveira do Bairro",
"Oliveira do Hospital",
"Ourém",
"Ovar",
"Paços de Ferreira",
"Paredes",
"Penafiel",
"Peniche",
"Peso da Régua",
"Pinhel",
"Pombal",
"Ponta Delgada",
"Ponte de Sor",
"Portalegre",
"Portimão",
"Porto",
"Póvoa de Santa Iria",
"Póvoa de Varzim",
"Praia da Vitória",
"Quarteira",
"Queluz",
"Rebordosa",
"Reguengos de Monsaraz",
"Ribeira Grande",
"Rio Maior",
"Rio Tinto",
"Sabugal",
"Sacavém",
"Santa Comba Dão",
"Santa Cruz",
"Santa Maria da Feira",
"Santana",
"Santarém",
"Santiago do Cacém",
"Santo Tirso",
"São João da Madeira",
"São Mamede de Infesta",
"São Salvador de Lordelo",
"Seia",
"Seixal",
"Serpa",
"Setúbal",
"Silves",
"Sines",
"Tarouca",
"Tavira",
"Tomar",
"Tondela",
"Torres Novas",
"Torres Vedras",
"Trancoso",
"Trofa",
"Valbom",
"Vale de Cambra",
"Valongo",
"Valpaços",
"Vendas Novas",
"Viana do Castelo",
"Vila Baleira (a.k.a. Porto Santo)",
"Vila do Conde",
"Vila Franca de Xira",
"Vila Nova de Famalicão",
"Vila Nova de Foz Côa",
"Vila Nova de Gaia",
"Vila Nova de Santo André",
"Vila Real",
"Vila Real de Santo António",
"Viseu",
"Vizela"
];
2 changes: 2 additions & 0 deletions lib/locales/pt_PT/address/city_prefix.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module["exports"] = [
];
2 changes: 2 additions & 0 deletions lib/locales/pt_PT/address/city_suffix.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module["exports"] = [
];
Loading

0 comments on commit 3d3e373

Please sign in to comment.