mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 13:37:47 +00:00
Localize tabs names in view editor (#4954)
* Localize tabs * remove Polish localization
This commit is contained in:
parent
6e35c79c14
commit
b41369a2ad
@ -142,8 +142,16 @@ export class HuiEditView extends LitElement {
|
||||
.selected="${this._curTabIndex}"
|
||||
@selected-item-changed="${this._handleTabSelected}"
|
||||
>
|
||||
<paper-tab id="tab-settings">Settings</paper-tab>
|
||||
<paper-tab id="tab-badges">Badges</paper-tab>
|
||||
<paper-tab id="tab-settings"
|
||||
>${this.hass!.localize(
|
||||
"ui.panel.lovelace.editor.edit_view.tab_settings"
|
||||
)}</paper-tab
|
||||
>
|
||||
<paper-tab id="tab-badges"
|
||||
>${this.hass!.localize(
|
||||
"ui.panel.lovelace.editor.edit_view.tab_badges"
|
||||
)}</paper-tab
|
||||
>
|
||||
</paper-tabs>
|
||||
<paper-dialog-scrollable> ${content} </paper-dialog-scrollable>
|
||||
<div class="paper-dialog-buttons">
|
||||
|
@ -1773,7 +1773,9 @@
|
||||
"edit": "Edit view",
|
||||
"delete": "Delete view",
|
||||
"move_left": "Move view left",
|
||||
"move_right": "Move view right"
|
||||
"move_right": "Move view right",
|
||||
"tab_settings": "Settings",
|
||||
"tab_badges": "Badges"
|
||||
},
|
||||
"edit_card": {
|
||||
"header": "Card Configuration",
|
||||
|
Loading…
x
Reference in New Issue
Block a user