angular-locale_cy.js 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. 'use strict';
  2. angular.module("ngLocale", [], ["$provide", function ($provide) {
  3. var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
  4. $provide.value("$locale", {
  5. "DATETIME_FORMATS": {
  6. "AMPMS": [
  7. "yb",
  8. "yh"
  9. ],
  10. "DAY": [
  11. "Dydd Sul",
  12. "Dydd Llun",
  13. "Dydd Mawrth",
  14. "Dydd Mercher",
  15. "Dydd Iau",
  16. "Dydd Gwener",
  17. "Dydd Sadwrn"
  18. ],
  19. "ERANAMES": [
  20. "Cyn Crist",
  21. "Oed Crist"
  22. ],
  23. "ERAS": [
  24. "CC",
  25. "OC"
  26. ],
  27. "FIRSTDAYOFWEEK": 0,
  28. "MONTH": [
  29. "Ionawr",
  30. "Chwefror",
  31. "Mawrth",
  32. "Ebrill",
  33. "Mai",
  34. "Mehefin",
  35. "Gorffennaf",
  36. "Awst",
  37. "Medi",
  38. "Hydref",
  39. "Tachwedd",
  40. "Rhagfyr"
  41. ],
  42. "SHORTDAY": [
  43. "Sul",
  44. "Llun",
  45. "Maw",
  46. "Mer",
  47. "Iau",
  48. "Gwen",
  49. "Sad"
  50. ],
  51. "SHORTMONTH": [
  52. "Ion",
  53. "Chwef",
  54. "Maw",
  55. "Ebrill",
  56. "Mai",
  57. "Meh",
  58. "Gorff",
  59. "Awst",
  60. "Medi",
  61. "Hyd",
  62. "Tach",
  63. "Rhag"
  64. ],
  65. "STANDALONEMONTH": [
  66. "Ionawr",
  67. "Chwefror",
  68. "Mawrth",
  69. "Ebrill",
  70. "Mai",
  71. "Mehefin",
  72. "Gorffennaf",
  73. "Awst",
  74. "Medi",
  75. "Hydref",
  76. "Tachwedd",
  77. "Rhagfyr"
  78. ],
  79. "WEEKENDRANGE": [
  80. 5,
  81. 6
  82. ],
  83. "fullDate": "EEEE, d MMMM y",
  84. "longDate": "d MMMM y",
  85. "medium": "d MMM y HH:mm:ss",
  86. "mediumDate": "d MMM y",
  87. "mediumTime": "HH:mm:ss",
  88. "short": "dd/MM/yy HH:mm",
  89. "shortDate": "dd/MM/yy",
  90. "shortTime": "HH:mm"
  91. },
  92. "NUMBER_FORMATS": {
  93. "CURRENCY_SYM": "\u00a3",
  94. "DECIMAL_SEP": ".",
  95. "GROUP_SEP": ",",
  96. "PATTERNS": [
  97. {
  98. "gSize": 3,
  99. "lgSize": 3,
  100. "maxFrac": 3,
  101. "minFrac": 0,
  102. "minInt": 1,
  103. "negPre": "-",
  104. "negSuf": "",
  105. "posPre": "",
  106. "posSuf": ""
  107. },
  108. {
  109. "gSize": 3,
  110. "lgSize": 3,
  111. "maxFrac": 2,
  112. "minFrac": 2,
  113. "minInt": 1,
  114. "negPre": "-\u00a4",
  115. "negSuf": "",
  116. "posPre": "\u00a4",
  117. "posSuf": ""
  118. }
  119. ]
  120. },
  121. "id": "cy",
  122. "localeID": "cy",
  123. "pluralCat": function (n, opt_precision) {
  124. if (n == 0) {
  125. return PLURAL_CATEGORY.ZERO;
  126. }
  127. if (n == 1) {
  128. return PLURAL_CATEGORY.ONE;
  129. }
  130. if (n == 2) {
  131. return PLURAL_CATEGORY.TWO;
  132. }
  133. if (n == 3) {
  134. return PLURAL_CATEGORY.FEW;
  135. }
  136. if (n == 6) {
  137. return PLURAL_CATEGORY.MANY;
  138. }
  139. return PLURAL_CATEGORY.OTHER;
  140. }
  141. });
  142. }]);