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
|
||||
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?
|
||||
|
|
|
@ -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")}
|
||||
</Button>
|
||||
);
|
||||
} else if (type === "RSA") {
|
||||
|
@ -218,7 +218,7 @@ export const KeysListTab = ({ realmComponents }: KeysListTabProps) => {
|
|||
variant="secondary"
|
||||
id={publicKey}
|
||||
>
|
||||
{t("publicKeys").slice(0, -1)}
|
||||
{t("publicKey")}
|
||||
</Button>
|
||||
<Button
|
||||
onClick={() => {
|
||||
|
@ -243,7 +243,7 @@ export const KeysListTab = ({ realmComponents }: KeysListTabProps) => {
|
|||
variant="secondary"
|
||||
id="kc-public-key"
|
||||
>
|
||||
{t("publicKeys").slice(0, -1)}
|
||||
{t("publicKey")}
|
||||
</Button>
|
||||
);
|
||||
} else return "";
|
||||
|
|
Loading…
Reference in a new issue