forked from btclock/webui
Bring back custom mempool instance option
This commit is contained in:
parent
fd76caa6f4
commit
52e90dbdee
6 changed files with 43 additions and 9 deletions
|
@ -33,7 +33,8 @@
|
||||||
"ownDataSource": "BTClock-Datenquelle verwenden",
|
"ownDataSource": "BTClock-Datenquelle verwenden",
|
||||||
"flAlwaysOn": "Displaybeleuchtung immer an",
|
"flAlwaysOn": "Displaybeleuchtung immer an",
|
||||||
"flEffectDelay": "Displaybeleuchtungeffekt Geschwindigkeit",
|
"flEffectDelay": "Displaybeleuchtungeffekt Geschwindigkeit",
|
||||||
"flFlashOnUpd": "Displaybeleuchting bei neuem Block"
|
"flFlashOnUpd": "Displaybeleuchting bei neuem Block",
|
||||||
|
"mempoolInstanceHelpText": "Nur wirksam, wenn die BTClock-Datenquelle deaktiviert ist. \nZur Anwendung ist ein Neustart erforderlich."
|
||||||
},
|
},
|
||||||
"control": {
|
"control": {
|
||||||
"systemInfo": "Systeminfo",
|
"systemInfo": "Systeminfo",
|
||||||
|
@ -55,7 +56,7 @@
|
||||||
"screenCycle": "Bildschirmzyklus",
|
"screenCycle": "Bildschirmzyklus",
|
||||||
"memoryFree": "Speicher frei",
|
"memoryFree": "Speicher frei",
|
||||||
"wsPriceConnection": "WS-Preisverbindung",
|
"wsPriceConnection": "WS-Preisverbindung",
|
||||||
"wsMempoolConnection": "WS Mempool.space-Verbindung",
|
"wsMempoolConnection": "WS {instance}-Verbindung",
|
||||||
"fetchEuroNote": "If you use \"Fetch € price\" the WS Price connection will show ❌ since it uses another data source.",
|
"fetchEuroNote": "If you use \"Fetch € price\" the WS Price connection will show ❌ since it uses another data source.",
|
||||||
"uptime": "Betriebszeit",
|
"uptime": "Betriebszeit",
|
||||||
"wifiSignalStrength": "WiFi-Signalstärke",
|
"wifiSignalStrength": "WiFi-Signalstärke",
|
||||||
|
|
|
@ -33,7 +33,8 @@
|
||||||
"flMaxBrightness": "Frontlight brightness",
|
"flMaxBrightness": "Frontlight brightness",
|
||||||
"flAlwaysOn": "Frontlight always on",
|
"flAlwaysOn": "Frontlight always on",
|
||||||
"flEffectDelay": "Frontlight effect speed",
|
"flEffectDelay": "Frontlight effect speed",
|
||||||
"flFlashOnUpd": "Frontlight flash on new block"
|
"flFlashOnUpd": "Frontlight flash on new block",
|
||||||
|
"mempoolInstanceHelpText": "Only effective when BTClock data-source is disabled. A restart is required to apply."
|
||||||
},
|
},
|
||||||
"control": {
|
"control": {
|
||||||
"systemInfo": "System info",
|
"systemInfo": "System info",
|
||||||
|
@ -57,7 +58,7 @@
|
||||||
"screenCycle": "Screen cycle",
|
"screenCycle": "Screen cycle",
|
||||||
"memoryFree": "Memory free",
|
"memoryFree": "Memory free",
|
||||||
"wsPriceConnection": "WS Price connection",
|
"wsPriceConnection": "WS Price connection",
|
||||||
"wsMempoolConnection": "WS Mempool.space connection",
|
"wsMempoolConnection": "WS {instance} connection",
|
||||||
"fetchEuroNote": "If you use \"Fetch € price\" the WS Price connection will show ❌ since it uses another data source.",
|
"fetchEuroNote": "If you use \"Fetch € price\" the WS Price connection will show ❌ since it uses another data source.",
|
||||||
"uptime": "Uptime",
|
"uptime": "Uptime",
|
||||||
"wifiSignalStrength": "WiFi Signal strength",
|
"wifiSignalStrength": "WiFi Signal strength",
|
||||||
|
|
|
@ -32,7 +32,8 @@
|
||||||
"flMaxBrightness": "Brillo de luz de la pantalla",
|
"flMaxBrightness": "Brillo de luz de la pantalla",
|
||||||
"flAlwaysOn": "Luz de la pantalla siempre encendida",
|
"flAlwaysOn": "Luz de la pantalla siempre encendida",
|
||||||
"flEffectDelay": "Velocidad del efecto de luz de la pantalla",
|
"flEffectDelay": "Velocidad del efecto de luz de la pantalla",
|
||||||
"flFlashOnUpd": "Luz de la pantalla parpadea con un nuevo bloque"
|
"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."
|
||||||
},
|
},
|
||||||
"control": {
|
"control": {
|
||||||
"turnOff": "Apagar",
|
"turnOff": "Apagar",
|
||||||
|
@ -52,7 +53,7 @@
|
||||||
"status": {
|
"status": {
|
||||||
"memoryFree": "Memoria RAM libre",
|
"memoryFree": "Memoria RAM libre",
|
||||||
"wsPriceConnection": "Conexión WebSocket Precio",
|
"wsPriceConnection": "Conexión WebSocket Precio",
|
||||||
"wsMempoolConnection": "Conexión WebSocket Mempool.space",
|
"wsMempoolConnection": "Conexión WebSocket {instance}",
|
||||||
"screenCycle": "Ciclo de pantalla",
|
"screenCycle": "Ciclo de pantalla",
|
||||||
"uptime": "Tiempo de funcionamiento",
|
"uptime": "Tiempo de funcionamiento",
|
||||||
"fetchEuroNote": "Si utiliza \"Obtener precio en €\", la conexión de Precio WS mostrará ❌ ya que utiliza otra fuente de datos.",
|
"fetchEuroNote": "Si utiliza \"Obtener precio en €\", la conexión de Precio WS mostrará ❌ ya que utiliza otra fuente de datos.",
|
||||||
|
|
|
@ -33,7 +33,8 @@
|
||||||
"flMaxBrightness": "Displaylicht helderheid",
|
"flMaxBrightness": "Displaylicht helderheid",
|
||||||
"flAlwaysOn": "Displaylicht altijd aan",
|
"flAlwaysOn": "Displaylicht altijd aan",
|
||||||
"flEffectDelay": "Displaylicht effect snelheid",
|
"flEffectDelay": "Displaylicht effect snelheid",
|
||||||
"flFlashOnUpd": "Knipper displaylicht bij nieuw blok"
|
"flFlashOnUpd": "Knipper displaylicht bij nieuw blok",
|
||||||
|
"mempoolInstanceHelpText": "Alleen effectief als de BTClock-gegevensbron is uitgeschakeld. \nOm toe te passen is een herstart nodig."
|
||||||
},
|
},
|
||||||
"control": {
|
"control": {
|
||||||
"systemInfo": "Systeeminformatie",
|
"systemInfo": "Systeeminformatie",
|
||||||
|
@ -54,7 +55,7 @@
|
||||||
"memoryFree": "Geheugen vrij",
|
"memoryFree": "Geheugen vrij",
|
||||||
"screenCycle": "Scherm cyclus",
|
"screenCycle": "Scherm cyclus",
|
||||||
"wsPriceConnection": "WS Prijs verbinding",
|
"wsPriceConnection": "WS Prijs verbinding",
|
||||||
"wsMempoolConnection": "WS Mempool.space verbinding",
|
"wsMempoolConnection": "WS {instance} verbinding",
|
||||||
"fetchEuroNote": "Wanneer je \"Toon € prijs\" aanzet, zal de prijsverbinding als ❌ verbroken getoond worden vanwege het gebruik van een andere bron.",
|
"fetchEuroNote": "Wanneer je \"Toon € prijs\" aanzet, zal de prijsverbinding als ❌ verbroken getoond worden vanwege het gebruik van een andere bron.",
|
||||||
"uptime": "Uptime",
|
"uptime": "Uptime",
|
||||||
"wifiSignalStrength": "WiFi signaalsterkte",
|
"wifiSignalStrength": "WiFi signaalsterkte",
|
||||||
|
|
|
@ -255,6 +255,34 @@
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
{/if}
|
{/if}
|
||||||
|
<Row>
|
||||||
|
<Label md={6} for="mempoolInstance" size="sm"
|
||||||
|
>{$_('section.settings.mempoolnstance')}</Label
|
||||||
|
>
|
||||||
|
<Col md="6">
|
||||||
|
<InputGroup size={$uiSettings.inputSize}>
|
||||||
|
<Input
|
||||||
|
type="text"
|
||||||
|
bind:value={$settings.mempoolInstance}
|
||||||
|
name="mempoolInstance"
|
||||||
|
id="mempoolInstance"
|
||||||
|
disabled={$settings.ownDataSource}
|
||||||
|
bsSize="sm"
|
||||||
|
></Input>
|
||||||
|
<InputGroupText>
|
||||||
|
<Input
|
||||||
|
addon
|
||||||
|
type="checkbox"
|
||||||
|
bind:checked={$settings.mempoolSecure}
|
||||||
|
disabled={$settings.ownDataSource}
|
||||||
|
bsSize={$uiSettings.inputSize}
|
||||||
|
/>
|
||||||
|
HTTPS
|
||||||
|
</InputGroupText>
|
||||||
|
</InputGroup>
|
||||||
|
<FormText>{$_('section.settings.mempoolInstanceHelpText')}</FormText>
|
||||||
|
</Col>
|
||||||
|
</Row>
|
||||||
<Row>
|
<Row>
|
||||||
<Label md={6} for="hostnamePrefix" size={$uiSettings.inputSize}
|
<Label md={6} for="hostnamePrefix" size={$uiSettings.inputSize}
|
||||||
>{$_('section.settings.hostnamePrefix')}</Label
|
>{$_('section.settings.hostnamePrefix')}</Label
|
||||||
|
|
|
@ -171,7 +171,9 @@
|
||||||
{/if}
|
{/if}
|
||||||
</span>
|
</span>
|
||||||
-
|
-
|
||||||
{$_('section.status.wsMempoolConnection')}:
|
{$_('section.status.wsMempoolConnection', {
|
||||||
|
values: { instance: $settings.mempoolInstance }
|
||||||
|
})}:
|
||||||
<span>
|
<span>
|
||||||
{#if $status.connectionStatus && $status.connectionStatus.blocks}
|
{#if $status.connectionStatus && $status.connectionStatus.blocks}
|
||||||
✅
|
✅
|
||||||
|
|
Loading…
Reference in a new issue