diff --git a/messages/en-US.json b/messages/en-US.json index 585feea8..44668c5d 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -1893,5 +1893,6 @@ "pathRewriteExact": "Exact", "pathRewriteRegex": "Regex", "pathRewriteStrip": "Strip", - "pathRewriteStripLabel": "strip" + "pathRewriteStripLabel": "strip", + "sidebarEnableEnterpriseLicense": "Enable Enterprise License" } diff --git a/src/components/SidebarLicenseButton.tsx b/src/components/SidebarLicenseButton.tsx index 597b761a..790eaadf 100644 --- a/src/components/SidebarLicenseButton.tsx +++ b/src/components/SidebarLicenseButton.tsx @@ -21,6 +21,8 @@ export default function SidebarLicenseButton({ }: SidebarLicenseButtonProps) { const { licenseStatus, updateLicenseStatus } = useLicenseStatusContext(); + const url = "https://docs.digpangolin.com/self-host/enterprise-edition"; + const t = useTranslations(); return ( @@ -30,21 +32,21 @@ export default function SidebarLicenseButton({ - + - Enable Enterprise License + {t("sidebarEnableEnterpriseLicense")} ) : ( - + )