translate setup page

This commit is contained in:
miloschwartz
2025-12-05 12:19:40 -05:00
parent d3be1fbf4c
commit 2d3fbb9704
2 changed files with 10 additions and 7 deletions

View File

@@ -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."
}

View File

@@ -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 }) => (
<FormItem>
<FormLabel>Subnet</FormLabel>
<FormLabel>
{t("setupSubnetAdvanced")}
</FormLabel>
<FormControl>
<Input
type="text"
@@ -310,9 +312,7 @@ export default function StepperForm() {
</FormControl>
<FormMessage />
<FormDescription>
The subnet for this
organization's internal
network.
{t("setupSubnetDescription")}
</FormDescription>
</FormItem>
)}