locale.py 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. from __future__ import annotations
  2. from pendulum.locales.pt_br.custom import translations as custom_translations
  3. """
  4. pt_br locale file.
  5. It has been generated automatically and must not be modified directly.
  6. """
  7. locale = {
  8. "plural": lambda n: "one"
  9. if ((n == n and (n >= 0 and n <= 2)) and (not (n == n and (n == 2))))
  10. else "other",
  11. "ordinal": lambda n: "other",
  12. "translations": {
  13. "days": {
  14. "abbreviated": {
  15. 0: "seg",
  16. 1: "ter",
  17. 2: "qua",
  18. 3: "qui",
  19. 4: "sex",
  20. 5: "sáb",
  21. 6: "dom",
  22. },
  23. "narrow": {0: "S", 1: "T", 2: "Q", 3: "Q", 4: "S", 5: "S", 6: "D"},
  24. "short": {
  25. 0: "seg",
  26. 1: "ter",
  27. 2: "qua",
  28. 3: "qui",
  29. 4: "sex",
  30. 5: "sáb",
  31. 6: "dom",
  32. },
  33. "wide": {
  34. 0: "segunda-feira",
  35. 1: "terça-feira",
  36. 2: "quarta-feira",
  37. 3: "quinta-feira",
  38. 4: "sexta-feira",
  39. 5: "sábado",
  40. 6: "domingo",
  41. },
  42. },
  43. "months": {
  44. "abbreviated": {
  45. 1: "jan",
  46. 2: "fev",
  47. 3: "mar",
  48. 4: "abr",
  49. 5: "mai",
  50. 6: "jun",
  51. 7: "jul",
  52. 8: "ago",
  53. 9: "set",
  54. 10: "out",
  55. 11: "nov",
  56. 12: "dez",
  57. },
  58. "narrow": {
  59. 1: "J",
  60. 2: "F",
  61. 3: "M",
  62. 4: "A",
  63. 5: "M",
  64. 6: "J",
  65. 7: "J",
  66. 8: "A",
  67. 9: "S",
  68. 10: "O",
  69. 11: "N",
  70. 12: "D",
  71. },
  72. "wide": {
  73. 1: "janeiro",
  74. 2: "fevereiro",
  75. 3: "março",
  76. 4: "abril",
  77. 5: "maio",
  78. 6: "junho",
  79. 7: "julho",
  80. 8: "agosto",
  81. 9: "setembro",
  82. 10: "outubro",
  83. 11: "novembro",
  84. 12: "dezembro",
  85. },
  86. },
  87. "units": {
  88. "year": {"one": "{0} ano", "other": "{0} anos"},
  89. "month": {"one": "{0} mês", "other": "{0} meses"},
  90. "week": {"one": "{0} semana", "other": "{0} semanas"},
  91. "day": {"one": "{0} dia", "other": "{0} dias"},
  92. "hour": {"one": "{0} hora", "other": "{0} horas"},
  93. "minute": {"one": "{0} minuto", "other": "{0} minutos"},
  94. "second": {"one": "{0} segundo", "other": "{0} segundos"},
  95. "microsecond": {"one": "{0} microssegundo", "other": "{0} microssegundos"},
  96. },
  97. "relative": {
  98. "year": {
  99. "future": {"other": "em {0} anos", "one": "em {0} ano"},
  100. "past": {"other": "há {0} anos", "one": "há {0} ano"},
  101. },
  102. "month": {
  103. "future": {"other": "em {0} meses", "one": "em {0} mês"},
  104. "past": {"other": "há {0} meses", "one": "há {0} mês"},
  105. },
  106. "week": {
  107. "future": {"other": "em {0} semanas", "one": "em {0} semana"},
  108. "past": {"other": "há {0} semanas", "one": "há {0} semana"},
  109. },
  110. "day": {
  111. "future": {"other": "em {0} dias", "one": "em {0} dia"},
  112. "past": {"other": "há {0} dias", "one": "há {0} dia"},
  113. },
  114. "hour": {
  115. "future": {"other": "em {0} horas", "one": "em {0} hora"},
  116. "past": {"other": "há {0} horas", "one": "há {0} hora"},
  117. },
  118. "minute": {
  119. "future": {"other": "em {0} minutos", "one": "em {0} minuto"},
  120. "past": {"other": "há {0} minutos", "one": "há {0} minuto"},
  121. },
  122. "second": {
  123. "future": {"other": "em {0} segundos", "one": "em {0} segundo"},
  124. "past": {"other": "há {0} segundos", "one": "há {0} segundo"},
  125. },
  126. },
  127. "day_periods": {
  128. "midnight": "meia-noite",
  129. "am": "AM",
  130. "noon": "meio-dia",
  131. "pm": "PM",
  132. "morning1": "da manhã",
  133. "afternoon1": "da tarde",
  134. "evening1": "da noite",
  135. "night1": "da madrugada",
  136. },
  137. "week_data": {
  138. "min_days": 1,
  139. "first_day": 6,
  140. "weekend_start": 5,
  141. "weekend_end": 6,
  142. },
  143. },
  144. "custom": custom_translations,
  145. }