jeroenterheerdt / HAsmartirrigation

Smart Irrigation custom component for Home Assistant
MIT License
308 stars 48 forks source link

No translateable fields for PyETO Modul and updtae weather data #285

Closed gatonero closed 8 months ago

gatonero commented 8 months ago

What happened?

grafik

grafik

grafik

How to reproduce

Open "Module"

Relevant log output

No response

Which version are you running?

v2023.9.1

Diagnostics file

Additional information

No response

jeroenterheerdt commented 8 months ago

Modules parameters don't translate. That is by design. The other one is a bug.

jeroenterheerdt commented 8 months ago

@gatonero so the reason the label you indicated in the config is English is because that's our fallback language in case the language doesn't have a translation for it. In your case the German file doesn't have this translation yet but the English one does. Now, maybe you already translated it and I missed it during merging (my mistake). Please compare the files, specifically this line: https://github.com/jeroenterheerdt/HAsmartirrigation/blob/master/custom_components/smart_irrigation/frontend/localize/languages/en.json#L32

jeroenterheerdt commented 8 months ago

this should hopefully be solved with merging the changes you made against v2 branch. Please verify and close.

gatonero commented 8 months ago

"Automatic update weather data" is now translated.

The modules aren't translated, as designed.