diff --git a/lib/locales/fr/animal.yml b/lib/locales/fr/animal.yml new file mode 100644 index 0000000000..b34f787345 --- /dev/null +++ b/lib/locales/fr/animal.yml @@ -0,0 +1,5 @@ +fr: + faker: + creature: + animal: + name: ["alligator", "crocodile", "alpaca", "fourmi", "antilope", "singe", "tatou", "âne", "babouin", "blaireau", "chauve-souris", "ours", "castor", "abeille", "scarabée", "buffle", "papillon", "chameau", "caribou", "chat", "bovins", "guépard", "chimpanzé", "cigale", "palourde", "cafard", "morue", "coyote", "crabe", "criquet", "corbeau", "cerf", "dinosaure", "chien", "dauphin", "canard", "aigle", "anguille", "éléphant", "wapiti", "furet", "poisson", "mouche", "renard", "grenouille", "crapaud", "gerbille", "girafe", "gnou", "chèvre", "poisson rouge", "oie", "gorille", "sauterelle", "cochon d'Inde", "hamster", "lièvre", "hérisson", "hareng", "hippopotame", "frelon", "cheval", "hyène", "chacal", "méduse", "kangourou", "koala", "léopard", "lion", "lézard", "lama", "criquet", "colvert", "mammouth", "lamantin", "vison", "élan", "moustique", "souris", "rat", "mule", "loutre", "boeuf", "huître", "panda", "cochon", "ornithorynque", "porc-épic", "lapin", "raton laveur", "renne", "rhinocéros", "saumon", "sardine", "Scorpion", "lion de mer", "requin", "le mouton", "moufette", "escargot", "serpent", "araignée", "écureuil", "cygne", "termite", "tigre", "truite", "tortue", "morse", "guêpe", "belette", "baleine", "loup", "marmotte", "ver de terre", "guêpe jaune", "zèbre"] diff --git a/test/test_fr_locale.rb b/test/test_fr_locale.rb index dbcb6341a1..f9a00712ec 100644 --- a/test/test_fr_locale.rb +++ b/test/test_fr_locale.rb @@ -125,6 +125,10 @@ def test_fr_cell_phone_format assert_match(/^0?(6|7)\d{8}$/, mobile) end + def test_fr_creature_methods + assert Faker::Creature::Animal.name.is_a? String + end + def test_fr_pokemon_methods assert Faker::Games::Pokemon.name.is_a? String assert Faker::Games::Pokemon.location.is_a? String