wagtail 6.1.1__py3-none-any.whl → 6.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. wagtail/__init__.py +1 -1
  2. wagtail/admin/locale/ar/LC_MESSAGES/django.po +2 -2
  3. wagtail/admin/locale/be/LC_MESSAGES/django.po +7 -7
  4. wagtail/admin/locale/be/LC_MESSAGES/djangojs.po +3 -3
  5. wagtail/admin/locale/ca/LC_MESSAGES/django.po +49 -50
  6. wagtail/admin/locale/cs/LC_MESSAGES/django.po +8 -10
  7. wagtail/admin/locale/de/LC_MESSAGES/django.po +47 -49
  8. wagtail/admin/locale/dv/LC_MESSAGES/django.po +8 -8
  9. wagtail/admin/locale/el/LC_MESSAGES/django.po +4 -4
  10. wagtail/admin/locale/es/LC_MESSAGES/django.po +39 -40
  11. wagtail/admin/locale/es_419/LC_MESSAGES/django.po +8 -8
  12. wagtail/admin/locale/et/LC_MESSAGES/django.po +12 -14
  13. wagtail/admin/locale/fa/LC_MESSAGES/django.po +18 -18
  14. wagtail/admin/locale/fi/LC_MESSAGES/django.po +18 -18
  15. wagtail/admin/locale/fr/LC_MESSAGES/django.po +44 -46
  16. wagtail/admin/locale/gl/LC_MESSAGES/django.po +54 -55
  17. wagtail/admin/locale/hr_HR/LC_MESSAGES/django.po +12 -13
  18. wagtail/admin/locale/hr_HR/LC_MESSAGES/djangojs.po +2 -2
  19. wagtail/admin/locale/hu/LC_MESSAGES/django.po +42 -45
  20. wagtail/admin/locale/id_ID/LC_MESSAGES/django.po +6 -6
  21. wagtail/admin/locale/is_IS/LC_MESSAGES/django.mo +0 -0
  22. wagtail/admin/locale/is_IS/LC_MESSAGES/django.po +277 -53
  23. wagtail/admin/locale/it/LC_MESSAGES/django.po +55 -56
  24. wagtail/admin/locale/ja/LC_MESSAGES/django.po +2 -2
  25. wagtail/admin/locale/ko/LC_MESSAGES/django.po +17 -18
  26. wagtail/admin/locale/lt/LC_MESSAGES/django.po +4 -4
  27. wagtail/admin/locale/nb/LC_MESSAGES/django.po +22 -22
  28. wagtail/admin/locale/nl/LC_MESSAGES/django.po +41 -44
  29. wagtail/admin/locale/pl/LC_MESSAGES/django.po +47 -49
  30. wagtail/admin/locale/pl/LC_MESSAGES/djangojs.po +3 -3
  31. wagtail/admin/locale/pt_BR/LC_MESSAGES/django.po +25 -26
  32. wagtail/admin/locale/pt_PT/LC_MESSAGES/django.po +20 -21
  33. wagtail/admin/locale/ro/LC_MESSAGES/django.po +50 -51
  34. wagtail/admin/locale/ru/LC_MESSAGES/django.po +59 -60
  35. wagtail/admin/locale/ru/LC_MESSAGES/djangojs.po +3 -3
  36. wagtail/admin/locale/sk_SK/LC_MESSAGES/django.po +4 -4
  37. wagtail/admin/locale/sl/LC_MESSAGES/django.mo +0 -0
  38. wagtail/admin/locale/sl/LC_MESSAGES/django.po +120 -40
  39. wagtail/admin/locale/sl/LC_MESSAGES/djangojs.po +2 -2
  40. wagtail/admin/locale/sv/LC_MESSAGES/django.po +41 -43
  41. wagtail/admin/locale/tet/LC_MESSAGES/django.po +2 -2
  42. wagtail/admin/locale/th/LC_MESSAGES/django.po +4 -4
  43. wagtail/admin/locale/tr/LC_MESSAGES/django.po +4 -4
  44. wagtail/admin/locale/tr_TR/LC_MESSAGES/django.po +4 -4
  45. wagtail/admin/locale/uk/LC_MESSAGES/django.po +10 -11
  46. wagtail/admin/locale/zh_Hans/LC_MESSAGES/django.po +12 -13
  47. wagtail/admin/locale/zh_Hant/LC_MESSAGES/django.po +2 -2
  48. wagtail/admin/static/wagtailadmin/js/telepath/widgets.js +1 -1
  49. wagtail/contrib/forms/locale/be/LC_MESSAGES/django.po +3 -3
  50. wagtail/contrib/forms/locale/hr_HR/LC_MESSAGES/django.po +2 -2
  51. wagtail/contrib/forms/locale/pl/LC_MESSAGES/django.po +3 -3
  52. wagtail/contrib/forms/locale/ru/LC_MESSAGES/django.po +3 -3
  53. wagtail/contrib/forms/locale/sl/LC_MESSAGES/django.po +2 -2
  54. wagtail/contrib/redirects/locale/ar/LC_MESSAGES/django.po +4 -4
  55. wagtail/contrib/redirects/locale/be/LC_MESSAGES/django.po +3 -3
  56. wagtail/contrib/redirects/locale/bg/LC_MESSAGES/django.po +4 -4
  57. wagtail/contrib/redirects/locale/ca/LC_MESSAGES/django.po +4 -4
  58. wagtail/contrib/redirects/locale/cs/LC_MESSAGES/django.po +4 -4
  59. wagtail/contrib/redirects/locale/cy/LC_MESSAGES/django.po +6 -6
  60. wagtail/contrib/redirects/locale/de/LC_MESSAGES/django.po +4 -5
  61. wagtail/contrib/redirects/locale/el/LC_MESSAGES/django.po +7 -7
  62. wagtail/contrib/redirects/locale/es/LC_MESSAGES/django.po +6 -6
  63. wagtail/contrib/redirects/locale/et/LC_MESSAGES/django.po +4 -4
  64. wagtail/contrib/redirects/locale/fa/LC_MESSAGES/django.po +4 -4
  65. wagtail/contrib/redirects/locale/fi/LC_MESSAGES/django.po +6 -6
  66. wagtail/contrib/redirects/locale/fr/LC_MESSAGES/django.po +4 -4
  67. wagtail/contrib/redirects/locale/gl/LC_MESSAGES/django.po +4 -4
  68. wagtail/contrib/redirects/locale/hr_HR/LC_MESSAGES/django.po +8 -8
  69. wagtail/contrib/redirects/locale/hu/LC_MESSAGES/django.po +6 -6
  70. wagtail/contrib/redirects/locale/id_ID/LC_MESSAGES/django.po +4 -4
  71. wagtail/contrib/redirects/locale/is_IS/LC_MESSAGES/django.po +6 -6
  72. wagtail/contrib/redirects/locale/it/LC_MESSAGES/django.po +4 -4
  73. wagtail/contrib/redirects/locale/ja/LC_MESSAGES/django.po +2 -2
  74. wagtail/contrib/redirects/locale/ko/LC_MESSAGES/django.po +4 -4
  75. wagtail/contrib/redirects/locale/lt/LC_MESSAGES/django.po +4 -4
  76. wagtail/contrib/redirects/locale/mn/LC_MESSAGES/django.po +4 -4
  77. wagtail/contrib/redirects/locale/nb/LC_MESSAGES/django.po +4 -4
  78. wagtail/contrib/redirects/locale/nl/LC_MESSAGES/django.po +4 -4
  79. wagtail/contrib/redirects/locale/pl/LC_MESSAGES/django.po +9 -9
  80. wagtail/contrib/redirects/locale/pt_BR/LC_MESSAGES/django.po +4 -4
  81. wagtail/contrib/redirects/locale/pt_PT/LC_MESSAGES/django.po +4 -4
  82. wagtail/contrib/redirects/locale/ro/LC_MESSAGES/django.po +4 -4
  83. wagtail/contrib/redirects/locale/ru/LC_MESSAGES/django.po +7 -7
  84. wagtail/contrib/redirects/locale/sk_SK/LC_MESSAGES/django.po +4 -4
  85. wagtail/contrib/redirects/locale/sl/LC_MESSAGES/django.po +6 -6
  86. wagtail/contrib/redirects/locale/sr/LC_MESSAGES/django.po +2 -2
  87. wagtail/contrib/redirects/locale/sv/LC_MESSAGES/django.po +4 -4
  88. wagtail/contrib/redirects/locale/tet/LC_MESSAGES/django.po +4 -4
  89. wagtail/contrib/redirects/locale/th/LC_MESSAGES/django.po +4 -4
  90. wagtail/contrib/redirects/locale/tr/LC_MESSAGES/django.po +4 -4
  91. wagtail/contrib/redirects/locale/tr_TR/LC_MESSAGES/django.po +4 -4
  92. wagtail/contrib/redirects/locale/uk/LC_MESSAGES/django.po +4 -4
  93. wagtail/contrib/redirects/locale/zh/LC_MESSAGES/django.po +4 -4
  94. wagtail/contrib/redirects/locale/zh_Hans/LC_MESSAGES/django.po +4 -4
  95. wagtail/contrib/redirects/locale/zh_Hant/LC_MESSAGES/django.po +4 -4
  96. wagtail/contrib/search_promotions/locale/ar/LC_MESSAGES/django.po +4 -4
  97. wagtail/contrib/search_promotions/locale/be/LC_MESSAGES/django.po +7 -7
  98. wagtail/contrib/search_promotions/locale/ca/LC_MESSAGES/django.po +8 -8
  99. wagtail/contrib/search_promotions/locale/cs/LC_MESSAGES/django.po +2 -2
  100. wagtail/contrib/search_promotions/locale/cy/LC_MESSAGES/django.po +4 -4
  101. wagtail/contrib/search_promotions/locale/de/LC_MESSAGES/django.po +6 -6
  102. wagtail/contrib/search_promotions/locale/el/LC_MESSAGES/django.po +4 -4
  103. wagtail/contrib/search_promotions/locale/es/LC_MESSAGES/django.po +6 -6
  104. wagtail/contrib/search_promotions/locale/et/LC_MESSAGES/django.po +4 -4
  105. wagtail/contrib/search_promotions/locale/fa/LC_MESSAGES/django.po +4 -4
  106. wagtail/contrib/search_promotions/locale/fi/LC_MESSAGES/django.po +6 -6
  107. wagtail/contrib/search_promotions/locale/fr/LC_MESSAGES/django.po +4 -4
  108. wagtail/contrib/search_promotions/locale/gl/LC_MESSAGES/django.po +6 -6
  109. wagtail/contrib/search_promotions/locale/hr_HR/LC_MESSAGES/django.po +8 -8
  110. wagtail/contrib/search_promotions/locale/hu/LC_MESSAGES/django.po +4 -4
  111. wagtail/contrib/search_promotions/locale/id_ID/LC_MESSAGES/django.po +4 -4
  112. wagtail/contrib/search_promotions/locale/is_IS/LC_MESSAGES/django.mo +0 -0
  113. wagtail/contrib/search_promotions/locale/is_IS/LC_MESSAGES/django.po +14 -10
  114. wagtail/contrib/search_promotions/locale/it/LC_MESSAGES/django.po +6 -6
  115. wagtail/contrib/search_promotions/locale/ja/LC_MESSAGES/django.po +4 -4
  116. wagtail/contrib/search_promotions/locale/ko/LC_MESSAGES/django.po +4 -4
  117. wagtail/contrib/search_promotions/locale/lt/LC_MESSAGES/django.po +6 -6
  118. wagtail/contrib/search_promotions/locale/nb/LC_MESSAGES/django.po +4 -4
  119. wagtail/contrib/search_promotions/locale/nl/LC_MESSAGES/django.po +6 -6
  120. wagtail/contrib/search_promotions/locale/pl/LC_MESSAGES/django.po +9 -9
  121. wagtail/contrib/search_promotions/locale/pt_BR/LC_MESSAGES/django.po +4 -4
  122. wagtail/contrib/search_promotions/locale/pt_PT/LC_MESSAGES/django.po +4 -4
  123. wagtail/contrib/search_promotions/locale/ro/LC_MESSAGES/django.po +4 -4
  124. wagtail/contrib/search_promotions/locale/ru/LC_MESSAGES/django.po +9 -9
  125. wagtail/contrib/search_promotions/locale/sk_SK/LC_MESSAGES/django.po +4 -4
  126. wagtail/contrib/search_promotions/locale/sl/LC_MESSAGES/django.po +6 -6
  127. wagtail/contrib/search_promotions/locale/sr/LC_MESSAGES/django.po +2 -2
  128. wagtail/contrib/search_promotions/locale/sv/LC_MESSAGES/django.po +4 -4
  129. wagtail/contrib/search_promotions/locale/th/LC_MESSAGES/django.po +4 -4
  130. wagtail/contrib/search_promotions/locale/tr/LC_MESSAGES/django.po +4 -4
  131. wagtail/contrib/search_promotions/locale/tr_TR/LC_MESSAGES/django.po +4 -4
  132. wagtail/contrib/search_promotions/locale/uk/LC_MESSAGES/django.po +4 -4
  133. wagtail/contrib/search_promotions/locale/zh_Hans/LC_MESSAGES/django.po +2 -2
  134. wagtail/contrib/search_promotions/locale/zh_Hant/LC_MESSAGES/django.po +2 -2
  135. wagtail/contrib/settings/locale/be/LC_MESSAGES/django.po +3 -3
  136. wagtail/contrib/settings/locale/hi/LC_MESSAGES/django.po +1 -1
  137. wagtail/contrib/settings/locale/hr_HR/LC_MESSAGES/django.po +2 -2
  138. wagtail/contrib/settings/locale/pl/LC_MESSAGES/django.po +3 -3
  139. wagtail/contrib/settings/locale/ru/LC_MESSAGES/django.po +3 -3
  140. wagtail/contrib/settings/locale/sl/LC_MESSAGES/django.po +2 -2
  141. wagtail/contrib/settings/locale/sr/LC_MESSAGES/django.po +2 -2
  142. wagtail/contrib/settings/tests/generic/test_admin.py +144 -16
  143. wagtail/contrib/settings/tests/site_specific/test_admin.py +142 -17
  144. wagtail/contrib/settings/views.py +3 -0
  145. wagtail/contrib/simple_translation/locale/be/LC_MESSAGES/django.po +3 -3
  146. wagtail/contrib/simple_translation/locale/hr_HR/LC_MESSAGES/django.po +2 -2
  147. wagtail/contrib/simple_translation/locale/pl/LC_MESSAGES/django.po +3 -3
  148. wagtail/contrib/simple_translation/locale/ru/LC_MESSAGES/django.po +3 -3
  149. wagtail/contrib/simple_translation/locale/sl/LC_MESSAGES/django.po +2 -2
  150. wagtail/contrib/styleguide/locale/be/LC_MESSAGES/django.po +3 -3
  151. wagtail/contrib/styleguide/locale/hr_HR/LC_MESSAGES/django.po +2 -2
  152. wagtail/contrib/styleguide/locale/pl/LC_MESSAGES/django.po +3 -3
  153. wagtail/contrib/styleguide/locale/ru/LC_MESSAGES/django.po +3 -3
  154. wagtail/contrib/styleguide/locale/sl/LC_MESSAGES/django.po +2 -2
  155. wagtail/contrib/styleguide/tests.py +33 -0
  156. wagtail/contrib/styleguide/views.py +4 -1
  157. wagtail/contrib/table_block/locale/be/LC_MESSAGES/django.po +3 -3
  158. wagtail/contrib/table_block/locale/hr_HR/LC_MESSAGES/django.po +2 -2
  159. wagtail/contrib/table_block/locale/is_IS/LC_MESSAGES/django.mo +0 -0
  160. wagtail/contrib/table_block/locale/is_IS/LC_MESSAGES/django.po +28 -2
  161. wagtail/contrib/table_block/locale/pl/LC_MESSAGES/django.po +3 -3
  162. wagtail/contrib/table_block/locale/ru/LC_MESSAGES/django.po +3 -3
  163. wagtail/contrib/table_block/locale/sl/LC_MESSAGES/django.po +2 -2
  164. wagtail/contrib/typed_table_block/locale/be/LC_MESSAGES/django.po +3 -3
  165. wagtail/contrib/typed_table_block/locale/is_IS/LC_MESSAGES/django.mo +0 -0
  166. wagtail/contrib/typed_table_block/locale/is_IS/LC_MESSAGES/django.po +12 -1
  167. wagtail/contrib/typed_table_block/locale/pl/LC_MESSAGES/django.po +3 -3
  168. wagtail/contrib/typed_table_block/locale/ru/LC_MESSAGES/django.po +3 -3
  169. wagtail/contrib/typed_table_block/locale/sl/LC_MESSAGES/django.po +2 -2
  170. wagtail/documents/locale/ar/LC_MESSAGES/django.po +8 -8
  171. wagtail/documents/locale/be/LC_MESSAGES/django.po +11 -11
  172. wagtail/documents/locale/bg/LC_MESSAGES/django.po +4 -4
  173. wagtail/documents/locale/ca/LC_MESSAGES/django.po +10 -10
  174. wagtail/documents/locale/cs/LC_MESSAGES/django.po +6 -6
  175. wagtail/documents/locale/de/LC_MESSAGES/django.po +8 -10
  176. wagtail/documents/locale/el/LC_MESSAGES/django.po +8 -8
  177. wagtail/documents/locale/es/LC_MESSAGES/django.po +8 -8
  178. wagtail/documents/locale/et/LC_MESSAGES/django.po +6 -6
  179. wagtail/documents/locale/fa/LC_MESSAGES/django.po +8 -8
  180. wagtail/documents/locale/fi/LC_MESSAGES/django.po +10 -10
  181. wagtail/documents/locale/fr/LC_MESSAGES/django.po +6 -6
  182. wagtail/documents/locale/gl/LC_MESSAGES/django.po +8 -8
  183. wagtail/documents/locale/hr_HR/LC_MESSAGES/django.po +14 -14
  184. wagtail/documents/locale/hu/LC_MESSAGES/django.po +12 -12
  185. wagtail/documents/locale/id_ID/LC_MESSAGES/django.po +6 -6
  186. wagtail/documents/locale/is_IS/LC_MESSAGES/django.mo +0 -0
  187. wagtail/documents/locale/is_IS/LC_MESSAGES/django.po +25 -10
  188. wagtail/documents/locale/it/LC_MESSAGES/django.po +8 -8
  189. wagtail/documents/locale/ja/LC_MESSAGES/django.po +8 -8
  190. wagtail/documents/locale/ko/LC_MESSAGES/django.po +8 -8
  191. wagtail/documents/locale/lt/LC_MESSAGES/django.po +8 -8
  192. wagtail/documents/locale/mi/LC_MESSAGES/django.po +10 -10
  193. wagtail/documents/locale/mn/LC_MESSAGES/django.po +4 -5
  194. wagtail/documents/locale/nb/LC_MESSAGES/django.po +6 -6
  195. wagtail/documents/locale/nl/LC_MESSAGES/django.po +8 -8
  196. wagtail/documents/locale/pl/LC_MESSAGES/django.po +11 -11
  197. wagtail/documents/locale/pt_BR/LC_MESSAGES/django.po +8 -8
  198. wagtail/documents/locale/pt_PT/LC_MESSAGES/django.po +8 -8
  199. wagtail/documents/locale/ro/LC_MESSAGES/django.po +8 -8
  200. wagtail/documents/locale/ru/LC_MESSAGES/django.po +9 -9
  201. wagtail/documents/locale/sk_SK/LC_MESSAGES/django.po +10 -10
  202. wagtail/documents/locale/sl/LC_MESSAGES/django.mo +0 -0
  203. wagtail/documents/locale/sl/LC_MESSAGES/django.po +21 -12
  204. wagtail/documents/locale/sr/LC_MESSAGES/django.po +2 -2
  205. wagtail/documents/locale/sv/LC_MESSAGES/django.po +6 -6
  206. wagtail/documents/locale/th/LC_MESSAGES/django.po +8 -8
  207. wagtail/documents/locale/tr/LC_MESSAGES/django.po +8 -8
  208. wagtail/documents/locale/tr_TR/LC_MESSAGES/django.po +8 -8
  209. wagtail/documents/locale/uk/LC_MESSAGES/django.po +8 -8
  210. wagtail/documents/locale/zh/LC_MESSAGES/django.po +2 -2
  211. wagtail/documents/locale/zh_Hans/LC_MESSAGES/django.po +4 -4
  212. wagtail/documents/locale/zh_Hant/LC_MESSAGES/django.po +4 -4
  213. wagtail/embeds/locale/be/LC_MESSAGES/django.po +3 -3
  214. wagtail/embeds/locale/hr_HR/LC_MESSAGES/django.po +2 -2
  215. wagtail/embeds/locale/pl/LC_MESSAGES/django.po +3 -3
  216. wagtail/embeds/locale/ru/LC_MESSAGES/django.po +3 -3
  217. wagtail/embeds/locale/sl/LC_MESSAGES/django.po +2 -2
  218. wagtail/images/locale/ar/LC_MESSAGES/django.po +6 -6
  219. wagtail/images/locale/be/LC_MESSAGES/django.po +3 -3
  220. wagtail/images/locale/ca/LC_MESSAGES/django.po +8 -8
  221. wagtail/images/locale/cs/LC_MESSAGES/django.po +8 -8
  222. wagtail/images/locale/cy/LC_MESSAGES/django.po +8 -8
  223. wagtail/images/locale/de/LC_MESSAGES/django.po +6 -6
  224. wagtail/images/locale/el/LC_MESSAGES/django.po +8 -8
  225. wagtail/images/locale/es/LC_MESSAGES/django.po +10 -10
  226. wagtail/images/locale/et/LC_MESSAGES/django.po +8 -8
  227. wagtail/images/locale/fa/LC_MESSAGES/django.po +8 -8
  228. wagtail/images/locale/fi/LC_MESSAGES/django.po +8 -8
  229. wagtail/images/locale/fr/LC_MESSAGES/django.po +6 -6
  230. wagtail/images/locale/gl/LC_MESSAGES/django.po +8 -8
  231. wagtail/images/locale/hr_HR/LC_MESSAGES/django.po +8 -8
  232. wagtail/images/locale/hu/LC_MESSAGES/django.po +8 -8
  233. wagtail/images/locale/id_ID/LC_MESSAGES/django.po +6 -6
  234. wagtail/images/locale/is_IS/LC_MESSAGES/django.mo +0 -0
  235. wagtail/images/locale/is_IS/LC_MESSAGES/django.po +36 -10
  236. wagtail/images/locale/it/LC_MESSAGES/django.po +8 -8
  237. wagtail/images/locale/ja/LC_MESSAGES/django.po +8 -8
  238. wagtail/images/locale/ko/LC_MESSAGES/django.po +6 -6
  239. wagtail/images/locale/lt/LC_MESSAGES/django.po +8 -8
  240. wagtail/images/locale/nb/LC_MESSAGES/django.po +8 -8
  241. wagtail/images/locale/nl/LC_MESSAGES/django.po +8 -8
  242. wagtail/images/locale/pl/LC_MESSAGES/django.po +11 -11
  243. wagtail/images/locale/pt_BR/LC_MESSAGES/django.po +8 -8
  244. wagtail/images/locale/pt_PT/LC_MESSAGES/django.po +8 -8
  245. wagtail/images/locale/ro/LC_MESSAGES/django.po +8 -8
  246. wagtail/images/locale/ru/LC_MESSAGES/django.po +11 -11
  247. wagtail/images/locale/sk_SK/LC_MESSAGES/django.po +8 -8
  248. wagtail/images/locale/sl/LC_MESSAGES/django.po +10 -10
  249. wagtail/images/locale/sv/LC_MESSAGES/django.po +6 -6
  250. wagtail/images/locale/tet/LC_MESSAGES/django.po +4 -4
  251. wagtail/images/locale/th/LC_MESSAGES/django.po +8 -8
  252. wagtail/images/locale/tr/LC_MESSAGES/django.po +6 -6
  253. wagtail/images/locale/tr_TR/LC_MESSAGES/django.po +6 -6
  254. wagtail/images/locale/uk/LC_MESSAGES/django.po +8 -8
  255. wagtail/images/locale/zh_Hans/LC_MESSAGES/django.po +4 -4
  256. wagtail/images/locale/zh_Hant/LC_MESSAGES/django.po +4 -4
  257. wagtail/locale/be/LC_MESSAGES/django.po +3 -3
  258. wagtail/locale/hr_HR/LC_MESSAGES/django.po +2 -2
  259. wagtail/locale/is_IS/LC_MESSAGES/django.mo +0 -0
  260. wagtail/locale/is_IS/LC_MESSAGES/django.po +22 -2
  261. wagtail/locale/pl/LC_MESSAGES/django.po +3 -3
  262. wagtail/locale/ru/LC_MESSAGES/django.po +3 -3
  263. wagtail/locale/sl/LC_MESSAGES/django.mo +0 -0
  264. wagtail/locale/sl/LC_MESSAGES/django.po +79 -2
  265. wagtail/locales/locale/be/LC_MESSAGES/django.po +3 -3
  266. wagtail/locales/locale/hr_HR/LC_MESSAGES/django.po +2 -2
  267. wagtail/locales/locale/it/LC_MESSAGES/django.mo +0 -0
  268. wagtail/locales/locale/it/LC_MESSAGES/django.po +16 -17
  269. wagtail/locales/locale/pl/LC_MESSAGES/django.po +3 -3
  270. wagtail/locales/locale/ru/LC_MESSAGES/django.po +3 -3
  271. wagtail/locales/locale/sl/LC_MESSAGES/django.po +2 -2
  272. wagtail/search/locale/be/LC_MESSAGES/django.po +3 -3
  273. wagtail/search/locale/hr_HR/LC_MESSAGES/django.po +2 -2
  274. wagtail/search/locale/pl/LC_MESSAGES/django.po +3 -3
  275. wagtail/search/locale/ru/LC_MESSAGES/django.po +3 -3
  276. wagtail/search/locale/sl/LC_MESSAGES/django.po +2 -2
  277. wagtail/sites/locale/be/LC_MESSAGES/django.po +3 -3
  278. wagtail/sites/locale/hr_HR/LC_MESSAGES/django.po +2 -2
  279. wagtail/sites/locale/pl/LC_MESSAGES/django.po +3 -3
  280. wagtail/sites/locale/ru/LC_MESSAGES/django.po +3 -3
  281. wagtail/sites/locale/sl/LC_MESSAGES/django.po +2 -2
  282. wagtail/sites/locale/sr/LC_MESSAGES/django.po +2 -2
  283. wagtail/snippets/locale/be/LC_MESSAGES/django.po +3 -3
  284. wagtail/snippets/locale/ca/LC_MESSAGES/django.po +6 -6
  285. wagtail/snippets/locale/de/LC_MESSAGES/django.po +5 -5
  286. wagtail/snippets/locale/es/LC_MESSAGES/django.po +6 -6
  287. wagtail/snippets/locale/fr/LC_MESSAGES/django.po +5 -5
  288. wagtail/snippets/locale/gl/LC_MESSAGES/django.po +6 -6
  289. wagtail/snippets/locale/hr_HR/LC_MESSAGES/django.po +8 -8
  290. wagtail/snippets/locale/hu/LC_MESSAGES/django.po +7 -7
  291. wagtail/snippets/locale/is_IS/LC_MESSAGES/django.po +5 -5
  292. wagtail/snippets/locale/it/LC_MESSAGES/django.po +5 -5
  293. wagtail/snippets/locale/ko/LC_MESSAGES/django.po +6 -6
  294. wagtail/snippets/locale/nb/LC_MESSAGES/django.po +6 -6
  295. wagtail/snippets/locale/nl/LC_MESSAGES/django.po +8 -8
  296. wagtail/snippets/locale/pl/LC_MESSAGES/django.po +9 -9
  297. wagtail/snippets/locale/ro/LC_MESSAGES/django.po +6 -6
  298. wagtail/snippets/locale/ru/LC_MESSAGES/django.po +8 -8
  299. wagtail/snippets/locale/sl/LC_MESSAGES/django.po +8 -8
  300. wagtail/snippets/locale/sr/LC_MESSAGES/django.po +2 -2
  301. wagtail/snippets/locale/sv/LC_MESSAGES/django.po +6 -6
  302. wagtail/test/testapp/templates/tests/icons/single-quotes.svg +1 -0
  303. wagtail/tests/test_blocks.py +27 -0
  304. wagtail/users/locale/ar/LC_MESSAGES/django.po +4 -4
  305. wagtail/users/locale/be/LC_MESSAGES/django.po +9 -9
  306. wagtail/users/locale/ca/LC_MESSAGES/django.po +8 -8
  307. wagtail/users/locale/cs/LC_MESSAGES/django.po +6 -6
  308. wagtail/users/locale/cy/LC_MESSAGES/django.po +8 -8
  309. wagtail/users/locale/de/LC_MESSAGES/django.po +8 -8
  310. wagtail/users/locale/el/LC_MESSAGES/django.po +4 -4
  311. wagtail/users/locale/es/LC_MESSAGES/django.po +8 -8
  312. wagtail/users/locale/et/LC_MESSAGES/django.po +8 -8
  313. wagtail/users/locale/fa/LC_MESSAGES/django.po +6 -6
  314. wagtail/users/locale/fi/LC_MESSAGES/django.po +8 -8
  315. wagtail/users/locale/fr/LC_MESSAGES/django.po +8 -8
  316. wagtail/users/locale/gl/LC_MESSAGES/django.po +8 -8
  317. wagtail/users/locale/hr_HR/LC_MESSAGES/django.po +10 -10
  318. wagtail/users/locale/hu/LC_MESSAGES/django.po +8 -8
  319. wagtail/users/locale/id_ID/LC_MESSAGES/django.po +4 -4
  320. wagtail/users/locale/is_IS/LC_MESSAGES/django.mo +0 -0
  321. wagtail/users/locale/is_IS/LC_MESSAGES/django.po +52 -10
  322. wagtail/users/locale/it/LC_MESSAGES/django.po +8 -8
  323. wagtail/users/locale/ja/LC_MESSAGES/django.po +4 -4
  324. wagtail/users/locale/ko/LC_MESSAGES/django.po +4 -4
  325. wagtail/users/locale/lt/LC_MESSAGES/django.po +4 -4
  326. wagtail/users/locale/lv/LC_MESSAGES/django.po +4 -4
  327. wagtail/users/locale/mn/LC_MESSAGES/django.po +4 -5
  328. wagtail/users/locale/nb/LC_MESSAGES/django.po +8 -8
  329. wagtail/users/locale/nl/LC_MESSAGES/django.po +6 -6
  330. wagtail/users/locale/pl/LC_MESSAGES/django.po +9 -9
  331. wagtail/users/locale/pt_BR/LC_MESSAGES/django.po +8 -8
  332. wagtail/users/locale/pt_PT/LC_MESSAGES/django.po +8 -8
  333. wagtail/users/locale/ro/LC_MESSAGES/django.po +8 -8
  334. wagtail/users/locale/ru/LC_MESSAGES/django.po +11 -11
  335. wagtail/users/locale/sk_SK/LC_MESSAGES/django.po +4 -4
  336. wagtail/users/locale/sl/LC_MESSAGES/django.po +10 -10
  337. wagtail/users/locale/sv/LC_MESSAGES/django.po +8 -8
  338. wagtail/users/locale/tet/LC_MESSAGES/django.po +4 -4
  339. wagtail/users/locale/th/LC_MESSAGES/django.po +4 -4
  340. wagtail/users/locale/tr/LC_MESSAGES/django.po +4 -4
  341. wagtail/users/locale/tr_TR/LC_MESSAGES/django.po +4 -4
  342. wagtail/users/locale/uk/LC_MESSAGES/django.po +8 -8
  343. wagtail/users/locale/zh_Hans/LC_MESSAGES/django.po +4 -4
  344. wagtail/users/locale/zh_Hant/LC_MESSAGES/django.po +2 -2
  345. wagtail/widget_adapters.py +1 -1
  346. wagtail-6.1.2.dist-info/METADATA +78 -0
  347. {wagtail-6.1.1.dist-info → wagtail-6.1.2.dist-info}/RECORD +351 -350
  348. {wagtail-6.1.1.dist-info → wagtail-6.1.2.dist-info}/WHEEL +1 -1
  349. wagtail-6.1.1.dist-info/METADATA +0 -78
  350. {wagtail-6.1.1.dist-info → wagtail-6.1.2.dist-info}/LICENSE +0 -0
  351. {wagtail-6.1.1.dist-info → wagtail-6.1.2.dist-info}/entry_points.txt +0 -0
  352. {wagtail-6.1.1.dist-info → wagtail-6.1.2.dist-info}/top_level.txt +0 -0
@@ -129,11 +129,11 @@ msgstr "Desculpe, nenhum resultado promovido com \"<em>%(query_string)s</em>\""
129
129
 
130
130
  #, python-format
131
131
  msgid ""
132
- "No promoted results have been created. Why not <a "
133
- "href=\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
132
+ "No promoted results have been created. Why not <a href="
133
+ "\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
134
134
  msgstr ""
135
- "Nenhum resultado promovido foi criado. Porque não <a "
136
- "href=\"%(wagtailsearchpromotions_add_url)s\">adicionar um</a>?"
135
+ "Nenhum resultado promovido foi criado. Porque não <a href="
136
+ "\"%(wagtailsearchpromotions_add_url)s\">adicionar um</a>?"
137
137
 
138
138
  msgid "No promoted results have been created."
139
139
  msgstr "Nenhum resultado promovido foi criado."
@@ -104,11 +104,11 @@ msgstr ""
104
104
 
105
105
  #, python-format
106
106
  msgid ""
107
- "No promoted results have been created. Why not <a "
108
- "href=\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
107
+ "No promoted results have been created. Why not <a href="
108
+ "\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
109
109
  msgstr ""
110
- "Ainda não foram criados resultados promovidos. Que tal <a "
111
- "href=\"%(wagtailsearchpromotions_add_url)s\">adicionar um</a>"
110
+ "Ainda não foram criados resultados promovidos. Que tal <a href="
111
+ "\"%(wagtailsearchpromotions_add_url)s\">adicionar um</a>"
112
112
 
