diff --git a/gui/locale/ca.json b/gui/locale/ca.json index e78e12f3f..9c568d6fd 100644 --- a/gui/locale/ca.json +++ b/gui/locale/ca.json @@ -72,6 +72,48 @@ } }, "setup": { + "area_variation": { + "action": { + "add": { + "help": "" + }, + "label": "", + "remove": { + "help": "" + } + }, + "difference": { + "help": "", + "label": "" + }, + "duration": { + "help": "" + }, + "external_source": { + "help": "", + "label": "" + }, + "help": "", + "offset": { + "label": "" + }, + "period": { + "help": "", + "label": "" + }, + "remote": { + "help": "" + }, + "source": { + "label": "" + }, + "value": { + "help": "" + }, + "weather": { + "help": "" + } + }, "day_night_difference": { "help": "Import per canviar entre dia i nit.", "invalid": "Introduïu un número vàlid.", diff --git a/gui/locale/de.json b/gui/locale/de.json index a34b4f802..bf19cdee0 100644 --- a/gui/locale/de.json +++ b/gui/locale/de.json @@ -72,6 +72,48 @@ } }, "setup": { + "area_variation": { + "action": { + "add": { + "help": "" + }, + "label": "", + "remove": { + "help": "" + } + }, + "difference": { + "help": "", + "label": "" + }, + "duration": { + "help": "" + }, + "external_source": { + "help": "", + "label": "" + }, + "help": "", + "offset": { + "label": "" + }, + "period": { + "help": "", + "label": "" + }, + "remote": { + "help": "" + }, + "source": { + "label": "" + }, + "value": { + "help": "" + }, + "weather": { + "help": "" + } + }, "day_night_difference": { "help": "Differenz zwischen Tag und Nacht.", "invalid": "Gib eine gültige Nummer ein.", diff --git a/gui/locale/en_GB.json b/gui/locale/en_GB.json index 7770328b1..879f43945 100644 --- a/gui/locale/en_GB.json +++ b/gui/locale/en_GB.json @@ -72,6 +72,11 @@ } }, "setup": { + "area_variation": { + "difference": { + "help": "Enter a negative or positive value for a relative action. A number is treated as an absolute value." + } + }, "day_night_difference": { "help": "Amount to change between day and night.", "invalid": "Enter a valid number.", diff --git a/gui/locale/en_US.json b/gui/locale/en_US.json index 7770328b1..6e7cc631f 100644 --- a/gui/locale/en_US.json +++ b/gui/locale/en_US.json @@ -72,6 +72,48 @@ } }, "setup": { + "area_variation": { + "action": { + "add": { + "help": "Add a new row" + }, + "label": "Action", + "remove": { + "help": "Remove row" + } + }, + "difference": { + "help": "Enter a negative or positive value for a relative action. A number is treated as an absolute value.", + "label": "Difference" + }, + "duration": { + "help": "Enter a duration in minutes or the actual time of the day." + }, + "external_source": { + "help": "Enter a full url to the external source according to the Remote data feature.", + "label": "External source url" + }, + "help": "Here you can enter periods where the sensors will change their values according to the list below. Make sure the periods are in chronological order!", + "offset": { + "label": "Offset" + }, + "period": { + "help": "After x minutes change to value or at exactly a time stamp.", + "label": "Period/duration" + }, + "remote": { + "help": "Remote data." + }, + "source": { + "label": "Source" + }, + "value": { + "help": "Enter a negative or positive offset value." + }, + "weather": { + "help": "Climate mirroring." + } + }, "day_night_difference": { "help": "Amount to change between day and night.", "invalid": "Enter a valid number.", diff --git a/gui/locale/es.json b/gui/locale/es.json index 272e565a1..ecd3bed8e 100644 --- a/gui/locale/es.json +++ b/gui/locale/es.json @@ -72,6 +72,48 @@ } }, "setup": { + "area_variation": { + "action": { + "add": { + "help": "" + }, + "label": "", + "remove": { + "help": "" + } + }, + "difference": { + "help": "", + "label": "" + }, + "duration": { + "help": "" + }, + "external_source": { + "help": "", + "label": "" + }, + "help": "", + "offset": { + "label": "" + }, + "period": { + "help": "", + "label": "" + }, + "remote": { + "help": "" + }, + "source": { + "label": "" + }, + "value": { + "help": "" + }, + "weather": { + "help": "" + } + }, "day_night_difference": { "help": "Cantidad para cambiar entre día y noche.", "invalid": "Ingrese un número válido.", diff --git a/gui/locale/fr_BE.json b/gui/locale/fr_BE.json index 46e4fb619..b40d6fa4f 100644 --- a/gui/locale/fr_BE.json +++ b/gui/locale/fr_BE.json @@ -72,6 +72,48 @@ } }, "setup": { + "area_variation": { + "action": { + "add": { + "help": "" + }, + "label": "", + "remove": { + "help": "" + } + }, + "difference": { + "help": "", + "label": "" + }, + "duration": { + "help": "" + }, + "external_source": { + "help": "", + "label": "" + }, + "help": "", + "offset": { + "label": "" + }, + "period": { + "help": "", + "label": "" + }, + "remote": { + "help": "" + }, + "source": { + "label": "" + }, + "value": { + "help": "" + }, + "weather": { + "help": "" + } + }, "day_night_difference": { "help": "Le montant du changement entre le jour et la nuit.", "invalid": "Date et heure.", diff --git a/gui/locale/it_IT.json b/gui/locale/it_IT.json index 63355355b..61707af49 100644 --- a/gui/locale/it_IT.json +++ b/gui/locale/it_IT.json @@ -72,6 +72,48 @@ } }, "setup": { + "area_variation": { + "action": { + "add": { + "help": "" + }, + "label": "", + "remove": { + "help": "" + } + }, + "difference": { + "help": "", + "label": "" + }, + "duration": { + "help": "" + }, + "external_source": { + "help": "", + "label": "" + }, + "help": "", + "offset": { + "label": "" + }, + "period": { + "help": "", + "label": "" + }, + "remote": { + "help": "" + }, + "source": { + "label": "" + }, + "value": { + "help": "" + }, + "weather": { + "help": "" + } + }, "day_night_difference": { "help": "Equivale a cambiare tra giorno e notte.", "invalid": "Inserisci un numero valido.", diff --git a/gui/locale/ja.json b/gui/locale/ja.json index f92f5effd..0ef6d047a 100644 --- a/gui/locale/ja.json +++ b/gui/locale/ja.json @@ -72,6 +72,48 @@ } }, "setup": { + "area_variation": { + "action": { + "add": { + "help": "" + }, + "label": "", + "remove": { + "help": "" + } + }, + "difference": { + "help": "", + "label": "" + }, + "duration": { + "help": "" + }, + "external_source": { + "help": "", + "label": "" + }, + "help": "", + "offset": { + "label": "" + }, + "period": { + "help": "", + "label": "" + }, + "remote": { + "help": "" + }, + "source": { + "label": "" + }, + "value": { + "help": "" + }, + "weather": { + "help": "" + } + }, "day_night_difference": { "help": "昼と夜の間で変更する量。.", "invalid": "正しい時間値を入力してください。.", diff --git a/gui/locale/nb_NO.json b/gui/locale/nb_NO.json index d8470e053..ec362e33c 100644 --- a/gui/locale/nb_NO.json +++ b/gui/locale/nb_NO.json @@ -72,6 +72,48 @@ } }, "setup": { + "area_variation": { + "action": { + "add": { + "help": "" + }, + "label": "", + "remove": { + "help": "" + } + }, + "difference": { + "help": "", + "label": "" + }, + "duration": { + "help": "" + }, + "external_source": { + "help": "", + "label": "" + }, + "help": "", + "offset": { + "label": "" + }, + "period": { + "help": "", + "label": "" + }, + "remote": { + "help": "" + }, + "source": { + "label": "" + }, + "value": { + "help": "" + }, + "weather": { + "help": "" + } + }, "day_night_difference": { "help": "Mengde å endre mellom dag og natt.", "invalid": "Dato og tid.", diff --git a/gui/locale/nl_NL.json b/gui/locale/nl_NL.json index 66cf05c64..16e3b3461 100644 --- a/gui/locale/nl_NL.json +++ b/gui/locale/nl_NL.json @@ -72,6 +72,48 @@ } }, "setup": { + "area_variation": { + "action": { + "add": { + "help": "Voeg een nieuwe rij toe" + }, + "label": "Actie", + "remove": { + "help": "Rij verwijderen" + } + }, + "difference": { + "help": "Voer een negatieve of positieve waarde in voor een relatieve actie. \nEen getal wordt behandeld als een absolute waarde.", + "label": "Verschil" + }, + "duration": { + "help": "Voer een duur in minuten of de werkelijke tijd van de dag in." + }, + "external_source": { + "help": "Voer een volledige URL naar de externe bron in volgens de Externe data manier.", + "label": "Externe bron-URL" + }, + "help": "Hier kunt u perioden invoeren waarin de sensoren hun waarden zullen wijzigen volgens de onderstaande lijst. \nZorg ervoor dat de perioden in chronologische volgorde staan!", + "offset": { + "label": "Offset" + }, + "period": { + "help": "Na x minuten wijzigen naar waarde of precies op een tijdstip.", + "label": "Periode/duur" + }, + "remote": { + "help": "Externe data." + }, + "source": { + "label": "Bron" + }, + "value": { + "help": "Voer een negatieve of positieve offsetwaarde in." + }, + "weather": { + "help": "Klimaatspiegeling." + } + }, "day_night_difference": { "help": "Waarde om te wisselen tussen dag en nacht.", "invalid": "Geef een geldig getal op.", diff --git a/gui/locale/pl.json b/gui/locale/pl.json index aca4883f3..b80f00591 100644 --- a/gui/locale/pl.json +++ b/gui/locale/pl.json @@ -72,6 +72,48 @@ } }, "setup": { + "area_variation": { + "action": { + "add": { + "help": "" + }, + "label": "", + "remove": { + "help": "" + } + }, + "difference": { + "help": "", + "label": "" + }, + "duration": { + "help": "" + }, + "external_source": { + "help": "", + "label": "" + }, + "help": "", + "offset": { + "label": "" + }, + "period": { + "help": "", + "label": "" + }, + "remote": { + "help": "" + }, + "source": { + "label": "" + }, + "value": { + "help": "" + }, + "weather": { + "help": "" + } + }, "day_night_difference": { "help": "Kwota do zmiany między dniem a nocą.", "invalid": "Wprowadź poprawny czas dnia.", diff --git a/gui/locale/pt.json b/gui/locale/pt.json index cfbcaa574..9879a83e4 100644 --- a/gui/locale/pt.json +++ b/gui/locale/pt.json @@ -72,6 +72,48 @@ } }, "setup": { + "area_variation": { + "action": { + "add": { + "help": "" + }, + "label": "", + "remove": { + "help": "" + } + }, + "difference": { + "help": "", + "label": "" + }, + "duration": { + "help": "" + }, + "external_source": { + "help": "", + "label": "" + }, + "help": "", + "offset": { + "label": "" + }, + "period": { + "help": "", + "label": "" + }, + "remote": { + "help": "" + }, + "source": { + "label": "" + }, + "value": { + "help": "" + }, + "weather": { + "help": "" + } + }, "day_night_difference": { "help": "Valor de ajuste entre dia e noite.", "invalid": "Insira um número válido.", diff --git a/gui/modals/AreaFormModal.svelte b/gui/modals/AreaFormModal.svelte index d1da510fd..025e2a20a 100644 --- a/gui/modals/AreaFormModal.svelte +++ b/gui/modals/AreaFormModal.svelte @@ -1629,8 +1629,10 @@
Here you can enter periods where the sensors will change their values according to the list below. - Make sure the periods are in chronological order!{$_('areas.settings.setup.area_variation.help', { + default: + 'Here you can enter periods where the sensors will change their values according to the list below. Make sure the periods are in chronological order!', + })}
@@ -1638,38 +1640,62 @@
- +
{#if $formData.setup && ['external', 'script', 'weather'].indexOf($formData.setup.variation[$formData.setup.variation.length - 1].when ?? null) === -1}
- +
{/if} {#if $formData.setup && ['external', 'script'].indexOf($formData.setup.variation[$formData.setup.variation.length - 1].when ?? null) !== -1}
- +
{:else if $formData.setup && ['weather'].indexOf($formData.setup.variation[$formData.setup.variation.length - 1].when ?? null) !== -1}
- +
{:else}
- +
{/if}
- +
@@ -1809,7 +1835,11 @@ )}" >
- After x minutes change to value or at exactly a time stamp. + + {$_('areas.settings.setup.area_variation.period.help', { + default: 'After x minutes change to value or at exactly a time stamp.', + })} +
- Enter a duration in minutes or the actual time of the day. + + {$_('areas.settings.setup.area_variation.duration.help', { + default: 'Enter a duration in minutes or the actual time of the day.', + })} +
- Enter a negative or positive value for a relative action. A number is treated as an absolute value. + {$_('areas.settings.setup.area_variation.difference.help', { + default: + 'Enter a negative or positive value for a relative action. A number is treated as an absolute value.', + })}
@@ -1846,7 +1883,11 @@ )}" >
- Remote data. + + {$_('areas.settings.setup.area_variation.remote.help', { + default: 'Remote data.', + })} +
- Enter a full url to the external source according to the Remote data feature. + {$_('areas.settings.setup.area_variation.external_source.help', { + default: 'Enter a full url to the external source according to the Remote data feature.', + })}
@@ -1873,7 +1916,11 @@ )}" >
- Climate mirroring. + + {$_('areas.settings.setup.area_variation.weather.help', { + default: 'Climate mirroring.', + })} +
- Enter a negative or positive offset value. + + {$_('areas.settings.setup.area_variation.value.help', { + default: 'Enter a negative or positive offset value.', + })} +
- Add a new row + + {$_('areas.settings.setup.area_variation.action.add.help', { + default: 'Add a new row', + })} +
- Remove row + + {$_('areas.settings.setup.area_variation.action.remove.help', { + default: 'Remove row', + })} +