Dependencies update, add switch for frontlight off when dark

This commit is contained in:
Djuri 2024-12-10 14:49:44 +01:00
parent f0fa58b5ea
commit 25e91b2086
6 changed files with 206 additions and 347 deletions

View file

@ -55,7 +55,9 @@
"ledFlashOnZap": "LED blinkt bei Nostr Zap",
"flFlashOnZap": "Displaybeleuchting bei Nostr Zap",
"showAll": "Alle anzeigen",
"hideAll": "Alles ausblenden"
"hideAll": "Alles ausblenden",
"flOffWhenDark": "Displaybeleuchtung aus, wenn es dunkel ist",
"luxLightToggleText": "Zum Deaktivieren auf 0 setzen"
},
"control": {
"systemInfo": "Systeminfo",

View file

@ -67,7 +67,9 @@
"ledFlashOnZap": "LED flash on Nostr Zap",
"flFlashOnZap": "Frontlight flash on Nostr Zap",
"showAll": "Show all",
"hideAll": "Hide all"
"hideAll": "Hide all",
"flOffWhenDark": "Frontlight off when dark",
"luxLightToggleText": "Set to 0 to disable"
},
"control": {
"systemInfo": "System info",

View file

@ -54,7 +54,9 @@
"ledFlashOnZap": "LED parpadeante con Nostr Zap",
"flFlashOnZap": "Flash de luz frontal con Nostr Zap",
"showAll": "Mostrar todo",
"hideAll": "Ocultar todo"
"hideAll": "Ocultar todo",
"flOffWhenDark": "Luz de la pantalla cuando está oscuro",
"luxLightToggleText": "Establecer en 0 para desactivar"
},
"control": {
"turnOff": "Apagar",

View file

@ -55,7 +55,9 @@
"ledFlashOnZap": "Knipper LED bij Nostr Zap",
"flFlashOnZap": "Knipper displaylicht bij Nostr Zap",
"showAll": "Toon alles",
"hideAll": "Alles verbergen"
"hideAll": "Alles verbergen",
"flOffWhenDark": "Displaylicht uit als het donker is",
"luxLightToggleText": "Stel in op 0 om uit te schakelen"
},
"control": {
"systemInfo": "Systeeminformatie",

View file

@ -517,6 +517,7 @@
max={1000}
step={1}
/>
<FormText>{$_('section.settings.luxLightToggleText')}</FormText>
</Col>
</Row>
{/if}
@ -578,6 +579,15 @@
label={$_('section.settings.flFlashOnUpd')}
/>
</Col>
<Col md="6" xl="12" xxl="6">
<Input
id="flOffWhenDark"
bind:checked={$settings.flOffWhenDark}
type="switch"
bsSize={$uiSettings.inputSize}
label={$_('section.settings.flOffWhenDark')}
/>
</Col>
{/if}
</Row>
</ToggleHeader>