From 678899f210bc4a1050ab8fd3f26c4d51f19803c8 Mon Sep 17 00:00:00 2001 From: AKILIMAILI CIZUNGU Innocent <51681130+Innocent-Akim@users.noreply.github.com> Date: Thu, 14 Nov 2024 23:44:03 +0200 Subject: [PATCH] [Feat]: Update DynamicSelect component and localization Files (#3334) * feat: Update DynamicSelect component and localization files * fix: coderabbitai * fix: coderabbitai --------- Co-authored-by: Ruslan Konviser --- .../components/TimeSheetFilterPopover.tsx | 12 ++-- .../components/TimesheetFilterDate.tsx | 2 +- .../components/custom-select/select-items.tsx | 69 +++++++++++++++++++ .../manual-time/add-manual-time-modal.tsx | 20 ------ apps/web/locales/ar.json | 5 +- apps/web/locales/bg.json | 5 +- apps/web/locales/de.json | 5 +- apps/web/locales/en.json | 5 +- apps/web/locales/es.json | 5 +- apps/web/locales/fr.json | 5 +- apps/web/locales/he.json | 5 +- apps/web/locales/it.json | 5 +- apps/web/locales/nl.json | 5 +- apps/web/locales/pl.json | 5 +- apps/web/locales/pt.json | 5 +- apps/web/locales/ru.json | 5 +- apps/web/locales/zh.json | 5 +- 17 files changed, 128 insertions(+), 40 deletions(-) diff --git a/apps/web/app/[locale]/timesheet/[memberId]/components/TimeSheetFilterPopover.tsx b/apps/web/app/[locale]/timesheet/[memberId]/components/TimeSheetFilterPopover.tsx index d241c7650..48d04748d 100644 --- a/apps/web/app/[locale]/timesheet/[memberId]/components/TimeSheetFilterPopover.tsx +++ b/apps/web/app/[locale]/timesheet/[memberId]/components/TimeSheetFilterPopover.tsx @@ -47,7 +47,7 @@ export const TimeSheetFilterPopover = React.memo(function TimeSheetFilterPopover
setShouldRemoveItems(true)} variant={'outline'} className='flex items-center text-sm justify-center h-10 rounded-lg dark:text-gray-300' > - Clear Filter + {t('common.CLEAR_FILTER')}
diff --git a/apps/web/app/[locale]/timesheet/[memberId]/components/TimesheetFilterDate.tsx b/apps/web/app/[locale]/timesheet/[memberId]/components/TimesheetFilterDate.tsx index db5d266a8..9d5888f63 100644 --- a/apps/web/app/[locale]/timesheet/[memberId]/components/TimesheetFilterDate.tsx +++ b/apps/web/app/[locale]/timesheet/[memberId]/components/TimesheetFilterDate.tsx @@ -175,7 +175,7 @@ export function TimesheetFilterDate({