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 && (
|
||||
<ListEmptyState
|
||||
message={t("emptyMappers")}
|
||||
instructions={t("emptyBuiltInMappersInstructions")}
|
||||
message={t("common:emptyMappers")}
|
||||
instructions={t("common:emptyBuiltInMappersInstructions")}
|
||||
/>
|
||||
)}
|
||||
</Modal>
|
||||
|
|
|
@ -192,9 +192,9 @@ export const MapperList = ({ clientScope, refresh }: MapperListProps) => {
|
|||
]}
|
||||
emptyState={
|
||||
<ListEmptyState
|
||||
message={t("emptyMappers")}
|
||||
instructions={t("emptyMappersInstructions")}
|
||||
primaryActionText={t("emptyPrimaryAction")}
|
||||
message={t("common:emptyMappers")}
|
||||
instructions={t("common:emptyMappersInstructions")}
|
||||
primaryActionText={t("common:emptyPrimaryAction")}
|
||||
onPrimaryAction={() => toggleAddMapperDialog(true)}
|
||||
secondaryActions={[
|
||||
{
|
||||
|
|
|
@ -35,10 +35,7 @@
|
|||
"mapperCreateError": "Could not create mapping: {{error}}",
|
||||
"fromPredefinedMapper": "From predefined mappers",
|
||||
"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",
|
||||
"emptyPrimaryAction": "Add predefined mapper",
|
||||
"emptySecondaryAction": "Configure a new mapper",
|
||||
"displayOnConsentScreen": "Display on consent screen",
|
||||
"consentScreenText": "Consent screen text",
|
||||
|
|
|
@ -110,6 +110,10 @@
|
|||
"mappingCreatedSuccess": "Mapping successfully created",
|
||||
"mappingCreatedError": "Could not create mapping: '{{error}}'",
|
||||
"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 (
|
||||
<>
|
||||
<ListEmptyState
|
||||
message={t("emptyMappers")}
|
||||
instructions={t("emptyMappersInstructions")}
|
||||
primaryActionText={t("emptyPrimaryAction")}
|
||||
message={t("common:emptyMappers")}
|
||||
instructions={t("common:emptyMappersInstructions")}
|
||||
primaryActionText={t("common:emptyPrimaryAction")}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
@ -131,9 +131,9 @@ export const LdapMapperList = () => {
|
|||
]}
|
||||
emptyState={
|
||||
<ListEmptyState
|
||||
message={t("emptyMappers")}
|
||||
instructions={t("emptyMappersInstructions")}
|
||||
primaryActionText={t("emptyPrimaryAction")}
|
||||
message={t("common:emptyMappers")}
|
||||
instructions={t("common:emptyMappersInstructions")}
|
||||
primaryActionText={t("common:emptyPrimaryAction")}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue