Compare commits

..

No commits in common. "main" and "900941" have entirely different histories.
main ... 900941

5 changed files with 5 additions and 15 deletions

View file

@ -89,8 +89,7 @@
"hostname": "Hostname", "hostname": "Hostname",
"frontlight": "Displaybeleuchtung", "frontlight": "Displaybeleuchtung",
"turnOn": "Einschalten", "turnOn": "Einschalten",
"flashFrontlight": "Blinken", "flashFrontlight": "Blinken"
"fwCommitMismatch": "Die Firmware -Version unterscheidet sich von der WebUI -Version, dies kann zu Problemen führen."
}, },
"status": { "status": {
"title": "Status", "title": "Status",

View file

@ -108,8 +108,7 @@
"turnOn": "Turn on", "turnOn": "Turn on",
"flashFrontlight": "Flash", "flashFrontlight": "Flash",
"firmwareUpdate": "Firmware update", "firmwareUpdate": "Firmware update",
"fwCommit": "Firmware commit", "fwCommit": "Firmware commit"
"fwCommitMismatch": "The firmware version is different from the WebUI version, this might cause problems. "
}, },
"status": { "status": {
"title": "Status", "title": "Status",

View file

@ -88,8 +88,7 @@
"hostname": "Nombre del host", "hostname": "Nombre del host",
"turnOn": "Encender", "turnOn": "Encender",
"frontlight": "Luz de la pantalla", "frontlight": "Luz de la pantalla",
"flashFrontlight": "Luz intermitente", "flashFrontlight": "Luz intermitente"
"fwCommitMismatch": "La versión de firmware es diferente de la versión WebUI, esto podría causar problemas."
}, },
"status": { "status": {
"memoryFree": "Memoria RAM libre", "memoryFree": "Memoria RAM libre",

View file

@ -79,8 +79,7 @@
"title": "Besturing", "title": "Besturing",
"frontlight": "Displaylicht", "frontlight": "Displaylicht",
"turnOn": "Aanzetten", "turnOn": "Aanzetten",
"flashFrontlight": "Knipper", "flashFrontlight": "Knipper"
"fwCommitMismatch": "De firmwareversie verschilt van de WebUI -versie, dit kan problemen veroorzaken."
}, },
"status": { "status": {
"title": "Status", "title": "Status",

View file

@ -13,8 +13,7 @@
Form, Form,
Input, Input,
Label, Label,
Row, Row
Alert
} from '@sveltestrap/sveltestrap'; } from '@sveltestrap/sveltestrap';
import FirmwareUpdater from './FirmwareUpdater.svelte'; import FirmwareUpdater from './FirmwareUpdater.svelte';
import { uiSettings } from '$lib/uiSettings'; import { uiSettings } from '$lib/uiSettings';
@ -227,11 +226,6 @@
<li>WebUI commit: <Placeholder value={$settings.fsRev} /></li> <li>WebUI commit: <Placeholder value={$settings.fsRev} /></li>
<li>{$_('section.control.hostname')}: <Placeholder value={$settings.hostname} /></li> <li>{$_('section.control.hostname')}: <Placeholder value={$settings.hostname} /></li>
</ul> </ul>
{#if $settings.gitRev != $settings.fsRev}
<Alert color="warning">
⚠️ <strong>{$_('warning')}</strong>: {$_('section.control.fwCommitMismatch')}
</Alert>
{/if}
<Row> <Row>
<Col class="d-flex justify-content-end"> <Col class="d-flex justify-content-end">
<Button color="danger" id="restartBtn" on:click={restartClock} <Button color="danger" id="restartBtn" on:click={restartClock}