fix empty mapper string ref
This commit is contained in:
parent
8c29fcabb6
commit
26a49d60c6
5 changed files with 16 additions and 15 deletions
|
@ -157,8 +157,8 @@ export const AddMapperDialog = (props: AddMapperDialogProps) => {
|
||||||
)}
|
)}
|
||||||
{isBuiltIn && rows.length === 0 && (
|
{isBuiltIn && rows.length === 0 && (
|
||||||
<ListEmptyState
|
<ListEmptyState
|
||||||
message={t("emptyMappers")}
|
message={t("common:emptyMappers")}
|
||||||
instructions={t("emptyBuiltInMappersInstructions")}
|
instructions={t("common:emptyBuiltInMappersInstructions")}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|
|
@ -192,9 +192,9 @@ export const MapperList = ({ clientScope, refresh }: MapperListProps) => {
|
||||||
]}
|
]}
|
||||||
emptyState={
|
emptyState={
|
||||||
<ListEmptyState
|
<ListEmptyState
|
||||||
message={t("emptyMappers")}
|
message={t("common:emptyMappers")}
|
||||||
instructions={t("emptyMappersInstructions")}
|
instructions={t("common:emptyMappersInstructions")}
|
||||||
primaryActionText={t("emptyPrimaryAction")}
|
primaryActionText={t("common:emptyPrimaryAction")}
|
||||||
onPrimaryAction={() => toggleAddMapperDialog(true)}
|
onPrimaryAction={() => toggleAddMapperDialog(true)}
|
||||||
secondaryActions={[
|
secondaryActions={[
|
||||||
{
|
{
|
||||||
|
|
|
@ -35,10 +35,7 @@
|
||||||
"mapperCreateError": "Could not create mapping: {{error}}",
|
"mapperCreateError": "Could not create mapping: {{error}}",
|
||||||
"fromPredefinedMapper": "From predefined mappers",
|
"fromPredefinedMapper": "From predefined mappers",
|
||||||
"byConfiguration": "By configuration",
|
"byConfiguration": "By configuration",
|
||||||
"emptyMappers": "No mappers",
|
|
||||||
"emptyMappersInstructions": "If you want to add mappers, please click the button below to add some predefined mappers or to configure a new mapper.",
|
|
||||||
"emptyBuiltInMappersInstructions": "All built in mappers were added to this client",
|
"emptyBuiltInMappersInstructions": "All built in mappers were added to this client",
|
||||||
"emptyPrimaryAction": "Add predefined mapper",
|
|
||||||
"emptySecondaryAction": "Configure a new mapper",
|
"emptySecondaryAction": "Configure a new mapper",
|
||||||
"displayOnConsentScreen": "Display on consent screen",
|
"displayOnConsentScreen": "Display on consent screen",
|
||||||
"consentScreenText": "Consent screen text",
|
"consentScreenText": "Consent screen text",
|
||||||
|
|
|
@ -110,6 +110,10 @@
|
||||||
"mappingCreatedSuccess": "Mapping successfully created",
|
"mappingCreatedSuccess": "Mapping successfully created",
|
||||||
"mappingCreatedError": "Could not create mapping: '{{error}}'",
|
"mappingCreatedError": "Could not create mapping: '{{error}}'",
|
||||||
"deleteMappingTitle": "Delete mapping?",
|
"deleteMappingTitle": "Delete mapping?",
|
||||||
"deleteMappingConfirm": "Are you sure you want to delete this mapping?"
|
"deleteMappingConfirm": "Are you sure you want to delete this mapping?",
|
||||||
|
|
||||||
|
"emptyMappers": "No mappers",
|
||||||
|
"emptyMappersInstructions": "If you want to add mappers, please click the button below to add some predefined mappers or to configure a new mapper.",
|
||||||
|
"emptyPrimaryAction": "Add predefined mapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,9 +51,9 @@ export const LdapMapperList = () => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<ListEmptyState
|
<ListEmptyState
|
||||||
message={t("emptyMappers")}
|
message={t("common:emptyMappers")}
|
||||||
instructions={t("emptyMappersInstructions")}
|
instructions={t("common:emptyMappersInstructions")}
|
||||||
primaryActionText={t("emptyPrimaryAction")}
|
primaryActionText={t("common:emptyPrimaryAction")}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
@ -131,9 +131,9 @@ export const LdapMapperList = () => {
|
||||||
]}
|
]}
|
||||||
emptyState={
|
emptyState={
|
||||||
<ListEmptyState
|
<ListEmptyState
|
||||||
message={t("emptyMappers")}
|
message={t("common:emptyMappers")}
|
||||||
instructions={t("emptyMappersInstructions")}
|
instructions={t("common:emptyMappersInstructions")}
|
||||||
primaryActionText={t("emptyPrimaryAction")}
|
primaryActionText={t("common:emptyPrimaryAction")}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue