diff --git a/js/apps/admin-ui/maven-resources/theme/keycloak.v2/admin/messages/messages_en.properties b/js/apps/admin-ui/maven-resources/theme/keycloak.v2/admin/messages/messages_en.properties index b5df8ecbdf..9cf308ec41 100644 --- a/js/apps/admin-ui/maven-resources/theme/keycloak.v2/admin/messages/messages_en.properties +++ b/js/apps/admin-ui/maven-resources/theme/keycloak.v2/admin/messages/messages_en.properties @@ -1199,6 +1199,7 @@ moveTo=Move to registerNodeManually=Register node manually redirectURI=Redirect URI publicKeys=Public keys +publicKey=Public key emptyEventsInstructions=There are no more events types left to add periodicFullSync=Periodic full sync removeConfirmTitle_other=Remove groups? diff --git a/js/apps/admin-ui/src/realm-settings/keys/KeysListTab.tsx b/js/apps/admin-ui/src/realm-settings/keys/KeysListTab.tsx index 8b31d3488b..176b0a6853 100644 --- a/js/apps/admin-ui/src/realm-settings/keys/KeysListTab.tsx +++ b/js/apps/admin-ui/src/realm-settings/keys/KeysListTab.tsx @@ -109,7 +109,7 @@ export const KeysListTab = ({ realmComponents }: KeysListTabProps) => { ); const [togglePublicKeyDialog, PublicKeyDialog] = useConfirmDialog({ - titleKey: t("publicKeys").slice(0, -1), + titleKey: t("publicKey"), messageKey: publicKey, continueButtonLabel: "close", continueButtonVariant: ButtonVariant.primary, @@ -204,7 +204,7 @@ export const KeysListTab = ({ realmComponents }: KeysListTabProps) => { variant="secondary" id="kc-public-key" > - {t("publicKeys").slice(0, -1)} + {t("publicKey")} ); } else if (type === "RSA") { @@ -218,7 +218,7 @@ export const KeysListTab = ({ realmComponents }: KeysListTabProps) => { variant="secondary" id={publicKey} > - {t("publicKeys").slice(0, -1)} + {t("publicKey")} ); } else return "";