113
113
  msgid "Popular search terms"
114
114
  msgstr "Termos de pesquisa populares"
@@ -151,11 +151,11 @@ msgstr ""
151
151
 
152
152
  #, python-format
153
153
  msgid ""
154
- "No promoted results have been created. Why not <a "
155
- "href=\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
154
+ "No promoted results have been created. Why not <a href="
155
+ "\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
156
156
  msgstr ""
157
- "Nu a fost creat nici un rezultat de căutare promovat. De ce să nu <a "
158
- "href=\"%(wagtailsearchpromotions_add_url)s\">adăugați unul</a>?"
157
+ "Nu a fost creat nici un rezultat de căutare promovat. De ce să nu <a href="
158
+ "\"%(wagtailsearchpromotions_add_url)s\">adăugați unul</a>?"
159
159
 
160
160
  msgid "Popular search terms"
161
161
  msgstr "Termeni populari de căutare"
@@ -26,9 +26,9 @@ msgstr ""
26
26
  "Content-Type: text/plain; charset=UTF-8\n"
27
27
  "Content-Transfer-Encoding: 8bit\n"
28
28
  "Language: ru\n"
29
- "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
30
- "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
31
- "(n%100>=11 && n%100<=14)? 2 : 3);\n"
29
+ "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
30
+ "%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n"
31
+ "%100>=11 && n%100<=14)? 2 : 3);\n"
32
32
 
