Merge pull request #43 from rachids/master
Added French (fr and fr-ca) colorful words
This commit is contained in:
commit
f4d9cf5b44
|
|
@ -0,0 +1,32 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'bloke',
|
||||||
|
'calisse',
|
||||||
|
'cave',
|
||||||
|
'colon',
|
||||||
|
'criss',
|
||||||
|
'crisse',
|
||||||
|
'crotte',
|
||||||
|
'ecoeurant',
|
||||||
|
'epais',
|
||||||
|
'epaisse',
|
||||||
|
'fif',
|
||||||
|
'gnochon',
|
||||||
|
'lacheux',
|
||||||
|
'marde',
|
||||||
|
'mongol',
|
||||||
|
'moron',
|
||||||
|
'moumoune',
|
||||||
|
'newfie',
|
||||||
|
'niaiseux',
|
||||||
|
'niochon',
|
||||||
|
'pissou',
|
||||||
|
'tarla',
|
||||||
|
'taouin',
|
||||||
|
'teteux',
|
||||||
|
'toton',
|
||||||
|
'twit',
|
||||||
|
'yeule',
|
||||||
|
'zouf',
|
||||||
|
];
|
||||||
|
|
@ -0,0 +1,124 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'abruti',
|
||||||
|
'andouille',
|
||||||
|
'anal',
|
||||||
|
'anus',
|
||||||
|
'baise',
|
||||||
|
'baltringue',
|
||||||
|
'batard',
|
||||||
|
'bete',
|
||||||
|
'biatch',
|
||||||
|
'bite',
|
||||||
|
'bordel',
|
||||||
|
'bouffon',
|
||||||
|
'bouffonne',
|
||||||
|
'bougnoul',
|
||||||
|
'bougnoule',
|
||||||
|
'boulet',
|
||||||
|
'branlette',
|
||||||
|
'branleur',
|
||||||
|
'bride',
|
||||||
|
'burne',
|
||||||
|
'branquignole',
|
||||||
|
'cageot',
|
||||||
|
'casse-couille',
|
||||||
|
'casse-couilles',
|
||||||
|
'chagasse',
|
||||||
|
'charogne',
|
||||||
|
'chiennasse',
|
||||||
|
'chier',
|
||||||
|
'chieur',
|
||||||
|
'chieuse',
|
||||||
|
'chinetoc',
|
||||||
|
'chinetoque',
|
||||||
|
'chinetok',
|
||||||
|
'chleuh',
|
||||||
|
'con',
|
||||||
|
'conchie',
|
||||||
|
'conchier',
|
||||||
|
'connard',
|
||||||
|
'connasse',
|
||||||
|
'couille',
|
||||||
|
'couilles',
|
||||||
|
'couiller',
|
||||||
|
'couillon',
|
||||||
|
'couillonne',
|
||||||
|
'crote',
|
||||||
|
'cul',
|
||||||
|
'debile',
|
||||||
|
'ducon',
|
||||||
|
'dugland',
|
||||||
|
'emmerde',
|
||||||
|
'emmerder',
|
||||||
|
'emmerdeur',
|
||||||
|
'emmerdeuse',
|
||||||
|
'encule',
|
||||||
|
'enculer',
|
||||||
|
'enflure',
|
||||||
|
'enfoire',
|
||||||
|
'etron',
|
||||||
|
'fiotte',
|
||||||
|
'fouteur',
|
||||||
|
'foutre',
|
||||||
|
'fumier',
|
||||||
|
'gland',
|
||||||
|
'glandeur',
|
||||||
|
'glandeuse',
|
||||||
|
'glandu',
|
||||||
|
'gogol',
|
||||||
|
'gogole',
|
||||||
|
'gourdasse',
|
||||||
|
'gourgandine',
|
||||||
|
'lavette',
|
||||||
|
'lopette',
|
||||||
|
'mange-merde',
|
||||||
|
'merde',
|
||||||
|
'merdeux',
|
||||||
|
'merdeuse',
|
||||||
|
'michto',
|
||||||
|
'michtoneur',
|
||||||
|
'michtoneuse',
|
||||||
|
'mongol',
|
||||||
|
'mongole',
|
||||||
|
'mongolien',
|
||||||
|
'mongolienne',
|
||||||
|
'nichon',
|
||||||
|
'nique',
|
||||||
|
'niquer',
|
||||||
|
'niquez',
|
||||||
|
'orchidoclaste',
|
||||||
|
'pd',
|
||||||
|
'pede',
|
||||||
|
'pequenaud',
|
||||||
|
'petasse',
|
||||||
|
'pignouf',
|
||||||
|
'pouffe',
|
||||||
|
'pouffiasse',
|
||||||
|
'putain',
|
||||||
|
'pute',
|
||||||
|
'raclure',
|
||||||
|
'salaud',
|
||||||
|
'salop',
|
||||||
|
'salope',
|
||||||
|
'schlague',
|
||||||
|
'schleu',
|
||||||
|
'schnock',
|
||||||
|
'schnoque',
|
||||||
|
'sous-merde',
|
||||||
|
'tafiole',
|
||||||
|
'tantouse',
|
||||||
|
'tantouze',
|
||||||
|
'tarlouse',
|
||||||
|
'tarlouze',
|
||||||
|
'tebe',
|
||||||
|
'teub',
|
||||||
|
'teube',
|
||||||
|
'tepu',
|
||||||
|
'tocard',
|
||||||
|
'trouduc',
|
||||||
|
'vaurien',
|
||||||
|
'vide-couille',
|
||||||
|
'vide-couilles',
|
||||||
|
];
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'profane' => 'Le champ :attribute comporte du contenu vulgaire',
|
||||||
|
];
|
||||||
|
|
@ -105,4 +105,22 @@ class ProfaneValidatorTest extends TestCase
|
||||||
|
|
||||||
$this->assertFalse($builder->validate(['description', 'εισαι πουτανα', ['en', 'gr']]));
|
$this->assertFalse($builder->validate(['description', 'εισαι πουτανα', ['en', 'gr']]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function test_can_validate_a_word_in_french()
|
||||||
|
{
|
||||||
|
$this->mockConfigs();
|
||||||
|
|
||||||
|
$builder = new ProfaneValidatorBuilder();
|
||||||
|
|
||||||
|
$this->assertFalse($builder->validate(['description', 'Va te faire enculer, sac à merde', ['en', 'fr']]));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function test_can_validate_a_word_in_french_canadian()
|
||||||
|
{
|
||||||
|
$this->mockConfigs();
|
||||||
|
|
||||||
|
$builder = new ProfaneValidatorBuilder();
|
||||||
|
|
||||||
|
$this->assertFalse($builder->validate(['description', 'Décrisse gros cave', ['en', 'fr-ca']]));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue