@@ -213,7 +213,7 @@ export const Sidebar = ({ children }: SidebarProps) => {
|
|||||||
shortName: myNode?.user?.shortName ?? t("unknown.shortName"),
|
shortName: myNode?.user?.shortName ?? t("unknown.shortName"),
|
||||||
}}
|
}}
|
||||||
firmwareVersion={myMetadata?.firmwareVersion ??
|
firmwareVersion={myMetadata?.firmwareVersion ??
|
||||||
t("unknown.firmwareVersion")}
|
t("unknown.notAvailable")}
|
||||||
deviceMetrics={{
|
deviceMetrics={{
|
||||||
batteryLevel: myNode.deviceMetrics?.batteryLevel,
|
batteryLevel: myNode.deviceMetrics?.batteryLevel,
|
||||||
voltage: myNode.deviceMetrics?.voltage,
|
voltage: myNode.deviceMetrics?.voltage,
|
||||||
|
|||||||
+2
-2
@@ -20,7 +20,7 @@ i18next
|
|||||||
.use(LanguageDetector)
|
.use(LanguageDetector)
|
||||||
.init({
|
.init({
|
||||||
backend: {
|
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",
|
loadPath: "/src/i18n/locales/{{lng}}/{{ns}}.json",
|
||||||
},
|
},
|
||||||
react: {
|
react: {
|
||||||
@@ -42,7 +42,7 @@ i18next
|
|||||||
"commandPalette",
|
"commandPalette",
|
||||||
"common",
|
"common",
|
||||||
"deviceConfig",
|
"deviceConfig",
|
||||||
"configModules",
|
"moduleConfig",
|
||||||
"dashboard",
|
"dashboard",
|
||||||
"dialog",
|
"dialog",
|
||||||
"messages",
|
"messages",
|
||||||
|
|||||||
Reference in New Issue
Block a user