From 2bcd88cfd166421a19471632f3384d41c3b0ba75 Mon Sep 17 00:00:00 2001 From: "Ibrahima G. Coulibaly" Date: Sun, 13 Jul 2025 13:01:02 +0100 Subject: [PATCH] fix: i18n tsc --- .gitignore | 2 + .idea/workspace.xml | 861 +++++++++++++----- @types/i18n.d.ts | 33 + src/components/App.tsx | 56 +- src/i18n/index.ts | 2 +- src/index.tsx | 1 - src/pages/tools/audio/change-speed/index.tsx | 16 +- src/pages/tools/audio/extract-audio/index.tsx | 14 +- src/pages/tools/csv/csv-to-json/index.tsx | 28 +- .../csv/find-incomplete-csv-records/index.tsx | 18 +- .../tools/csv/insert-csv-columns/index.tsx | 50 +- .../tools/image/generic/resize/index.tsx | 42 +- src/pages/tools/json/minify/index.tsx | 10 +- src/pages/tools/json/prettify/index.tsx | 20 +- src/pages/tools/json/validateJson/index.tsx | 17 +- src/pages/tools/list/duplicate/index.tsx | 35 +- src/pages/tools/list/find-unique/index.tsx | 35 +- src/pages/tools/list/group/index.tsx | 34 +- src/pages/tools/list/i18n/en.json | 178 ++-- src/pages/tools/list/reverse/index.tsx | 20 +- src/pages/tools/list/shuffle/index.tsx | 20 +- src/pages/tools/list/sort/index.tsx | 46 +- src/pages/tools/list/wrap/index.tsx | 28 +- .../number/arithmetic-sequence/index.tsx | 14 +- src/pages/tools/number/generate/index.tsx | 19 +- src/pages/tools/number/sum/index.tsx | 18 +- src/pages/tools/pdf/compress-pdf/index.tsx | 37 +- src/pages/tools/pdf/i18n/en.json | 38 +- src/pages/tools/pdf/merge-pdf/index.tsx | 12 +- src/pages/tools/pdf/rotate-pdf/index.tsx | 34 +- src/pages/tools/pdf/split-pdf/index.tsx | 22 +- src/pages/tools/string/base64/index.tsx | 16 +- src/pages/tools/string/join/index.tsx | 18 +- src/pages/tools/string/quote/index.tsx | 22 +- src/pages/tools/string/repeat/index.tsx | 22 +- src/pages/tools/string/reverse/index.tsx | 23 +- src/pages/tools/string/rot13/index.tsx | 10 +- src/pages/tools/string/rotate/index.tsx | 20 +- src/pages/tools/string/split/index.tsx | 8 +- src/pages/tools/string/statistic/index.tsx | 33 +- .../tools/string/text-replacer/index.tsx | 29 +- src/pages/tools/string/to-morse/index.tsx | 17 +- src/pages/tools/string/truncate/index.tsx | 41 +- src/pages/tools/string/uppercase/index.tsx | 9 +- .../tools/time/check-leap-years/index.tsx | 4 +- .../time/convert-days-to-hours/index.tsx | 12 +- .../time/convert-seconds-to-time/index.tsx | 10 +- .../time/convert-time-to-seconds/index.tsx | 4 +- .../tools/time/time-between-dates/index.tsx | 24 +- .../tools/time/truncate-clock-time/index.tsx | 22 +- src/pages/tools/video/change-speed/index.tsx | 14 +- src/pages/tools/video/compress/index.tsx | 18 +- src/pages/tools/video/crop-video/index.tsx | 38 +- src/pages/tools/video/flip/index.tsx | 10 +- src/pages/tools/video/i18n/en.json | 7 + src/pages/tools/video/loop/index.tsx | 12 +- src/pages/tools/video/rotate/index.tsx | 10 +- src/pages/tools/video/trim/index.tsx | 12 +- src/pages/tools/xml/xml-beautifier/index.tsx | 10 +- src/pages/tools/xml/xml-validator/index.tsx | 8 +- 60 files changed, 1359 insertions(+), 884 deletions(-) create mode 100644 @types/i18n.d.ts diff --git a/.gitignore b/.gitignore index f691227..e9d8978 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,5 @@ yarn-error.log* dist.zip .aider* .qodo + +error.txt diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 1bfb20d..25ae14f 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,128 +4,67 @@