mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 10:16:46 +00:00
Fix hassio backups translations (#22609)
* Fix hassio backup styling * Add missing hassio backups data-table translations
This commit is contained in:
parent
f1d49aaeb1
commit
152b665f2e
@ -374,6 +374,9 @@ export class HassioBackups extends LitElement {
|
||||
haStyle,
|
||||
hassioStyle,
|
||||
css`
|
||||
:host {
|
||||
color: var(--primary-text-color);
|
||||
}
|
||||
.table-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
@ -371,11 +371,13 @@ export class HaTabsSubpageDataTable extends LitElement {
|
||||
</div>
|
||||
</ha-md-menu-item>
|
||||
</ha-md-button-menu>
|
||||
<p>
|
||||
${localize("ui.components.subpage-data-table.selected", {
|
||||
selected: this.selected || "0",
|
||||
})}
|
||||
</p>
|
||||
${this.selected !== undefined
|
||||
? html`<p>
|
||||
${localize("ui.components.subpage-data-table.selected", {
|
||||
selected: this.selected || "0",
|
||||
})}
|
||||
</p>`
|
||||
: nothing}
|
||||
</div>
|
||||
<div class="center-vertical">
|
||||
<slot name="selection-bar"></slot>
|
||||
|
@ -7814,6 +7814,37 @@
|
||||
"cancel": "[%key:ui::common::cancel%]",
|
||||
"move": "Move"
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"components": {
|
||||
"subpage-data-table": {
|
||||
"filters": "[%key:ui::components::subpage-data-table::filters%]",
|
||||
"show_results": "[%key:ui::components::subpage-data-table::show_results%]",
|
||||
"clear_filter": "[%key:ui::components::subpage-data-table::clear_filter%]",
|
||||
"close_filter": "[%key:ui::components::subpage-data-table::close_filter%]",
|
||||
"exit_selection_mode": "[%key:ui::components::subpage-data-table::exit_selection_mode%]",
|
||||
"enter_selection_mode": "[%key:ui::components::subpage-data-table::enter_selection_mode%]",
|
||||
"sort_by": "[%key:ui::components::subpage-data-table::sort_by%]",
|
||||
"group_by": "[%key:ui::components::subpage-data-table::group_by%]",
|
||||
"dont_group_by": "[%key:ui::components::subpage-data-table::dont_group_by%]",
|
||||
"collapse_all_groups": "[%key:ui::components::subpage-data-table::collapse_all_groups%]",
|
||||
"expand_all_groups": "[%key:ui::components::subpage-data-table::expand_all_groups%]",
|
||||
"select": "[%key:ui::components::subpage-data-table::select%]",
|
||||
"selected": "[%key:ui::components::subpage-data-table::selected%]",
|
||||
"select_all": "[%key:ui::components::subpage-data-table::select_all%]",
|
||||
"select_none": "[%key:ui::components::subpage-data-table::select_none%]",
|
||||
"settings": "[%key:ui::components::subpage-data-table::settings%]"
|
||||
},
|
||||
"data-table": {
|
||||
"settings": {
|
||||
"header": "[%key:ui::components::data-table::settings::header%]",
|
||||
"hide": "[%key:ui::components::data-table::settings::hide%]",
|
||||
"show": "[%key:ui::components::data-table::settings::show%]",
|
||||
"done": "[%key:ui::components::data-table::settings::done%]",
|
||||
"restore": "[%key:ui::components::data-table::settings::restore%]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user