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",
|
||||
"flAlwaysOn": "Displaybeleuchtung immer an",
|
||||
"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": {
|
||||
"systemInfo": "Systeminfo",
|
||||
|
@ -55,7 +56,7 @@
|
|||
"screenCycle": "Bildschirmzyklus",
|
||||
"memoryFree": "Speicher frei",
|
||||
"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.",
|
||||
"uptime": "Betriebszeit",
|
||||
"wifiSignalStrength": "WiFi-Signalstärke",
|
||||
|
|
|
@ -33,7 +33,8 @@
|
|||
"flMaxBrightness": "Frontlight brightness",
|
||||
"flAlwaysOn": "Frontlight always on",
|
||||
"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": {
|
||||
"systemInfo": "System info",
|
||||
|
@ -57,7 +58,7 @@
|
|||
"screenCycle": "Screen cycle",
|
||||
"memoryFree": "Memory free",
|
||||
"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.",
|
||||
"uptime": "Uptime",
|
||||
"wifiSignalStrength": "WiFi Signal strength",
|
||||
|
|
|
@ -32,7 +32,8 @@
|
|||
"flMaxBrightness": "Brillo de luz de la pantalla",
|
||||
"flAlwaysOn": "Luz de la pantalla siempre encendida",
|
||||
"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": {
|
||||
"turnOff": "Apagar",
|
||||
|
@ -52,7 +53,7 @@
|
|||
"status": {
|
||||
"memoryFree": "Memoria RAM libre",
|
||||
"wsPriceConnection": "Conexión WebSocket Precio",
|
||||
"wsMempoolConnection": "Conexión WebSocket Mempool.space",
|
||||
"wsMempoolConnection": "Conexión WebSocket {instance}",
|
||||
"screenCycle": "Ciclo de pantalla",
|
||||
"uptime": "Tiempo de funcionamiento",
|
||||
"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",
|
||||
"flAlwaysOn": "Displaylicht altijd aan",
|
||||
"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": {
|
||||
"systemInfo": "Systeeminformatie",
|
||||
|
@ -54,7 +55,7 @@
|
|||
"memoryFree": "Geheugen vrij",
|
||||
"screenCycle": "Scherm cyclus",
|
||||
"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.",
|
||||
"uptime": "Uptime",
|
||||
"wifiSignalStrength": "WiFi signaalsterkte",
|
||||
|
|
|
@ -255,6 +255,34 @@
|
|||
</Col>
|
||||
</Row>
|
||||
{/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>
|
||||
<Label md={6} for="hostnamePrefix" size={$uiSettings.inputSize}
|
||||
>{$_('section.settings.hostnamePrefix')}</Label
|
||||
|
|
|
@ -171,7 +171,9 @@
|
|||
{/if}
|
||||
</span>
|
||||
-
|
||||
{$_('section.status.wsMempoolConnection')}:
|
||||
{$_('section.status.wsMempoolConnection', {
|
||||
values: { instance: $settings.mempoolInstance }
|
||||
})}:
|
||||
<span>
|
||||
{#if $status.connectionStatus && $status.connectionStatus.blocks}
|
||||
✅
|
||||
|
|
Loading…
Reference in a new issue