diff --git a/src/clients/ClientDetails.tsx b/src/clients/ClientDetails.tsx index 66a6c4cf6a..5cc67be6ab 100644 --- a/src/clients/ClientDetails.tsx +++ b/src/clients/ClientDetails.tsx @@ -254,7 +254,11 @@ export const ClientDetails = () => { eventKey="roles" title={{t("roles")}} > - + { - const { t } = useTranslation("roles"); + const { t } = useTranslation(messageBundle); const history = useHistory(); const adminClient = useAdminClient(); const { addAlert } = useAlerts(); @@ -121,8 +123,8 @@ export const RolesList = ({ emptyState={ diff --git a/src/realm-roles/messages.json b/src/realm-roles/messages.json index 02af1031e6..b83a159404 100644 --- a/src/realm-roles/messages.json +++ b/src/realm-roles/messages.json @@ -37,8 +37,8 @@ "roleDeleteError": "Could not delete role: {{error}}", "roleSaveSuccess": "The role has been saved", "roleSaveError": "Could not save role: {{error}}", - "noRolesInThisRealm": "No roles in this realm", - "noRolesInThisRealmInstructions": "You haven't created any roles in this realm. Create a role to get started.", + "noRoles": "No roles in this realm", + "noRolesInstructions": "You haven't created any roles in this realm. Create a role to get started.", "roleAuthentication": "Role authentication", "removeAllAssociatedRoles": "Remove all associated roles", "removeAssociatedRoles": "Remove associated roles",