diff --git a/web/src/components/settings/ZoneEditPane.tsx b/web/src/components/settings/ZoneEditPane.tsx index 254f560e0..c73e1fe9c 100644 --- a/web/src/components/settings/ZoneEditPane.tsx +++ b/web/src/components/settings/ZoneEditPane.tsx @@ -708,8 +708,8 @@ export default function ZoneEditPane({ { unit: config?.ui.unit_system == "imperial" - ? t("feet", { ns: "common" }) - : t("meters", { ns: "common" }), + ? t("unit.length.feet", { ns: "common" }) + : t("unit.length.meters", { ns: "common" }), }, )} @@ -735,8 +735,8 @@ export default function ZoneEditPane({ { unit: config?.ui.unit_system == "imperial" - ? t("feet", { ns: "common" }) - : t("meters", { ns: "common" }), + ? t("unit.length.feet", { ns: "common" }) + : t("unit.length.meters", { ns: "common" }), }, )} @@ -762,8 +762,8 @@ export default function ZoneEditPane({ { unit: config?.ui.unit_system == "imperial" - ? t("feet", { ns: "common" }) - : t("meters", { ns: "common" }), + ? t("unit.length.feet", { ns: "common" }) + : t("unit.length.meters", { ns: "common" }), }, )} @@ -789,8 +789,8 @@ export default function ZoneEditPane({ { unit: config?.ui.unit_system == "imperial" - ? t("feet", { ns: "common" }) - : t("meters", { ns: "common" }), + ? t("unit.length.feet", { ns: "common" }) + : t("unit.length.meters", { ns: "common" }), }, )}