From fc8c84678816cfda60b86ef0241bd1a46e783e32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B5=D0=BA=D1=82=D0=B5=D1=80=D0=B5=D0=B2=20=D0=90?= =?UTF-8?q?=D0=BD=D0=B4=D1=80=D0=B5=D0=B9?= Date: Thu, 9 Dec 2021 08:35:58 +0000 Subject: [PATCH] Ott 2013 chinese language --- src/config/languages.tsx | 5 +++++ .../AuthServiceApp/components/LanguageSelect/styled.tsx | 1 + 2 files changed, 6 insertions(+) diff --git a/src/config/languages.tsx b/src/config/languages.tsx index 2af91999..401adbcf 100644 --- a/src/config/languages.tsx +++ b/src/config/languages.tsx @@ -49,6 +49,11 @@ export const langsList = [ locale: 'it', title: 'Italiano', }, + { + className: 'zh', + locale: 'zh', + title: '中文', + }, ] as const export type Languages = typeof langsList[number]['locale'] diff --git a/src/features/AuthServiceApp/components/LanguageSelect/styled.tsx b/src/features/AuthServiceApp/components/LanguageSelect/styled.tsx index 797d2755..cd1317c1 100644 --- a/src/features/AuthServiceApp/components/LanguageSelect/styled.tsx +++ b/src/features/AuthServiceApp/components/LanguageSelect/styled.tsx @@ -125,6 +125,7 @@ const flagPositions: Record = { pt: { col: 5, row: 9 }, ru: { col: 8, row: 9 }, ua: { col: 2, row: 12 }, + zh: { col: 6, row: 2 }, } const getFlagPosition = (flag: LanguageFlags) => {