33
33
  msgid "Wagtail search promotions"
34
34
  msgstr "Поисковое продвижение Wagtail"
@@ -159,16 +159,16 @@ msgstr "Добавить рекомендуемый результат"
159
159
  #, python-format
160
160
  msgid "Sorry, no promoted results match \"<em>%(query_string)s</em>\""
161
161
  msgstr ""
162
- "Извините, нет продвигаемых результатов, совпадающих с "
163
- "\"<em>%(query_string)s</em>\""
162
+ "Извините, нет продвигаемых результатов, совпадающих с \"<em>"
163
+ "%(query_string)s</em>\""
164
164
 
165
165
  #, python-format
166
166
  msgid ""
167
- "No promoted results have been created. Why not <a "
168
- "href=\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
167
+ "No promoted results have been created. Why not <a href="
168
+ "\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
169
169
  msgstr ""
170
- "Продвигаемых поисковых запросов пока не создано. Почему бы не <a "
171
- "href=\"%(wagtailsearchpromotions_add_url)s\">добавить один</a>?"
170
+ "Продвигаемых поисковых запросов пока не создано. Почему бы не <a href="
171
+ "\"%(wagtailsearchpromotions_add_url)s\">добавить один</a>?"
172
172
 
173
173
  msgid "No promoted results have been created."
