angular-locale_br-fr.js 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. "A.M.",
  8. "G.M."
  9. ],
  10. "DAY": [
  11. "Sul",
  12. "Lun",
  13. "Meurzh",
  14. "Merc\u02bcher",
  15. "Yaou",
  16. "Gwener",
  17. "Sadorn"
  18. ],
  19. "ERANAMES": [
  20. "a-raok Jezuz-Krist",
  21. "goude Jezuz-Krist"
  22. ],
  23. "ERAS": [
  24. "a-raok J.K.",
  25. "goude J.K."
  26. ],
  27. "FIRSTDAYOFWEEK": 0,
  28. "MONTH": [
  29. "Genver",
  30. "C\u02bchwevrer",
  31. "Meurzh",
  32. "Ebrel",
  33. "Mae",
  34. "Mezheven",
  35. "Gouere",
  36. "Eost",
  37. "Gwengolo",
  38. "Here",
  39. "Du",
  40. "Kerzu"
  41. ],
  42. "SHORTDAY": [
  43. "Sul",
  44. "Lun",
  45. "Meu.",
  46. "Mer.",
  47. "Yaou",
  48. "Gwe.",
  49. "Sad."
  50. ],
  51. "SHORTMONTH": [
  52. "Gen.",
  53. "C\u02bchwe.",
  54. "Meur.",
  55. "Ebr.",
  56. "Mae",
  57. "Mezh.",
  58. "Goue.",
  59. "Eost",
  60. "Gwen.",
  61. "Here",
  62. "Du",
  63. "Kzu."
  64. ],
  65. "STANDALONEMONTH": [
  66. "Genver",
  67. "C\u02bchwevrer",
  68. "Meurzh",
  69. "Ebrel",
  70. "Mae",
  71. "Mezheven",
  72. "Gouere",
  73. "Eost",
  74. "Gwengolo",
  75. "Here",
  76. "Du",
  77. "Kerzu"
  78. ],
  79. "WEEKENDRANGE": [
  80. 5,
  81. 6
  82. ],
  83. "fullDate": "y MMMM d, EEEE",
  84. "longDate": "y MMMM d",
  85. "medium": "y MMM d HH:mm:ss",
  86. "mediumDate": "y MMM d",
  87. "mediumTime": "HH:mm:ss",
  88. "short": "y-MM-dd HH:mm",
  89. "shortDate": "y-MM-dd",
  90. "shortTime": "HH:mm"
  91. },
  92. "NUMBER_FORMATS": {
  93. "CURRENCY_SYM": "\u20ac",
  94. "DECIMAL_SEP": ",",
  95. "GROUP_SEP": "\u00a0",
  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": "-",
  115. "negSuf": "\u00a0\u00a4",
  116. "posPre": "",
  117. "posSuf": "\u00a0\u00a4"
  118. }
  119. ]
  120. },
  121. "id": "br-fr",
  122. "localeID": "br_FR",
  123. "pluralCat": function (n, opt_precision) {
  124. if (n % 10 == 1 && n % 100 != 11 && n % 100 != 71 && n % 100 != 91) {
  125. return PLURAL_CATEGORY.ONE;
  126. }
  127. if (n % 10 == 2 && n % 100 != 12 && n % 100 != 72 && n % 100 != 92) {
  128. return PLURAL_CATEGORY.TWO;
  129. }
  130. if ((n % 10 >= 3 && n % 10 <= 4 || n % 10 == 9) && (n % 100 < 10 || n % 100 > 19) && (n % 100 < 70 || n % 100 > 79) && (n % 100 < 90 || n % 100 > 99)) {
  131. return PLURAL_CATEGORY.FEW;
  132. }
  133. if (n != 0 && n % 1000000 == 0) {
  134. return PLURAL_CATEGORY.MANY;
  135. }
  136. return PLURAL_CATEGORY.OTHER;
  137. }
  138. });
  139. }]);