From 448fb961a997683f33f0b05aac7c1b25e42af7ea Mon Sep 17 00:00:00 2001 From: AKILIMAILI CIZUNGU Innocent <51681130+Innocent-Akim@users.noreply.github.com> Date: Sun, 3 Nov 2024 21:32:03 +0200 Subject: [PATCH] [Feat]: Add Multilingual Support for Timesheet Component (#3225) * feat: Add multilingual support for timesheet component * fix: bug * improv: update multilingual support for timesheet component * fix: change * fix: sug-coderabbita * fix: deepscan --- .../components/FilterWithStatus.tsx | 6 ++--- .../[memberId]/components/FrequencySelect.tsx | 2 +- .../[memberId]/components/TimesheetAction.tsx | 18 +++++++------ .../[memberId]/components/TimesheetCard.tsx | 4 ++- .../[memberId]/components/TimesheetView.tsx | 20 +++++++++++--- .../[locale]/timesheet/[memberId]/page.tsx | 15 +++++++---- apps/web/app/helpers/date.ts | 9 ++++--- .../calendar/table-time-sheet.tsx | 11 +++++--- apps/web/locales/ar.json | 23 ++++++++++++++++ apps/web/locales/bg.json | 23 ++++++++++++++++ apps/web/locales/de.json | 27 +++++++++++++++++-- apps/web/locales/en.json | 23 ++++++++++++++++ apps/web/locales/es.json | 23 ++++++++++++++++ apps/web/locales/fr.json | 23 ++++++++++++++++ apps/web/locales/he.json | 23 ++++++++++++++++ apps/web/locales/it.json | 23 ++++++++++++++++ apps/web/locales/nl.json | 23 ++++++++++++++++ apps/web/locales/pl.json | 23 ++++++++++++++++ apps/web/locales/pt.json | 23 ++++++++++++++++ apps/web/locales/ru.json | 23 ++++++++++++++++ apps/web/locales/zh.json | 23 ++++++++++++++++ 21 files changed, 357 insertions(+), 31 deletions(-) diff --git a/apps/web/app/[locale]/timesheet/[memberId]/components/FilterWithStatus.tsx b/apps/web/app/[locale]/timesheet/[memberId]/components/FilterWithStatus.tsx index 008a1fa04..14d66eb2c 100644 --- a/apps/web/app/[locale]/timesheet/[memberId]/components/FilterWithStatus.tsx +++ b/apps/web/app/[locale]/timesheet/[memberId]/components/FilterWithStatus.tsx @@ -25,9 +25,9 @@ export function FilterWithStatus({