diff --git a/.changeset/great-laws-doubt.md b/.changeset/great-laws-doubt.md new file mode 100644 index 00000000000..3d92b1140e6 --- /dev/null +++ b/.changeset/great-laws-doubt.md @@ -0,0 +1,5 @@ +--- +"@wso2is/console": patch +--- + +Fix incorrect i18n keys in assigned groups UI in roles section diff --git a/apps/console/src/extensions/components/roles/components/edit-role/edit-role-groups.tsx b/apps/console/src/extensions/components/roles/components/edit-role/edit-role-groups.tsx index 36a27a5adc0..adbc2807558 100644 --- a/apps/console/src/extensions/components/roles/components/edit-role/edit-role-groups.tsx +++ b/apps/console/src/extensions/components/roles/components/edit-role/edit-role-groups.tsx @@ -1,5 +1,5 @@ /** - * Copyright (c) 2021, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. + * Copyright (c) 2021-2023, WSO2 LLC. (https://www.wso2.com). * * WSO2 LLC. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except @@ -729,7 +729,7 @@ export const RoleGroupsList: FunctionComponent = ( = ( icon="plus" onClick={ handleOpenAddNewGroupModal } > - { t("console:manage.features.roles.edit.groups." + + { t("console:manage.features.roles.edit.groups.placeholders." + "emptyPlaceholder.action") } ) diff --git a/apps/console/src/features/organizations/components/edit-organization-role/edit-organization-groups.tsx b/apps/console/src/features/organizations/components/edit-organization-role/edit-organization-groups.tsx index 5660270207a..c7db4974a73 100644 --- a/apps/console/src/features/organizations/components/edit-organization-role/edit-organization-groups.tsx +++ b/apps/console/src/features/organizations/components/edit-organization-role/edit-organization-groups.tsx @@ -1,5 +1,5 @@ /** - * Copyright (c) 2022, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. + * Copyright (c) 2022-2023, WSO2 LLC. (https://www.wso2.com). * * WSO2 LLC. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except @@ -686,10 +686,10 @@ export const RoleGroupsList: FunctionComponent = ( = ( onClick={ handleOpenAddNewGroupModal } > { t("console:manage.features.roles.edit.groups." + - "emptyPlaceholder.action") } + "placeholders.emptyPlaceholder.action") } ) } diff --git a/apps/console/src/features/roles/components/edit-role/edit-role-groups.tsx b/apps/console/src/features/roles/components/edit-role/edit-role-groups.tsx index c8be31aec48..368fcbe84e1 100644 --- a/apps/console/src/features/roles/components/edit-role/edit-role-groups.tsx +++ b/apps/console/src/features/roles/components/edit-role/edit-role-groups.tsx @@ -742,11 +742,11 @@ export const RoleGroupsList: FunctionComponent = ( = ( onClick={ handleOpenAddNewGroupModal } > { t("console:manage.features.roles.edit.groups." + - "emptyPlaceholder.action") } + "placeholders.emptyPlaceholder.action") } ) }