Skip to content

Commit

Permalink
Add support for pt_BR
Browse files Browse the repository at this point in the history
  • Loading branch information
Tagliatti committed Nov 17, 2023
1 parent 7d8ff1e commit 968227e
Show file tree
Hide file tree
Showing 3 changed files with 855 additions and 84 deletions.
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

0 comments on commit 968227e

Please sign in to comment.