mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
translate setup page
This commit is contained in:
@@ -2242,5 +2242,8 @@
|
|||||||
"install": "Install",
|
"install": "Install",
|
||||||
"run": "Run",
|
"run": "Run",
|
||||||
"clientNameDescription": "The display name of the client that can be changed later.",
|
"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."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -76,8 +76,8 @@ export default function StepperForm() {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("Failed to fetch default subnet:", e);
|
console.error("Failed to fetch default subnet:", e);
|
||||||
toast({
|
toast({
|
||||||
title: "Error",
|
title: t("error"),
|
||||||
description: "Failed to fetch default subnet",
|
description: t("setupFailedToFetchSubnet"),
|
||||||
variant: "destructive"
|
variant: "destructive"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -301,7 +301,9 @@ export default function StepperForm() {
|
|||||||
name="subnet"
|
name="subnet"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>Subnet</FormLabel>
|
<FormLabel>
|
||||||
|
{t("setupSubnetAdvanced")}
|
||||||
|
</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input
|
<Input
|
||||||
type="text"
|
type="text"
|
||||||
@@ -310,9 +312,7 @@ export default function StepperForm() {
|
|||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
<FormDescription>
|
<FormDescription>
|
||||||
The subnet for this
|
{t("setupSubnetDescription")}
|
||||||
organization's internal
|
|
||||||
network.
|
|
||||||
</FormDescription>
|
</FormDescription>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user