From edc0b86470eb98e73cfdb38863f242949dc5a85b Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Wed, 15 Oct 2025 17:32:39 -0700 Subject: [PATCH] add translation and update url --- messages/en-US.json | 3 ++- src/components/SidebarLicenseButton.tsx | 10 ++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) 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")} ) : ( - + )