locale.py 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. from __future__ import annotations
  2. from pendulum.locales.es.custom import translations as custom_translations
  3. """
  4. es locale file.
  5. It has been generated automatically and must not be modified directly.
  6. """
  7. locale = {
  8. "plural": lambda n: "one" if (n == n and (n == 1)) else "other",
  9. "ordinal": lambda n: "other",
  10. "translations": {
  11. "days": {
  12. "abbreviated": {
  13. 0: "lun.",
  14. 1: "mar.",
  15. 2: "mié.",
  16. 3: "jue.",
  17. 4: "vie.",
  18. 5: "sáb.",
  19. 6: "dom.",
  20. },
  21. "narrow": {0: "L", 1: "M", 2: "X", 3: "J", 4: "V", 5: "S", 6: "D"},
  22. "short": {0: "LU", 1: "MA", 2: "MI", 3: "JU", 4: "VI", 5: "SA", 6: "DO"},
  23. "wide": {
  24. 0: "lunes",
  25. 1: "martes",
  26. 2: "miércoles",
  27. 3: "jueves",
  28. 4: "viernes",
  29. 5: "sábado",
  30. 6: "domingo",
  31. },
  32. },
  33. "months": {
  34. "abbreviated": {
  35. 1: "ene.",
  36. 2: "feb.",
  37. 3: "mar.",
  38. 4: "abr.",
  39. 5: "may.",
  40. 6: "jun.",
  41. 7: "jul.",
  42. 8: "ago.",
  43. 9: "sept.",
  44. 10: "oct.",
  45. 11: "nov.",
  46. 12: "dic.",
  47. },
  48. "narrow": {
  49. 1: "E",
  50. 2: "F",
  51. 3: "M",
  52. 4: "A",
  53. 5: "M",
  54. 6: "J",
  55. 7: "J",
  56. 8: "A",
  57. 9: "S",
  58. 10: "O",
  59. 11: "N",
  60. 12: "D",
  61. },
  62. "wide": {
  63. 1: "enero",
  64. 2: "febrero",
  65. 3: "marzo",
  66. 4: "abril",
  67. 5: "mayo",
  68. 6: "junio",
  69. 7: "julio",
  70. 8: "agosto",
  71. 9: "septiembre",
  72. 10: "octubre",
  73. 11: "noviembre",
  74. 12: "diciembre",
  75. },
  76. },
  77. "units": {
  78. "year": {"one": "{0} año", "other": "{0} años"},
  79. "month": {"one": "{0} mes", "other": "{0} meses"},
  80. "week": {"one": "{0} semana", "other": "{0} semanas"},
  81. "day": {"one": "{0} día", "other": "{0} días"},
  82. "hour": {"one": "{0} hora", "other": "{0} horas"},
  83. "minute": {"one": "{0} minuto", "other": "{0} minutos"},
  84. "second": {"one": "{0} segundo", "other": "{0} segundos"},
  85. "microsecond": {"one": "{0} microsegundo", "other": "{0} microsegundos"},
  86. },
  87. "relative": {
  88. "year": {
  89. "future": {"other": "dentro de {0} años", "one": "dentro de {0} año"},
  90. "past": {"other": "hace {0} años", "one": "hace {0} año"},
  91. },
  92. "month": {
  93. "future": {"other": "dentro de {0} meses", "one": "dentro de {0} mes"},
  94. "past": {"other": "hace {0} meses", "one": "hace {0} mes"},
  95. },
  96. "week": {
  97. "future": {
  98. "other": "dentro de {0} semanas",
  99. "one": "dentro de {0} semana",
  100. },
  101. "past": {"other": "hace {0} semanas", "one": "hace {0} semana"},
  102. },
  103. "day": {
  104. "future": {"other": "dentro de {0} días", "one": "dentro de {0} día"},
  105. "past": {"other": "hace {0} días", "one": "hace {0} día"},
  106. },
  107. "hour": {
  108. "future": {"other": "dentro de {0} horas", "one": "dentro de {0} hora"},
  109. "past": {"other": "hace {0} horas", "one": "hace {0} hora"},
  110. },
  111. "minute": {
  112. "future": {
  113. "other": "dentro de {0} minutos",
  114. "one": "dentro de {0} minuto",
  115. },
  116. "past": {"other": "hace {0} minutos", "one": "hace {0} minuto"},
  117. },
  118. "second": {
  119. "future": {
  120. "other": "dentro de {0} segundos",
  121. "one": "dentro de {0} segundo",
  122. },
  123. "past": {"other": "hace {0} segundos", "one": "hace {0} segundo"},
  124. },
  125. },
  126. "day_periods": {
  127. "am": "a. m.",
  128. "noon": "del mediodía",
  129. "pm": "p. m.",
  130. "morning1": "de la madrugada",
  131. "morning2": "de la mañana",
  132. "evening1": "de la tarde",
  133. "night1": "de la noche",
  134. },
  135. "week_data": {
  136. "min_days": 1,
  137. "first_day": 0,
  138. "weekend_start": 5,
  139. "weekend_end": 6,
  140. },
  141. },
  142. "custom": custom_translations,
  143. }