diff --git a/src/panels/config/dashboard/ha-config-navigation.ts b/src/panels/config/dashboard/ha-config-navigation.ts index a076385d10..5f29dadc89 100644 --- a/src/panels/config/dashboard/ha-config-navigation.ts +++ b/src/panels/config/dashboard/ha-config-navigation.ts @@ -43,8 +43,7 @@ class HaConfigNavigation extends LitElement { ${page.name || this.hass.localize( - page.translationKey || - `ui.panel.config.${page.component}.caption` + `ui.panel.config.dashboard.${page.translationKey}.title` )} ${page.component === "cloud" && (page.info as CloudStatus) ? page.info.logged_in @@ -68,7 +67,7 @@ class HaConfigNavigation extends LitElement {
${page.description || this.hass.localize( - `ui.panel.config.${page.component}.description` + `ui.panel.config.dashboard.${page.translationKey}.description` )}
`} diff --git a/src/panels/config/ha-panel-config.ts b/src/panels/config/ha-panel-config.ts index 9b1a3243db..02d9068b20 100644 --- a/src/panels/config/ha-panel-config.ts +++ b/src/panels/config/ha-panel-config.ts @@ -49,80 +49,69 @@ export const configSections: { [name: string]: PageNavigation[] } = { dashboard: [ { path: "/config/integrations", - name: "Devices & Services", - description: "Integrations, devices, entities and areas", + translationKey: "devices", iconPath: mdiDevices, iconColor: "#0D47A1", core: true, }, { path: "/config/automation", - name: "Automations & Scenes", - description: "Manage automations, scenes, scripts and helpers", + translationKey: "automations", iconPath: mdiRobot, iconColor: "#518C43", core: true, }, { path: "/config/blueprint", - name: "Blueprints", - description: "Manage blueprints", + translationKey: "blueprints", iconPath: mdiPaletteSwatch, iconColor: "#64B5F6", component: "blueprint", }, { path: "/hassio", - name: "Add-ons, Backups & Supervisor", - description: "Create backups, check logs or reboot your system", + translationKey: "supervisor", iconPath: mdiHomeAssistant, iconColor: "#4084CD", component: "hassio", }, { path: "/config/lovelace/dashboards", - name: "Dashboards", - description: "Create customized sets of cards to control your home", + translationKey: "dashboards", iconPath: mdiViewDashboard, iconColor: "#B1345C", component: "lovelace", }, { path: "/config/energy", - name: "Energy", - description: "Monitor your energy production and consumption", + translationKey: "energy", iconPath: mdiLightningBolt, iconColor: "#F1C447", component: "energy", }, { path: "/config/tags", - name: "Tags", - description: - "Trigger automations when a NFC tag, QR code, etc. is scanned", + translationKey: "tags", iconPath: mdiNfcVariant, iconColor: "#616161", component: "tag", }, { path: "/config/person", - name: "People & Zones", - description: "Manage the people and zones that Home Assistant tracks", + translationKey: "people", iconPath: mdiAccount, iconColor: "#E48629", components: ["person", "zone", "users"], }, { path: "#external-app-configuration", - name: "Companion App", - description: "Location and notifications", + translationKey: "companion", iconPath: mdiCellphoneCog, iconColor: "#8E24AA", }, { path: "/config/core", - name: "Settings", - description: "Basic settings, server controls, logs and info", + translationKey: "settings", iconPath: mdiCog, iconColor: "#4A5963", core: true, diff --git a/src/translations/en.json b/src/translations/en.json index 5c25d8c494..16faaf366f 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -928,9 +928,47 @@ }, "config": { "header": "Configure Home Assistant", - "advanced_mode": { - "hint_enable": "Missing config options? Enable advanced mode on", - "link_profile_page": "your profile page" + "dashboard": { + "devices": { + "title": "Devices & Services", + "description": "Integrations, devices, entities and areas" + }, + "automations": { + "title": "Automations & Scenes", + "description": "Manage automations, scenes, scripts and helpers" + }, + "blueprints": { + "title": "Blueprints", + "description": "Manage blueprints" + }, + "supervisor": { + "title": "Add-ons, Backups & Supervisor", + "description": "Create backups, check logs or reboot your system" + }, + "dashboards": { + "title": "Dashboards", + "description": "Create customized sets of cards to control your home" + }, + "energy": { + "title": "Energy", + "description": "Monitor your energy production and consumption" + }, + "tags": { + "title": "Tags", + "description": "Trigger automations when a NFC tag, QR code, etc. is scanned" + }, + "people": { + "title": "People & Zones", + "description": "Manage the people and zones that Home Assistant tracks" + }, + "companion": { + "title": "Companion App", + "description": "Location and notifications" + }, + "settings": { + "title": "Settings", + "description": "Basic settings, server controls, logs and info" + } }, "common": { "editor": {