Dan Ditomaso
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
3 additions and
3 deletions
-
src/components/Sidebar.tsx
-
src/i18n/config.ts
|
|
|
@ -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, |
|
|
|
|
|
|
|
@ -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", |
|
|
|
|