174
174
  msgstr "Продвигаемые поисковые запросы не были созданы."
@@ -95,13 +95,13 @@ msgstr "Propagované výsledky vyhladávania"
95
95
  #, python-format
96
96
  msgid "Sorry, no promoted results match \"<em>%(query_string)s</em>\""
97
97
  msgstr ""
98
- "Prepáčte, žiadne propagované výsledky nevyhovujú \"<em>%(query_string)s</"
99
- "em>\""
98
+ "Prepáčte, žiadne propagované výsledky nevyhovujú \"<em>%(query_string)s</em>"
99
+ "\""
100
100
 
101
101
  #, python-format
102
102
  msgid ""
103
- "No promoted results have been created. Why not <a "
104
- "href=\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
103
+ "No promoted results have been created. Why not <a href="
104
+ "\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
105
105
  msgstr ""
106
106
  "Zatiaľ neboli vytvorené žiadne propagované výsledky vyhľadávania. Prečo "
107
107
  "nevytvoriť <a href=\"%(wagtailsearchpromotions_add_url)s\">jeden výsledok</"
@@ -19,8 +19,8 @@ msgstr ""
19
19
  "Content-Type: text/plain; charset=UTF-8\n"
20
20
  "Content-Transfer-Encoding: 8bit\n"
21
21
  "Language: sl\n"
