Skip to content

NVR with realtime local object detection for IP cameras

fix: add pluralization for userRolesUpdated toast message (#20827)

Artem Vladimirov32f1d85a6fd6
diff --git a/web/public/locales/en/views/settings.json b/web/public/locales/en/views/settings.json
index fe837663cb..626e5385a4 100644
--- a/web/public/locales/en/views/settings.json
+++ b/web/public/locales/en/views/settings.json
@@ -745,7 +745,8 @@
"createRole": "Role {{role}} created successfully",
"updateCameras": "Cameras updated for role {{role}}",
"deleteRole": "Role {{role}} deleted successfully",
- "userRolesUpdated": "{{count}} user(s) assigned to this role have been updated to 'viewer', which has access to all cameras."
+ "userRolesUpdated_one": "{{count}} user assigned to this role has been updated to 'viewer', which has access to all cameras.",
+ "userRolesUpdated_other": "{{count}} users assigned to this role have been updated to 'viewer', which has access to all cameras."
},
"error": {
"createRoleFailed": "Failed to create role: {{errorMessage}}",