Merge pull request #3770 from home-assistant/dev

20190919.0
This commit is contained in:
Paulus Schoutsen 2019-09-19 09:01:35 -07:00 committed by GitHub
commit 4d97a47e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 148 additions and 15 deletions

View File

@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name="home-assistant-frontend",
version="20190918.1",
version="20190919.0",
description="The Home Assistant frontend",
url="https://github.com/home-assistant/home-assistant-polymer",
author="The Home Assistant Authors",

View File

@ -104,6 +104,7 @@ class StateBadge extends LitElement {
text-align: center;
background-size: cover;
line-height: 40px;
vertical-align: middle;
}
ha-icon {

View File

@ -11,6 +11,7 @@ import LocalizeMixin from "../../mixins/localize-mixin";
import computeStateName from "../../common/entity/compute_state_name";
import computeDomain from "../../common/entity/compute_domain";
import { updateEntityRegistryEntry } from "../../data/entity_registry";
import { showSaveSuccessToast } from "../../util/toast-saved-success";
import "../../components/ha-paper-icon-button-arrow-prev";
/*
@ -123,6 +124,8 @@ class MoreInfoSettings extends LocalizeMixin(EventsMixin(PolymerElement)) {
}
);
showSaveSuccessToast(this, this.hass);
this.registryInfo = info;
// Keep the more info dialog open at the new entity.

View File

@ -81,7 +81,9 @@ export class HaConfigManagerDashboard extends LitElement {
<paper-item-body>
${localizeConfigFlowTitle(this.hass.localize, flow)}
</paper-item-body>
<mwc-button @click=${this._continueFlow}
<mwc-button
@click=${this._continueFlow}
data-id="${flow.flow_id}"
>${this.hass.localize(
"ui.panel.config.integrations.configure"
)}</mwc-button
@ -165,9 +167,10 @@ export class HaConfigManagerDashboard extends LitElement {
});
}
private _continueFlow(ev) {
private _continueFlow(ev: Event) {
showConfigFlowDialog(this, {
continueFlowId: ev.model.item.flow_id,
continueFlowId:
(ev.target as HTMLElement).getAttribute("data-id") || undefined,
dialogClosedCallback: () => fireEvent(this, "hass-reload-entries"),
});
}

View File

@ -504,7 +504,7 @@
"leave": "Forlater"
},
"device": {
"label": "Enheten"
"label": "Enhet"
}
},
"learn_more": "Lær mer om utløsere"
@ -805,6 +805,10 @@
"confirm_stop": "Er du sikker på at du vil stoppe Home Assistant?"
}
}
},
"devices": {
"caption": "Enheter",
"description": "Administrer tilkoblede enheter"
}
},
"profile": {

View File

@ -516,7 +516,7 @@
"duplicate": "Duplikuj",
"delete": "Usuń",
"delete_confirm": "Czy chcesz usunąć?",
"unsupported_condition": "Stan nieobsługiwany: {condition}",
"unsupported_condition": "Nieobsługiwany warunek: {condition}",
"type_select": "Typ warunku",
"type": {
"state": {
@ -681,7 +681,7 @@
},
"integrations": {
"caption": "Integracje",
"description": "Zarządzaj podłączonymi urządzeniami i usługami",
"description": "Zarządzaj integracjami",
"discovered": "Wykryte",
"configured": "Skonfigurowane",
"new": "Konfiguruj nową integrację",
@ -805,6 +805,10 @@
"confirm_stop": "Czy chcesz zatrzymać Home Assistant?"
}
}
},
"devices": {
"caption": "Urządzenia",
"description": "Zarządzaj podłączonymi urządzeniami"
}
},
"profile": {

View File

@ -251,7 +251,8 @@
"snowy-rainy": "Lapoviță și ninsoare",
"sunny": "însorit",
"windy": "Vant",
"windy-variant": "Vant"
"windy-variant": "Vant",
"exceptional": "Excepţional"
},
"vacuum": {
"cleaning": "Curățare",
@ -327,6 +328,9 @@
},
"info": {
"title": "Info"
},
"logs": {
"title": "Jurnale"
}
}
},
@ -498,6 +502,9 @@
"event": "Eveniment:",
"enter": "Intră",
"leave": "Ieși"
},
"device": {
"label": "Dispozitiv"
}
},
"learn_more": "Aflați mai multe despre triggeri"
@ -632,6 +639,7 @@
"header": "Valoare nod"
},
"node_config": {
"seconds": "Secunde",
"true": "Adevărat",
"false": "Fals",
"set_config_parameter": "Setați parametrul de configurare"
@ -748,6 +756,7 @@
"delete": "ȘTERGE",
"update": "ACTUALIZAȚI",
"enabled_label": "Activează entitatea",
"enabled_cause": "Dezactivat de {cause} .",
"enabled_description": "Entitățile dezactivate nu vof fi adăugate in Home Assistant"
}
},
@ -774,12 +783,24 @@
},
"reloading": {
"heading": "Reîncărcarea configurației",
"introduction": "Unele părți din Home Assistant se pot reîncărca fără a necesita o repornire. Apăsarea reîncărcării va dezactiva configurația actuală și va încărca noua configurație.",
"core": "Reîncărcați nucleul",
"group": "Reîncărcați grupurile",
"automation": "Reîncarcă automatizările",
"script": "Reîncărcați script-uri"
},
"server_management": {
"heading": "Managementul serverului",
"restart": "Repornire",
"stop": "Oprire",
"confirm_restart": "Sigur doriți să reporniți Home Assistant?",
"confirm_stop": "Sigur doriți să opriți Home Assistant?"
}
}
},
"devices": {
"caption": "Dispozitive",
"description": "Gestionați dispozitivele conectate"
}
},
"profile": {
@ -1044,6 +1065,9 @@
"save": "Salvați",
"unsaved_changes": "Modificări nesalvate",
"saved": "Salvat"
},
"edit_lovelace": {
"header": "Titlul interfeței dvs. Lovelace"
}
},
"menu": {
@ -1113,7 +1137,8 @@
"common": {
"loading": "Se încarcă",
"cancel": "Revocare",
"save": "Salvați"
"save": "Salvați",
"successfully_saved": "Opțiunile salvate cu succes."
},
"duration": {
"day": "{count}{count, plural,\n one { zi }\n other { zile }\n}",
@ -1238,6 +1263,9 @@
},
"timer": {
"actions": {
"start": "Începe",
"pause": "Pauză",
"cancel": "Revocare",
"finish": "Termina"
}
}
@ -1416,7 +1444,8 @@
},
"config_entry": {
"disabled_by": {
"user": "Utilizator"
"user": "Utilizator",
"integration": "Integrare"
}
}
}

View File

@ -681,7 +681,7 @@
},
"integrations": {
"caption": "Integracije",
"description": "Upravljanje povezanih naprav in storitev",
"description": "Upravljanje in nastavitev integracij",
"discovered": "Odkrito",
"configured": "Konfigurirano",
"new": "Nastavite novo integracijo",
@ -805,6 +805,10 @@
"confirm_stop": "Ali ste prepričani, da želite ustaviti Home Assistant-a?"
}
}
},
"devices": {
"caption": "Naprave",
"description": "Upravljajte povezane naprave"
}
},
"profile": {
@ -1004,7 +1008,7 @@
"intro": "Pozdravljeni {name}, dobrodošli v Home Assistantu. Kako bi radi poimenovali vaš dom?",
"intro_location": "Radi bi vedeli, kje živite. Te informacije vam bodo pomagale pri prikazovanju informacij in postavitvi avtomatizacij, ki temeljijo na soncu. Ti podatki se nikoli ne delijo izven vašega omrežja.",
"intro_location_detect": "Lahko vam pomagamo izpolniti te informacije z enkratno zahtevo za zunanjo storitev.",
"location_name_default": "Domov",
"location_name_default": "Dom",
"button_detect": "Odkrij",
"finish": "Naslednji"
}

View File

@ -526,7 +526,8 @@
"numeric_state": {
"label": "Числовий статус",
"above": "Над",
"below": "Нижче"
"below": "Нижче",
"value_template": "Значення шаблону (не обов'язково)"
},
"sun": {
"label": "Сонце",
@ -587,6 +588,9 @@
"label": "Викликати подію",
"event": "Подія:",
"service_data": "Дані сервісу"
},
"device_id": {
"label": "Пристрій"
}
},
"learn_more": "Докладніше про дії"
@ -677,7 +681,7 @@
},
"integrations": {
"caption": "Інтеграція",
"description": "Керування підключеними пристроями та службами",
"description": "Управління та налаштування інтеграцій",
"discovered": "Виявлено",
"configured": "Налаштовано",
"new": "Налаштуйте нову інтеграцію",
@ -801,6 +805,10 @@
"confirm_stop": "Ви впевнені, що хочете зупинити Home Assistant?"
}
}
},
"devices": {
"caption": "Пристрої",
"description": "Керування підключеними пристроями"
}
},
"profile": {

73
translations/ur.json Normal file
View File

@ -0,0 +1,73 @@
{
"ui": {
"panel": {
"config": {
"server_control": {
"caption": "سرور کنٹرول۔",
"section": {
"server_management": {
"restart": "دوبارہ شروع کریں",
"stop": "رکو۔"
}
}
},
"zwave": {
"node_config": {
"seconds": "سیکنڈ"
}
},
"automation": {
"editor": {
"conditions": {
"type": {
"device": {
"label": "آلہ"
}
}
},
"actions": {
"type": {
"device_id": {
"label": "آلہ"
}
}
}
}
},
"devices": {
"caption": "آلات",
"description": "منسلک آلات کا نظم کریں۔"
}
},
"developer-tools": {
"tabs": {
"logs": {
"title": "نوشتہ جات"
}
}
}
},
"card": {
"fan": {
"forward": "آگے",
"reverse": "پیچھے کی جانب"
},
"timer": {
"actions": {
"pause": "توقف",
"finish": "ختم"
}
}
},
"dialogs": {
"zha_device_info": {
"services": {
"remove": "زاگبی نیٹ ورک سے ایک آلہ ہٹائیں ۔"
},
"zha_device_card": {
"area_picker_label": "جگہ"
}
}
}
}
}

View File

@ -681,7 +681,7 @@
},
"integrations": {
"caption": "整合",
"description": "管理已連線裝置與服務",
"description": "管理已連線裝置與整合",
"discovered": "已掃描",
"configured": "已設定整合",
"new": "設定新整合",
@ -805,6 +805,10 @@
"confirm_stop": "確定要停止 Home Assistant 嗎?"
}
}
},
"devices": {
"caption": "裝置",
"description": "管理已連線裝置"
}
},
"profile": {