From c4cd7c376e7a0932095b75bf7bf562a5166710f1 Mon Sep 17 00:00:00 2001 From: agagancarczyk Date: Thu, 23 Jun 2022 11:51:41 +0100 Subject: [PATCH] fixed subheading (#2868) Co-authored-by: Agnieszka Gancarczyk --- public/resources/en/client-scopes.json | 1 + src/client-scopes/add/MapperDialog.tsx | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/public/resources/en/client-scopes.json b/public/resources/en/client-scopes.json index 2f38cf0fa6..a7403eff8b 100644 --- a/public/resources/en/client-scopes.json +++ b/public/resources/en/client-scopes.json @@ -43,6 +43,7 @@ "chooseAMapperType": "Choose a mapper type", "addPredefinedMappers": "Add predefined mappers", "predefinedMappingDescription": "Choose any of the predefined mappings from this table", + "configureMappingDescription": "Choose any of the mappings from this table", "mappingTable": "Table with predefined mapping", "scope": "Scope", "roleMappingUpdatedSuccess": "Role mapping updated", diff --git a/src/client-scopes/add/MapperDialog.tsx b/src/client-scopes/add/MapperDialog.tsx index 8c5f0ffd11..15b5109f3e 100644 --- a/src/client-scopes/add/MapperDialog.tsx +++ b/src/client-scopes/add/MapperDialog.tsx @@ -93,7 +93,11 @@ export const AddMapperDialog = (props: AddMapperDialogProps) => { {isBuiltIn ? t("addPredefinedMappers") : t("emptySecondaryAction")} - {t("predefinedMappingDescription")} + + {isBuiltIn + ? t("predefinedMappingDescription") + : t("configureMappingDescription")} + } isOpen={props.open}