Last active
May 29, 2018 12:19
-
-
Save laander/1d7ec28320e098b8b2a296c60216734f to your computer and use it in GitHub Desktop.
Booking.js widget full language localization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="bookingjs"></div> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | |
<script src="https://cdn.timekit.io/booking-js/v1/booking.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/lang/es.js"></script> | |
<script> | |
window.timekitBookingConfig = { | |
widgetId: '6a6c24ce-41a6-4114-9c15-de9ec3d92630', | |
fullCalendar: { | |
locale: 'es' | |
}, | |
localization: { | |
timeDateFormat: false, | |
strings: { | |
submitText: 'Enviar', | |
successMessageTitle: 'Gracias!', | |
successMessageBody: 'Se ha enviado una invitación a:<br /> %s <br /><br /> Por favor acepte la invitación para confirmar la reserva.', | |
timezoneHelperLoading: 'Cargando..', | |
timezoneHelperDifferent: 'Tu zona horaria es %s horas %s de %s (el calendario se muestra a tu hora local)', | |
timezoneHelperSame: 'Estás en la misma zona horaria que %s' | |
} | |
}, | |
bookingFields: { | |
name: { | |
placeholder: 'Nombre' | |
} | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment