Skip to content
This repository was archived by the owner on Dec 11, 2020. It is now read-only.

Commit 8f23aa0

Browse files
authored
Merge pull request #1559 from juananruiz/master
Add Color provider to es_ES locale
2 parents 02f8d17 + 677a820 commit 8f23aa0

File tree

2 files changed

+96
-23
lines changed

2 files changed

+96
-23
lines changed

src/Faker/Provider/es_ES/Color.php

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
3+
namespace Faker\Provider\es_ES;
4+
5+
class Color extends \Faker\Provider\Color
6+
{
7+
protected static $safeColorNames = array(
8+
'amarillo',
9+
'azul marino',
10+
'azul',
11+
'blanco',
12+
'celeste',
13+
'gris',
14+
'lima',
15+
'magenta',
16+
'marrón',
17+
'morado',
18+
'negro',
19+
'plata',
20+
'turquesa',
21+
'verde',
22+
'verde oliva',
23+
);
24+
}

0 commit comments

Comments
 (0)