fix: add pluralization for userRolesUpdated toast message

This commit is contained in:
Artem Vladimirov 2025-11-06 19:22:27 +05:00
parent a510ea9036
commit c777ab92c6

View File

@ -745,7 +745,8 @@
"createRole": "Role {{role}} created successfully", "createRole": "Role {{role}} created successfully",
"updateCameras": "Cameras updated for role {{role}}", "updateCameras": "Cameras updated for role {{role}}",
"deleteRole": "Role {{role}} deleted successfully", "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": { "error": {
"createRoleFailed": "Failed to create role: {{errorMessage}}", "createRoleFailed": "Failed to create role: {{errorMessage}}",