Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pt_BR #158

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions fake/src/locales/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub trait Data {
const ADDRESS_ZIP_FORMATS: &'static [&'static str] = &["#####", "####", "###"];
const ADDRESS_POSTCODE_FORMATS: &'static [&'static str] = &["#####", "#####-####"];
const ADDRESS_GEOHASH_CHARS: &'static [&'static str] = &["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "b", "c", "d", "e", "f", "g", "h", "j", "k", "m", "n", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];

const COMPANY_SUFFIX: &'static [&'static str] = &["Inc", "and Sons", "LLC", "Group"];
const COMPANY_NAME_TPLS: &'static [&'static str] = &["{Name_1} {Suffix}", "{Name_1} and {Name_2} {Suffix}"];
const COMPANY_BUZZWORD_HEAD: &'static [&'static str] = &["Adaptive", "Advanced", "Ameliorated", "Assimilated", "Automated", "Balanced", "Business-focused", "Centralized", "Cloned", "Compatible", "Configurable", "Cross-group", "Cross-platform", "Customer-focused", "Customizable", "Decentralized", "De-engineered", "Devolved", "Digitized", "Distributed", "Diverse", "Down-sized", "Enhanced", "Enterprise-wide", "Ergonomic", "Exclusive", "Expanded", "Extended", "Face to face", "Focused", "Front-line", "Fully-configurable", "Function-based", "Fundamental", "Future-proofed", "Grass-roots", "Horizontal", "Implemented", "Innovative", "Integrated", "Intuitive", "Inverse", "Managed", "Mandatory", "Monitored", "Multi-channelled", "Multi-lateral", "Multi-layered", "Multi-tiered", "Networked", "Object-based", "Open-architected", "Open-source", "Operative", "Optimized", "Optional", "Organic", "Organized", "Persevering", "Persistent", "Phased", "Polarised", "Pre-emptive", "Proactive", "Profit-focused", "Profound", "Programmable", "Progressive", "Public-key", "Quality-focused", "Reactive", "Realigned", "Re-contextualized", "Re-engineered", "Reduced", "Reverse-engineered", "Right-sized", "Robust", "Seamless", "Secured", "Self-enabling", "Sharable", "Stand-alone", "Streamlined", "Switchable", "Synchronised", "Synergistic", "Synergized", "Team-oriented", "Total", "Triple-buffered", "Universal", "Up-sized", "Upgradable", "User-centric", "User-friendly", "Versatile", "Virtual", "Visionary", "Vision-oriented"];
Expand Down Expand Up @@ -84,7 +84,7 @@ pub trait Data {
const CURRENCY_SYMBOL: &'static [&'static str] = &["HK$", "Ft", "₪", "¥", "$", "kr", "PhP", "zł", "CHF", "NT$", "฿", "£", "¢", "Rp", "ƒ", "€","रू"];

const ISBN_EAN: &'static str = "978";

fn isbn_rules() -> Box<BTreeMap<&'static str, Vec<RegistrantRule>>> {
let mut map = BTreeMap::new();
map.insert(
Expand Down Expand Up @@ -175,7 +175,7 @@ pub trait Data {
max: "8697999",
registrant_len: 5
},

RegistrantRule {
min: "8698000",
max: "9729999",
Expand Down Expand Up @@ -219,3 +219,6 @@ pub use self::ja_jp::JA_JP;

mod ar_sa;
pub use self::ar_sa::AR_SA;

mod pt_br;
pub use self::pt_br::PT_BR;
Loading
Loading