22
- "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || "
23
- "n%100==4 ? 2 : 3);\n"
22
+ "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
23
+ "%100==4 ? 2 : 3);\n"
24
24
 
25
25
  msgid "Wagtail search promotions"
26
26
  msgstr "Promocije iskanja Wagtail"
@@ -99,11 +99,11 @@ msgstr ""
99
99
 
100
100
  #, python-format
101
101
  msgid ""
102
- "No promoted results have been created. Why not <a "
103
- "href=\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
102
+ "No promoted results have been created. Why not <a href="
103
+ "\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
104
104
  msgstr ""
105
- "Dodan ni še noben promoviran rezultat. Zakaj ga ne bi a "
106
- "href=\"%(wagtailsearchpromotions_add_url)s\">dodali</a>"
105
+ "Dodan ni še noben promoviran rezultat. Zakaj ga ne bi a href="
106
+ "\"%(wagtailsearchpromotions_add_url)s\">dodali</a>"
107
107
 
108
108
  msgid "Popular search terms"
109
109
  msgstr "Priljubljeni iskalni nizi"
@@ -16,8 +16,8 @@ msgstr ""
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
17
  "Content-Transfer-Encoding: 8bit\n"
18
18
  "Language: sr\n"
19
- "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
20
- "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
19
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
20
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
21
21
 
22
22
  msgid "Editing"
23
23
  msgstr "Izmene"
@@ -108,11 +108,11 @@ msgstr "Ledsen, inga premierade resultat matchar \"<em>%(query_string)s</em>\""
108
108
 
109
109
  #, python-format
110
110
  msgid ""
111
- "No promoted results have been created. Why not <a "
112
- "href=\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
111
+ "No promoted results have been created. Why not <a href="
112
+ "\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
113
113
  msgstr ""
114
- "Inga premierade resultat har skapats. Varför inte <a "
115
- "href=\"%(wagtailsearchpromotions_add_url)s\">skapa en </a>?"
114
+ "Inga premierade resultat har skapats. Varför inte <a href="
115
+ "\"%(wagtailsearchpromotions_add_url)s\">skapa en </a>?"
116
116
 
117
117
  msgid "Popular search terms"
118
118
  msgstr "Populära söktermer"
@@ -93,11 +93,11 @@ msgstr "ขออภัย,ไม่มีผลโปรโมทที่ต
93
93
 
94
94
  #, python-format
95
95
  msgid ""
96
- "No promoted results have been created. Why not <a "
97
- "href=\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
96
+ "No promoted results have been created. Why not <a href="
97
+ "\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
98
98
  msgstr ""
99
- "ไม่มีผลการโปรโมทถูกสร้างขึ้น ทำไมคุฯไม่ <a "
100
- "href=\"%(wagtailsearchpromotions_add_url)s\">เพิ่มสักหนึ่งอัน</a>?"
99
+ "ไม่มีผลการโปรโมทถูกสร้างขึ้น ทำไมคุฯไม่ <a href=\"%(wagtailsearchpromotions_add_url)s"
100
+ "\">เพิ่มสักหนึ่งอัน</a>?"
101
101
 
102
102
  msgid "Popular search terms"
103
103
  msgstr "วาระที่ค้นหามากที่สุด"
@@ -96,11 +96,11 @@ msgstr "Üzgünüm, \"<em>%(query_string)s</em>\" ile eşleşen sonuç yok"
96
96
 
97
97
  #, python-format
98
98
  msgid ""
99
- "No promoted results have been created. Why not <a "
100
- "href=\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
99
+ "No promoted results have been created. Why not <a href="
100
+ "\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
101
101
  msgstr ""
102
- "Hiçbir tanıtılan sonuç oluştuurlmadı. Neden <a "
103
- "href=\"%(wagtailsearchpromotions_add_url)s\">bir tane eklemiyorsunuz</a>?"
102
+ "Hiçbir tanıtılan sonuç oluştuurlmadı. Neden <a href="
103
+ "\"%(wagtailsearchpromotions_add_url)s\">bir tane eklemiyorsunuz</a>?"
104
104
 
105
105
  msgid "Popular search terms"
106
106
  msgstr "Yaygın arama terimleri"
@@ -99,11 +99,11 @@ msgstr "Üzgünüm, \"<em>%(query_string)s</em>\" ile eşleşen sonuç yok"
99
99
 
100
100
  #, python-format
101
101
  msgid ""
102
- "No promoted results have been created. Why not <a "
103
- "href=\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
102
+ "No promoted results have been created. Why not <a href="
103
+ "\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
104
104
  msgstr ""
105
- "Hiçbir tanıtılan sonuç oluştuurlmadı. Neden <a "
106
- "href=\"%(wagtailsearchpromotions_add_url)s\">bir tane eklemiyorsunuz</a>?"
105
+ "Hiçbir tanıtılan sonuç oluştuurlmadı. Neden <a href="
106
+ "\"%(wagtailsearchpromotions_add_url)s\">bir tane eklemiyorsunuz</a>?"
107
107
 
108
108
  msgid "Popular search terms"
109
109
  msgstr "Yaygın arama terimleri"
@@ -102,11 +102,11 @@ msgstr ""
102
102
 
103
103
  #, python-format
104
104
  msgid ""
105
- "No promoted results have been created. Why not <a "
106
- "href=\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
105
+ "No promoted results have been created. Why not <a href="
106
+ "\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
107
107
  msgstr ""
108
- "Жодного промотованого результату не створено. Чому б не <a "
109
- "href=\"%(wagtailsearchpromotions_add_url)s\">додати один</a>?"
108
+ "Жодного промотованого результату не створено. Чому б не <a href="
109
+ "\"%(wagtailsearchpromotions_add_url)s\">додати один</a>?"
110
110
 
111
111
  msgid "Popular search terms"
112
112
  msgstr "Популярні критерії пошуку"
@@ -99,8 +99,8 @@ msgstr "对不起,没有匹配\"<em>%(query_string)s</em>\"的推广结果"
99
99
 
100
100
  #, python-format
101
101
  msgid ""
102
- "No promoted results have been created. Why not <a "
103
- "href=\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
102
+ "No promoted results have been created. Why not <a href="
103
+ "\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
104
104
  msgstr ""
