Skip to content

Commit a8bb08f

Browse files
gskjoldclaude
andcommitted
Rename Energy Speedometer to Flexpartner.Energy (fixed brand, not translated)
Hardcode the "Flexpartner.Energy" brand name in the services tile and the configuration page, bypassing the translation lookup so no language can override it, and remove the conf.cloud.es / status.services.mqtt_es entries from the Localazy source. Rebuilt ui/dist accordingly. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 2fe7f9a commit a8bb08f

4 files changed

Lines changed: 3 additions & 5 deletions

File tree

localazy/source/en.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"btn_reset": "Factory reset",
2424
"cloud": {
2525
"ams": "AMS reader cloud",
26-
"es": "Energy Speedometer",
2726
"title": "Cloud connections"
2827
},
2928
"common": {
@@ -465,7 +464,6 @@
465464
"cloud": "Cloud",
466465
"mqtt": "MQTT",
467466
"mqtt_c": "MQTT (custom)",
468-
"mqtt_es": "Energy speedometer",
469467
"none": "No services configured",
470468
"ntp": "NTP",
471469
"price": "Price service",

ui/dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/src/lib/ServicesTile.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
const defaultLabels = {
88
mqtt: "MQTT",
99
mqtt_c: "MQTT (custom)",
10-
mqtt_es: "Energy speedometer",
10+
mqtt_es: "Flexpartner.Energy",
1111
price: "Price service",
1212
ntp: "NTP",
1313
cloud: "Cloud",

ui/src/routes/ConfigurationRoute.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@
819819
</div>
820820
{/if}
821821
<div class="my-1">
822-
<label><input type="checkbox" class="rounded mb-1" name="ces" value="true" bind:checked={configuration.c.es}/> {translations.conf?.cloud?.es ?? "Energy Speedometer"}</label>
822+
<label><input type="checkbox" class="rounded mb-1" name="ces" value="true" bind:checked={configuration.c.es}/> {translations.conf?.cloud?.es ?? "Flexpartner.Energy"}
823823
{#if configuration?.c?.es}
824824
<div class="pl-5">MAC: {sysinfo.mac}</div>
825825
<div class="pl-5">Meter ID: {sysinfo.meter.id ? sysinfo.meter.id : "missing, required"}</div>

0 commit comments

Comments
 (0)