Use translated panel names on frontend (#10197)

* Use translated panel names on frontend

* Revert hassio translation
This commit is contained in:
Adam Mills 2017-10-31 23:22:04 -04:00 committed by Paulus Schoutsen
parent 890c11cc7c
commit 5043b85c58
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ def async_setup(hass, config):
"""Track states and offer events for mailboxes.""" """Track states and offer events for mailboxes."""
mailboxes = [] mailboxes = []
yield from hass.components.frontend.async_register_built_in_panel( 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(MailboxPlatformsView(mailboxes))
hass.http.register_view(MailboxMessageView(mailboxes)) hass.http.register_view(MailboxMessageView(mailboxes))
hass.http.register_view(MailboxMediaView(mailboxes)) hass.http.register_view(MailboxMediaView(mailboxes))

View File

@ -49,7 +49,7 @@ def async_setup(hass, config):
]) ])
yield from hass.components.frontend.async_register_built_in_panel( yield from hass.components.frontend.async_register_built_in_panel(
'shopping-list', 'Shopping List', 'mdi:cart') 'shopping-list', 'shopping_list', 'mdi:cart')
return True return True