From 69bf3a2425b05e54e20d32c7c62c19fbe2371cec Mon Sep 17 00:00:00 2001 From: Robert burner Schadek Date: Tue, 9 Jan 2024 15:34:22 +0100 Subject: [PATCH] fixed --- fakerjs2generator/source/generator.d | 18 ++++++++--------- source/faked/faker_af_za.d | 4 ++-- source/faked/faker_ar.d | 8 ++++---- source/faked/faker_az.d | 8 ++++---- source/faked/faker_base.d | 2 +- source/faked/faker_cs_cz.d | 8 ++++---- source/faked/faker_da.d | 8 ++++---- source/faked/faker_de.d | 8 ++++---- source/faked/faker_de_at.d | 8 ++++---- source/faked/faker_de_ch.d | 6 +++--- source/faked/faker_dv.d | 6 +++--- source/faked/faker_el.d | 12 +++++------ source/faked/faker_en.d | 30 ++++++++++++++-------------- source/faked/faker_en_au.d | 4 ++-- source/faked/faker_en_au_ocker.d | 4 ++-- source/faked/faker_en_ca.d | 4 ++-- source/faked/faker_en_gb.d | 4 ++-- source/faked/faker_en_gh.d | 8 ++++---- source/faked/faker_en_hk.d | 4 ++-- source/faked/faker_en_ie.d | 4 ++-- source/faked/faker_en_in.d | 4 ++-- source/faked/faker_en_ng.d | 4 ++-- source/faked/faker_en_us.d | 4 ++-- source/faked/faker_en_za.d | 4 ++-- source/faked/faker_eo.d | 14 ++++++------- source/faked/faker_es.d | 10 +++++----- source/faked/faker_es_mx.d | 10 +++++----- source/faked/faker_fa.d | 10 +++++----- source/faked/faker_fi.d | 6 +++--- source/faked/faker_fr.d | 12 +++++------ source/faked/faker_fr_be.d | 6 +++--- source/faked/faker_fr_ca.d | 4 ++-- source/faked/faker_fr_ch.d | 6 +++--- source/faked/faker_fr_lu.d | 2 +- source/faked/faker_fr_sn.d | 6 +++--- source/faked/faker_he.d | 6 +++--- source/faked/faker_hr.d | 6 +++--- source/faked/faker_hu.d | 2 +- source/faked/faker_hy.d | 6 +++--- source/faked/faker_id_id.d | 8 ++++---- source/faked/faker_it.d | 8 ++++---- source/faked/faker_ja.d | 6 +++--- source/faked/faker_ka_ge.d | 8 ++++---- source/faked/faker_ko.d | 6 +++--- source/faked/faker_lv.d | 8 ++++---- source/faked/faker_mk.d | 8 ++++---- source/faked/faker_nb_no.d | 12 +++++------ source/faked/faker_ne.d | 4 ++-- source/faked/faker_nl.d | 8 ++++---- source/faked/faker_nl_be.d | 6 +++--- source/faked/faker_pl.d | 14 ++++++------- source/faked/faker_pt_br.d | 6 +++--- source/faked/faker_pt_pt.d | 6 +++--- source/faked/faker_ro.d | 6 +++--- source/faked/faker_ro_md.d | 6 +++--- source/faked/faker_ru.d | 10 +++++----- source/faked/faker_sk.d | 8 ++++---- source/faked/faker_sr_rs_latin.d | 6 +++--- source/faked/faker_sv.d | 10 +++++----- source/faked/faker_th.d | 4 ++-- source/faked/faker_tr.d | 6 +++--- source/faked/faker_uk.d | 8 ++++---- source/faked/faker_ur.d | 10 +++++----- source/faked/faker_vi.d | 6 +++--- source/faked/faker_zh_cn.d | 24 +++++++++++----------- source/faked/faker_zh_tw.d | 6 +++--- source/faked/faker_zu_za.d | 4 ++-- 67 files changed, 251 insertions(+), 251 deletions(-) diff --git a/fakerjs2generator/source/generator.d b/fakerjs2generator/source/generator.d index eb64a42..9f5384f 100644 --- a/fakerjs2generator/source/generator.d +++ b/fakerjs2generator/source/generator.d @@ -381,8 +381,8 @@ string genMustacheAA(Out)(Mustache[string] m, ref Out o, string[] path buildSingleMustache(o, it.value); formattedWrite(o, ";\n"); } + iformat(o, 3, "default: return \"\";\n"); iformat(o, 2, "}\n"); - iformat(o, 2, "return \"\";\n"); iformat(o, 1, "}"); return ret; } @@ -399,8 +399,8 @@ string genChemicalUnit(Out)(ChemicalUnit[] m, ref Out o, string[] path , `q"{` ~ it.symbol ~ `}"`); formattedWrite(o, ";\n"); } + iformat(o, 3, "default: return ChemicalUnit(\"\",\"\");\n"); iformat(o, 2, "}\n"); - iformat(o, 2, "return ChemicalUnit(\"\", \"\");\n"); iformat(o, 1, "}"); return ret; } @@ -418,8 +418,8 @@ string genChemicalElement(Out)(ChemicalElement[] m, ref Out o, string[] path , it.atomicNumber); formattedWrite(o, ";\n"); } + iformat(o, 3, "default: return ChemicalElement(\"\",\"\");\n"); iformat(o, 2, "}\n"); - iformat(o, 2, "return ChemicalElement(\"\", \"\", 0);\n"); iformat(o, 1, "}"); return ret; } @@ -437,8 +437,8 @@ string genCurrency(Out)(Currency[] m, ref Out o, string[] path , `q"{` ~ it.symbol ~ `}"`); formattedWrite(o, ";\n"); } + iformat(o, 3, "default: return Currency(\"\",\"\",\"\");\n"); iformat(o, 2, "}\n"); - iformat(o, 2, "return Currency(\"\", \"\", \"\");\n"); iformat(o, 1, "}"); return ret; } @@ -459,8 +459,8 @@ string genAirplane(Out)(Airplane[] m, ref Out o, string[] path : "nullable(q\"{" ~ it.iataTypeCode.get() ~ "}\")"); formattedWrite(o, ";\n"); } + iformat(o, 3, "default: return Airplane(Nullable!(string).init, Nullable!(string).init);\n"); iformat(o, 2, "}\n"); - iformat(o, 2, "return Airplane(Nullable!(string).init, Nullable!(string).init);\n"); iformat(o, 1, "}"); return ret; } @@ -481,8 +481,8 @@ string genAirport(Out)(Airport[] m, ref Out o, string[] path : "nullable(q\"{" ~ it.iataCode.get() ~ "}\")"); formattedWrite(o, ";\n"); } + iformat(o, 3, "default: return Airport(Nullable!(string).init, Nullable!(string).init);\n"); iformat(o, 2, "}\n"); - iformat(o, 2, "return Airport(Nullable!(string).init, Nullable!(string).init);\n"); iformat(o, 1, "}"); return ret; } @@ -503,8 +503,8 @@ string genAirline(Out)(Airline[] m, ref Out o, string[] path : "nullable(q\"{" ~ it.iataCode.get() ~ "}\")"); formattedWrite(o, ";\n"); } + iformat(o, 3, "default: return Airline(Nullable!(string).init, Nullable!(string).init);\n"); iformat(o, 2, "}\n"); - iformat(o, 2, "return Airline(Nullable!(string).init, Nullable!(string).init);\n"); iformat(o, 1, "}"); return ret; } @@ -520,8 +520,8 @@ string genMustache(Out)(Mustache[] m, ref Out o, string[] path buildSingleMustache(o, it); formattedWrite(o, ";\n"); } + iformat(o, 3, "default: return \"\";\n"); iformat(o, 2, "}\n"); - iformat(o, 2, "return \"\";\n"); iformat(o, 1, "}"); return ret; } @@ -676,8 +676,8 @@ class Faker_base { case 7: return this.internetEmojiObject(); case 8: return this.internetEmojiSymbol(); case 9: return this.internetEmojiFlag(); + default: return ""; } - return ""; } `); diff --git a/source/faked/faker_af_za.d b/source/faked/faker_af_za.d index 927198f..b0cdc6e 100644 --- a/source/faked/faker_af_za.d +++ b/source/faked/faker_af_za.d @@ -55,8 +55,8 @@ class Faker_af_za : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -85,8 +85,8 @@ class Faker_af_za : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string personFemaleFirstName() { diff --git a/source/faked/faker_ar.d b/source/faked/faker_ar.d index f0ab9e4..8fb589e 100644 --- a/source/faked/faker_ar.d +++ b/source/faked/faker_ar.d @@ -136,8 +136,8 @@ class Faker_ar : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -264,16 +264,16 @@ class Faker_ar : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationBuildingNumber() ~ " " ~ locationStreet(); case LocationStreetAddressEnum.full: return locationBuildingNumber() ~ " " ~ locationStreet() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 2, this.rnd)) { case 0: return locationStreetPrefix() ~ " " ~ personFirstName(); case 1: return locationStreetPrefix() ~ " " ~ personLastName(); + default: return ""; } - return ""; } string locationStreetPrefix() { @@ -671,8 +671,8 @@ class Faker_ar : Faker_en { override string teamName() { switch(uniform(0, 1, this.rnd)) { case 0: return locationState() ~ " " ~ teamCreature(); + default: return ""; } - return ""; } override string vehicleFuel() { diff --git a/source/faked/faker_az.d b/source/faked/faker_az.d index bffa4b7..d0a2e84 100644 --- a/source/faked/faker_az.d +++ b/source/faked/faker_az.d @@ -57,8 +57,8 @@ class Faker_az : Faker_en { case 0: return companyPrefix() ~ " " ~ personFemaleFirstName(); case 1: return companyPrefix() ~ " " ~ personMaleFirstName(); case 2: return companyPrefix() ~ " " ~ personMaleLastName(); + default: return ""; } - return ""; } string companyPrefix() { @@ -141,8 +141,8 @@ class Faker_az : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -223,8 +223,8 @@ class Faker_az : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ ", " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ ", " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -296,8 +296,8 @@ class Faker_az : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return locationStreetSuffix() ~ " " ~ locationStreetName(); case 1: return locationStreetName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_base.d b/source/faked/faker_base.d index bebe2cd..6b9fbd4 100644 --- a/source/faked/faker_base.d +++ b/source/faked/faker_base.d @@ -60,8 +60,8 @@ class Faker_base { case 7: return this.internetEmojiObject(); case 8: return this.internetEmojiSymbol(); case 9: return this.internetEmojiFlag(); + default: return ""; } - return ""; } string databaseCollation() { diff --git a/source/faked/faker_cs_cz.d b/source/faked/faker_cs_cz.d index 6d5c12d..ab43442 100644 --- a/source/faked/faker_cs_cz.d +++ b/source/faked/faker_cs_cz.d @@ -25,8 +25,8 @@ class Faker_cs_cz : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personMaleLastName() ~ " a " ~ personMaleLastName() ~ " " ~ companySuffix(); + default: return ""; } - return ""; } override string companySuffix() { @@ -210,8 +210,8 @@ class Faker_cs_cz : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -292,8 +292,8 @@ class Faker_cs_cz : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -1758,8 +1758,8 @@ class Faker_cs_cz : Faker_en { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName(); + default: return ""; } - return ""; } override string loremWords() { diff --git a/source/faked/faker_da.d b/source/faked/faker_da.d index c341a13..6276aa7 100644 --- a/source/faked/faker_da.d +++ b/source/faked/faker_da.d @@ -164,8 +164,8 @@ class Faker_da : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return companyCompanyName(); case 1: return personLastName() ~ " " ~ commerceDepartment() ~ " " ~ companySuffix(); + default: return ""; } - return ""; } override string companyNoun() { @@ -339,8 +339,8 @@ class Faker_da : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -436,8 +436,8 @@ class Faker_da : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ ", " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -477,8 +477,8 @@ class Faker_da : Faker_en { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName(); + default: return ""; } - return ""; } override string personFemaleFirstName() { diff --git a/source/faked/faker_de.d b/source/faked/faker_de.d index dbd06f8..760dfb5 100644 --- a/source/faked/faker_de.d +++ b/source/faked/faker_de.d @@ -33,8 +33,8 @@ class Faker_de : Faker_en { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personLastName() ~ "-" ~ personLastName(); case 2: return personLastName() ~ ", " ~ personLastName() ~ " und " ~ personLastName(); + default: return ""; } - return ""; } override string companySuffix() { @@ -151,8 +151,8 @@ class Faker_de : Faker_en { case 2: return personFirstName() ~ locationCitySuffix(); case 3: return personLastName() ~ locationCitySuffix(); case 4: return locationCityName(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -267,8 +267,8 @@ class Faker_de : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -503,8 +503,8 @@ class Faker_de : Faker_en { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName(); + default: return ""; } - return ""; } override string loremWords() { diff --git a/source/faked/faker_de_at.d b/source/faked/faker_de_at.d index d2853c6..3da2acf 100644 --- a/source/faked/faker_de_at.d +++ b/source/faked/faker_de_at.d @@ -33,8 +33,8 @@ class Faker_de_at : Faker_de { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personLastName() ~ "-" ~ personLastName(); case 2: return personLastName() ~ ", " ~ personLastName() ~ " und " ~ personLastName(); + default: return ""; } - return ""; } override string companySuffix() { @@ -99,8 +99,8 @@ class Faker_de_at : Faker_de { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -198,8 +198,8 @@ class Faker_de_at : Faker_de { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -253,8 +253,8 @@ class Faker_de_at : Faker_de { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName(); + default: return ""; } - return ""; } override string personFemaleFirstName() { diff --git a/source/faked/faker_de_ch.d b/source/faked/faker_de_ch.d index aaf0944..642060e 100644 --- a/source/faked/faker_de_ch.d +++ b/source/faked/faker_de_ch.d @@ -26,8 +26,8 @@ class Faker_de_ch : Faker_de { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personLastName() ~ "-" ~ personLastName(); case 2: return personLastName() ~ ", " ~ personLastName() ~ " und " ~ personLastName(); + default: return ""; } - return ""; } override string companySuffix() { @@ -68,8 +68,8 @@ class Faker_de_ch : Faker_de { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -120,8 +120,8 @@ class Faker_de_ch : Faker_de { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName(); + default: return ""; } - return ""; } override string personFemaleFirstName() { diff --git a/source/faked/faker_dv.d b/source/faked/faker_dv.d index 571b96f..1df7071 100644 --- a/source/faked/faker_dv.d +++ b/source/faked/faker_dv.d @@ -46,8 +46,8 @@ class Faker_dv : Faker_en { case 2: return personLastName() ~ " & " ~ personLastName() ~ " " ~ companyNoun() ~ " " ~ companySuffix(); case 3: return companyAdjective() ~ " " ~ companyNoun() ~ " " ~ companySuffix(); case 4: return companyAdjective() ~ " " ~ personLastName() ~ " " ~ personLastName() ~ " " ~ companySuffix(); + default: return ""; } - return ""; } override string companyNoun() { @@ -136,8 +136,8 @@ class Faker_dv : Faker_en { case 3: return personFirstName() ~ locationCitySuffix(); case 4: return personLastName() ~ locationCitySuffix(); case 5: return locationCityName(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -173,8 +173,8 @@ class Faker_dv : Faker_en { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); case 2: return companyAdjective() ~ " " ~ companyNoun() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_el.d b/source/faked/faker_el.d index 0feab73..d8b9b33 100644 --- a/source/faked/faker_el.d +++ b/source/faked/faker_el.d @@ -25,8 +25,8 @@ class Faker_el : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personName(); case 1: return companyName(); + default: return ""; } - return ""; } override string appName() { @@ -197,8 +197,8 @@ class Faker_el : Faker_en { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personLastName() ~ "-" ~ personLastName(); case 2: return personLastName() ~ ", " ~ personLastName() ~ " and " ~ personLastName(); + default: return ""; } - return ""; } override string companyNoun() { @@ -272,8 +272,8 @@ class Faker_el : Faker_en { override Currency financeCurrency() { switch(uniform(0, 1, this.rnd)) { case 0: return Currency(q"{Ευρώ}", q"{EUR}", q"{€}"); + default: return Currency("","",""); } - return Currency("", "", ""); } override string financeTransactionType() { @@ -360,8 +360,8 @@ class Faker_el : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -375,8 +375,8 @@ class Faker_el : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string loremWords() { @@ -636,8 +636,8 @@ class Faker_el : Faker_en { override string teamName() { switch(uniform(0, 1, this.rnd)) { case 0: return locationState() ~ " " ~ teamCreature(); + default: return ""; } - return ""; } } diff --git a/source/faked/faker_en.d b/source/faked/faker_en.d index 7ff1953..e80de3a 100644 --- a/source/faked/faker_en.d +++ b/source/faked/faker_en.d @@ -273,8 +273,8 @@ class Faker_en : Faker_base { case 122: return Airline(nullable(q"{WestJet}"), nullable(q"{WS}")); case 123: return Airline(nullable(q"{Wingo}"), nullable(q"{P5}")); case 124: return Airline(nullable(q"{Wizz Air}"), nullable(q"{W6}")); + default: return Airline(Nullable!(string).init, Nullable!(string).init); } - return Airline(Nullable!(string).init, Nullable!(string).init); } Airplane airlineAirplane() { @@ -434,8 +434,8 @@ class Faker_en : Faker_base { case 152: return Airplane(nullable(q"{Tupolev Tu-204}"), nullable(q"{T20}")); case 153: return Airplane(nullable(q"{Yakovlev Yak-40}"), nullable(q"{YK4}")); case 154: return Airplane(nullable(q"{Yakovlev Yak-42}"), nullable(q"{YK2}")); + default: return Airplane(Nullable!(string).init, Nullable!(string).init); } - return Airplane(Nullable!(string).init, Nullable!(string).init); } Airport airlineAirport() { @@ -558,8 +558,8 @@ class Faker_en : Faker_base { case 115: return Airport(nullable(q"{Xi'an Xianyang International Airport}"), nullable(q"{XIY}")); case 116: return Airport(nullable(q"{Zhukovsky International Airport}"), nullable(q"{ZIA}")); case 117: return Airport(nullable(q"{Zurich Airport}"), nullable(q"{ZRH}")); + default: return Airport(Nullable!(string).init, Nullable!(string).init); } - return Airport(Nullable!(string).init, Nullable!(string).init); } string animalBear() { @@ -1450,8 +1450,8 @@ class Faker_en : Faker_base { switch(uniform(0, 2, this.rnd)) { case 0: return personName(); case 1: return companyName(); + default: return ""; } - return ""; } string appName() { @@ -1634,8 +1634,8 @@ class Faker_en : Faker_base { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personLastName() ~ " - " ~ personLastName(); case 2: return personLastName() ~ ", " ~ personLastName() ~ " and " ~ personLastName(); + default: return ""; } - return ""; } string companyNoun() { @@ -1925,8 +1925,8 @@ class Faker_en : Faker_base { case 151: return Currency(q"{Namibia Dollar}", q"{NAD}", q"{N$}"); case 152: return Currency(q"{Zambian Kwacha}", q"{ZMW}", q"{K}"); case 153: return Currency(q"{Zimbabwe Dollar}", q"{ZWL}", q"{}"); + default: return Currency("","",""); } - return Currency("", "", ""); } string financeTransactionType() { @@ -1974,8 +1974,8 @@ class Faker_en : Faker_base { case 5: return "The " ~ hackerAbbreviation() ~ " " ~ hackerNoun() ~ " is down, " ~ hackerVerb() ~ " the " ~ hackerAdjective() ~ " " ~ hackerNoun() ~ " so we can " ~ hackerVerb() ~ " the " ~ hackerAbbreviation() ~ " " ~ hackerNoun() ~ "!"; case 6: return hackerIngverb() ~ " the " ~ hackerNoun() ~ " won't do anything, we need to " ~ hackerVerb() ~ " the " ~ hackerAdjective() ~ " " ~ hackerAbbreviation() ~ " " ~ hackerNoun() ~ "!"; case 7: return "I'll " ~ hackerVerb() ~ " the " ~ hackerAdjective() ~ " " ~ hackerAbbreviation() ~ " " ~ hackerNoun() ~ ", that should " ~ hackerNoun() ~ " the " ~ hackerAbbreviation() ~ " " ~ hackerNoun() ~ "!"; + default: return ""; } - return ""; } string hackerVerb() { @@ -2183,8 +2183,8 @@ class Faker_en : Faker_base { case 2: return personFirstName() ~ locationCitySuffix(); case 3: return personLastName() ~ locationCitySuffix(); case 4: return locationCityName(); + default: return ""; } - return ""; } string locationCityPrefix() { @@ -2348,8 +2348,8 @@ class Faker_en : Faker_base { switch(which) { case LocationStreetAddressEnum.normal: return locationBuildingNumber() ~ " " ~ locationStreet(); case LocationStreetAddressEnum.full: return locationBuildingNumber() ~ " " ~ locationStreet() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } string locationStreetName() { @@ -2516,8 +2516,8 @@ class Faker_en : Faker_base { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); case 2: return locationStreetName(); + default: return ""; } - return ""; } string locationStreetSuffix() { @@ -2970,8 +2970,8 @@ class Faker_en : Faker_base { case 5: return wordNoun() ~ " " ~ personBioSupporter() ~ " " ~ internetEmoji(); case 6: return wordNoun() ~ " " ~ personBioSupporter() ~ ", " ~ personBioPart(); case 7: return wordNoun() ~ " " ~ personBioSupporter() ~ ", " ~ personBioPart() ~ " " ~ internetEmoji(); + default: return ""; } - return ""; } string personBioSupporter() { @@ -3507,8 +3507,8 @@ class Faker_en : Faker_base { string personJobTitlePattern() { switch(uniform(0, 1, this.rnd)) { case 0: return personJobDescriptor() ~ " " ~ personJobArea() ~ " " ~ personJobType(); + default: return ""; } - return ""; } string personLastName() { @@ -3910,8 +3910,8 @@ class Faker_en : Faker_base { case 115: return ChemicalElement(q"{Lv}", q"{Livermorium}", 116); case 116: return ChemicalElement(q"{Ts}", q"{Tennessine}", 117); case 117: return ChemicalElement(q"{Og}", q"{Oganesson}", 118); + default: return ChemicalElement("",""); } - return ChemicalElement("", "", 0); } ChemicalUnit scienceUnit() { @@ -3945,8 +3945,8 @@ class Faker_en : Faker_base { case 26: return ChemicalUnit(q"{henry}", q"{H}"); case 27: return ChemicalUnit(q"{lux}", q"{lx}"); case 28: return ChemicalUnit(q"{katal}", q"{kat}"); + default: return ChemicalUnit("",""); } - return ChemicalUnit("", ""); } string teamCreature() { @@ -3967,8 +3967,8 @@ class Faker_en : Faker_base { string teamName() { switch(uniform(0, 1, this.rnd)) { case 0: return locationState() ~ " " ~ teamCreature(); + default: return ""; } - return ""; } string vehicleBicycleType() { diff --git a/source/faked/faker_en_au.d b/source/faked/faker_en_au.d index 219df3e..db657b6 100644 --- a/source/faked/faker_en_au.d +++ b/source/faked/faker_en_au.d @@ -48,8 +48,8 @@ class Faker_en_au : Faker_en { case 1: return locationCityPrefix() ~ " " ~ personFirstName(); case 2: return personFirstName() ~ locationCitySuffix(); case 3: return personLastName() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -85,8 +85,8 @@ class Faker_en_au : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_en_au_ocker.d b/source/faked/faker_en_au_ocker.d index a9c0ec3..fd6fd0f 100644 --- a/source/faked/faker_en_au_ocker.d +++ b/source/faked/faker_en_au_ocker.d @@ -53,8 +53,8 @@ class Faker_en_au_ocker : Faker_en_au { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -96,8 +96,8 @@ class Faker_en_au_ocker : Faker_en_au { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_en_ca.d b/source/faked/faker_en_ca.d index f85b10a..465a811 100644 --- a/source/faked/faker_en_ca.d +++ b/source/faked/faker_en_ca.d @@ -86,8 +86,8 @@ class Faker_en_ca : Faker_en { case 2: return personFirstName() ~ locationCitySuffix(); case 3: return personLastName() ~ locationCitySuffix(); case 4: return locationCityName(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -126,8 +126,8 @@ class Faker_en_ca : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string personLastNamePattern() { diff --git a/source/faked/faker_en_gb.d b/source/faked/faker_en_gb.d index dd31982..ab75c64 100644 --- a/source/faked/faker_en_gb.d +++ b/source/faked/faker_en_gb.d @@ -51,8 +51,8 @@ class Faker_en_gb : Faker_en { case 1: return locationCityPrefix() ~ " " ~ personLastName(); case 2: return personLastName() ~ locationCitySuffix(); case 3: return personLastName() ~ locationCityInfix() ~ personLastName(); + default: return ""; } - return ""; } string locationCityInfix() { @@ -216,8 +216,8 @@ class Faker_en_gb : Faker_en { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); case 2: return locationStreetName(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_en_gh.d b/source/faked/faker_en_gh.d index 5851722..d000f2d 100644 --- a/source/faked/faker_en_gh.d +++ b/source/faked/faker_en_gh.d @@ -25,8 +25,8 @@ class Faker_en_gh : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personLastName() ~ " and " ~ personLastName(); + default: return ""; } - return ""; } override string companySuffix() { @@ -110,8 +110,8 @@ class Faker_en_gh : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -146,16 +146,16 @@ class Faker_en_gh : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationBuildingNumber() ~ " " ~ locationStreet(); case LocationStreetAddressEnum.full: return locationBuildingNumber() ~ " " ~ locationStreet() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 2, this.rnd)) { case 0: return personLastName() ~ " " ~ locationStreetSuffix(); case 1: return locationStreetPrefix() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_en_hk.d b/source/faked/faker_en_hk.d index b8e900f..4d4ecab 100644 --- a/source/faked/faker_en_hk.d +++ b/source/faked/faker_en_hk.d @@ -69,8 +69,8 @@ class Faker_en_hk : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -98,8 +98,8 @@ class Faker_en_hk : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return locationStreetEnglishPart() ~ " " ~ locationStreetSuffix(); case 1: return locationStreetCantonesePart() ~ " " ~ locationStreetCantonesePart() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_en_ie.d b/source/faked/faker_en_ie.d index e1df72f..718a4f7 100644 --- a/source/faked/faker_en_ie.d +++ b/source/faked/faker_en_ie.d @@ -42,8 +42,8 @@ class Faker_en_ie : Faker_en { case 1: return locationCityPrefix() ~ " " ~ personFirstName(); case 2: return personFirstName() ~ locationCitySuffix(); case 3: return personLastName() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationCounty() { @@ -75,8 +75,8 @@ class Faker_en_ie : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string personLastNamePattern() { diff --git a/source/faked/faker_en_in.d b/source/faked/faker_en_in.d index 0862b33..e29a227 100644 --- a/source/faked/faker_en_in.d +++ b/source/faked/faker_en_in.d @@ -239,8 +239,8 @@ class Faker_en_in : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -283,8 +283,8 @@ class Faker_en_in : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string personFemaleFirstName() { diff --git a/source/faked/faker_en_ng.d b/source/faked/faker_en_ng.d index 10b82c7..52bdb59 100644 --- a/source/faked/faker_en_ng.d +++ b/source/faked/faker_en_ng.d @@ -116,8 +116,8 @@ class Faker_en_ng : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -149,8 +149,8 @@ class Faker_en_ng : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string personFemaleFirstName() { diff --git a/source/faked/faker_en_us.d b/source/faked/faker_en_us.d index c61f704..68912f9 100644 --- a/source/faked/faker_en_us.d +++ b/source/faked/faker_en_us.d @@ -34,8 +34,8 @@ class Faker_en_us : Faker_en { case 1: return locationCityPrefix() ~ " " ~ personFirstName(); case 2: return personFirstName() ~ locationCitySuffix(); case 3: return personLastName() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationCounty() { @@ -151,8 +151,8 @@ class Faker_en_us : Faker_en { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); case 2: return locationStreetName(); + default: return ""; } - return ""; } override string personLastNamePattern() { diff --git a/source/faked/faker_en_za.d b/source/faked/faker_en_za.d index efe47af..ed22c8c 100644 --- a/source/faked/faker_en_za.d +++ b/source/faked/faker_en_za.d @@ -57,8 +57,8 @@ class Faker_en_za : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -87,8 +87,8 @@ class Faker_en_za : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string personFemaleFirstName() { diff --git a/source/faked/faker_eo.d b/source/faked/faker_eo.d index 94a1450..0cd047e 100644 --- a/source/faked/faker_eo.d +++ b/source/faked/faker_eo.d @@ -156,8 +156,8 @@ class Faker_eo : Faker_en { case 6: return "Ne funkcios " ~ hackerIngverb() ~ " de la " ~ hackerNoun() ~ ", ni devas " ~ hackerVerb() ~ " la " ~ hackerAdjective() ~ "n " ~ hackerAbbreviation() ~ "-" ~ hackerNoun() ~ "n!"; case 7: return "Mi provos " ~ hackerVerb() ~ " la " ~ hackerAdjective() ~ "n " ~ hackerAbbreviation() ~ "-" ~ hackerNoun() ~ "n, tio devus " ~ hackerVerb() ~ " la " ~ hackerAbbreviation() ~ "-" ~ hackerNoun() ~ "n!"; case 8: return "Ne gravas, se ni ne povus " ~ hackerVerb() ~ " la " ~ hackerNoun() ~ "n, ni devas nur " ~ hackerVerb() ~ " la " ~ hackerAdjective() ~ "n " ~ hackerAbbreviation() ~ "-" ~ hackerNoun() ~ "!"; + default: return ""; } - return ""; } override string hackerVerb() { @@ -174,8 +174,8 @@ class Faker_eo : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return locationCityPrefix() ~ " " ~ personFirstName() ~ locationCitySuffix(); case 1: return personFirstName() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -280,8 +280,8 @@ class Faker_eo : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { @@ -290,8 +290,8 @@ class Faker_eo : Faker_en { case 1: return locationStreetPrefix() ~ " de " ~ personLastName(); case 2: return personFirstName() ~ locationStreetSuffix(); case 3: return locationCityPrefix() ~ " " ~ personFirstName() ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { @@ -343,8 +343,8 @@ class Faker_eo : Faker_en { case 3: return personBioPart() ~ ", " ~ personBioPart() ~ " " ~ internetEmoji(); case 4: return personBioPart() ~ ", " ~ personBioPart() ~ ", " ~ personBioPart(); case 5: return personBioPart() ~ ", " ~ personBioPart() ~ ", " ~ personBioPart() ~ " " ~ internetEmoji(); + default: return ""; } - return ""; } override string personFemaleFirstName() { @@ -630,8 +630,8 @@ class Faker_eo : Faker_en { case 115: return ChemicalElement(q"{Lv}", q"{livermorio}", 116); case 116: return ChemicalElement(q"{Ts}", q"{teneso}", 117); case 117: return ChemicalElement(q"{Og}", q"{oganesono}", 118); + default: return ChemicalElement("",""); } - return ChemicalElement("", "", 0); } override ChemicalUnit scienceUnit() { @@ -665,8 +665,8 @@ class Faker_eo : Faker_en { case 26: return ChemicalUnit(q"{henro}", q"{H}"); case 27: return ChemicalUnit(q"{lukso}", q"{lx}"); case 28: return ChemicalUnit(q"{katalo}", q"{kat}"); + default: return ChemicalUnit("",""); } - return ChemicalUnit("", ""); } override string vehicleFuel() { diff --git a/source/faked/faker_es.d b/source/faked/faker_es.d index 7ccce33..b75e27d 100644 --- a/source/faked/faker_es.d +++ b/source/faked/faker_es.d @@ -113,8 +113,8 @@ class Faker_es : Faker_en { case 1: return personLastName() ~ " y " ~ personLastName(); case 2: return personLastName() ~ " " ~ personLastName() ~ " " ~ companySuffix(); case 3: return personLastName() ~ ", " ~ personLastName() ~ " y " ~ personLastName() ~ " Asociados"; + default: return ""; } - return ""; } override string companyNoun() { @@ -231,8 +231,8 @@ class Faker_es : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -331,16 +331,16 @@ class Faker_es : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 2, this.rnd)) { case 0: return locationStreetSuffix() ~ " " ~ personFirstName(); case 1: return locationStreetSuffix() ~ " " ~ personFirstName() ~ " " ~ personLastName(); + default: return ""; } - return ""; } override string locationStreetSuffix() { @@ -414,8 +414,8 @@ class Faker_es : Faker_en { override string personJobTitlePattern() { switch(uniform(0, 1, this.rnd)) { case 0: return personJobType() ~ " de " ~ personJobArea() ~ " " ~ personJobDescriptor(); + default: return ""; } - return ""; } override string personLastName() { diff --git a/source/faked/faker_es_mx.d b/source/faked/faker_es_mx.d index 7ffad5c..7726cc6 100644 --- a/source/faked/faker_es_mx.d +++ b/source/faked/faker_es_mx.d @@ -162,8 +162,8 @@ class Faker_es_mx : Faker_es { case 1: return personLastName() ~ " y " ~ personLastName(); case 2: return personLastName() ~ " " ~ personLastName() ~ " " ~ companySuffix(); case 3: return personLastName() ~ ", " ~ personLastName() ~ " y " ~ personLastName() ~ " Asociados"; + default: return ""; } - return ""; } override string companyNoun() { @@ -253,8 +253,8 @@ class Faker_es_mx : Faker_es { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -341,8 +341,8 @@ class Faker_es_mx : Faker_es { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -364,8 +364,8 @@ class Faker_es_mx : Faker_es { case 0: return locationStreetSuffix() ~ " " ~ personFirstName(); case 1: return locationStreetSuffix() ~ " " ~ personFirstName() ~ " " ~ personLastName(); case 2: return locationStreetSuffix() ~ " " ~ locationStreetName(); + default: return ""; } - return ""; } override string locationStreetSuffix() { @@ -764,8 +764,8 @@ class Faker_es_mx : Faker_es { override string teamName() { switch(uniform(0, 1, this.rnd)) { case 0: return locationState() ~ " " ~ teamCreature(); + default: return ""; } - return ""; } } diff --git a/source/faked/faker_fa.d b/source/faked/faker_fa.d index d602438..d134668 100644 --- a/source/faked/faker_fa.d +++ b/source/faked/faker_fa.d @@ -158,8 +158,8 @@ class Faker_fa : Faker_en { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personLastName() ~ "-" ~ personLastName(); case 2: return personLastName() ~ ", " ~ personLastName() ~ " و " ~ personLastName(); + default: return ""; } - return ""; } override string companyNoun() { @@ -266,8 +266,8 @@ class Faker_fa : Faker_en { case 24: return Currency(q"{پوند سودان}", q"{SDG}", q"{}"); case 25: return Currency(q"{کرون سوئد}", q"{SEK}", q"{kr}"); case 26: return Currency(q"{دلار سنگاپور}", q"{SGD}", q"{$}"); + default: return Currency("","",""); } - return Currency("", "", ""); } override string financeTransactionType() { @@ -323,8 +323,8 @@ class Faker_fa : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -453,15 +453,15 @@ class Faker_fa : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ ", پلاک " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ ", پلاک " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetPrefix() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_fi.d b/source/faked/faker_fi.d index 491f670..c771f03 100644 --- a/source/faked/faker_fi.d +++ b/source/faked/faker_fi.d @@ -40,8 +40,8 @@ class Faker_fi : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationPostcode() { @@ -77,16 +77,16 @@ class Faker_fi : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ locationStreetSuffix(); case 1: return personLastName() ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_fr.d b/source/faked/faker_fr.d index 87ffbf5..41716c0 100644 --- a/source/faked/faker_fr.d +++ b/source/faked/faker_fr.d @@ -875,8 +875,8 @@ class Faker_fr : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personLastName() ~ " et " ~ personLastName(); + default: return ""; } - return ""; } override string companySuffix() { @@ -1012,8 +1012,8 @@ class Faker_fr : Faker_en { case 83: return Currency(q"{Ethereum}", q"{ETH}", q"{Ξ}"); case 84: return Currency(q"{Litecoin}", q"{LTC}", q"{Ł}"); case 85: return Currency(q"{Ripples}", q"{XRP}", q"{XRP}"); + default: return Currency("","",""); } - return Currency("", "", ""); } override string financeTransactionType() { @@ -1070,8 +1070,8 @@ class Faker_fr : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -1160,15 +1160,15 @@ class Faker_fr : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationBuildingNumber() ~ " " ~ locationStreet(); case LocationStreetAddressEnum.full: return locationBuildingNumber() ~ " " ~ locationStreet() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetPrefix() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { @@ -1460,8 +1460,8 @@ class Faker_fr : Faker_en { override string personJobTitlePattern() { switch(uniform(0, 1, this.rnd)) { case 0: return personJobType() ~ " " ~ personJobArea() ~ " " ~ personJobDescriptor(); + default: return ""; } - return ""; } override string personLastName() { diff --git a/source/faked/faker_fr_be.d b/source/faked/faker_fr_be.d index 490166c..cbaa071 100644 --- a/source/faked/faker_fr_be.d +++ b/source/faked/faker_fr_be.d @@ -58,8 +58,8 @@ class Faker_fr_be : Faker_fr { switch(uniform(0, 2, this.rnd)) { case 0: return locationCityPrefix(); case 1: return locationCityPrefix() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -156,8 +156,8 @@ class Faker_fr_be : Faker_fr { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { @@ -165,8 +165,8 @@ class Faker_fr_be : Faker_fr { case 0: return locationStreetPrefix() ~ " " ~ personFirstName(); case 1: return locationStreetPrefix() ~ " " ~ personLastName(); case 2: return locationStreetPrefix() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_fr_ca.d b/source/faked/faker_fr_ca.d index 8ca6e82..952d092 100644 --- a/source/faked/faker_fr_ca.d +++ b/source/faked/faker_fr_ca.d @@ -41,8 +41,8 @@ class Faker_fr_ca : Faker_fr { case 1: return locationCityPrefix() ~ " " ~ personFirstName(); case 2: return personFirstName() ~ locationCitySuffix(); case 3: return personLastName() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -81,8 +81,8 @@ class Faker_fr_ca : Faker_fr { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string personLastNamePattern() { diff --git a/source/faked/faker_fr_ch.d b/source/faked/faker_fr_ch.d index 64dbbce..1ce5250 100644 --- a/source/faked/faker_fr_ch.d +++ b/source/faked/faker_fr_ch.d @@ -86,8 +86,8 @@ class Faker_fr_ch : Faker_fr { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -184,15 +184,15 @@ class Faker_fr_ch : Faker_fr { switch(which) { case LocationStreetAddressEnum.normal: return locationBuildingNumber() ~ " " ~ locationStreet(); case LocationStreetAddressEnum.full: return locationBuildingNumber() ~ " " ~ locationStreet() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetPrefix() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_fr_lu.d b/source/faked/faker_fr_lu.d index 89e131d..cbd1f08 100644 --- a/source/faked/faker_fr_lu.d +++ b/source/faked/faker_fr_lu.d @@ -47,8 +47,8 @@ class Faker_fr_lu : Faker_fr { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationPostcode() { diff --git a/source/faked/faker_fr_sn.d b/source/faked/faker_fr_sn.d index e80b887..70bb43a 100644 --- a/source/faked/faker_fr_sn.d +++ b/source/faked/faker_fr_sn.d @@ -59,8 +59,8 @@ class Faker_fr_sn : Faker_fr { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -101,15 +101,15 @@ class Faker_fr_sn : Faker_fr { switch(which) { case LocationStreetAddressEnum.normal: return locationBuildingNumber() ~ " " ~ locationStreet(); case LocationStreetAddressEnum.full: return locationBuildingNumber() ~ " " ~ locationStreet() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetPrefix() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_he.d b/source/faked/faker_he.d index 87c645f..5d0659d 100644 --- a/source/faked/faker_he.d +++ b/source/faked/faker_he.d @@ -398,8 +398,8 @@ class Faker_he : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -523,8 +523,8 @@ class Faker_he : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -1032,8 +1032,8 @@ class Faker_he : Faker_en { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetPrefix() ~ " " ~ locationStreetName(); + default: return ""; } - return ""; } string locationStreetPrefix() { diff --git a/source/faked/faker_hr.d b/source/faked/faker_hr.d index d2c36fe..384403e 100644 --- a/source/faked/faker_hr.d +++ b/source/faked/faker_hr.d @@ -107,8 +107,8 @@ class Faker_hr : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -214,8 +214,8 @@ class Faker_hr : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -305,8 +305,8 @@ class Faker_hr : Faker_en { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName(); + default: return ""; } - return ""; } override string personFemaleFirstName() { diff --git a/source/faked/faker_hu.d b/source/faked/faker_hu.d index b54168d..9ed3cdc 100644 --- a/source/faked/faker_hu.d +++ b/source/faked/faker_hu.d @@ -308,8 +308,8 @@ class Faker_hu : Faker_en { case 1: return personLastName() ~ " és " ~ personLastName() ~ " " ~ companySuffix(); case 2: return personLastName() ~ " és Tsa. " ~ companySuffix(); case 3: return personLastName() ~ " 2000 " ~ companySuffix(); + default: return ""; } - return ""; } override string companySuffix() { diff --git a/source/faked/faker_hy.d b/source/faked/faker_hy.d index 61037f9..855cb40 100644 --- a/source/faked/faker_hy.d +++ b/source/faked/faker_hy.d @@ -71,8 +71,8 @@ class Faker_hy : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return locationCityPrefix() ~ " " ~ personLastName(); case 1: return personLastName() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -200,15 +200,15 @@ class Faker_hy : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_id_id.d b/source/faked/faker_id_id.d index b3c8373..b265d26 100644 --- a/source/faked/faker_id_id.d +++ b/source/faked/faker_id_id.d @@ -26,8 +26,8 @@ class Faker_id_id : Faker_en { case 0: return companyPrefix() ~ " " ~ personLastName(); case 1: return personLastName() ~ " " ~ companySuffix(); case 2: return companyPrefix() ~ " " ~ personLastName() ~ " " ~ companySuffix(); + default: return ""; } - return ""; } override string companySuffix() { @@ -139,8 +139,8 @@ class Faker_id_id : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -180,16 +180,16 @@ class Faker_id_id : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " no " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " no " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 2, this.rnd)) { case 0: return locationStreetPrefix() ~ " " ~ personFirstName(); case 1: return locationStreetPrefix() ~ " " ~ personLastName(); + default: return ""; } - return ""; } string locationStreetPrefix() { diff --git a/source/faked/faker_it.d b/source/faked/faker_it.d index 22da9f8..7d74ad8 100644 --- a/source/faked/faker_it.d +++ b/source/faked/faker_it.d @@ -97,8 +97,8 @@ class Faker_it : Faker_en { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personLastName() ~ "-" ~ personLastName() ~ " " ~ companySuffix(); case 2: return personLastName() ~ ", " ~ personLastName() ~ " e " ~ personLastName() ~ " " ~ companySuffix(); + default: return ""; } - return ""; } override string companyNoun() { @@ -315,8 +315,8 @@ class Faker_it : Faker_en { case 2: return personFirstName() ~ " " ~ locationCitySuffix(); case 3: return personLastName() ~ " " ~ locationCitySuffix(); case 4: return locationCityName(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -452,16 +452,16 @@ class Faker_it : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ ", " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 2, this.rnd)) { case 0: return locationStreetSuffix() ~ " " ~ personFirstName(); case 1: return locationStreetSuffix() ~ " " ~ personLastName(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_ja.d b/source/faked/faker_ja.d index 72e0e88..bce4460 100644 --- a/source/faked/faker_ja.d +++ b/source/faked/faker_ja.d @@ -32,8 +32,8 @@ class Faker_ja : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return companyType() ~ personLastName() ~ companyCategory(); case 1: return personLastName() ~ companyCategory() ~ companyType(); + default: return ""; } - return ""; } string companyType() { @@ -57,8 +57,8 @@ class Faker_ja : Faker_en { case 1: return personFirstName() ~ locationCitySuffix(); case 2: return locationCityPrefix() ~ personLastName() ~ locationCitySuffix(); case 3: return personLastName() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -157,8 +157,8 @@ class Faker_ja : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ locationStreetSuffix(); case 1: return personLastName() ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string loremWords() { diff --git a/source/faked/faker_ka_ge.d b/source/faked/faker_ka_ge.d index f489483..574d55f 100644 --- a/source/faked/faker_ka_ge.d +++ b/source/faked/faker_ka_ge.d @@ -36,8 +36,8 @@ class Faker_ka_ge : Faker_en { case 2: return companyPrefix() ~ " " ~ personLastName() ~ " " ~ companySuffix(); case 3: return companyPrefix() ~ " " ~ personFirstName() ~ " " ~ companySuffix(); case 4: return companyPrefix() ~ " " ~ personLastName() ~ "-" ~ personLastName(); + default: return ""; } - return ""; } override string companySuffix() { @@ -117,8 +117,8 @@ class Faker_ka_ge : Faker_en { case 2: return personFirstName() ~ locationCitySuffix(); case 3: return personLastName() ~ locationCitySuffix(); case 4: return locationCityName(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -289,8 +289,8 @@ class Faker_ka_ge : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -447,8 +447,8 @@ class Faker_ka_ge : Faker_en { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_ko.d b/source/faked/faker_ko.d index a7f64dd..d2cf893 100644 --- a/source/faked/faker_ko.d +++ b/source/faked/faker_ko.d @@ -25,8 +25,8 @@ class Faker_ko : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return companyPrefix() ~ " " ~ personFirstName(); case 1: return personFirstName() ~ " " ~ companySuffix(); + default: return ""; } - return ""; } override string companySuffix() { @@ -103,8 +103,8 @@ class Faker_ko : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationCitySuffix() { @@ -159,8 +159,8 @@ class Faker_ko : Faker_en { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName() ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_lv.d b/source/faked/faker_lv.d index adec080..3c5412b 100644 --- a/source/faked/faker_lv.d +++ b/source/faked/faker_lv.d @@ -69,8 +69,8 @@ class Faker_lv : Faker_en { case 2: return companyPrefix() ~ " " ~ personFemaleLastName() ~ " " ~ companySuffix(); case 3: return personMaleLastName() ~ " un " ~ personMaleLastName(); case 4: return personMaleLastName() ~ ", " ~ personMaleLastName() ~ " un " ~ personMaleLastName(); + default: return ""; } - return ""; } override string companySuffix() { @@ -161,8 +161,8 @@ class Faker_lv : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -242,8 +242,8 @@ class Faker_lv : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -312,8 +312,8 @@ class Faker_lv : Faker_en { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_mk.d b/source/faked/faker_mk.d index 33bbd94..d482643 100644 --- a/source/faked/faker_mk.d +++ b/source/faked/faker_mk.d @@ -33,8 +33,8 @@ class Faker_mk : Faker_en { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return locationCityName() ~ " " ~ companySuffix(); case 2: return personLastName() ~ ", " ~ personLastName() ~ " и " ~ personLastName(); + default: return ""; } - return ""; } override string companySuffix() { @@ -127,8 +127,8 @@ class Faker_mk : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -260,8 +260,8 @@ class Faker_mk : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -495,8 +495,8 @@ class Faker_mk : Faker_en { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName(); + default: return ""; } - return ""; } override string personFemaleFirstName() { diff --git a/source/faked/faker_nb_no.d b/source/faked/faker_nb_no.d index 06842ea..27ad0ba 100644 --- a/source/faked/faker_nb_no.d +++ b/source/faked/faker_nb_no.d @@ -35,8 +35,8 @@ class Faker_nb_no : Faker_en { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personLastName() ~ "-" ~ personLastName(); case 2: return personLastName() ~ ", " ~ personLastName() ~ " og " ~ personLastName(); + default: return ""; } - return ""; } override string companySuffix() { @@ -71,8 +71,8 @@ class Faker_nb_no : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationCitySuffix() { @@ -121,8 +121,8 @@ class Faker_nb_no : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -141,8 +141,8 @@ class Faker_nb_no : Faker_en { case 1: return locationStreetPrefix() ~ " " ~ locationStreetName() ~ locationStreetSuffix(); case 2: return personFirstName() ~ locationCommonStreetSuffix(); case 3: return personLastName() ~ locationCommonStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { @@ -419,8 +419,8 @@ class Faker_nb_no : Faker_en { case 115: return ChemicalElement(q"{Lv}", q"{Livermorium}", 116); case 116: return ChemicalElement(q"{Ts}", q"{Tenness}", 117); case 117: return ChemicalElement(q"{Og}", q"{Oganesson}", 118); + default: return ChemicalElement("",""); } - return ChemicalElement("", "", 0); } override ChemicalUnit scienceUnit() { @@ -447,8 +447,8 @@ class Faker_nb_no : Faker_en { case 19: return ChemicalUnit(q"{becquerel}", q"{Bq}"); case 20: return ChemicalUnit(q"{gray}", q"{Gy}"); case 21: return ChemicalUnit(q"{sievert}", q"{Sv}"); + default: return ChemicalUnit("",""); } - return ChemicalUnit("", ""); } override string wordAdjective() { diff --git a/source/faked/faker_ne.d b/source/faked/faker_ne.d index 96a674d..99e02f4 100644 --- a/source/faked/faker_ne.d +++ b/source/faked/faker_ne.d @@ -54,8 +54,8 @@ class Faker_ne : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -90,8 +90,8 @@ class Faker_ne : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string personFemaleFirstName() { diff --git a/source/faked/faker_nl.d b/source/faked/faker_nl.d index d78f322..02cd4d5 100644 --- a/source/faked/faker_nl.d +++ b/source/faked/faker_nl.d @@ -143,8 +143,8 @@ class Faker_nl : Faker_en { case 5: return "De " ~ hackerAbbreviation() ~ " " ~ hackerNoun() ~ " ligt eruit, jullie moeten de " ~ hackerAdjective() ~ " " ~ hackerNoun() ~ " " ~ hackerVerb() ~ " zodat we de " ~ hackerAbbreviation() ~ " " ~ hackerNoun() ~ " kunnen " ~ hackerVerb() ~ "!"; case 6: return "Het maakt niet uit of we de " ~ hackerNoun() ~ " " ~ hackerVerb() ~ ", we moeten de " ~ hackerAdjective() ~ " " ~ hackerAbbreviation() ~ " " ~ hackerNoun() ~ " " ~ hackerVerb() ~ "!"; case 7: return "Ik ga de " ~ hackerAdjective() ~ " " ~ hackerAbbreviation() ~ " " ~ hackerNoun() ~ " " ~ hackerVerb() ~ ", dat zou de " ~ hackerNoun() ~ " moeten " ~ hackerVerb() ~ "!"; + default: return ""; } - return ""; } override string hackerVerb() { @@ -182,8 +182,8 @@ class Faker_nl : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return locationCityPrefix() ~ locationCitySuffix(); case 1: return locationCityPrefix(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -636,16 +636,16 @@ class Faker_nl : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ locationStreetSuffix(); case 1: return personLastName() ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_nl_be.d b/source/faked/faker_nl_be.d index dbfa7cb..a71fb4e 100644 --- a/source/faked/faker_nl_be.d +++ b/source/faked/faker_nl_be.d @@ -53,8 +53,8 @@ class Faker_nl_be : Faker_nl { switch(uniform(0, 2, this.rnd)) { case 0: return locationCityPrefix(); case 1: return locationCityPrefix() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -293,16 +293,16 @@ class Faker_nl_be : Faker_nl { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ locationStreetSuffix(); case 1: return personLastName() ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_pl.d b/source/faked/faker_pl.d index dee306e..de6e523 100644 --- a/source/faked/faker_pl.d +++ b/source/faked/faker_pl.d @@ -95,8 +95,8 @@ class Faker_pl : Faker_en { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personLastName() ~ "-" ~ personLastName(); case 2: return personLastName() ~ ", " ~ personLastName() ~ " and " ~ personLastName(); + default: return ""; } - return ""; } override string companySuffix() { @@ -291,8 +291,8 @@ class Faker_pl : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -396,15 +396,15 @@ class Faker_pl : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetPrefix() ~ " " ~ personLastName(); + default: return ""; } - return ""; } string locationStreetPrefix() { @@ -991,8 +991,8 @@ class Faker_pl : Faker_en { case 115: return ChemicalElement(q"{Lv}", q"{Liwermor}", 116); case 116: return ChemicalElement(q"{Ts}", q"{Tenes}", 117); case 117: return ChemicalElement(q"{Og}", q"{Oganeson}", 118); + default: return ChemicalElement("",""); } - return ChemicalElement("", "", 0); } override ChemicalUnit scienceUnit() { @@ -1019,8 +1019,8 @@ class Faker_pl : Faker_en { case 19: return ChemicalUnit(q"{bekerel}", q"{Bq}"); case 20: return ChemicalUnit(q"{grej}", q"{Gy}"); case 21: return ChemicalUnit(q"{siwert}", q"{Sv}"); + default: return ChemicalUnit("",""); } - return ChemicalUnit("", ""); } string teamPrefix() { @@ -1034,8 +1034,8 @@ class Faker_pl : Faker_en { override string teamName() { switch(uniform(0, 1, this.rnd)) { case 0: return teamPrefix() ~ " " ~ locationCity(); + default: return ""; } - return ""; } } diff --git a/source/faked/faker_pt_br.d b/source/faked/faker_pt_br.d index 72abe4f..b59b3c3 100644 --- a/source/faked/faker_pt_br.d +++ b/source/faked/faker_pt_br.d @@ -63,8 +63,8 @@ class Faker_pt_br : Faker_en { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personLastName() ~ "-" ~ personLastName(); case 2: return personLastName() ~ ", " ~ personLastName() ~ " e " ~ personLastName(); + default: return ""; } - return ""; } override string companySuffix() { @@ -129,8 +129,8 @@ class Faker_pt_br : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ locationCitySuffix(); case 1: return personLastName() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationCitySuffix() { @@ -231,8 +231,8 @@ class Faker_pt_br : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_pt_pt.d b/source/faked/faker_pt_pt.d index e168fe6..db146e6 100644 --- a/source/faked/faker_pt_pt.d +++ b/source/faked/faker_pt_pt.d @@ -155,8 +155,8 @@ class Faker_pt_pt : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -253,15 +253,15 @@ class Faker_pt_pt : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ "-" ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetPrefix() ~ " " ~ personFirstName() ~ " " ~ personLastName(); + default: return ""; } - return ""; } string locationStreetPrefix() { diff --git a/source/faked/faker_ro.d b/source/faked/faker_ro.d index 71410ba..d5e8d49 100644 --- a/source/faked/faker_ro.d +++ b/source/faked/faker_ro.d @@ -148,8 +148,8 @@ class Faker_ro : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCounty() { @@ -216,8 +216,8 @@ class Faker_ro : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ ", " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ ", " ~ locationBuildingNumber() ~ ", " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -249,8 +249,8 @@ class Faker_ro : Faker_en { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetSuffix() ~ " " ~ locationStreetName(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_ro_md.d b/source/faked/faker_ro_md.d index ac1d0e6..e04a1c6 100644 --- a/source/faked/faker_ro_md.d +++ b/source/faked/faker_ro_md.d @@ -119,8 +119,8 @@ class Faker_ro_md : Faker_ro { switch(uniform(0, 2, this.rnd)) { case 0: return locationCityPrefix() ~ " " ~ personFirstName(); case 1: return locationCityName(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -171,15 +171,15 @@ class Faker_ro_md : Faker_ro { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ ", " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ ", " ~ locationBuildingNumber() ~ ", " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetPrefix() ~ " " ~ locationStreetNamePart(); + default: return ""; } - return ""; } string locationStreetPrefix() { diff --git a/source/faked/faker_ru.d b/source/faked/faker_ru.d index 3a20a62..01495ef 100644 --- a/source/faked/faker_ru.d +++ b/source/faked/faker_ru.d @@ -72,8 +72,8 @@ class Faker_ru : Faker_en { case 5: return companyPrefix() ~ " " ~ locationCityName() ~ companySuffix(); case 6: return companyPrefix() ~ " " ~ locationCityName() ~ companySuffix() ~ companySuffix(); case 7: return companyPrefix() ~ " " ~ locationCityName() ~ companySuffix() ~ companySuffix() ~ companySuffix(); + default: return ""; } - return ""; } override string companySuffix() { @@ -171,8 +171,8 @@ class Faker_ru : Faker_en { case 5: return hackerAbbreviation() ~ " " ~ hackerNoun() ~ " недоступен, требуется " ~ hackerVerb() ~ " " ~ hackerAdjective() ~ " " ~ hackerNoun() ~ ", чтобы мы могли " ~ hackerVerb() ~ " " ~ hackerAbbreviation() ~ " " ~ hackerNoun() ~ "!"; case 6: return hackerIngverb() ~ " не работает, попробуйте " ~ hackerVerb() ~ " " ~ hackerAdjective() ~ " " ~ hackerAbbreviation() ~ " " ~ hackerNoun() ~ "!"; case 7: return "Я планирую " ~ hackerVerb() ~ " " ~ hackerAdjective() ~ " " ~ hackerAbbreviation() ~ " " ~ hackerNoun() ~ ", это должно помочь " ~ hackerVerb() ~ " " ~ hackerAbbreviation() ~ " " ~ hackerNoun() ~ "!"; + default: return ""; } - return ""; } override string hackerVerb() { @@ -393,8 +393,8 @@ class Faker_ru : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -534,8 +534,8 @@ class Faker_ru : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ ", " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ ", " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -628,8 +628,8 @@ class Faker_ru : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return locationStreetSuffix() ~ " " ~ locationStreetName(); case 1: return locationStreetName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_sk.d b/source/faked/faker_sk.d index 8d2eb15..8e3f98b 100644 --- a/source/faked/faker_sk.d +++ b/source/faked/faker_sk.d @@ -25,8 +25,8 @@ class Faker_sk : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personMaleLastName() ~ " a " ~ personMaleLastName() ~ " " ~ companySuffix(); + default: return ""; } - return ""; } override string companySuffix() { @@ -80,8 +80,8 @@ class Faker_sk : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -205,8 +205,8 @@ class Faker_sk : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -414,8 +414,8 @@ class Faker_sk : Faker_en { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName(); + default: return ""; } - return ""; } override string loremWords() { diff --git a/source/faked/faker_sr_rs_latin.d b/source/faked/faker_sr_rs_latin.d index db4367a..bc541a4 100644 --- a/source/faked/faker_sr_rs_latin.d +++ b/source/faked/faker_sr_rs_latin.d @@ -85,8 +85,8 @@ class Faker_sr_rs_latin : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -182,8 +182,8 @@ class Faker_sr_rs_latin : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -295,8 +295,8 @@ class Faker_sr_rs_latin : Faker_en { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName(); + default: return ""; } - return ""; } override string personFemaleFirstName() { diff --git a/source/faked/faker_sv.d b/source/faked/faker_sv.d index c586a11..ba152ca 100644 --- a/source/faked/faker_sv.d +++ b/source/faked/faker_sv.d @@ -65,8 +65,8 @@ class Faker_sv : Faker_en { case 0: return personLastName() ~ " " ~ companySuffix(); case 1: return personLastName() ~ "-" ~ personLastName(); case 2: return personLastName() ~ ", " ~ personLastName() ~ " " ~ companySuffix(); + default: return ""; } - return ""; } override string companySuffix() { @@ -123,8 +123,8 @@ class Faker_sv : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityPrefix() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -223,8 +223,8 @@ class Faker_sv : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -243,8 +243,8 @@ class Faker_sv : Faker_en { case 1: return locationStreetPrefix() ~ " " ~ locationStreetName() ~ locationStreetSuffix(); case 2: return personFirstName() ~ locationCommonStreetSuffix(); case 3: return personLastName() ~ locationCommonStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { @@ -456,8 +456,8 @@ class Faker_sv : Faker_en { override string teamName() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCity() ~ " " ~ teamSuffix(); + default: return ""; } - return ""; } } diff --git a/source/faked/faker_th.d b/source/faked/faker_th.d index a38d2dc..4225abe 100644 --- a/source/faked/faker_th.d +++ b/source/faked/faker_th.d @@ -206,8 +206,8 @@ class Faker_th : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -484,8 +484,8 @@ class Faker_th : Faker_en { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName(); + default: return ""; } - return ""; } override string personFemaleFirstName() { diff --git a/source/faked/faker_tr.d b/source/faked/faker_tr.d index 4f579f7..68a45b8 100644 --- a/source/faked/faker_tr.d +++ b/source/faked/faker_tr.d @@ -113,8 +113,8 @@ class Faker_tr : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -209,8 +209,8 @@ class Faker_tr : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ " " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ " " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -232,8 +232,8 @@ class Faker_tr : Faker_en { override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationStreetName(); + default: return ""; } - return ""; } override string loremWords() { diff --git a/source/faked/faker_uk.d b/source/faked/faker_uk.d index df0a493..721aef5 100644 --- a/source/faked/faker_uk.d +++ b/source/faked/faker_uk.d @@ -31,8 +31,8 @@ class Faker_uk : Faker_en { case 5: return companyPrefix() ~ " " ~ locationCityName() ~ companySuffix(); case 6: return companyPrefix() ~ " " ~ locationCityName() ~ companySuffix() ~ companySuffix(); case 7: return companyPrefix() ~ " " ~ locationCityName() ~ companySuffix() ~ companySuffix() ~ companySuffix(); + default: return ""; } - return ""; } override string companySuffix() { @@ -104,8 +104,8 @@ class Faker_uk : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return locationCityName(); case 1: return locationCityPrefix() ~ " " ~ personMaleFirstName(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -227,8 +227,8 @@ class Faker_uk : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ ", " ~ locationBuildingNumber(); case LocationStreetAddressEnum.full: return locationStreet() ~ ", " ~ locationBuildingNumber() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetName() { @@ -245,8 +245,8 @@ class Faker_uk : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return locationStreetPrefix() ~ " " ~ locationStreetName(); case 1: return locationStreetName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_ur.d b/source/faked/faker_ur.d index 24d01b9..482b400 100644 --- a/source/faked/faker_ur.d +++ b/source/faked/faker_ur.d @@ -63,8 +63,8 @@ class Faker_ur : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personName(); case 1: return companyName(); + default: return ""; } - return ""; } override string appName() { @@ -181,8 +181,8 @@ class Faker_ur : Faker_en { case 2: return personFirstName() ~ locationCitySuffix(); case 3: return personLastName() ~ locationCitySuffix(); case 4: return locationCityName(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -293,16 +293,16 @@ class Faker_ur : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationBuildingNumber() ~ " " ~ locationStreet(); case LocationStreetAddressEnum.full: return locationBuildingNumber() ~ " " ~ locationStreet() ~ " " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { @@ -470,8 +470,8 @@ class Faker_ur : Faker_en { override string teamName() { switch(uniform(0, 1, this.rnd)) { case 0: return locationState() ~ " " ~ teamCreature(); + default: return ""; } - return ""; } override string vehicleBicycleType() { diff --git a/source/faked/faker_vi.d b/source/faked/faker_vi.d index 86b6643..e99fe7b 100644 --- a/source/faked/faker_vi.d +++ b/source/faked/faker_vi.d @@ -31,8 +31,8 @@ class Faker_vi : Faker_en { override string companyNamePattern() { switch(uniform(0, 1, this.rnd)) { case 0: return companyPrefix() ~ " " ~ personLastName(); + default: return ""; } - return ""; } string companyPrefix() { @@ -96,8 +96,8 @@ class Faker_vi : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationCountry() { @@ -173,8 +173,8 @@ class Faker_vi : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string loremWords() { diff --git a/source/faked/faker_zh_cn.d b/source/faked/faker_zh_cn.d index 360f257..2c132d9 100644 --- a/source/faked/faker_zh_cn.d +++ b/source/faked/faker_zh_cn.d @@ -142,8 +142,8 @@ class Faker_zh_cn : Faker_en { case 116: return Airline(nullable(q"{西捷航空公司}"), nullable(q"{WS}")); case 117: return Airline(nullable(q"{温戈航空公司}"), nullable(q"{P5}")); case 118: return Airline(nullable(q"{维兹航空公司}"), nullable(q"{W6}")); + default: return Airline(Nullable!(string).init, Nullable!(string).init); } - return Airline(Nullable!(string).init, Nullable!(string).init); } override Airplane airlineAirplane() { @@ -303,8 +303,8 @@ class Faker_zh_cn : Faker_en { case 152: return Airplane(nullable(q"{图波列夫Tu-204}"), nullable(q"{T20}")); case 153: return Airplane(nullable(q"{雅科夫列夫Yak-40}"), nullable(q"{YK4}")); case 154: return Airplane(nullable(q"{雅科夫列夫Yak-42}"), nullable(q"{YK2}")); + default: return Airplane(Nullable!(string).init, Nullable!(string).init); } - return Airplane(Nullable!(string).init, Nullable!(string).init); } override Airport airlineAirport() { @@ -427,8 +427,8 @@ class Faker_zh_cn : Faker_en { case 115: return Airport(nullable(q"{西安咸阳国际机场}"), nullable(q"{XIY}")); case 116: return Airport(nullable(q"{茹科夫斯基国际机场}"), nullable(q"{ZIA}")); case 117: return Airport(nullable(q"{苏黎世机场}"), nullable(q"{ZRH}")); + default: return Airport(Nullable!(string).init, Nullable!(string).init); } - return Airport(Nullable!(string).init, Nullable!(string).init); } override string animalBear() { @@ -530,8 +530,8 @@ class Faker_zh_cn : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return locationState() ~ personFirstName() ~ companyCategory() ~ companyType(); case 1: return locationCity() ~ personFirstName() ~ companyCategory() ~ companyType(); + default: return ""; } - return ""; } string companyType() { @@ -768,8 +768,8 @@ class Faker_zh_cn : Faker_en { case 152: return Currency(q"{南非兰特}", q"{ZAR}", q"{R}"); case 153: return Currency(q"{赞比亚克瓦查}", q"{ZMW}", q"{ZK}"); case 154: return Currency(q"{津巴布韦元}", q"{ZWL}", q"{$}"); + default: return Currency("","",""); } - return Currency("", "", ""); } override string financeTransactionType() { @@ -808,8 +808,8 @@ class Faker_zh_cn : Faker_en { case 5: return hackerAbbreviation() ~ hackerNoun() ~ "已关闭,因为" ~ hackerAdjective() ~ hackerNoun() ~ "所以我们能" ~ hackerVerb() ~ hackerAbbreviation() ~ hackerNoun() ~ "!"; case 6: return hackerVerb() ~ hackerNoun() ~ "是无济于事的,我们需要" ~ hackerVerb() ~ hackerAdjective() ~ hackerAbbreviation() ~ hackerNoun() ~ "!"; case 7: return "我将" ~ hackerVerb() ~ hackerAdjective() ~ hackerAbbreviation() ~ hackerNoun() ~ ",那是应该" ~ hackerNoun() ~ hackerAbbreviation() ~ hackerNoun() ~ "!"; + default: return ""; } - return ""; } override string hackerVerb() { @@ -840,8 +840,8 @@ class Faker_zh_cn : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityPrefix() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -906,15 +906,15 @@ class Faker_zh_cn : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ locationBuildingNumber() ~ "号"; case LocationStreetAddressEnum.full: return locationStreet() ~ locationBuildingNumber() ~ "号 " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return personLastName() ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { @@ -984,8 +984,8 @@ class Faker_zh_cn : Faker_en { case 5: return wordNoun() ~ personBioSupporter() ~ internetEmoji(); case 6: return wordNoun() ~ personBioSupporter() ~ "," ~ personBioPart(); case 7: return wordNoun() ~ personBioSupporter() ~ "," ~ personBioPart() ~ internetEmoji(); + default: return ""; } - return ""; } override string personBioSupporter() { @@ -1300,8 +1300,8 @@ class Faker_zh_cn : Faker_en { case 115: return ChemicalElement(q"{Lv}", q"{𫟷}", 116); case 116: return ChemicalElement(q"{Ts}", q"{钿}", 117); case 117: return ChemicalElement(q"{Og}", q"{鿫}", 118); + default: return ChemicalElement("",""); } - return ChemicalElement("", "", 0); } override ChemicalUnit scienceUnit() { @@ -1335,8 +1335,8 @@ class Faker_zh_cn : Faker_en { case 26: return ChemicalUnit(q"{亨利}", q"{H}"); case 27: return ChemicalUnit(q"{勒克斯}", q"{lx}"); case 28: return ChemicalUnit(q"{开特}", q"{kat}"); + default: return ChemicalUnit("",""); } - return ChemicalUnit("", ""); } override string vehicleBicycleType() { diff --git a/source/faked/faker_zh_tw.d b/source/faked/faker_zh_tw.d index 14c763a..7a27f8c 100644 --- a/source/faked/faker_zh_tw.d +++ b/source/faked/faker_zh_tw.d @@ -62,8 +62,8 @@ class Faker_zh_tw : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityPrefix() ~ locationCitySuffix(); + default: return ""; } - return ""; } override string locationCityPrefix() { @@ -121,15 +121,15 @@ class Faker_zh_tw : Faker_en { switch(which) { case LocationStreetAddressEnum.normal: return locationStreet() ~ locationBuildingNumber() ~ "號"; case LocationStreetAddressEnum.full: return locationStreet() ~ locationBuildingNumber() ~ "號 " ~ locationSecondaryAddress(); + default: return ""; } - return ""; } override string locationStreetPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return personLastName() ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string locationStreetSuffix() { diff --git a/source/faked/faker_zu_za.d b/source/faked/faker_zu_za.d index 1ebe870..866e224 100644 --- a/source/faked/faker_zu_za.d +++ b/source/faked/faker_zu_za.d @@ -55,8 +55,8 @@ class Faker_zu_za : Faker_en { override string locationCityPattern() { switch(uniform(0, 1, this.rnd)) { case 0: return locationCityName(); + default: return ""; } - return ""; } override string locationDefaultCountry() { @@ -85,8 +85,8 @@ class Faker_zu_za : Faker_en { switch(uniform(0, 2, this.rnd)) { case 0: return personFirstName() ~ " " ~ locationStreetSuffix(); case 1: return personLastName() ~ " " ~ locationStreetSuffix(); + default: return ""; } - return ""; } override string personFemaleFirstName() {