mirror of
https://github.com/home-assistant/frontend.git
synced 2025-06-24 02:56:34 +00:00
Spelling fixes (#989)
This commit is contained in:
parent
3d101116a2
commit
09fe2172b2
@ -82,7 +82,7 @@
|
|||||||
<span slot='header'>Integrations</span>
|
<span slot='header'>Integrations</span>
|
||||||
<span slot='introduction'>
|
<span slot='introduction'>
|
||||||
Integrations for Home Assistant Cloud allow you to connect with services in the cloud
|
Integrations for Home Assistant Cloud allow you to connect with services in the cloud
|
||||||
without having to expose your Home Assistant instance publicy on the internet.
|
without having to expose your Home Assistant instance publicly on the internet.
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<paper-card heading='Alexa'>
|
<paper-card heading='Alexa'>
|
||||||
|
@ -165,7 +165,7 @@ class HaPanelMap extends window.hassMixins.LocalizeMixin(Polymer.Element) {
|
|||||||
var entityPicture = entity.attributes.entity_picture || '';
|
var entityPicture = entity.attributes.entity_picture || '';
|
||||||
var entityName = title.split(' ').map(function (part) { return part.substr(0, 1); }).join('');
|
var entityName = title.split(' ').map(function (part) { return part.substr(0, 1); }).join('');
|
||||||
/* Leaflet clones this element before adding it to the map. This messes up
|
/* Leaflet clones this element before adding it to the map. This messes up
|
||||||
our Poylmer object and we can't pass data through. Thus we hack like this. */
|
our Polymer object and we can't pass data through. Thus we hack like this. */
|
||||||
icon = window.L.divIcon({
|
icon = window.L.divIcon({
|
||||||
html: "<ha-entity-marker entity-id='" + entity.entity_id + "' entity-name='" + entityName + "' entity-picture='" + entityPicture + "'></ha-entity-marker>",
|
html: "<ha-entity-marker entity-id='" + entity.entity_id + "' entity-name='" + entityName + "' entity-picture='" + entityPicture + "'></ha-entity-marker>",
|
||||||
iconSize: [45, 45],
|
iconSize: [45, 45],
|
||||||
|
@ -122,7 +122,7 @@ class HaColorPicker extends window.hassMixins.EventsMixin(Polymer.Element) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
// the amount segments for the hue
|
// the amount segments for the hue
|
||||||
// 0 = continious gradient
|
// 0 = continuous gradient
|
||||||
// other than 0 gives 'pie-pieces'
|
// other than 0 gives 'pie-pieces'
|
||||||
hueSegments: {
|
hueSegments: {
|
||||||
type: Number,
|
type: Number,
|
||||||
@ -130,7 +130,7 @@ class HaColorPicker extends window.hassMixins.EventsMixin(Polymer.Element) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
// the amount segments for the hue
|
// the amount segments for the hue
|
||||||
// 0 = continious gradient
|
// 0 = continuous gradient
|
||||||
// 1 = only fully saturated
|
// 1 = only fully saturated
|
||||||
// > 1 = segments from white to fully saturated
|
// > 1 = segments from white to fully saturated
|
||||||
saturationSegments: {
|
saturationSegments: {
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
--disabled-text-color: #bdbdbd;
|
--disabled-text-color: #bdbdbd;
|
||||||
--divider-color: rgba(0, 0, 0, .12);
|
--divider-color: rgba(0, 0, 0, .12);
|
||||||
|
|
||||||
--table-row-background-color: transparant;
|
--table-row-background-color: transparent;
|
||||||
--table-row-alternative-background-color: #eee;
|
--table-row-alternative-background-color: #eee;
|
||||||
|
|
||||||
--paper-toggle-button-checked-ink-color: #039be5;
|
--paper-toggle-button-checked-ink-color: #039be5;
|
||||||
|
@ -62,7 +62,7 @@ function getActiveTranslation() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Store loaded translations in memory so translations are available immediately
|
// Store loaded translations in memory so translations are available immediately
|
||||||
// when DOM is created in Polymer. Even a cache lookup creates noticable latency.
|
// when DOM is created in Polymer. Even a cache lookup creates noticeable latency.
|
||||||
const translations = {};
|
const translations = {};
|
||||||
|
|
||||||
window.getTranslation = function (fragment, translationInput) {
|
window.getTranslation = function (fragment, translationInput) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user