From 23553f20449767d1f9589161eefe873efd46c3a7 Mon Sep 17 00:00:00 2001 From: Etienne G Date: Tue, 15 Aug 2023 00:39:53 +1000 Subject: [PATCH] Corrected update script + trans --- dodo.py | 2 +- grott-current/translations/en.yaml | 22 +++++++++++++---- grott-edge/translations/en.yaml | 38 ------------------------------ 3 files changed, 18 insertions(+), 44 deletions(-) delete mode 100644 grott-edge/translations/en.yaml diff --git a/dodo.py b/dodo.py index 99defcc..1d5e422 100644 --- a/dodo.py +++ b/dodo.py @@ -7,7 +7,7 @@ import glob BUILDS = [ "grott", - "grott-edge", + "grott-current", ] TRANSLATIONS_FOLDER = "translations" diff --git a/grott-current/translations/en.yaml b/grott-current/translations/en.yaml index af1dbf7..58f3f71 100644 --- a/grott-current/translations/en.yaml +++ b/grott-current/translations/en.yaml @@ -5,22 +5,34 @@ configuration: description: Enable the verbose mode. Useful for debugging retain: name: Activate MQTT retain - description: This allow to keep the values between reboot, prevent showing sensor values as unknown + description: >- + This allow to keep the values between reboot, prevent showing sensor + values as unknown gminrecl: name: Minimum record length description: The minimum packet length to be treated grott_mqtt: name: Enable grott MQTT - description: Allow grott to send MQTT messages. If your are using the grott_ha extension, you don't need this. If you are using the grott integration,m you need to enable it. + description: >- + Allow grott to send MQTT messages. If your are using + the grott_ha extension, you don't need this. + If you are using the grott integration, you need to enable it. ginvtype: name: Inverter type - description: "For changing the layout used for decoding (ex: sph, spf or tl3). Keep it on default if using inverter map." + description: >- + For changing the layout used for decoding + (ex: sph, spf or tl3). Keep it on default if using inverter map. ginvtypemap: name: Inverter mapping - description: 'An inverter mapping in the form {"SERIAL": "type"} e.g.: for an SPH6000 with serial "NWO00415E3" : {"NWO00415E3": "sph"}' + description: >- + An inverter mapping in the form {"SERIAL": "type"} + e.g.: for an SPH6000 with serial "NWO00415E3" : {"NWO00415E3": "sph"} ha_plugin: name: Home Assistant plugin - description: "Enable the Home Assistant plugin. This will send the data to Home Assistant via the grott HA plugin. Can be disabled if you are using the grott integration." + description: >- + Enable the Home Assistant plugin. + This will send the data to Home Assistant via the grott HA plugin. + Can be disabled if you are using the grott integration. network: 5279/TCP: This is the port used by grott to receive datalogger information. diff --git a/grott-edge/translations/en.yaml b/grott-edge/translations/en.yaml deleted file mode 100644 index 58f3f71..0000000 --- a/grott-edge/translations/en.yaml +++ /dev/null @@ -1,38 +0,0 @@ ---- -configuration: - verbose: - name: Verbose mode - description: Enable the verbose mode. Useful for debugging - retain: - name: Activate MQTT retain - description: >- - This allow to keep the values between reboot, prevent showing sensor - values as unknown - gminrecl: - name: Minimum record length - description: The minimum packet length to be treated - grott_mqtt: - name: Enable grott MQTT - description: >- - Allow grott to send MQTT messages. If your are using - the grott_ha extension, you don't need this. - If you are using the grott integration, you need to enable it. - ginvtype: - name: Inverter type - description: >- - For changing the layout used for decoding - (ex: sph, spf or tl3). Keep it on default if using inverter map. - ginvtypemap: - name: Inverter mapping - description: >- - An inverter mapping in the form {"SERIAL": "type"} - e.g.: for an SPH6000 with serial "NWO00415E3" : {"NWO00415E3": "sph"} - ha_plugin: - name: Home Assistant plugin - description: >- - Enable the Home Assistant plugin. - This will send the data to Home Assistant via the grott HA plugin. - Can be disabled if you are using the grott integration. - -network: - 5279/TCP: This is the port used by grott to receive datalogger information.