From 2363d98965bb1fdbfdf5d130b41732f5b864e2d0 Mon Sep 17 00:00:00 2001 From: Djuri Baars Date: Thu, 11 Jul 2024 14:01:10 +0200 Subject: [PATCH] Add WiFi portal time-out setting --- src/lib/locales/de.json | 3 ++- src/lib/locales/en.json | 3 ++- src/lib/locales/es.json | 3 ++- src/lib/locales/nl.json | 3 ++- src/routes/Settings.svelte | 17 +++++++++++++++++ 5 files changed, 25 insertions(+), 4 deletions(-) diff --git a/src/lib/locales/de.json b/src/lib/locales/de.json index f44ecbd..591c552 100644 --- a/src/lib/locales/de.json +++ b/src/lib/locales/de.json @@ -35,7 +35,8 @@ "flEffectDelay": "Displaybeleuchtungeffekt Geschwindigkeit", "flFlashOnUpd": "Displaybeleuchting bei neuem Block", "mempoolInstanceHelpText": "Nur wirksam, wenn die BTClock-Datenquelle deaktiviert ist. \nZur Anwendung ist ein Neustart erforderlich.", - "luxLightToggle": "Automatisches Umschalten des Frontlichts bei Lux" + "luxLightToggle": "Automatisches Umschalten des Frontlichts bei Lux", + "wpTimeout": "WiFi-Konfigurationsportal timeout" }, "control": { "systemInfo": "Systeminfo", diff --git a/src/lib/locales/en.json b/src/lib/locales/en.json index e151e33..d04c856 100644 --- a/src/lib/locales/en.json +++ b/src/lib/locales/en.json @@ -35,7 +35,8 @@ "flEffectDelay": "Frontlight effect speed", "flFlashOnUpd": "Frontlight flash on new block", "mempoolInstanceHelpText": "Only effective when BTClock data-source is disabled. A restart is required to apply.", - "luxLightToggle": "Auto toggle frontlight at lux" + "luxLightToggle": "Auto toggle frontlight at lux", + "wpTimeout": "WiFi-config portal timeout" }, "control": { "systemInfo": "System info", diff --git a/src/lib/locales/es.json b/src/lib/locales/es.json index dd3ea32..6976f77 100644 --- a/src/lib/locales/es.json +++ b/src/lib/locales/es.json @@ -34,7 +34,8 @@ "flEffectDelay": "Velocidad del efecto de luz de la pantalla", "flFlashOnUpd": "Luz de la pantalla parpadea con un nuevo bloque", "mempoolInstanceHelpText": "Solo es efectivo cuando la fuente de datos BTClock está deshabilitada. \nEs necesario reiniciar para aplicar.", - "luxLightToggle": "Cambio automático de luz frontal en lux" + "luxLightToggle": "Cambio automático de luz frontal en lux", + "wpTimeout": "Portal de configuración WiFi timeout" }, "control": { "turnOff": "Apagar", diff --git a/src/lib/locales/nl.json b/src/lib/locales/nl.json index 1e672c1..6fbd945 100644 --- a/src/lib/locales/nl.json +++ b/src/lib/locales/nl.json @@ -35,7 +35,8 @@ "flEffectDelay": "Displaylicht effect snelheid", "flFlashOnUpd": "Knipper displaylicht bij nieuw blok", "mempoolInstanceHelpText": "Alleen effectief als de BTClock-gegevensbron is uitgeschakeld. \nOm toe te passen is een herstart nodig.", - "luxLightToggle": "Schakelen displaylicht op lux" + "luxLightToggle": "Schakelen displaylicht op lux", + "wpTimeout": "WiFi-config-portal timeout" }, "control": { "systemInfo": "Systeeminformatie", diff --git a/src/routes/Settings.svelte b/src/routes/Settings.svelte index f83a476..9ec5da1 100644 --- a/src/routes/Settings.svelte +++ b/src/routes/Settings.svelte @@ -335,6 +335,23 @@ {$_('section.settings.wifiTxPowerText')} + + + + + + {$_('time.seconds')} + + +