From bb32560f627cf2389189938bf390243f0eb775e5 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sat, 31 May 2025 06:39:51 -0500 Subject: [PATCH] fix i18n keys --- web/src/components/settings/ZoneEditPane.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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" }), }, )}