From 346480e41db58fdd8a6626a028dd500a4df7f803 Mon Sep 17 00:00:00 2001 From: sumn2u Date: Wed, 9 Oct 2024 14:50:31 -0500 Subject: [PATCH] fix: selection tools not being selected issue --- client/src/ConfigurationTask/ConfigurationTask.test.js | 2 +- client/src/ConfigurationTask/index.jsx | 2 +- client/src/Localization/translation-de-DE.js | 2 +- client/src/Localization/translation-en-EN.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/ConfigurationTask/ConfigurationTask.test.js b/client/src/ConfigurationTask/ConfigurationTask.test.js index 398af59..8f10764 100644 --- a/client/src/ConfigurationTask/ConfigurationTask.test.js +++ b/client/src/ConfigurationTask/ConfigurationTask.test.js @@ -10,7 +10,7 @@ jest.mock("react-i18next", () => ({ ({ "setup.tabs.taskinfo.task_info": "Task Information", "setup.tabs.taskinfo.task_choice": "Choice of Task", - "setup.tabs.taskinfo.task_choice_object_detection": + "setup.tabs.taskinfo.task_choice_classification": "Object Detection", "setup.tabs.taskinfo.task_choice_segmentation": "Image Segmentation", })[key], diff --git a/client/src/ConfigurationTask/index.jsx b/client/src/ConfigurationTask/index.jsx index dc2fd68..5ff7e05 100644 --- a/client/src/ConfigurationTask/index.jsx +++ b/client/src/ConfigurationTask/index.jsx @@ -23,7 +23,7 @@ export default ({ config, onChange }) => { choices: [ { value: "object_detection", - text: t("setup.tabs.taskinfo.task_choice_object_detection"), + text: t("setup.tabs.taskinfo.task_choice_classification"), }, { value: "image_segmentation", diff --git a/client/src/Localization/translation-de-DE.js b/client/src/Localization/translation-de-DE.js index 9a1b6b7..88fb0b2 100644 --- a/client/src/Localization/translation-de-DE.js +++ b/client/src/Localization/translation-de-DE.js @@ -34,7 +34,7 @@ const translationDeDE = { "setup.tabs.images": "Bilder", "setup.tabs.taskinfo.task_info": "Aufgabeninformation", "setup.tabs.taskinfo.task_choice": "Aufgabenwahl", - "setup.tabs.taskinfo.task_choice_object_detection": "Bildklassifikation", + "setup.tabs.taskinfo.task_choice_classification": "Bildklassifikation", "setup.tabs.taskinfo.task_choice_segmentation": "Bildsegmentierung", "configuration.multiple_regions": "Können mehrere Regionen erstellt werden?", "configuration.multiple_region_labels": "Mehrere Regionslabels erlaubt?", diff --git a/client/src/Localization/translation-en-EN.js b/client/src/Localization/translation-en-EN.js index eefd808..e6c802c 100644 --- a/client/src/Localization/translation-en-EN.js +++ b/client/src/Localization/translation-en-EN.js @@ -34,7 +34,7 @@ const translationEnEN = { "setup.tabs.images": "Images", "setup.tabs.taskinfo.task_info": "Task Information", "setup.tabs.taskinfo.task_choice": "Choice of Task", - "setup.tabs.taskinfo.task_choice_object_detection": "Object Detection", + "setup.tabs.taskinfo.task_choice_classification": "Object Detection", "setup.tabs.taskinfo.task_choice_segmentation": "Image Segmentation", "configuration.multiple_regions": "Can Multiple Regions Be Created?", "configuration.multiple_region_labels": "Multiple Region Labels Allowed?",