Skip to content

Commit

Permalink
Merge pull request #416 from MGlants/master
Browse files Browse the repository at this point in the history
feat: extend days
  • Loading branch information
bruxy70 authored Jul 18, 2022
2 parents edebf8a + 996a626 commit 37fd4fa
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion custom_components/garbage_collection/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
cv.ensure_list, [vol.All(vol.Coerce(int), vol.Range(min=1, max=5))]
),
vol.Optional(const.CONF_PERIOD): vol.All(
vol.Coerce(int), vol.Range(min=1, max=365)
vol.Coerce(int), vol.Range(min=1, max=1000)
),
vol.Optional(const.CONF_FIRST_WEEK): vol.All(
vol.Coerce(int), vol.Range(min=1, max=52)
Expand Down
8 changes: 4 additions & 4 deletions custom_components/garbage_collection/translations/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"collection_days": "Dny svozu",
"first_month": "První měsíc svozu",
"last_month": "Poslední měsíc svozu",
"period": "Perioda (svoz každých n týdnů/dnů): (1-365)",
"period": "Perioda (svoz každých n týdnů/dnů): (1-1000)",
"first_week": "První týden svozu (1-52)",
"first_date": "První datum",
"weekday_order_number": "Pořadí dne v měsící (např. první středa v měsíci)",
Expand All @@ -44,7 +44,7 @@
"time": "Špatný formát času!",
"weekday_order_number": "Vyber jeden nebo více dní!",
"week_order_number": "Vyber jeden nebo více týdnů!",
"period": "Perioda musí být číslo mezi 1 a 365",
"period": "Perioda musí být číslo mezi 1 a 1000",
"first_week": "První týden musí být číslo mezi 1 a 52",
"date": "Špatný formát data!"
},
Expand Down Expand Up @@ -77,7 +77,7 @@
"collection_days": "Dny svozu",
"first_month": "První měsíc svozu",
"last_month": "Poslední měsíc scozu",
"period": "Perioda (svoz každých n týdnů-dnů): (1-365)",
"period": "Perioda (svoz každých n týdnů-dnů): (1-1000)",
"first_week": "První týden svozu (1-52)",
"first_date": "První datum",
"weekday_order_number": "Pořadí dne v měsící (např. první středa v měsíci)",
Expand All @@ -96,7 +96,7 @@
"time": "Špatný formát času!",
"weekday_order_number": "Vyber jeden nebo více dní!",
"week_order_number": "Vyber jeden nebo více týdnů!",
"period": "Perioda musí být číslo mezi 1 a 365",
"period": "Perioda musí být číslo mezi 1 a 1000",
"first_week": "První týden musí být číslo mezi 1 a 52",
"date": "Špatný formát data!"
}
Expand Down
8 changes: 4 additions & 4 deletions custom_components/garbage_collection/translations/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"collection_days": "Afhentningsdage",
"first_month": "Første afhentningsmåned",
"last_month": "Sidste afhentningsmåned",
"period": "Afhentning sker hver n uger/dage: (1-365)",
"period": "Afhentning sker hver n uger/dage: (1-1000)",
"first_week": "Første afhentningsuge (1-52)",
"first_date": "Første dato",
"weekday_order_number": "Specifikke ugedage i måneden (fx første onsdag i måneden)",
Expand All @@ -44,7 +44,7 @@
"time": "Ugyldigt tids format!",
"weekday_order_number": "Vælg en eller flere dage",
"week_order_number": "Vælg en eller flere uger",
"period": "Afhentningsperioden skal være et tal mellem 1 og 365",
"period": "Afhentningsperioden skal være et tal mellem 1 og 1000",
"first_week": "Første afhentningsuge skal være et tal mellem 1 and 52",
"date": "Ugyldigt dato format!"
},
Expand Down Expand Up @@ -77,7 +77,7 @@
"collection_days": "Afhentningsdage",
"first_month": "Første afhentningsmåned",
"last_month": "Sidste afhentningsmåned",
"period": "Afhentning sker hver n uger/dage: (1-365)",
"period": "Afhentning sker hver n uger/dage: (1-1000)",
"first_week": "Første afhentningsuge (1-52)",
"first_date": "Første dato",
"weekday_order_number": "Specifikke ugedage i måneden (fx første onsdag i måneden)",
Expand All @@ -96,7 +96,7 @@
"time": "Ugyldigt tids format!",
"weekday_order_number": "Vælg en eller flere dage",
"week_order_number": "Vælg en eller flere uger",
"period": "Afhentningsperioden skal være et tal mellem 1 og 365",
"period": "Afhentningsperioden skal være et tal mellem 1 og 1000",
"first_week": "Første afhentningsuge skal være et tal mellem 1 and 52",
"date": "Ugyldigt dato format!"
}
Expand Down
8 changes: 4 additions & 4 deletions custom_components/garbage_collection/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"collection_days": "Collection days",
"first_month": "First collection month",
"last_month": "Last collection month",
"period": "Collection every n weeks/days: (1-365)",
"period": "Collection every n weeks/days: (1-1000)",
"first_week": "First collection week (1-52)",
"first_date": "First date",
"weekday_order_number": "Order of the weekday in the month (e.g. first Wednesday of the month)",
Expand All @@ -44,7 +44,7 @@
"time": "Invalid time format!",
"weekday_order_number": "Select 1 or more days",
"week_order_number": "Select 1 or more weeks",
"period": "Period must be a number between 1 and 365",
"period": "Period must be a number between 1 and 1000",
"first_week": "First week must be a number between 1 and 52",
"date": "Invalid date format!"
},
Expand Down Expand Up @@ -77,7 +77,7 @@
"collection_days": "Collection days",
"first_month": "First collection month",
"last_month": "Last collection month",
"period": "Collection every n weeks/days: (1-365)",
"period": "Collection every n weeks/days: (1-1000)",
"first_week": "First collection week (1-52)",
"first_date": "First date",
"weekday_order_number": "Order of the weekday in the month (e.g. first Wednesday of the month)",
Expand All @@ -96,7 +96,7 @@
"time": "Invalid time format!",
"weekday_order_number": "Select 1 or more days",
"week_order_number": "Select 1 or more weeks",
"period": "Period must be a number between 1 and 365",
"period": "Period must be a number between 1 and 1000",
"first_week": "First week must be a number between 1 and 52",
"date": "Invalid date format!"
}
Expand Down
8 changes: 4 additions & 4 deletions custom_components/garbage_collection/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"collection_days": "Días de recogida",
"first_month": "Primer mes de recogida",
"last_month": "Último mes de recogida",
"period": "Recolección cada n semanas / días: (1-365)",
"period": "Recolección cada n semanas / días: (1-1000)",
"first_week": "Primera semana de recolección (1-52)",
"first_date": "Primera fecha",
"weekday_order_number": "Orden del día de la semana en el mes (por ejemplo, primer miércoles del mes)",
Expand All @@ -44,7 +44,7 @@
"time": "Formato de hora inválido!",
"weekday_order_number": "Seleccione 1 o más días",
"week_order_number": "Seleccione 1 o más semanas",
"period": "El período debe ser un número entre 1 y 365",
"period": "El período debe ser un número entre 1 y 1000",
"first_week": "La primera semana debe ser un número entre 1 y 52",
"date": "Formato de fecha inválido!"
},
Expand Down Expand Up @@ -77,7 +77,7 @@
"collection_days": "Días de recogida",
"first_month": "Primer mes de recogida",
"last_month": "Último mes de recogida",
"period": "Recolección cada n semanas / días: (1-365)",
"period": "Recolección cada n semanas / días: (1-1000)",
"first_week": "Primera semana de recolección (1-52)",
"first_date": "Primera fecha",
"weekday_order_number": "Orden del día de la semana en el mes (por ejemplo, primer miércoles del mes)",
Expand All @@ -96,7 +96,7 @@
"time": "Formato de hora inválido!",
"weekday_order_number": "Seleccione 1 o más días",
"week_order_number": "Seleccione 1 o más semanas",
"period": "El período debe ser un número entre 1 y 365",
"period": "El período debe ser un número entre 1 y 1000",
"first_week": "La primera semana debe ser un número entre 1 y 52",
"date": "Formato de fecha inválido!"
}
Expand Down
8 changes: 4 additions & 4 deletions custom_components/garbage_collection/translations/et.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"collection_days": "Tühjendamise nädalapäevad",
"first_month": "Esimene prügiveo kuu",
"last_month": "Viimane prügiveo kuu",
"period": "Prügivedu iga n päeva/nädala tagant: (1-365)",
"period": "Prügivedu iga n päeva/nädala tagant: (1-1000)",
"first_week": "Esimese prügiveo nädal (1-52)",
"first_date": "Esimese prügiveo kuupäev",
"weekday_order_number": "Kuu nädalapäevade järjekord (nt kuu esimene kolmapäev)",
Expand All @@ -44,7 +44,7 @@
"time": "Vigane kellaaja formaat!",
"weekday_order_number": "Valige üks või rohkem päevi",
"week_order_number": "Valige üks või rohkem nädalat",
"period": "Välp peab olema number 1 ja 365 vahel",
"period": "Välp peab olema number 1 ja 1000 vahel",
"first_week": "Esimene nädal peab olema number 1 ja 52 vahel",
"date": "Vigane kuupäeva formaat!!"
},
Expand Down Expand Up @@ -77,7 +77,7 @@
"collection_days": "Tühjendamise nädalapäevad",
"first_month": "Esimene prügiveo kuu",
"last_month": "Viimane prügiveo kuu",
"period": "Prügivedu iga n päeva/nädala tagant: (1-365)",
"period": "Prügivedu iga n päeva/nädala tagant: (1-1000)",
"first_week": "Esimese prügiveo nädal (1-52)",
"first_date": "Esimese prügiveo kuupäev",
"weekday_order_number": "Kuu nädalapäevade järjekord (nt kuu esimene kolmapäev)",
Expand All @@ -96,7 +96,7 @@
"time": "Vigane kellaaja formaat!",
"weekday_order_number": "Valige üks või rohkem päevi",
"week_order_number": "Valige üks või rohkem nädalat",
"period": "Välp peab olema number 1 ja 365 vahel",
"period": "Välp peab olema number 1 ja 1000 vahel",
"first_week": "Esimene nädal peab olema number 1 ja 52 vahel",
"date": "Vigane kuupäeva formaat!!"
}
Expand Down
8 changes: 4 additions & 4 deletions custom_components/garbage_collection/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"collection_days": "Jours de collecte",
"first_month": "Premier mois de la collecte",
"last_month": "Dernier mois de la collecte",
"period": "Collecte toutes les n semaines/jours: (1-365)",
"period": "Collecte toutes les n semaines/jours: (1-1000)",
"first_week": "Première semaine de la collecte (1-52)",
"first_date": "Première date",
"weekday_order_number": "Ordre du jour de la semaine dans le mois (par exemple, premier mercredi du mois)",
Expand All @@ -45,7 +45,7 @@
"time": "Format d'heure invalide !",
"weekday_order_number": "Choisir un ou plusieurs jours",
"week_order_number": "Choisir une ou plusieurs semaines",
"period": "La semaine doit être un nombre entre 1 et 365",
"period": "La semaine doit être un nombre entre 1 et 1000",
"first_week": "La première semaine doit être un nombre entre 1 et 52",
"date": "Format de date invalide !"
},
Expand Down Expand Up @@ -79,7 +79,7 @@
"collection_days": "Jours de collecte",
"first_month": "Premier mois de la collecte",
"last_month": "Dernier mois de la collecte",
"period": "Collecte toutes les n semaines/jours: (1-365)",
"period": "Collecte toutes les n semaines/jours: (1-1000)",
"first_week": "Première semaine de la collecte (1-52)",
"first_date": "Première date",
"weekday_order_number": "Ordre du jour de la semaine dans le mois (par exemple, premier mercredi du mois)",
Expand All @@ -98,7 +98,7 @@
"time": "Format d'heure invalide !",
"weekday_order_number": "Choisir un ou plusieurs jours",
"week_order_number": "Choisir une ou plusieurs semaines",
"period": "La semaine doit être un nombre entre 1 et 365",
"period": "La semaine doit être un nombre entre 1 et 1000",
"first_week": "La première semaine doit être un nombre entre 1 et 52",
"date": "Format de date invalide !"
}
Expand Down
8 changes: 4 additions & 4 deletions custom_components/garbage_collection/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"collection_days": "Giorni di raccolta",
"first_month": "Prima raccolta del mese",
"last_month": "Ultima raccolta del mese",
"period": "Raccolta ogni n settimane/giorno: (1-365)",
"period": "Raccolta ogni n settimane/giorno: (1-1000)",
"first_week": "Prima raccolta della settimana (1-52)",
"first_date": "Prima date",
"weekday_order_number": "Ordine del giorno della settimana nel mese (ad esempio il primo mercoledì del mese)",
Expand All @@ -44,7 +44,7 @@
"time": "Formato ora non valido!",
"weekday_order_number": "Seleziona uno o più giorni",
"week_order_number": "Seleziona uno o più settimani",
"period": "Il periodo deve essere un numero compreso tra 1 e 365",
"period": "Il periodo deve essere un numero compreso tra 1 e 1000",
"first_week": "La prima settimana deve essere un numero tra 1 e 52",
"date": "Formato data non valido!"
},
Expand Down Expand Up @@ -77,7 +77,7 @@
"collection_days": "Giorni di raccolta",
"first_month": "Prima raccolta del mese",
"last_month": "Ultima raccolta del mese",
"period": "Raccolta ogni n settimane/giorno: (1-365)",
"period": "Raccolta ogni n settimane/giorno: (1-1000)",
"first_week": "Prima raccolta della settimana (1-52)",
"first_date": "Prima date",
"weekday_order_number": "Ordine del giorno della settimana nel mese (ad esempio il primo mercoledì del mese)",
Expand All @@ -96,7 +96,7 @@
"time": "Formato ora non valido!",
"weekday_order_number": "Seleziona uno o più giorni",
"week_order_number": "Seleziona uno o più settimani",
"period": "Il periodo deve essere un numero compreso tra 1 e 365",
"period": "Il periodo deve essere un numero compreso tra 1 e 1000",
"first_week": "La prima settimana deve essere un numero tra 1 e 52",
"date": "Formato data non valido!"
}
Expand Down
8 changes: 4 additions & 4 deletions custom_components/garbage_collection/translations/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"collection_days": "Dni wywozu",
"first_month": "Miesiąc pierwszego wywozu",
"last_month": "Miesiąc ostatniego wywozu",
"period": "Wywóz co n dni/tygodni: (1-365)",
"period": "Wywóz co n dni/tygodni: (1-1000)",
"first_week": "Tydzień pierwszego wywozu: (1-52)",
"first_date": "Pierwsza data",
"weekday_order_number": "Kolejność dni tygodnia w miesiącu (np. pierwsza środa miesiąca)",
Expand All @@ -44,7 +44,7 @@
"time": "Nieprawidłowy format czasu!",
"weekday_order_number": "Wybierz 1 lub więcej dni!",
"week_order_number": "Wybierz 1 lub więcej tydzieńi!",
"period": "Okres musi być liczbą od 1 do 365.",
"period": "Okres musi być liczbą od 1 do 1000.",
"first_week": "Pierwszy tydzień musi być liczbą między 1 a 52.",
"date": "Nieprawidłowy format daty!"
},
Expand Down Expand Up @@ -77,7 +77,7 @@
"collection_days": "Dni wywozu",
"first_month": "Miesiąc pierwszego wywozu",
"last_month": "Miesiąc ostatniego wywozu",
"period": "Wywóz co n dni/tygodni: (1-365)",
"period": "Wywóz co n dni/tygodni: (1-1000)",
"first_week": "Tydzień pierwszego wywozu: (1-52)",
"first_date": "Pierwsza data",
"weekday_order_number": "Kolejność dni tygodnia w miesiącu (np. pierwsza środa miesiąca)",
Expand All @@ -96,7 +96,7 @@
"time": "Nieprawidłowy format czasu!",
"weekday_order_number": "Wybierz 1 lub więcej dni!",
"week_order_number": "Wybierz 1 lub więcej tydzieńi!",
"period": "Okres musi być liczbą od 1 do 365.",
"period": "Okres musi być liczbą od 1 do 1000.",
"first_week": "Pierwszy tydzień musi być liczbą między 1 a 52.",
"date": "Nieprawidłowy format daty!"
}
Expand Down
8 changes: 4 additions & 4 deletions custom_components/garbage_collection/translations/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"collection_days": "Dias de coleta",
"first_month": "Primeiro mês de coletah",
"last_month": "Último mês de coleta",
"period": "Coleta a cada n semanas/dias: (1-365)",
"period": "Coleta a cada n semanas/dias: (1-1000)",
"first_week": "Primeira semana de coleta (1-52)",
"first_date": "Primeira data",
"weekday_order_number": "Ordem do dia da semana no mês (por exemplo, primeira quarta-feira do mês)",
Expand All @@ -44,7 +44,7 @@
"time": "Formato de hora inválido!",
"weekday_order_number": "Selecione 1 ou mais dias",
"week_order_number": "Selecione 1 ou mais semanas",
"period": "O período deve ser um número entre 1 e 365",
"period": "O período deve ser um número entre 1 e 1000",
"first_week": "A primeira semana deve ser um número entre 1 e 52",
"date": "Formato de data inválido!"
},
Expand Down Expand Up @@ -77,7 +77,7 @@
"collection_days": "Dias de coleta",
"first_month": "Primeiro mês de coleta",
"last_month": "Último mês de coleta",
"period": "Coleta a cada n semanas/dias: (1-365)",
"period": "Coleta a cada n semanas/dias: (1-1000)",
"first_week": "Primeira semana de coleta (1-52)",
"first_date": "Primeira data",
"weekday_order_number": "Ordem do dia da semana no mês (por exemplo, primeira quarta-feira do mês)",
Expand All @@ -96,7 +96,7 @@
"time": "Formato de hora inválido!",
"weekday_order_number": "Selecione 1 ou mais dias",
"week_order_number": "Selecione 1 ou mais semanas",
"period": "O período deve ser um número entre 1 e 365",
"period": "O período deve ser um número entre 1 e 1000",
"first_week": "A primeira semana deve ser um número entre 1 e 52",
"date": "Formato de data inválido!"
}
Expand Down
Loading

0 comments on commit 37fd4fa

Please sign in to comment.