From 24e9764fcbddb01359d524b1f00c22e57a17a1ed Mon Sep 17 00:00:00 2001 From: Dan Ditomaso Date: Tue, 27 May 2025 11:13:51 -0400 Subject: [PATCH] fix: updated namespace module (#632) N33d this merged. --- src/components/Sidebar.tsx | 2 +- src/i18n/config.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 6dd50f23..fbb3cdc8 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -213,7 +213,7 @@ export const Sidebar = ({ children }: SidebarProps) => { shortName: myNode?.user?.shortName ?? t("unknown.shortName"), }} firmwareVersion={myMetadata?.firmwareVersion ?? - t("unknown.firmwareVersion")} + t("unknown.notAvailable")} deviceMetrics={{ batteryLevel: myNode.deviceMetrics?.batteryLevel, voltage: myNode.deviceMetrics?.voltage, diff --git a/src/i18n/config.ts b/src/i18n/config.ts index f530a4fe..4a43392f 100644 --- a/src/i18n/config.ts +++ b/src/i18n/config.ts @@ -20,7 +20,7 @@ i18next .use(LanguageDetector) .init({ backend: { - // this will lazy load resources from the i8n folder + // this will lazy load resources from the i18n folder loadPath: "/src/i18n/locales/{{lng}}/{{ns}}.json", }, react: { @@ -42,7 +42,7 @@ i18next "commandPalette", "common", "deviceConfig", - "configModules", + "moduleConfig", "dashboard", "dialog", "messages",