From 2ff1ffcb9c237562b4281b6a34b846b415ff0036 Mon Sep 17 00:00:00 2001 From: Utku <74243531+utkubakir@users.noreply.github.com> Date: Sun, 4 Feb 2024 23:52:26 +0300 Subject: [PATCH 1/7] Fix Chinese language (#2050) * fix chinese * remove console.log --- Cargo.lock | Bin 258494 -> 258494 bytes .../$libraryId/settings/client/general.tsx | 6 +++--- interface/app/I18n.ts | 8 +++++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2755b8af28488f6fe034043e6837d43a675d767c..83807706317815d5eda862ccd03a3c3c1ce99fb3 100644 GIT binary patch delta 37 rcmdn@n1A16{)QIDEljhwPhMy*zJ1enret;yt6gV5({`Qx%#(}&N5T*5 delta 39 scmdn@n1A16{)QIDEljhwPyblRB({CycBT||Ftc5IKht*Y{mhe%0B^n!_y7O^ diff --git a/interface/app/$libraryId/settings/client/general.tsx b/interface/app/$libraryId/settings/client/general.tsx index 9fa11e554..d40049cd5 100644 --- a/interface/app/$libraryId/settings/client/general.tsx +++ b/interface/app/$libraryId/settings/client/general.tsx @@ -28,8 +28,8 @@ const LANGUAGE_OPTIONS = [ { value: 'es', label: 'Español' }, { value: 'fr', label: 'Français' }, { value: 'tr', label: 'Türkçe' }, - { value: 'zh-CN', label: '中文(简体)' }, - { value: 'zh-TW', label: '中文(繁體)' } + { value: 'zh_CN', label: '中文(简体)' }, + { value: 'zh_TW', label: '中文(繁體)' } ]; export const Component = () => { @@ -201,8 +201,8 @@ export const Component = () => {