2020-09-21 09:43:11 +00:00
|
|
|
FullCalendar.globalLocales.push(function () {
|
|
|
|
'use strict';
|
2019-06-14 07:33:43 +00:00
|
|
|
|
2020-09-21 09:43:11 +00:00
|
|
|
var es = {
|
2020-11-25 09:31:52 +00:00
|
|
|
code: 'es',
|
2020-09-21 09:43:11 +00:00
|
|
|
week: {
|
|
|
|
dow: 1, // Monday is the first day of the week.
|
2020-11-25 09:31:52 +00:00
|
|
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
2020-09-21 09:43:11 +00:00
|
|
|
},
|
|
|
|
buttonText: {
|
2020-11-25 09:31:52 +00:00
|
|
|
prev: 'Ant',
|
|
|
|
next: 'Sig',
|
|
|
|
today: 'Hoy',
|
|
|
|
month: 'Mes',
|
|
|
|
week: 'Semana',
|
|
|
|
day: 'Día',
|
|
|
|
list: 'Agenda',
|
2020-09-21 09:43:11 +00:00
|
|
|
},
|
2021-11-24 23:12:36 +00:00
|
|
|
buttonHints: {
|
|
|
|
prev: '$0 antes',
|
|
|
|
next: '$0 siguiente',
|
|
|
|
today(buttonText) {
|
|
|
|
return (buttonText === 'Día') ? 'Hoy' :
|
|
|
|
((buttonText === 'Semana') ? 'Esta' : 'Este') + ' ' + buttonText.toLocaleLowerCase()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
viewHint(buttonText) {
|
|
|
|
return 'Vista ' + (buttonText === 'Semana' ? 'de la' : 'del') + ' ' + buttonText.toLocaleLowerCase()
|
|
|
|
},
|
2020-11-25 09:31:52 +00:00
|
|
|
weekText: 'Sm',
|
2021-11-24 23:12:36 +00:00
|
|
|
weekTextLong: 'Semana',
|
2020-11-25 09:31:52 +00:00
|
|
|
allDayText: 'Todo el día',
|
|
|
|
moreLinkText: 'más',
|
2021-11-24 23:12:36 +00:00
|
|
|
moreLinkHint(eventCnt) {
|
|
|
|
return `Mostrar ${eventCnt} eventos más`
|
|
|
|
},
|
2020-11-25 09:31:52 +00:00
|
|
|
noEventsText: 'No hay eventos para mostrar',
|
2021-11-24 23:12:36 +00:00
|
|
|
navLinkHint: 'Ir al $0',
|
|
|
|
closeHint: 'Cerrar',
|
|
|
|
timeHint: 'La hora',
|
|
|
|
eventHint: 'Evento',
|
2020-09-21 09:43:11 +00:00
|
|
|
};
|
2019-06-14 07:33:43 +00:00
|
|
|
|
2020-09-21 09:43:11 +00:00
|
|
|
return es;
|
2019-06-14 07:33:43 +00:00
|
|
|
|
2020-09-21 09:43:11 +00:00
|
|
|
}());
|