mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Use translated panel names on frontend (#10197)
* Use translated panel names on frontend * Revert hassio translation
This commit is contained in:
parent
890c11cc7c
commit
5043b85c58
@ -36,7 +36,7 @@ def async_setup(hass, config):
|
||||
"""Track states and offer events for mailboxes."""
|
||||
mailboxes = []
|
||||
yield from hass.components.frontend.async_register_built_in_panel(
|
||||
'mailbox', 'Mailbox', 'mdi:mailbox')
|
||||
'mailbox', 'mailbox', 'mdi:mailbox')
|
||||
hass.http.register_view(MailboxPlatformsView(mailboxes))
|
||||
hass.http.register_view(MailboxMessageView(mailboxes))
|
||||
hass.http.register_view(MailboxMediaView(mailboxes))
|
||||
|
@ -49,7 +49,7 @@ def async_setup(hass, config):
|
||||
])
|
||||
|
||||
yield from hass.components.frontend.async_register_built_in_panel(
|
||||
'shopping-list', 'Shopping List', 'mdi:cart')
|
||||
'shopping-list', 'shopping_list', 'mdi:cart')
|
||||
|
||||
return True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user