No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

107 líneas
3.0KB

  1. //! moment.js locale configuration
  2. //! locale : Irish or Irish Gaelic [ga]
  3. //! author : André Silva : https://github.com/askpt
  4. ;(function (global, factory) {
  5. typeof exports === 'object' && typeof module !== 'undefined'
  6. && typeof require === 'function' ? factory(require('../moment')) :
  7. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  8. factory(global.moment)
  9. }(this, (function (moment) { 'use strict';
  10. //! moment.js locale configuration
  11. var months = [
  12. 'Eanáir',
  13. 'Feabhra',
  14. 'Márta',
  15. 'Aibreán',
  16. 'Bealtaine',
  17. 'Meitheamh',
  18. 'Iúil',
  19. 'Lúnasa',
  20. 'Meán Fómhair',
  21. 'Deireadh Fómhair',
  22. 'Samhain',
  23. 'Nollaig',
  24. ],
  25. monthsShort = [
  26. 'Ean',
  27. 'Feabh',
  28. 'Márt',
  29. 'Aib',
  30. 'Beal',
  31. 'Meith',
  32. 'Iúil',
  33. 'Lún',
  34. 'M.F.',
  35. 'D.F.',
  36. 'Samh',
  37. 'Noll',
  38. ],
  39. weekdays = [
  40. 'Dé Domhnaigh',
  41. 'Dé Luain',
  42. 'Dé Máirt',
  43. 'Dé Céadaoin',
  44. 'Déardaoin',
  45. 'Dé hAoine',
  46. 'Dé Sathairn',
  47. ],
  48. weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
  49. weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];
  50. var ga = moment.defineLocale('ga', {
  51. months: months,
  52. monthsShort: monthsShort,
  53. monthsParseExact: true,
  54. weekdays: weekdays,
  55. weekdaysShort: weekdaysShort,
  56. weekdaysMin: weekdaysMin,
  57. longDateFormat: {
  58. LT: 'HH:mm',
  59. LTS: 'HH:mm:ss',
  60. L: 'DD/MM/YYYY',
  61. LL: 'D MMMM YYYY',
  62. LLL: 'D MMMM YYYY HH:mm',
  63. LLLL: 'dddd, D MMMM YYYY HH:mm',
  64. },
  65. calendar: {
  66. sameDay: '[Inniu ag] LT',
  67. nextDay: '[Amárach ag] LT',
  68. nextWeek: 'dddd [ag] LT',
  69. lastDay: '[Inné ag] LT',
  70. lastWeek: 'dddd [seo caite] [ag] LT',
  71. sameElse: 'L',
  72. },
  73. relativeTime: {
  74. future: 'i %s',
  75. past: '%s ó shin',
  76. s: 'cúpla soicind',
  77. ss: '%d soicind',
  78. m: 'nóiméad',
  79. mm: '%d nóiméad',
  80. h: 'uair an chloig',
  81. hh: '%d uair an chloig',
  82. d: 'lá',
  83. dd: '%d lá',
  84. M: 'mí',
  85. MM: '%d míonna',
  86. y: 'bliain',
  87. yy: '%d bliain',
  88. },
  89. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  90. ordinal: function (number) {
  91. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  92. return number + output;
  93. },
  94. week: {
  95. dow: 1, // Monday is the first day of the week.
  96. doy: 4, // The week that contains Jan 4th is the first week of the year.
  97. },
  98. });
  99. return ga;
  100. })));