diff --git a/web/public/locales/en/views/settings.json b/web/public/locales/en/views/settings.json index b1a9f2a24..62ad98f35 100644 --- a/web/public/locales/en/views/settings.json +++ b/web/public/locales/en/views/settings.json @@ -84,6 +84,7 @@ }, "classification": { "title": "Classification Settings", + "unsavedChanges": "Unsaved Classification settings changes", "birdClassification": { "title": "Bird Classification", "desc": "Bird classification identifies known birds using a quantized Tensorflow model. When a known bird is recognized, its common name will be added as a sub_label. This information is included in the UI, filters, as well as in notifications." @@ -168,11 +169,12 @@ "notSelectDetections": "All {{detectionsLabels}} objects detected in {{zone}} on {{cameraName}} not categorized as Alerts will be shown as Detections regardless of which zone they are in.", "regardlessOfZoneObjectDetectionsTips": "All {{detectionsLabels}} objects not categorized on {{cameraName}} will be shown as Detections regardless of which zone they are in." }, + "unsavedChanges": "Unsaved Review Classification settings for {{camera}}", "selectAlertsZones": "Select zones for Alerts", "selectDetectionsZones": "Select zones for Detections", "limitDetections": "Limit detections to specific zones", "toast": { - "success": "Review classification configuration has been saved. Restart Frigate to apply changes." + "success": "Review Classification configuration has been saved. Restart Frigate to apply changes." } } }, @@ -338,6 +340,7 @@ }, "motionDetectionTuner": { "title": "Motion Detection Tuner", + "unsavedChanges": "Unsaved Motion Tuner changes ({{camera}})", "desc": { "title": "Frigate uses motion detection as a first line check to see if there is anything happening in the frame worth checking with object detection.", "documentation": "Read the Motion Tuning Guide" @@ -527,6 +530,8 @@ "registerDevice": "Register This Device", "unregisterDevice": "Unregister This Device", "sendTestNotification": "Send a test notification", + "unsavedRegistrations": "Unsaved Notification registrations", + "unsavedChanges": "Unsaved Notification changes", "active": "Notifications Active", "suspended": "Notifications suspended {{time}}", "suspendTime": { @@ -587,6 +592,7 @@ "loadingAvailableModels": "Loading available models…", "modelSelect": "Your available models on Frigate+ can be selected here. Note that only models compatible with your current detector configuration can be selected." }, + "unsavedChanges": "Unsaved Frigate+ settings changes", "restart_required": "Restart required (Frigate+ model changed)", "toast": { "success": "Frigate+ settings have been saved. Restart Frigate to apply changes.", diff --git a/web/src/views/settings/CameraSettingsView.tsx b/web/src/views/settings/CameraSettingsView.tsx index 16506b008..9e8605660 100644 --- a/web/src/views/settings/CameraSettingsView.tsx +++ b/web/src/views/settings/CameraSettingsView.tsx @@ -230,7 +230,9 @@ export default function CameraSettingsView({ if (changedValue) { addMessage( "camera_settings", - `Unsaved review classification settings for ${capitalizeFirstLetter(selectedCamera)}`, + t("camera.reviewClassification.unsavedChanges", { + camera: selectedCamera, + }), undefined, `review_classification_settings_${selectedCamera}`, ); diff --git a/web/src/views/settings/ClassificationSettingsView.tsx b/web/src/views/settings/ClassificationSettingsView.tsx index 360fe6fd0..23e656f98 100644 --- a/web/src/views/settings/ClassificationSettingsView.tsx +++ b/web/src/views/settings/ClassificationSettingsView.tsx @@ -220,7 +220,7 @@ export default function ClassificationSettingsView({ if (changedValue) { addMessage( "search_settings", - `Unsaved Classification settings changes`, + t("classification.unsavedChanges"), undefined, "search_settings", ); diff --git a/web/src/views/settings/FrigatePlusSettingsView.tsx b/web/src/views/settings/FrigatePlusSettingsView.tsx index 6aa467a43..144abda33 100644 --- a/web/src/views/settings/FrigatePlusSettingsView.tsx +++ b/web/src/views/settings/FrigatePlusSettingsView.tsx @@ -176,7 +176,7 @@ export default function FrigatePlusSettingsView({ if (changedValue) { addMessage( "plus_settings", - `Unsaved Frigate+ settings changes`, + t("frigatePlus.unsavedChanges"), undefined, "plus_settings", ); diff --git a/web/src/views/settings/MotionTunerView.tsx b/web/src/views/settings/MotionTunerView.tsx index 98169b4f8..c7e73fb33 100644 --- a/web/src/views/settings/MotionTunerView.tsx +++ b/web/src/views/settings/MotionTunerView.tsx @@ -167,7 +167,7 @@ export default function MotionTunerView({ if (changedValue) { addMessage( "motion_tuner", - `Unsaved motion tuner changes (${selectedCamera})`, + t("motionDetectionTuner.unsavedChanges", { camera: selectedCamera }), undefined, `motion_tuner_${selectedCamera}`, ); diff --git a/web/src/views/settings/NotificationsSettingsView.tsx b/web/src/views/settings/NotificationsSettingsView.tsx index a2d43ba91..f3476decf 100644 --- a/web/src/views/settings/NotificationsSettingsView.tsx +++ b/web/src/views/settings/NotificationsSettingsView.tsx @@ -105,7 +105,7 @@ export default function NotificationView({ if (changedValue) { addMessage( "notification_settings", - `Unsaved notification settings`, + t("notification.unsavedChanges"), undefined, `notification_settings`, ); @@ -128,7 +128,7 @@ export default function NotificationView({ if (registration) { addMessage( "notification_settings", - "Unsaved Notification Registrations", + t("notification.unsavedRegistrations"), undefined, "registration", );