angular-locale_mt.js 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. "AM",
  8. "PM"
  9. ],
  10. "DAY": [
  11. "Il-\u0126add",
  12. "It-Tnejn",
  13. "It-Tlieta",
  14. "L-Erbg\u0127a",
  15. "Il-\u0126amis",
  16. "Il-\u0120img\u0127a",
  17. "Is-Sibt"
  18. ],
  19. "ERANAMES": [
  20. "Qabel Kristu",
  21. "Wara Kristu"
  22. ],
  23. "ERAS": [
  24. "QK",
  25. "WK"
  26. ],
  27. "FIRSTDAYOFWEEK": 6,
  28. "MONTH": [
  29. "Jannar",
  30. "Frar",
  31. "Marzu",
  32. "April",
  33. "Mejju",
  34. "\u0120unju",
  35. "Lulju",
  36. "Awwissu",
  37. "Settembru",
  38. "Ottubru",
  39. "Novembru",
  40. "Di\u010bembru"
  41. ],
  42. "SHORTDAY": [
  43. "\u0126ad",
  44. "Tne",
  45. "Tli",
  46. "Erb",
  47. "\u0126am",
  48. "\u0120im",
  49. "Sib"
  50. ],
  51. "SHORTMONTH": [
  52. "Jan",
  53. "Fra",
  54. "Mar",
  55. "Apr",
  56. "Mej",
  57. "\u0120un",
  58. "Lul",
  59. "Aww",
  60. "Set",
  61. "Ott",
  62. "Nov",
  63. "Di\u010b"
  64. ],
  65. "STANDALONEMONTH": [
  66. "Jannar",
  67. "Frar",
  68. "Marzu",
  69. "April",
  70. "Mejju",
  71. "\u0120unju",
  72. "Lulju",
  73. "Awwissu",
  74. "Settembru",
  75. "Ottubru",
  76. "Novembru",
  77. "Di\u010bembru"
  78. ],
  79. "WEEKENDRANGE": [
  80. 5,
  81. 6
  82. ],
  83. "fullDate": "EEEE, d 'ta'\u2019 MMMM y",
  84. "longDate": "d 'ta'\u2019 MMMM y",
  85. "medium": "dd MMM y HH:mm:ss",
  86. "mediumDate": "dd MMM y",
  87. "mediumTime": "HH:mm:ss",
  88. "short": "dd/MM/y HH:mm",
  89. "shortDate": "dd/MM/y",
  90. "shortTime": "HH:mm"
  91. },
  92. "NUMBER_FORMATS": {
  93. "CURRENCY_SYM": "\u20ac",
  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": "mt",
  122. "localeID": "mt",
  123. "pluralCat": function (n, opt_precision) {
  124. if (n == 1) {
  125. return PLURAL_CATEGORY.ONE;
  126. }
  127. if (n == 0 || n % 100 >= 2 && n % 100 <= 10) {
  128. return PLURAL_CATEGORY.FEW;
  129. }
  130. if (n % 100 >= 11 && n % 100 <= 19) {
  131. return PLURAL_CATEGORY.MANY;
  132. }
  133. return PLURAL_CATEGORY.OTHER;
  134. }
  135. });
  136. }]);