You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 年之前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. FullCalendar.globalLocales.push(function () {
  2. 'use strict';
  3. var es = {
  4. code: 'es',
  5. week: {
  6. dow: 1, // Monday is the first day of the week.
  7. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8. },
  9. buttonText: {
  10. prev: 'Ant',
  11. next: 'Sig',
  12. today: 'Hoy',
  13. month: 'Mes',
  14. week: 'Semana',
  15. day: 'Día',
  16. list: 'Agenda',
  17. },
  18. buttonHints: {
  19. prev: '$0 antes',
  20. next: '$0 siguiente',
  21. today(buttonText) {
  22. return (buttonText === 'Día') ? 'Hoy' :
  23. ((buttonText === 'Semana') ? 'Esta' : 'Este') + ' ' + buttonText.toLocaleLowerCase()
  24. },
  25. },
  26. viewHint(buttonText) {
  27. return 'Vista ' + (buttonText === 'Semana' ? 'de la' : 'del') + ' ' + buttonText.toLocaleLowerCase()
  28. },
  29. weekText: 'Sm',
  30. weekTextLong: 'Semana',
  31. allDayText: 'Todo el día',
  32. moreLinkText: 'más',
  33. moreLinkHint(eventCnt) {
  34. return `Mostrar ${eventCnt} eventos más`
  35. },
  36. noEventsText: 'No hay eventos para mostrar',
  37. navLinkHint: 'Ir al $0',
  38. closeHint: 'Cerrar',
  39. timeHint: 'La hora',
  40. eventHint: 'Evento',
  41. };
  42. return es;
  43. }());