Ohm-Management - Projektarbeit B-ME
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.

gd.js 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd'
  7. ];
  8. var monthsShort = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'];
  9. var weekdays = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'];
  10. var weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'];
  11. var weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
  12. export default moment.defineLocale('gd', {
  13. months : months,
  14. monthsShort : monthsShort,
  15. monthsParseExact : true,
  16. weekdays : weekdays,
  17. weekdaysShort : weekdaysShort,
  18. weekdaysMin : weekdaysMin,
  19. longDateFormat : {
  20. LT : 'HH:mm',
  21. LTS : 'HH:mm:ss',
  22. L : 'DD/MM/YYYY',
  23. LL : 'D MMMM YYYY',
  24. LLL : 'D MMMM YYYY HH:mm',
  25. LLLL : 'dddd, D MMMM YYYY HH:mm'
  26. },
  27. calendar : {
  28. sameDay : '[An-diugh aig] LT',
  29. nextDay : '[A-màireach aig] LT',
  30. nextWeek : 'dddd [aig] LT',
  31. lastDay : '[An-dè aig] LT',
  32. lastWeek : 'dddd [seo chaidh] [aig] LT',
  33. sameElse : 'L'
  34. },
  35. relativeTime : {
  36. future : 'ann an %s',
  37. past : 'bho chionn %s',
  38. s : 'beagan diogan',
  39. ss : '%d diogan',
  40. m : 'mionaid',
  41. mm : '%d mionaidean',
  42. h : 'uair',
  43. hh : '%d uairean',
  44. d : 'latha',
  45. dd : '%d latha',
  46. M : 'mìos',
  47. MM : '%d mìosan',
  48. y : 'bliadhna',
  49. yy : '%d bliadhna'
  50. },
  51. dayOfMonthOrdinalParse : /\d{1,2}(d|na|mh)/,
  52. ordinal : function (number) {
  53. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  54. return number + output;
  55. },
  56. week : {
  57. dow : 1, // Monday is the first day of the week.
  58. doy : 4 // The week that contains Jan 4th is the first week of the year.
  59. }
  60. });