You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked the troubleshooting section in the README to verify that I have the latest TrashCard version.
I did a search to see if there is a similar issue or if a pull request is open.
Current Behavior
There is issue in displaying days to waste pickup, for example instead of "za 5 dní" there is only "za dní" displayed. "Zítra" is working properly, tomorrow Ill check if the current day.
Expected Behavior
Display number instead of text
Also according czech gramar rules correct translation should be for 2-4 days - "dny"
za 2 dny
za 3 dny
za 4 dny
--------- for more then 4 its always "dní"...
za 5 dní
za 6 dní
....
as to the part of dni vs dny, that is hard to do properly in a simple translation system. In English language they only distinguish between one and multiple, and the translation is built around English, but that is also kind of broken here, as it should be something like
0 days
1 day
2 days
3 days
but from looking at the code, it only says "days" if it's more than 1 days to the end (should also be 0)
the above is also true in most (if not all) northern languages (Danish, Swedish, Norwegian etc)
Requirements
Current Behavior
There is issue in displaying days to waste pickup, for example instead of "za 5 dní" there is only "za dní" displayed. "Zítra" is working properly, tomorrow Ill check if the current day.
Expected Behavior
Display number instead of text
Also according czech gramar rules correct translation should be for 2-4 days - "dny"
za 2 dny
za 3 dny
za 4 dny
--------- for more then 4 its always "dní"...
za 5 dní
za 6 dní
....
Steps To Reproduce
No response
Context
event_grouping: true
drop_todayevents_from: "10:00:00"
next_days: 40
pattern:
color: lime
type: organic
label: Bio
pattern: Bio
color: blue
type: paper
color: amber
type: recycle
label: Plasty
pattern: Plasty
color: grey
type: waste
label: Komunál
pattern: Komu
color: purple
type: others
day_style: counter
alignment_style: space
color_mode: icon
items_per_row: 3
refresh_rate: 60
with_label: true
layout: vertical
type: custom:trash-card
entities:
hide_time_range: false
use_summary: false
Environment
Debug data
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: