From a4c8c72a7752deb876d35d3bd2e6263f5e742928 Mon Sep 17 00:00:00 2001 From: ZhaiSoul <842607283@qq.com> Date: Wed, 17 Dec 2025 10:52:25 +0000 Subject: [PATCH] fix: fix classification pages none label i18n --- web/public/locales/en/views/classificationModel.json | 5 +++-- web/src/components/card/ClassificationCard.tsx | 6 +++++- .../components/overlay/ClassificationSelectionDialog.tsx | 2 +- web/src/components/overlay/dialog/TrainFilterDialog.tsx | 4 +++- web/src/views/classification/ModelTrainingView.tsx | 2 +- 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/web/public/locales/en/views/classificationModel.json b/web/public/locales/en/views/classificationModel.json index 0e9095e49..fa3ec03cf 100644 --- a/web/public/locales/en/views/classificationModel.json +++ b/web/public/locales/en/views/classificationModel.json @@ -1,7 +1,9 @@ { "documentTitle": "Classification Models - Frigate", "details": { - "scoreInfo": "Score represents the average classification confidence across all detections of this object." + "scoreInfo": "Score represents the average classification confidence across all detections of this object.", + "none": "None", + "unknown": "Unknown" }, "button": { "deleteClassificationAttempts": "Delete Classification Images", @@ -83,7 +85,6 @@ "aria": "Select Recent Classifications" }, "categories": "Classes", - "none": "None", "createCategory": { "new": "Create New Class" }, diff --git a/web/src/components/card/ClassificationCard.tsx b/web/src/components/card/ClassificationCard.tsx index 4e5f224b0..e8bb9f9cb 100644 --- a/web/src/components/card/ClassificationCard.tsx +++ b/web/src/components/card/ClassificationCard.tsx @@ -161,7 +161,11 @@ export const ClassificationCard = forwardRef< )} >