From e14e11b5422499b0215f2730141676e9f48fccb8 Mon Sep 17 00:00:00 2001 From: mnenie <121057011+mneniee@users.noreply.github.com> Date: Sat, 20 Jul 2024 23:26:15 +0300 Subject: [PATCH] localization: templates, fix: bugs --- src/entities/board/ui/BoardPreviewCard.vue | 13 +-- src/entities/chart/model/types.ts | 4 +- src/entities/chart/ui/ChartItem.vue | 7 +- src/entities/template/config/index.ts | 8 +- src/entities/template/ui/TemplateItem.vue | 11 ++- .../boards/add-board/ui/CreationBoard.vue | 9 ++- .../boards/add-board/ui/FormCreation.vue | 16 ++-- .../boards/filter/ui/FilterBoards.vue | 22 +++++- src/features/filter/ui/SearchFilter.vue | 3 + src/features/plan/ui/PlanCard.vue | 3 +- .../lang-switcher/ui/LanguageSwitcher.vue | 2 +- src/pages/Templates.vue | 13 +-- src/shared/lib/i18n/index.ts | 6 +- src/shared/lib/i18n/locales/en-US.ts | 62 +++++++++++++++ src/shared/lib/i18n/locales/ru-RU.ts | 64 ++++++++++++++- src/shared/lib/i18n/locales/zh-CN.ts | 79 +++++++++++++++++++ src/shared/ui/input/UiInput.vue | 2 +- src/shared/ui/sheet/UiSheet.vue | 18 +++-- src/widgets/boards/config/charts.data.ts | 10 +-- src/widgets/boards/ui/TeamBoards.vue | 9 ++- src/widgets/templates/ui/AllTemplates.vue | 17 +++- 21 files changed, 324 insertions(+), 54 deletions(-) create mode 100644 src/shared/lib/i18n/locales/zh-CN.ts diff --git a/src/entities/board/ui/BoardPreviewCard.vue b/src/entities/board/ui/BoardPreviewCard.vue index a062c4e..d067bd6 100644 --- a/src/entities/board/ui/BoardPreviewCard.vue +++ b/src/entities/board/ui/BoardPreviewCard.vue @@ -1,13 +1,16 @@