aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Gouffon <[email protected]>2022-05-26 16:55:31 +0200
committerGitHub <[email protected]>2022-05-26 16:55:31 +0200
commitd96457ed99fb124dd4fceb16a8b418be2a4f47ed (patch)
tree68a6678b89e2c068892617252fa3d955da615c43
parentb50fb6d7abdcc781bb8d9687940bda1b374e6bf2 (diff)
downloadfaker-d96457ed99fb124dd4fceb16a8b418be2a4f47ed.tar.xz
faker-d96457ed99fb124dd4fceb16a8b418be2a4f47ed.zip
fix: 🇫🇷 fr and 🇨🇭 fr_CH 🎨 colors (#1007)
-rw-r--r--src/locales/en/music/index.ts2
-rw-r--r--src/locales/fr/color/human.ts (renamed from src/locales/fr/commerce/color.ts)2
-rw-r--r--src/locales/fr/color/index.ts12
-rw-r--r--src/locales/fr/commerce/index.ts2
-rw-r--r--src/locales/fr/index.ts2
-rw-r--r--src/locales/fr_CH/color/human.ts (renamed from src/locales/fr_CH/commerce/color.ts)2
-rw-r--r--src/locales/fr_CH/color/index.ts12
-rw-r--r--src/locales/fr_CH/commerce/index.ts2
-rw-r--r--src/locales/fr_CH/index.ts2
9 files changed, 31 insertions, 7 deletions
diff --git a/src/locales/en/music/index.ts b/src/locales/en/music/index.ts
index 906e2739..aefacf0e 100644
--- a/src/locales/en/music/index.ts
+++ b/src/locales/en/music/index.ts
@@ -7,8 +7,8 @@ import genre from './genre';
import song_name from './song_name';
const music: MusicDefinitions = {
- song_name,
genre,
+ song_name,
};
export default music;
diff --git a/src/locales/fr/commerce/color.ts b/src/locales/fr/color/human.ts
index d44d0775..82b2bec6 100644
--- a/src/locales/fr/commerce/color.ts
+++ b/src/locales/fr/color/human.ts
@@ -163,7 +163,7 @@ export default [
'topaze',
'tourterelle',
'turquoise',
- 'vanille#Couleur_vanille',
+ 'vanille',
'vermeil',
'vermillon',
'vert bouteille',
diff --git a/src/locales/fr/color/index.ts b/src/locales/fr/color/index.ts
new file mode 100644
index 00000000..79cc39f0
--- /dev/null
+++ b/src/locales/fr/color/index.ts
@@ -0,0 +1,12 @@
+/*
+ * This file is automatically generated.
+ * Run 'pnpm run generate:locales' to update.
+ */
+import type { ColorDefinitions } from '../../..';
+import human from './human';
+
+const color: ColorDefinitions = {
+ human,
+};
+
+export default color;
diff --git a/src/locales/fr/commerce/index.ts b/src/locales/fr/commerce/index.ts
index 2f3f890d..dab2aa69 100644
--- a/src/locales/fr/commerce/index.ts
+++ b/src/locales/fr/commerce/index.ts
@@ -3,13 +3,11 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { CommerceDefinitions } from '../../..';
-import color from './color';
import department from './department';
import product_description from './product_description';
import product_name from './product_name';
const commerce: CommerceDefinitions = {
- color,
department,
product_description,
product_name,
diff --git a/src/locales/fr/index.ts b/src/locales/fr/index.ts
index 521f071d..e880a475 100644
--- a/src/locales/fr/index.ts
+++ b/src/locales/fr/index.ts
@@ -5,6 +5,7 @@
import type { LocaleDefinition } from '../..';
import address from './address';
import animal from './animal';
+import color from './color';
import commerce from './commerce';
import company from './company';
import date from './date';
@@ -21,6 +22,7 @@ const fr: LocaleDefinition = {
title: 'French',
address,
animal,
+ color,
commerce,
company,
date,
diff --git a/src/locales/fr_CH/commerce/color.ts b/src/locales/fr_CH/color/human.ts
index d44d0775..82b2bec6 100644
--- a/src/locales/fr_CH/commerce/color.ts
+++ b/src/locales/fr_CH/color/human.ts
@@ -163,7 +163,7 @@ export default [
'topaze',
'tourterelle',
'turquoise',
- 'vanille#Couleur_vanille',
+ 'vanille',
'vermeil',
'vermillon',
'vert bouteille',
diff --git a/src/locales/fr_CH/color/index.ts b/src/locales/fr_CH/color/index.ts
new file mode 100644
index 00000000..79cc39f0
--- /dev/null
+++ b/src/locales/fr_CH/color/index.ts
@@ -0,0 +1,12 @@
+/*
+ * This file is automatically generated.
+ * Run 'pnpm run generate:locales' to update.
+ */
+import type { ColorDefinitions } from '../../..';
+import human from './human';
+
+const color: ColorDefinitions = {
+ human,
+};
+
+export default color;
diff --git a/src/locales/fr_CH/commerce/index.ts b/src/locales/fr_CH/commerce/index.ts
index 2f3f890d..dab2aa69 100644
--- a/src/locales/fr_CH/commerce/index.ts
+++ b/src/locales/fr_CH/commerce/index.ts
@@ -3,13 +3,11 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { CommerceDefinitions } from '../../..';
-import color from './color';
import department from './department';
import product_description from './product_description';
import product_name from './product_name';
const commerce: CommerceDefinitions = {
- color,
department,
product_description,
product_name,
diff --git a/src/locales/fr_CH/index.ts b/src/locales/fr_CH/index.ts
index 2b825ecc..e46336bb 100644
--- a/src/locales/fr_CH/index.ts
+++ b/src/locales/fr_CH/index.ts
@@ -6,6 +6,7 @@ import type { LocaleDefinition } from '../..';
import address from './address';
import animal from './animal';
import cell_phone from './cell_phone';
+import color from './color';
import commerce from './commerce';
import date from './date';
import finance from './finance';
@@ -22,6 +23,7 @@ const fr_CH: LocaleDefinition = {
address,
animal,
cell_phone,
+ color,
commerce,
date,
finance,