Use translated panel names on frontend (#10197)

* Use translated panel names on frontend

* Revert hassio translation
This commit is contained in:
Adam Mills authored and Paulus Schoutsen committed 2017-10-31 20:22:04 -07:00
1 parent 890c11cc7c
commit 5043b85c58
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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))
+1 -1
View File
@@ -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