From 19635a7ef3381a475185a2857b59f943dee9be54 Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Sat, 17 Jun 2023 13:05:59 +0700 Subject: feat(color): migrate hu human colors (#2157) --- src/locales/hu/color/human.ts | 31 +++++++++++++++++++++++++++++++ src/locales/hu/color/index.ts | 12 ++++++++++++ src/locales/hu/commerce/color.ts | 31 ------------------------------- src/locales/hu/commerce/index.ts | 2 -- src/locales/hu/index.ts | 2 ++ 5 files changed, 45 insertions(+), 33 deletions(-) create mode 100644 src/locales/hu/color/human.ts create mode 100644 src/locales/hu/color/index.ts delete mode 100644 src/locales/hu/commerce/color.ts (limited to 'src') diff --git a/src/locales/hu/color/human.ts b/src/locales/hu/color/human.ts new file mode 100644 index 00000000..0aa3cd06 --- /dev/null +++ b/src/locales/hu/color/human.ts @@ -0,0 +1,31 @@ +export default [ + 'piros', + 'zöld', + 'kék', + 'sárga', + 'lila', + 'mentazöld', + 'zöldeskék', + 'fehér', + 'fekete', + 'narancssárga', + 'rózsaszín', + 'szürke', + 'gesztenyebarna', + 'ibolya', + 'türkiz', + 'cserszín', + 'égszínkék', + 'lazac', + 'szilva', + 'orchidea', + 'olajzöld', + 'magenta', + 'csontszín', + 'indigó', + 'arany', + 'fuksziaszín', + 'ciánkék', + 'levendula', + 'ezüst', +]; diff --git a/src/locales/hu/color/index.ts b/src/locales/hu/color/index.ts new file mode 100644 index 00000000..e7cf1e89 --- /dev/null +++ b/src/locales/hu/color/index.ts @@ -0,0 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { ColorDefinition } from '../../..'; +import human from './human'; + +const color: ColorDefinition = { + human, +}; + +export default color; diff --git a/src/locales/hu/commerce/color.ts b/src/locales/hu/commerce/color.ts deleted file mode 100644 index 0aa3cd06..00000000 --- a/src/locales/hu/commerce/color.ts +++ /dev/null @@ -1,31 +0,0 @@ -export default [ - 'piros', - 'zöld', - 'kék', - 'sárga', - 'lila', - 'mentazöld', - 'zöldeskék', - 'fehér', - 'fekete', - 'narancssárga', - 'rózsaszín', - 'szürke', - 'gesztenyebarna', - 'ibolya', - 'türkiz', - 'cserszín', - 'égszínkék', - 'lazac', - 'szilva', - 'orchidea', - 'olajzöld', - 'magenta', - 'csontszín', - 'indigó', - 'arany', - 'fuksziaszín', - 'ciánkék', - 'levendula', - 'ezüst', -]; diff --git a/src/locales/hu/commerce/index.ts b/src/locales/hu/commerce/index.ts index cc7c4e7b..29c9eeb2 100644 --- a/src/locales/hu/commerce/index.ts +++ b/src/locales/hu/commerce/index.ts @@ -3,13 +3,11 @@ * Run 'pnpm run generate:locales' to update. */ import type { CommerceDefinition } from '../../..'; -import color from './color'; import department from './department'; import product_description from './product_description'; import product_name from './product_name'; const commerce: CommerceDefinition = { - color, department, product_description, product_name, diff --git a/src/locales/hu/index.ts b/src/locales/hu/index.ts index 9e438781..8ae89f48 100644 --- a/src/locales/hu/index.ts +++ b/src/locales/hu/index.ts @@ -4,6 +4,7 @@ */ import type { LocaleDefinition } from '../..'; import animal from './animal'; +import color from './color'; import commerce from './commerce'; import company from './company'; import date from './date'; @@ -17,6 +18,7 @@ import word from './word'; const hu: LocaleDefinition = { animal, + color, commerce, company, date, -- cgit v1.2.3