From a15399fed5b97073dbd9ba793c88b1bfe8d72786 Mon Sep 17 00:00:00 2001 From: Artem Vladimirov Date: Fri, 7 Nov 2025 17:40:48 +0500 Subject: [PATCH] fix: add pluralization (classification model) (#20838) Co-authored-by: Artem Vladimirov --- web/public/locales/en/views/classificationModel.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/web/public/locales/en/views/classificationModel.json b/web/public/locales/en/views/classificationModel.json index ebc819e4e..803c579f1 100644 --- a/web/public/locales/en/views/classificationModel.json +++ b/web/public/locales/en/views/classificationModel.json @@ -40,7 +40,8 @@ "deleteModel": { "title": "Delete Classification Model", "single": "Are you sure you want to delete {{name}}? This will permanently delete all associated data including images and training data. This action cannot be undone.", - "desc": "Are you sure you want to delete {{count}} model(s)? This will permanently delete all associated data including images and training data. This action cannot be undone." + "desc_one": "Are you sure you want to delete {{count}} model? This will permanently delete all associated data including images and training data. This action cannot be undone.", + "desc_other": "Are you sure you want to delete {{count}} models? This will permanently delete all associated data including images and training data. This action cannot be undone." }, "edit": { "title": "Edit Classification Model", @@ -50,11 +51,13 @@ }, "deleteDatasetImages": { "title": "Delete Dataset Images", - "desc": "Are you sure you want to delete {{count}} images from {{dataset}}? This action cannot be undone and will require re-training the model." + "desc_one": "Are you sure you want to delete {{count}} image from {{dataset}}? This action cannot be undone and will require re-training the model.", + "desc_other": "Are you sure you want to delete {{count}} images from {{dataset}}? This action cannot be undone and will require re-training the model." }, "deleteTrainImages": { "title": "Delete Train Images", - "desc": "Are you sure you want to delete {{count}} images? This action cannot be undone." + "desc_one": "Are you sure you want to delete {{count}} image? This action cannot be undone.", + "desc_other": "Are you sure you want to delete {{count}} images? This action cannot be undone." }, "renameCategory": { "title": "Rename Class",