105
105
  "还没有创建过推广结果。为何不<a href=\"%(wagtailsearchpromotions_add_url)s\">"
106
106
  "创建一个</a>?"
@@ -90,8 +90,8 @@ msgstr "對不起,沒有符合\"<em>%(query_string)s</em>\"的推廣結果"
90
90
 
91
91
  #, python-format
92
92
  msgid ""
93
- "No promoted results have been created. Why not <a "
94
- "href=\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
93
+ "No promoted results have been created. Why not <a href="
94
+ "\"%(wagtailsearchpromotions_add_url)s\">add one</a>?"
95
95
  msgstr ""
96
96
  "還沒有創建過推廣結果。為何不<a href=\"%(wagtailsearchpromotions_add_url)s\">"
97
97
  "創建一個</a>?"
@@ -18,9 +18,9 @@ msgstr ""
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
  "Content-Transfer-Encoding: 8bit\n"
20
20
  "Language: be\n"
21
- "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
22
- "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
23
- "(n%100>=11 && n%100<=14)? 2 : 3);\n"
21
+ "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
22
+ "%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n"
23
+ "%100>=11 && n%100<=14)? 2 : 3);\n"
24
24
 
25
25
  msgid "default"
26
26
  msgstr "па змаўчанні"
@@ -10,7 +10,7 @@ msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: Wagtail\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
- "POT-Creation-Date: 2024-04-18 17:28+0100\n"
13
+ "POT-Creation-Date: 2024-05-02 10:04+0100\n"
14
14
  "PO-Revision-Date: 2016-03-01 19:20+0000\n"
15
15
  "Last-Translator: priyanshu kumar, 2023\n"
16
16
  "Language-Team: Hindi (http://app.transifex.com/torchbox/wagtail/language/"
@@ -19,8 +19,8 @@ msgstr ""
19
19
  "Content-Type: text/plain; charset=UTF-8\n"
20
20
  "Content-Transfer-Encoding: 8bit\n"
21
21
  "Language: hr_HR\n"
22
- "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
23
- "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
22
+ "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
23
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
24
24
 
25
25
  msgid "default"
26
26
  msgstr "zadano"
@@ -20,9 +20,9 @@ msgstr ""
20
20
  "Content-Type: text/plain; charset=UTF-8\n"
21
21
  "Content-Transfer-Encoding: 8bit\n"
22
22
  "Language: pl\n"
23
- "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && "
24
- "(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && "
25
- "n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
23
+ "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n"
24
+ "%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n"
25
+ "%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
26
26
 
27
27
  msgid "default"
28
28
  msgstr "domyślny"
@@ -30,9 +30,9 @@ msgstr ""
30
30
  "Content-Type: text/plain; charset=UTF-8\n"
31
31
  "Content-Transfer-Encoding: 8bit\n"
32
32
  "Language: ru\n"
33
- "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
34
- "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
35
- "(n%100>=11 && n%100<=14)? 2 : 3);\n"
33
+ "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
34
+ "%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n"
35
+ "%100>=11 && n%100<=14)? 2 : 3);\n"
36
36
 
37
37
  msgid "default"
38
38
  msgstr "по умолчанию"
@@ -21,8 +21,8 @@ msgstr ""
21
21
  "Content-Type: text/plain; charset=UTF-8\n"
22
22
  "Content-Transfer-Encoding: 8bit\n"
23
23
  "Language: sl\n"
24
- "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || "
25
- "n%100==4 ? 2 : 3);\n"
24
+ "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
25
+ "%100==4 ? 2 : 3);\n"
26
26
 
27
27
  msgid "default"
28
28
  msgstr "privzeto"
@@ -18,8 +18,8 @@ msgstr ""
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
  "Content-Transfer-Encoding: 8bit\n"
20
20
  "Language: sr\n"
21
- "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
22
- "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
21
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
22
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
23
23
 
24
24
  msgid "Site"
25
25
  msgstr "Sajt"
@@ -77,11 +77,6 @@ class BaseTestGenericSettingView(WagtailTestUtils, TestCase):
77
77
  class TestGenericSettingCreateView(BaseTestGenericSettingView):
78
78
  def setUp(self):
79
79
  self.user = self.login()
80
- self.user.user_permissions.add(
81
- Permission.objects.get(
82
- content_type__app_label="wagtailadmin", codename="access_admin"
83
- )
84
- )
85
80
 
86
81
  def test_get_edit(self):
87
82
  response = self.get()
@@ -113,11 +108,62 @@ class TestGenericSettingCreateView(BaseTestGenericSettingView):
113
108
  # Ensure the form supports file uploads
114
109
  self.assertContains(response, 'enctype="multipart/form-data"')
115
110
 
116
- def test_create_restricted_field_without_permission(self):
111
+ def test_create_restricted_field_without_any_permission(self):
112
+ # User has no permissions over the setting model, only access to the admin
117
113
  self.user.is_superuser = False
118
114
  self.user.save()
115
+ self.user.user_permissions.add(
116
+ Permission.objects.get(
117
+ content_type__app_label="wagtailadmin", codename="access_admin"
118
+ ),
119
+ )
119
120
 
120
121
  self.assertFalse(TestPermissionedGenericSetting.objects.exists())
