{recipient.length > 0 && !recipientValid && (
- Enter a valid Stellar public key: 56 characters starting with G.
+ {t("transferOwnership.invalidKey")}
)}
@@ -90,19 +92,19 @@ export function TransferOwnershipModal({ resourceId, resourceTitle, apiKey, onCl
{confirming && status === "idle" && (
- ⚠️ {networkWarning}
+ {t("transferOwnership.networkWarning", { warning: networkWarning })}
)}
@@ -110,7 +112,7 @@ export function TransferOwnershipModal({ resourceId, resourceTitle, apiKey, onCl
{status === "confirmed" && newOwner && (
- Ownership transferred to {newOwner}.
+ {t("transferOwnership.success", { newOwner })}
)}
@@ -121,7 +123,7 @@ export function TransferOwnershipModal({ resourceId, resourceTitle, apiKey, onCl
disabled={busy}
className="w-full rounded-lg px-4 py-3 text-sm text-fg-muted hover:bg-surface-hover disabled:opacity-50 sm:w-auto sm:py-2"
>
- {status === "confirmed" ? "Close" : "Cancel"}
+ {status === "confirmed" ? t("common.close") : t("common.cancel")}
{confirming && status !== "confirmed" && !busy && (