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.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. //! moment.js locale configuration
  2. //! locale : Welsh [cy]
  3. //! author : Robert Allen : https://github.com/robgallen
  4. //! author : https://github.com/ryangreaves
  5. import moment from '../moment';
  6. export default moment.defineLocale('cy', {
  7. months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split(
  8. '_'
  9. ),
  10. monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split(
  11. '_'
  12. ),
  13. weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split(
  14. '_'
  15. ),
  16. weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
  17. weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
  18. weekdaysParseExact: true,
  19. // time formats are the same as en-gb
  20. longDateFormat: {
  21. LT: 'HH:mm',
  22. LTS: 'HH:mm:ss',
  23. L: 'DD/MM/YYYY',
  24. LL: 'D MMMM YYYY',
  25. LLL: 'D MMMM YYYY HH:mm',
  26. LLLL: 'dddd, D MMMM YYYY HH:mm',
  27. },
  28. calendar: {
  29. sameDay: '[Heddiw am] LT',
  30. nextDay: '[Yfory am] LT',
  31. nextWeek: 'dddd [am] LT',
  32. lastDay: '[Ddoe am] LT',
  33. lastWeek: 'dddd [diwethaf am] LT',
  34. sameElse: 'L',
  35. },
  36. relativeTime: {
  37. future: 'mewn %s',
  38. past: '%s yn ôl',
  39. s: 'ychydig eiliadau',
  40. ss: '%d eiliad',
  41. m: 'munud',
  42. mm: '%d munud',
  43. h: 'awr',
  44. hh: '%d awr',
  45. d: 'diwrnod',
  46. dd: '%d diwrnod',
  47. M: 'mis',
  48. MM: '%d mis',
  49. y: 'blwyddyn',
  50. yy: '%d flynedd',
  51. },
  52. dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
  53. // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
  54. ordinal: function (number) {
  55. var b = number,
  56. output = '',
  57. lookup = [
  58. '',
  59. 'af',
  60. 'il',
  61. 'ydd',
  62. 'ydd',
  63. 'ed',
  64. 'ed',
  65. 'ed',
  66. 'fed',
  67. 'fed',
  68. 'fed', // 1af to 10fed
  69. 'eg',
  70. 'fed',
  71. 'eg',
  72. 'eg',
  73. 'fed',
  74. 'eg',
  75. 'eg',
  76. 'fed',
  77. 'eg',
  78. 'fed', // 11eg to 20fed
  79. ];
  80. if (b > 20) {
  81. if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
  82. output = 'fed'; // not 30ain, 70ain or 90ain
  83. } else {
  84. output = 'ain';
  85. }
  86. } else if (b > 0) {
  87. output = lookup[b];
  88. }
  89. return number + output;
  90. },
  91. week: {
  92. dow: 1, // Monday is the first day of the week.
  93. doy: 4, // The week that contains Jan 4th is the first week of the year.
  94. },
  95. });