Add translation support for trafikverket_ferry weekday setting in option flow (#86219)
Add translation trafikverket_ferry weekday setting
This commit is contained in:
parent
c97cf62b47
commit
09ca8465a6
3 changed files with 27 additions and 0 deletions
|
@ -32,6 +32,7 @@ DATA_SCHEMA = vol.Schema(
|
|||
options=WEEKDAYS,
|
||||
multiple=True,
|
||||
mode=selector.SelectSelectorMode.DROPDOWN,
|
||||
translation_key=CONF_WEEKDAY,
|
||||
)
|
||||
),
|
||||
}
|
||||
|
|
|
@ -26,5 +26,18 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"selector": {
|
||||
"weekday": {
|
||||
"options": {
|
||||
"mon": "Monday",
|
||||
"tue": "Tuesday",
|
||||
"wed": "Wednesday",
|
||||
"thu": "Thursday",
|
||||
"fri": "Friday",
|
||||
"sat": "Saturday",
|
||||
"sun": "Sunday"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,5 +26,18 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"selector": {
|
||||
"weekday": {
|
||||
"options": {
|
||||
"mon": "Monday",
|
||||
"tue": "Tuesday",
|
||||
"wed": "Wednesday",
|
||||
"thu": "Thursday",
|
||||
"fri": "Friday",
|
||||
"sat": "Saturday",
|
||||
"sun": "Sunday"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue