From 1413359467eb897f6994fa8d9e45794dcb7da998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D0=BA=D1=81=D0=B8=D1=82=D0=B0=D0=BB=D0=B8?= =?UTF-8?q?=D0=B5=D0=B2=20=D0=9C=D0=B8=D1=80=D0=BB=D0=B0=D0=BD?= Date: Fri, 17 Dec 2021 06:40:37 +0000 Subject: [PATCH] Ott 2102 add dutch lang --- Makefile | 4 ++-- src/config/languages.tsx | 5 +++++ .../AuthServiceApp/components/LanguageSelect/styled.tsx | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 38e4a449..d15ddb51 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ auth-build: REACT_APP_ENV=staging \ BUILD_PATH=build_auth \ GENERATE_SOURCEMAP=false \ - npm run build:auth + npx react-scripts build npx gzipper --verbose build_auth @@ -32,7 +32,7 @@ auth-production-build: REACT_APP_ENV=production \ BUILD_PATH=build_auth \ GENERATE_SOURCEMAP=false \ - npm run build:auth + npx react-scripts build npx gzipper --verbose build_auth diff --git a/src/config/languages.tsx b/src/config/languages.tsx index 401adbcf..be20c61a 100644 --- a/src/config/languages.tsx +++ b/src/config/languages.tsx @@ -34,6 +34,11 @@ export const langsList = [ locale: 'de', title: 'Deutsch', }, + { + className: 'nl', + locale: 'nl', + title: 'Dutch', + }, { className: 'es', locale: 'es', diff --git a/src/features/AuthServiceApp/components/LanguageSelect/styled.tsx b/src/features/AuthServiceApp/components/LanguageSelect/styled.tsx index cd1317c1..8bced6fa 100644 --- a/src/features/AuthServiceApp/components/LanguageSelect/styled.tsx +++ b/src/features/AuthServiceApp/components/LanguageSelect/styled.tsx @@ -121,6 +121,7 @@ const flagPositions: Record = { fr: { col: 1, row: 4 }, gb: { col: 4, row: 12 }, it: { col: 8, row: 5 }, + nl: { col: 5, row: 8 }, pl: { col: 4, row: 9 }, pt: { col: 5, row: 9 }, ru: { col: 8, row: 9 },