Closed Bluzzi closed 2 years ago
For the calendar, the messages are put directly into the JS code. How do you want me to implement the ability to translate this?
Very nicely done! Thanks for the effort. Do you think it would also be possible for you to add the new slots to the documentation? As for the calendar, it seems to me that there are 2 possible solutions:
Button
itself in a slot that's given the day
as a propBoth solutions are not mutually exclusive, but I'm leaning more towards the first one only.
Docs available on https://illright.github.io/attractions/345/
It's over, is it right like that?
Also, please make sure the CI pipeline passes. There are currently problems with Prettier formatting.
This issue allows to add slots to be able to translate the messages of the components.
Close #315
Slots
AutocompleteField
:close-message
loading-message
load-more-options-message
Autocomplete
:loading-message
load-more-options-message
Calendar
:titleTodayNotAvailableMessage
(props)titleTodayMessage
(props)titleTodayMessage
(props)FileDropzone
:upload-unavailable-message
incorrect-file-message
release-to-upload-message
drag-and-drop-message
FileInput
:select-files-message
select-one-file-message
FormField
:required-message
optinal-message