From 6877d311eaa029129b5a2fec6df77acd55cb27b1 Mon Sep 17 00:00:00 2001 From: tajniak81 <13187254+tajniak81@users.noreply.github.com> Date: Wed, 2 Sep 2026 09:04:04 +0200 Subject: [PATCH] One word was answering two questions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The charging page carries two badges about the same charger, a card apart. The connection card asks whether this server can reach the charger to control it — in Modbus mode a live dial, every status call. The information card asks what the connected service says about it. Both said "Offline" for no, in all three languages, so a charger the service can see while its saved local address has gone stale reads as a page contradicting itself. It isn't: the charger talks to the vendor's cloud over its own uplink, and Modbus is a local path that answers only from the network the charger is actually on. The connection badge now says "Not connected", which is what it was measuring all along and pairs with the "Connected" it already used. Online/Offline stays with the service, where it is the service's word. Both apps show this badge from the same key, so both files change. Co-Authored-By: Claude Opus 5 --- Phone App/assets/i18n/da.json | 2 +- Phone App/assets/i18n/en.json | 2 +- Phone App/assets/i18n/pl.json | 2 +- Web App/web/src/i18n/da.json | 2 +- Web App/web/src/i18n/en.json | 2 +- Web App/web/src/i18n/pl.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Phone App/assets/i18n/da.json b/Phone App/assets/i18n/da.json index 4ce2604..12b7df2 100644 --- a/Phone App/assets/i18n/da.json +++ b/Phone App/assets/i18n/da.json @@ -134,7 +134,7 @@ "control": { "title": "Laderstyring", "connected": "Forbundet", - "disconnected": "Offline", + "disconnected": "Ikke forbundet", "serialPlaceholder": "Laderens serienummer (f.eks. A5191-XXXXXXXX)", "refresh": "Opdater", "status": "Stik", diff --git a/Phone App/assets/i18n/en.json b/Phone App/assets/i18n/en.json index 92ff3c6..3e3ac32 100644 --- a/Phone App/assets/i18n/en.json +++ b/Phone App/assets/i18n/en.json @@ -134,7 +134,7 @@ "control": { "title": "Charger control", "connected": "Connected", - "disconnected": "Offline", + "disconnected": "Not connected", "serialPlaceholder": "Charger serial (e.g. A5191-XXXXXXXX)", "refresh": "Refresh", "status": "Connector", diff --git a/Phone App/assets/i18n/pl.json b/Phone App/assets/i18n/pl.json index 53ad77f..188342b 100644 --- a/Phone App/assets/i18n/pl.json +++ b/Phone App/assets/i18n/pl.json @@ -136,7 +136,7 @@ "control": { "title": "Sterowanie ładowarką", "connected": "Połączono", - "disconnected": "Offline", + "disconnected": "Brak połączenia", "serialPlaceholder": "Numer seryjny ładowarki (np. A5191-XXXXXXXX)", "refresh": "Odśwież", "status": "Złącze", diff --git a/Web App/web/src/i18n/da.json b/Web App/web/src/i18n/da.json index 21ad5cc..7f26c49 100644 --- a/Web App/web/src/i18n/da.json +++ b/Web App/web/src/i18n/da.json @@ -82,7 +82,7 @@ "connectionTitle": "Laderforbindelse", "title": "Laderstyring", "connected": "Forbundet", - "disconnected": "Offline", + "disconnected": "Ikke forbundet", "serialPlaceholder": "Laderens serienummer (f.eks. A5191-XXXXXXXX)", "enterSerial": "Indtast et serienummer i stedet", "pickSerial": "Vælg blandt dine ladere", diff --git a/Web App/web/src/i18n/en.json b/Web App/web/src/i18n/en.json index 9a618ff..fda1a56 100644 --- a/Web App/web/src/i18n/en.json +++ b/Web App/web/src/i18n/en.json @@ -68,7 +68,7 @@ "connectionTitle": "Charger connection", "title": "Charger control", "connected": "Connected", - "disconnected": "Offline", + "disconnected": "Not connected", "serialPlaceholder": "Charger serial (e.g. A5191-XXXXXXXX)", "enterSerial": "Enter a serial instead", "pickSerial": "Choose from your chargers", diff --git a/Web App/web/src/i18n/pl.json b/Web App/web/src/i18n/pl.json index 70f3b9d..a7f98fb 100644 --- a/Web App/web/src/i18n/pl.json +++ b/Web App/web/src/i18n/pl.json @@ -84,7 +84,7 @@ "connectionTitle": "Połączenie z ładowarką", "title": "Sterowanie ładowarką", "connected": "Połączono", - "disconnected": "Offline", + "disconnected": "Brak połączenia", "serialPlaceholder": "Numer seryjny ładowarki (np. A5191-XXXXXXXX)", "enterSerial": "Wpisz numer seryjny zamiast tego", "pickSerial": "Wybierz ze swoich ładowarek",