amaximus / garbage-collection-card

Custom Lovelace card for Garbage Collection custom component
MIT License
128 stars 24 forks source link

Danish translation #51

Closed Bluhme1 closed 3 years ago

Bluhme1 commented 3 years ago

In Danish translation I still get "Tomorrow" and "Today" instead of the Danish words

amaximus commented 3 years ago

When setting the custom component sensor's verbose_state to true, the translation is not in effect as the text takes the string defined by the sensor (verbose_format).

While verbose_state is false, the translation works as shown in the attached image. garbage_da

Bluhme1 commented 3 years ago

Great. I can see that that. In my card I now have "I morgen in 1 days". How do I remove the "in 1 days"

amaximus commented 3 years ago

Set hide_days: true in the card.

Bluhme1 commented 3 years ago

Thank you very much. Just another feature request when you find the time and find it relevant. The number of days is important when there is some time before collecting but when it is tomorrow or today it is less relevant. So is it - perhaps - possible to have an option to hide_days only when you are in the "tomorrow / today" interval?

amaximus commented 3 years ago

Good point, thanks. Implemented in version 0.13.0. Please update the card and get back to me with results.

Bluhme1 commented 3 years ago

Works great. Thank you. A minor thing. The text “in xxx days” is not translated. Is that supposed to be like that?

amaximus commented 3 years ago

Right. Added translation for that part in version 1.14.0 released just now.

Please update the card and get back to me with results.

Bluhme1 commented 3 years ago

Works perfectly. Thank you again. You are awesome (and very quick). I cannot see the need for any improvement for now - but if I get an idea (or two) I will let you know

amaximus commented 3 years ago

Thanks for the confirmation. I'm open for enhancements, s odo not hesitate to open new feature requests.