122
+ # GET should redirect away with permission denied
123
+ response = self.get(setting=TestPermissionedGenericSetting)
124
+ self.assertRedirects(response, status_code=302, expected_url="/admin/")
125
+
126
+ # the GET might create a setting object, depending on when the permission check is done,
127
+ # so remove any created objects prior to testing the POST
128
+ TestPermissionedGenericSetting.objects.all().delete()
129
+
130
+ # POST should redirect away with permission denied
131
+ response = self.post(
132
+ post_data={"sensitive_email": "test@example.com", "title": "test"},
133
+ setting=TestPermissionedGenericSetting,
134
+ )
135
+ self.assertRedirects(response, status_code=302, expected_url="/admin/")
136
+
137
+ # The retrieved setting should contain none of the submitted data
138
+ setting = TestPermissionedGenericSetting.load()
139
+ self.assertEqual(setting.title, "")
140
+ self.assertEqual(setting.sensitive_email, "")
141
+
142
+ def test_create_restricted_field_without_field_permission(self):
143
+ # User has edit permission over the setting model, but not the sensitive_email field
144
+ self.user.is_superuser = False
145
+ self.user.save()
146
+ self.user.user_permissions.add(
147
+ Permission.objects.get(
148
+ content_type__app_label="wagtailadmin", codename="access_admin"
149
+ ),
150
+ Permission.objects.get(
151
+ content_type__app_label="tests",
152
+ codename="change_testpermissionedgenericsetting",
153
+ ),
154
+ )
155
+
156
+ self.assertFalse(TestPermissionedGenericSetting.objects.exists())
157
+ # GET should provide a form with title but not sensitive_email
158
+ response = self.get(setting=TestPermissionedGenericSetting)
159
+ self.assertEqual(response.status_code, 200)
160
+ self.assertIn("title", list(response.context["form"].fields))
161
+ self.assertNotIn("sensitive_email", list(response.context["form"].fields))
162
+
163
+ # the GET creates a setting object, so remove any created objects prior to testing the POST
164
+ TestPermissionedGenericSetting.objects.all().delete()
165
+
166
+ # POST should allow the title to be set, but not the sensitive_email
121
167
  response = self.post(
122
168
  post_data={"sensitive_email": "test@example.com", "title": "test"},
123
169
  setting=TestPermissionedGenericSetting,
@@ -129,11 +175,31 @@ class TestGenericSettingCreateView(BaseTestGenericSettingView):
129
175
  self.assertEqual(settings.sensitive_email, "")
130
176
 
131
177
  def test_create_restricted_field(self):
178
+ # User has edit permission over the setting model, including the sensitive_email field
132
179
  self.user.is_superuser = False
133
180
  self.user.save()
134
181
  self.user.user_permissions.add(
135
- Permission.objects.get(codename="can_edit_sensitive_email_generic_setting")
182
+ Permission.objects.get(
183
+ content_type__app_label="wagtailadmin", codename="access_admin"
184
+ ),
185
+ Permission.objects.get(
186
+ content_type__app_label="tests",
187
+ codename="change_testpermissionedgenericsetting",
188
+ ),
189
+ Permission.objects.get(codename="can_edit_sensitive_email_generic_setting"),
136
190
  )
191
+
192
+ self.assertFalse(TestPermissionedGenericSetting.objects.exists())
193
+ # GET should provide a form with title and sensitive_email
194
+ response = self.get(setting=TestPermissionedGenericSetting)
195
+ self.assertEqual(response.status_code, 200)
196
+ self.assertIn("title", list(response.context["form"].fields))
197
+ self.assertIn("sensitive_email", list(response.context["form"].fields))
198
+
199
+ # the GET creates a setting object, so remove any created objects prior to testing the POST
200
+ TestPermissionedGenericSetting.objects.all().delete()
201
+
202
+ # POST should allow both title and sensitive_email to be set
137
203
  self.assertFalse(TestPermissionedGenericSetting.objects.exists())
138
204
  response = self.post(
139
205
  post_data={"sensitive_email": "test@example.com", "title": "test"},
@@ -153,11 +219,6 @@ class TestGenericSettingEditView(BaseTestGenericSettingView):
153
219
  self.test_setting.save()
154
220
 
155
221
  self.user = self.login()
156
- self.user.user_permissions.add(
157
- Permission.objects.get(
158
- content_type__app_label="wagtailadmin", codename="access_admin"
159
- )
160
- )
161
222
 
162
223
  def test_get_edit(self):
163
224
  response = self.get()
@@ -206,48 +267,115 @@ class TestGenericSettingEditView(BaseTestGenericSettingView):
206
267
  )
207
268
 
208
269
  def test_edit_restricted_field(self):
270
+ # User has edit permission over the setting model, including the sensitive_email field
209
271
  test_setting = TestPermissionedGenericSetting()
210
272
  test_setting.sensitive_email = "test@example.com"
273
+ test_setting.title = "Old title"
211
274
  test_setting.save()
212
275
  self.user.is_superuser = False
213
276
  self.user.save()
214
277
 
215
278
  self.user.user_permissions.add(
216
- Permission.objects.get(codename="can_edit_sensitive_email_generic_setting")
279
+ Permission.objects.get(
280
+ content_type__app_label="wagtailadmin", codename="access_admin"
281
+ ),
282
+ Permission.objects.get(
283
+ content_type__app_label="tests",
284
+ codename="change_testpermissionedgenericsetting",
285
+ ),
286
+ Permission.objects.get(codename="can_edit_sensitive_email_generic_setting"),
217
287
  )
218
288
 
289
+ # GET should provide a form with title and sensitive_email
219
290
  response = self.get(setting=TestPermissionedGenericSetting)
220
291
  self.assertEqual(response.status_code, 200)
292
+ self.assertIn("title", list(response.context["form"].fields))
221
293
  self.assertIn("sensitive_email", list(response.context["form"].fields))
222
294
 
295
+ # POST should allow both title and sensitive_email to be set
223
296
  response = self.post(
224
297
  setting=TestPermissionedGenericSetting,
225
- post_data={"sensitive_email": "test-updated@example.com", "title": "title"},
298
+ post_data={
299
+ "sensitive_email": "test-updated@example.com",
300
+ "title": "New title",
301
+ },
226
302
  )
227
303
  self.assertEqual(response.status_code, 302)
228
304
 
229
305
  test_setting.refresh_from_db()
230
306
  self.assertEqual(test_setting.sensitive_email, "test-updated@example.com")
307
+ self.assertEqual(test_setting.title, "New title")
231
308
 
232
- def test_edit_restricted_field_without_permission(self):
309
+ def test_edit_restricted_field_without_field_permission(self):
310
+ # User has edit permission over the setting model, but not the sensitive_email field
233
311
  test_setting = TestPermissionedGenericSetting()
234
312
  test_setting.sensitive_email = "test@example.com"
313
+ test_setting.title = "Old title"
235
314
  test_setting.save()
236
315
  self.user.is_superuser = False
237
316
  self.user.save()
317
+ self.user.user_permissions.add(
318
+ Permission.objects.get(
319
+ content_type__app_label="wagtailadmin", codename="access_admin"
320
+ ),
321
+ Permission.objects.get(
322
+ content_type__app_label="tests",
323
+ codename="change_testpermissionedgenericsetting",
324
+ ),
325
+ )
238
326
 
327
+ # GET should provide a form with title but not sensitive_email
239
328
  response = self.get(setting=TestPermissionedGenericSetting)
240
329
  self.assertEqual(response.status_code, 200)
330
+ self.assertIn("title", list(response.context["form"].fields))
241
331
  self.assertNotIn("sensitive_email", list(response.context["form"].fields))
242
332
 
333
+ # POST should allow the title to be set, but not the sensitive_email
243
334
  response = self.post(
244
335
  setting=TestPermissionedGenericSetting,
245
- post_data={"sensitive_email": "test-updated@example.com", "title": "title"},
336
+ post_data={
337
+ "sensitive_email": "test-updated@example.com",
338
+ "title": "New title",
339
+ },
246
340
  )
247
341
  self.assertEqual(response.status_code, 302)
248
342
 
249
343
  test_setting.refresh_from_db()
250
344
  self.assertEqual(test_setting.sensitive_email, "test@example.com")
345
+ self.assertEqual(test_setting.title, "New title")
346
+
347
+ def test_edit_restricted_field_without_any_permission(self):
348
+ # User has no permissions over the setting model, only access to the admin
349
+ test_setting = TestPermissionedGenericSetting()
350
+ test_setting.sensitive_email = "test@example.com"
351
+ test_setting.title = "Old title"
352
+ test_setting.save()
353
+ self.user.is_superuser = False
354
+ self.user.save()
355
+ self.user.user_permissions.add(
356
+ Permission.objects.get(
357
+ content_type__app_label="wagtailadmin", codename="access_admin"
358
+ ),
359
+ )
360
+
361
+ # GET should redirect away with permission denied
362
+ response = self.get(setting=TestPermissionedGenericSetting)
363
+ self.assertRedirects(response, status_code=302, expected_url="/admin/")
364
+
365
+ # POST should redirect away with permission denied
366
+ response = self.post(
367
+ setting=TestPermissionedGenericSetting,
368
+ post_data={
369
+ "sensitive_email": "test-updated@example.com",
370
+ "title": "new title",
371
+ },
372
+ )
373
+ self.assertRedirects(response, status_code=302, expected_url="/admin/")
374
+
375
+ # The retrieved setting should be unchanged
376
+ test_setting.refresh_from_db()
377
+ self.assertEqual(test_setting.sensitive_email, "test@example.com")
378
+ self.assertEqual(test_setting.title, "Old title")
251
379
 
252
380
 
253
381
  class TestAdminPermission(WagtailTestUtils, TestCase):