From 2d3fbb9704f3d09b9bcc9558596cead9c0d29124 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Fri, 5 Dec 2025 12:19:40 -0500 Subject: [PATCH] translate setup page --- messages/en-US.json | 5 ++++- src/app/setup/page.tsx | 12 ++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/messages/en-US.json b/messages/en-US.json index 8888bd6a..18e390fc 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -2242,5 +2242,8 @@ "install": "Install", "run": "Run", "clientNameDescription": "The display name of the client that can be changed later.", - "clientAddress": "Client Address (Advanced)" + "clientAddress": "Client Address (Advanced)", + "setupFailedToFetchSubnet": "Failed to fetch default subnet", + "setupSubnetAdvanced": "Subnet (Advanced)", + "setupSubnetDescription": "The subnet for this organization's internal network." } diff --git a/src/app/setup/page.tsx b/src/app/setup/page.tsx index 7fa57d5f..53072554 100644 --- a/src/app/setup/page.tsx +++ b/src/app/setup/page.tsx @@ -76,8 +76,8 @@ export default function StepperForm() { } catch (e) { console.error("Failed to fetch default subnet:", e); toast({ - title: "Error", - description: "Failed to fetch default subnet", + title: t("error"), + description: t("setupFailedToFetchSubnet"), variant: "destructive" }); } @@ -301,7 +301,9 @@ export default function StepperForm() { name="subnet" render={({ field }) => ( - Subnet + + {t("setupSubnetAdvanced")} + - The subnet for this - organization's internal - network. + {t("setupSubnetDescription")} )}