Sha256: c8b03307df32652ad24645e4f596d8657a44a0e21713142100e38e7869f438e2
Contents?: true
Size: 1.18 KB
Versions: 23
Compression:
Stored size: 1.18 KB
Contents
/* Welsh locals for flatpickr */ var Flatpickr = Flatpickr || { l10ns: {} }; Flatpickr.l10ns.cy = {}; Flatpickr.l10ns.cy.weekdays = { shorthand: ['Sul', 'Llun', 'Maw', 'Mer', 'Iau', 'Gwe', 'Sad'], longhand: ['Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener', 'Dydd Sadwrn'] }; Flatpickr.l10ns.cy.months = { shorthand: ['Ion', 'Chwef', 'Maw', 'Ebr', 'Mai', 'Meh', 'Gorff', 'Awst', 'Medi', 'Hyd', 'Tach', 'Rhag'], longhand: ['Ionawr', 'Chwefror', 'Mawrth', 'Ebrill', 'Mai', 'Mehefin', 'Gorffennaf', 'Awst', 'Medi', 'Hydref', 'Tachwedd', 'Rhagfyr'] }; Flatpickr.l10ns.cy.firstDayOfWeek = 1; Flatpickr.l10ns.cy.ordinal = function (nth) { if (nth === 1) { return "af"; } if (nth === 2) { return "ail"; } if (nth === 3 || nth === 4) { return "ydd"; } if (nth === 5 || nth === 6) { return "ed"; } if (nth >= 7 && nth <= 10 || nth == 12 || nth == 15 || nth == 18 || nth == 20) { return "fed"; } if (nth == 11 || nth == 13 || nth == 14 || nth == 16 || nth == 17 || nth == 19) { return "eg"; } if (nth >= 21 && nth <= 39) { return "ain"; } // Inconclusive. return ""; }; if (typeof module !== "undefined") { module.exports = Flatpickr.l10ns; }
Version data entries
23 entries across 23 versions & 1 rubygems