Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. //! moment.js locale configuration
  2. //! locale : Scottish Gaelic [gd]
  3. //! author : Jon Ashdown : https://github.com/jonashdown
  4. import moment from '../moment';
  5. var months = [
  6. 'Am Faoilleach',
  7. 'An Gearran',
  8. 'Am Màrt',
  9. 'An Giblean',
  10. 'An Cèitean',
  11. 'An t-Ògmhios',
  12. 'An t-Iuchar',
  13. 'An Lùnastal',
  14. 'An t-Sultain',
  15. 'An Dàmhair',
  16. 'An t-Samhain',
  17. 'An Dùbhlachd',
  18. ],
  19. monthsShort = [
  20. 'Faoi',
  21. 'Gear',
  22. 'Màrt',
  23. 'Gibl',
  24. 'Cèit',
  25. 'Ògmh',
  26. 'Iuch',
  27. 'Lùn',
  28. 'Sult',
  29. 'Dàmh',
  30. 'Samh',
  31. 'Dùbh',
  32. ],
  33. weekdays = [
  34. 'Didòmhnaich',
  35. 'Diluain',
  36. 'Dimàirt',
  37. 'Diciadain',
  38. 'Diardaoin',
  39. 'Dihaoine',
  40. 'Disathairne',
  41. ],
  42. weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],
  43. weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
  44. export default moment.defineLocale('gd', {
  45. months: months,
  46. monthsShort: monthsShort,
  47. monthsParseExact: true,
  48. weekdays: weekdays,
  49. weekdaysShort: weekdaysShort,
  50. weekdaysMin: weekdaysMin,
  51. longDateFormat: {
  52. LT: 'HH:mm',
  53. LTS: 'HH:mm:ss',
  54. L: 'DD/MM/YYYY',
  55. LL: 'D MMMM YYYY',
  56. LLL: 'D MMMM YYYY HH:mm',
  57. LLLL: 'dddd, D MMMM YYYY HH:mm',
  58. },
  59. calendar: {
  60. sameDay: '[An-diugh aig] LT',
  61. nextDay: '[A-màireach aig] LT',
  62. nextWeek: 'dddd [aig] LT',
  63. lastDay: '[An-dè aig] LT',
  64. lastWeek: 'dddd [seo chaidh] [aig] LT',
  65. sameElse: 'L',
  66. },
  67. relativeTime: {
  68. future: 'ann an %s',
  69. past: 'bho chionn %s',
  70. s: 'beagan diogan',
  71. ss: '%d diogan',
  72. m: 'mionaid',
  73. mm: '%d mionaidean',
  74. h: 'uair',
  75. hh: '%d uairean',
  76. d: 'latha',
  77. dd: '%d latha',
  78. M: 'mìos',
  79. MM: '%d mìosan',
  80. y: 'bliadhna',
  81. yy: '%d bliadhna',
  82. },
  83. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  84. ordinal: function (number) {
  85. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  86. return number + output;
  87. },
  88. week: {
  89. dow: 1, // Monday is the first day of the week.
  90. doy: 4, // The week that contains Jan 4th is the first week of the year.
  91. },
  92. });