Update KeysListTab.tsx (#29337)
* Update KeysListTab.tsx Signed-off-by: 秉虎 <s96016641@gmail.com> * added missing singular key Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> --------- Signed-off-by: 秉虎 <s96016641@gmail.com> Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
parent
65fcd44fe1
commit
82ae047231
2 changed files with 5 additions and 4 deletions
|
@ -1199,6 +1199,7 @@ moveTo=Move to
|
||||||
registerNodeManually=Register node manually
|
registerNodeManually=Register node manually
|
||||||
redirectURI=Redirect URI
|
redirectURI=Redirect URI
|
||||||
publicKeys=Public keys
|
publicKeys=Public keys
|
||||||
|
publicKey=Public key
|
||||||
emptyEventsInstructions=There are no more events types left to add
|
emptyEventsInstructions=There are no more events types left to add
|
||||||
periodicFullSync=Periodic full sync
|
periodicFullSync=Periodic full sync
|
||||||
removeConfirmTitle_other=Remove groups?
|
removeConfirmTitle_other=Remove groups?
|
||||||
|
|
|
@ -109,7 +109,7 @@ export const KeysListTab = ({ realmComponents }: KeysListTabProps) => {
|
||||||
);
|
);
|
||||||
|
|
||||||
const [togglePublicKeyDialog, PublicKeyDialog] = useConfirmDialog({
|
const [togglePublicKeyDialog, PublicKeyDialog] = useConfirmDialog({
|
||||||
titleKey: t("publicKeys").slice(0, -1),
|
titleKey: t("publicKey"),
|
||||||
messageKey: publicKey,
|
messageKey: publicKey,
|
||||||
continueButtonLabel: "close",
|
continueButtonLabel: "close",
|
||||||
continueButtonVariant: ButtonVariant.primary,
|
continueButtonVariant: ButtonVariant.primary,
|
||||||
|
@ -204,7 +204,7 @@ export const KeysListTab = ({ realmComponents }: KeysListTabProps) => {
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
id="kc-public-key"
|
id="kc-public-key"
|
||||||
>
|
>
|
||||||
{t("publicKeys").slice(0, -1)}
|
{t("publicKey")}
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
} else if (type === "RSA") {
|
} else if (type === "RSA") {
|
||||||
|
@ -218,7 +218,7 @@ export const KeysListTab = ({ realmComponents }: KeysListTabProps) => {
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
id={publicKey}
|
id={publicKey}
|
||||||
>
|
>
|
||||||
{t("publicKeys").slice(0, -1)}
|
{t("publicKey")}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
@ -243,7 +243,7 @@ export const KeysListTab = ({ realmComponents }: KeysListTabProps) => {
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
id="kc-public-key"
|
id="kc-public-key"
|
||||||
>
|
>
|
||||||
{t("publicKeys").slice(0, -1)}
|
{t("publicKey")}
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
} else return "";
|
} else return "";
|
||||||
|
|
Loading…
Reference in a new issue