locale.py 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. from __future__ import annotations
  2. from pendulum.locales.pl.custom import translations as custom_translations
  3. """
  4. pl locale file.
  5. It has been generated automatically and must not be modified directly.
  6. """
  7. locale = {
  8. "plural": lambda n: "few"
  9. if (
  10. (
  11. (0 == 0 and (0 == 0))
  12. and ((n % 10) == (n % 10) and ((n % 10) >= 2 and (n % 10) <= 4))
  13. )
  14. and (not ((n % 100) == (n % 100) and ((n % 100) >= 12 and (n % 100) <= 14)))
  15. )
  16. else "many"
  17. if (
  18. (
  19. (
  20. ((0 == 0 and (0 == 0)) and (not (n == n and (n == 1))))
  21. and ((n % 10) == (n % 10) and ((n % 10) >= 0 and (n % 10) <= 1))
  22. )
  23. or (
  24. (0 == 0 and (0 == 0))
  25. and ((n % 10) == (n % 10) and ((n % 10) >= 5 and (n % 10) <= 9))
  26. )
  27. )
  28. or (
  29. (0 == 0 and (0 == 0))
  30. and ((n % 100) == (n % 100) and ((n % 100) >= 12 and (n % 100) <= 14))
  31. )
  32. )
  33. else "one"
  34. if ((n == n and (n == 1)) and (0 == 0 and (0 == 0)))
  35. else "other",
  36. "ordinal": lambda n: "other",
  37. "translations": {
  38. "days": {
  39. "abbreviated": {
  40. 0: "pon.",
  41. 1: "wt.",
  42. 2: "śr.",
  43. 3: "czw.",
  44. 4: "pt.",
  45. 5: "sob.",
  46. 6: "niedz.",
  47. },
  48. "narrow": {0: "p", 1: "w", 2: "ś", 3: "c", 4: "p", 5: "s", 6: "n"},
  49. "short": {
  50. 0: "pon",
  51. 1: "wto",
  52. 2: "śro",
  53. 3: "czw",
  54. 4: "pią",
  55. 5: "sob",
  56. 6: "nie",
  57. },
  58. "wide": {
  59. 0: "poniedziałek",
  60. 1: "wtorek",
  61. 2: "środa",
  62. 3: "czwartek",
  63. 4: "piątek",
  64. 5: "sobota",
  65. 6: "niedziela",
  66. },
  67. },
  68. "months": {
  69. "abbreviated": {
  70. 1: "sty",
  71. 2: "lut",
  72. 3: "mar",
  73. 4: "kwi",
  74. 5: "maj",
  75. 6: "cze",
  76. 7: "lip",
  77. 8: "sie",
  78. 9: "wrz",
  79. 10: "paź",
  80. 11: "lis",
  81. 12: "gru",
  82. },
  83. "narrow": {
  84. 1: "s",
  85. 2: "l",
  86. 3: "m",
  87. 4: "k",
  88. 5: "m",
  89. 6: "c",
  90. 7: "l",
  91. 8: "s",
  92. 9: "w",
  93. 10: "p",
  94. 11: "l",
  95. 12: "g",
  96. },
  97. "wide": {
  98. 1: "stycznia",
  99. 2: "lutego",
  100. 3: "marca",
  101. 4: "kwietnia",
  102. 5: "maja",
  103. 6: "czerwca",
  104. 7: "lipca",
  105. 8: "sierpnia",
  106. 9: "września",
  107. 10: "października",
  108. 11: "listopada",
  109. 12: "grudnia",
  110. },
  111. },
  112. "units": {
  113. "year": {
  114. "one": "{0} rok",
  115. "few": "{0} lata",
  116. "many": "{0} lat",
  117. "other": "{0} roku",
  118. },
  119. "month": {
  120. "one": "{0} miesiąc",
  121. "few": "{0} miesiące",
  122. "many": "{0} miesięcy",
  123. "other": "{0} miesiąca",
  124. },
  125. "week": {
  126. "one": "{0} tydzień",
  127. "few": "{0} tygodnie",
  128. "many": "{0} tygodni",
  129. "other": "{0} tygodnia",
  130. },
  131. "day": {
  132. "one": "{0} dzień",
  133. "few": "{0} dni",
  134. "many": "{0} dni",
  135. "other": "{0} dnia",
  136. },
  137. "hour": {
  138. "one": "{0} godzina",
  139. "few": "{0} godziny",
  140. "many": "{0} godzin",
  141. "other": "{0} godziny",
  142. },
  143. "minute": {
  144. "one": "{0} minuta",
  145. "few": "{0} minuty",
  146. "many": "{0} minut",
  147. "other": "{0} minuty",
  148. },
  149. "second": {
  150. "one": "{0} sekunda",
  151. "few": "{0} sekundy",
  152. "many": "{0} sekund",
  153. "other": "{0} sekundy",
  154. },
  155. "microsecond": {
  156. "one": "{0} mikrosekunda",
  157. "few": "{0} mikrosekundy",
  158. "many": "{0} mikrosekund",
  159. "other": "{0} mikrosekundy",
  160. },
  161. },
  162. "relative": {
  163. "year": {
  164. "future": {
  165. "other": "za {0} roku",
  166. "one": "za {0} rok",
  167. "few": "za {0} lata",
  168. "many": "za {0} lat",
  169. },
  170. "past": {
  171. "other": "{0} roku temu",
  172. "one": "{0} rok temu",
  173. "few": "{0} lata temu",
  174. "many": "{0} lat temu",
  175. },
  176. },
  177. "month": {
  178. "future": {
  179. "other": "za {0} miesiąca",
  180. "one": "za {0} miesiąc",
  181. "few": "za {0} miesiące",
  182. "many": "za {0} miesięcy",
  183. },
  184. "past": {
  185. "other": "{0} miesiąca temu",
  186. "one": "{0} miesiąc temu",
  187. "few": "{0} miesiące temu",
  188. "many": "{0} miesięcy temu",
  189. },
  190. },
  191. "week": {
  192. "future": {
  193. "other": "za {0} tygodnia",
  194. "one": "za {0} tydzień",
  195. "few": "za {0} tygodnie",
  196. "many": "za {0} tygodni",
  197. },
  198. "past": {
  199. "other": "{0} tygodnia temu",
  200. "one": "{0} tydzień temu",
  201. "few": "{0} tygodnie temu",
  202. "many": "{0} tygodni temu",
  203. },
  204. },
  205. "day": {
  206. "future": {
  207. "other": "za {0} dnia",
  208. "one": "za {0} dzień",
  209. "few": "za {0} dni",
  210. "many": "za {0} dni",
  211. },
  212. "past": {
  213. "other": "{0} dnia temu",
  214. "one": "{0} dzień temu",
  215. "few": "{0} dni temu",
  216. "many": "{0} dni temu",
  217. },
  218. },
  219. "hour": {
  220. "future": {
  221. "other": "za {0} godziny",
  222. "one": "za {0} godzinę",
  223. "few": "za {0} godziny",
  224. "many": "za {0} godzin",
  225. },
  226. "past": {
  227. "other": "{0} godziny temu",
  228. "one": "{0} godzinę temu",
  229. "few": "{0} godziny temu",
  230. "many": "{0} godzin temu",
  231. },
  232. },
  233. "minute": {
  234. "future": {
  235. "other": "za {0} minuty",
  236. "one": "za {0} minutę",
  237. "few": "za {0} minuty",
  238. "many": "za {0} minut",
  239. },
  240. "past": {
  241. "other": "{0} minuty temu",
  242. "one": "{0} minutę temu",
  243. "few": "{0} minuty temu",
  244. "many": "{0} minut temu",
  245. },
  246. },
  247. "second": {
  248. "future": {
  249. "other": "za {0} sekundy",
  250. "one": "za {0} sekundę",
  251. "few": "za {0} sekundy",
  252. "many": "za {0} sekund",
  253. },
  254. "past": {
  255. "other": "{0} sekundy temu",
  256. "one": "{0} sekundę temu",
  257. "few": "{0} sekundy temu",
  258. "many": "{0} sekund temu",
  259. },
  260. },
  261. },
  262. "day_periods": {
  263. "midnight": "o północy",
  264. "am": "AM",
  265. "noon": "w południe",
  266. "pm": "PM",
  267. "morning1": "rano",
  268. "morning2": "przed południem",
  269. "afternoon1": "po południu",
  270. "evening1": "wieczorem",
  271. "night1": "w nocy",
  272. },
  273. "week_data": {
  274. "min_days": 1,
  275. "first_day": 0,
  276. "weekend_start": 5,
  277. "weekend_end": 6,
  278. },
  279. },
  280. "custom": custom_translations,
  281. }