locale.py 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. from __future__ import annotations
  2. from pendulum.locales.it.custom import translations as custom_translations
  3. """
  4. it 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 == 1)) and (0 == 0 and (0 == 0)))
  10. else "other",
  11. "ordinal": lambda n: "many"
  12. if (n == n and ((n == 11) or (n == 8) or (n == 80) or (n == 800)))
  13. else "other",
  14. "translations": {
  15. "days": {
  16. "abbreviated": {
  17. 0: "lun",
  18. 1: "mar",
  19. 2: "mer",
  20. 3: "gio",
  21. 4: "ven",
  22. 5: "sab",
  23. 6: "dom",
  24. },
  25. "narrow": {0: "L", 1: "M", 2: "M", 3: "G", 4: "V", 5: "S", 6: "D"},
  26. "short": {
  27. 0: "lun",
  28. 1: "mar",
  29. 2: "mer",
  30. 3: "gio",
  31. 4: "ven",
  32. 5: "sab",
  33. 6: "dom",
  34. },
  35. "wide": {
  36. 0: "lunedì",
  37. 1: "martedì",
  38. 2: "mercoledì",
  39. 3: "giovedì",
  40. 4: "venerdì",
  41. 5: "sabato",
  42. 6: "domenica",
  43. },
  44. },
  45. "months": {
  46. "abbreviated": {
  47. 1: "gen",
  48. 2: "feb",
  49. 3: "mar",
  50. 4: "apr",
  51. 5: "mag",
  52. 6: "giu",
  53. 7: "lug",
  54. 8: "ago",
  55. 9: "set",
  56. 10: "ott",
  57. 11: "nov",
  58. 12: "dic",
  59. },
  60. "narrow": {
  61. 1: "G",
  62. 2: "F",
  63. 3: "M",
  64. 4: "A",
  65. 5: "M",
  66. 6: "G",
  67. 7: "L",
  68. 8: "A",
  69. 9: "S",
  70. 10: "O",
  71. 11: "N",
  72. 12: "D",
  73. },
  74. "wide": {
  75. 1: "gennaio",
  76. 2: "febbraio",
  77. 3: "marzo",
  78. 4: "aprile",
  79. 5: "maggio",
  80. 6: "giugno",
  81. 7: "luglio",
  82. 8: "agosto",
  83. 9: "settembre",
  84. 10: "ottobre",
  85. 11: "novembre",
  86. 12: "dicembre",
  87. },
  88. },
  89. "units": {
  90. "year": {"one": "{0} anno", "other": "{0} anni"},
  91. "month": {"one": "{0} mese", "other": "{0} mesi"},
  92. "week": {"one": "{0} settimana", "other": "{0} settimane"},
  93. "day": {"one": "{0} giorno", "other": "{0} giorni"},
  94. "hour": {"one": "{0} ora", "other": "{0} ore"},
  95. "minute": {"one": "{0} minuto", "other": "{0} minuti"},
  96. "second": {"one": "{0} secondo", "other": "{0} secondi"},
  97. "microsecond": {"one": "{0} microsecondo", "other": "{0} microsecondi"},
  98. },
  99. "relative": {
  100. "year": {
  101. "future": {"other": "tra {0} anni", "one": "tra {0} anno"},
  102. "past": {"other": "{0} anni fa", "one": "{0} anno fa"},
  103. },
  104. "month": {
  105. "future": {"other": "tra {0} mesi", "one": "tra {0} mese"},
  106. "past": {"other": "{0} mesi fa", "one": "{0} mese fa"},
  107. },
  108. "week": {
  109. "future": {"other": "tra {0} settimane", "one": "tra {0} settimana"},
  110. "past": {"other": "{0} settimane fa", "one": "{0} settimana fa"},
  111. },
  112. "day": {
  113. "future": {"other": "tra {0} giorni", "one": "tra {0} giorno"},
  114. "past": {"other": "{0} giorni fa", "one": "{0} giorno fa"},
  115. },
  116. "hour": {
  117. "future": {"other": "tra {0} ore", "one": "tra {0} ora"},
  118. "past": {"other": "{0} ore fa", "one": "{0} ora fa"},
  119. },
  120. "minute": {
  121. "future": {"other": "tra {0} minuti", "one": "tra {0} minuto"},
  122. "past": {"other": "{0} minuti fa", "one": "{0} minuto fa"},
  123. },
  124. "second": {
  125. "future": {"other": "tra {0} secondi", "one": "tra {0} secondo"},
  126. "past": {"other": "{0} secondi fa", "one": "{0} secondo fa"},
  127. },
  128. },
  129. "day_periods": {
  130. "midnight": "mezzanotte",
  131. "am": "AM",
  132. "noon": "mezzogiorno",
  133. "pm": "PM",
  134. "morning1": "di mattina",
  135. "afternoon1": "del pomeriggio",
  136. "evening1": "di sera",
  137. "night1": "di notte",
  138. },
  139. "week_data": {
  140. "min_days": 1,
  141. "first_day": 0,
  142. "weekend_start": 5,
  143. "weekend_end": 6,
  144. },
  145. },
  146. "custom": custom_translations,
  147. }