decidim-admin 0.26.10 → 0.27.0.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim-admin might be problematic. Click here for more details.

Files changed (289) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/admin/attachments_privacy_warning/show.erb +3 -0
  3. data/app/cells/decidim/admin/attachments_privacy_warning_cell.rb +19 -0
  4. data/app/commands/decidim/admin/block_user.rb +3 -8
  5. data/app/commands/decidim/admin/close_session_managed_user.rb +1 -1
  6. data/app/commands/decidim/admin/create_area.rb +1 -1
  7. data/app/commands/decidim/admin/create_area_type.rb +6 -3
  8. data/app/commands/decidim/admin/create_attachment.rb +14 -6
  9. data/app/commands/decidim/admin/create_attachment_collection.rb +13 -4
  10. data/app/commands/decidim/admin/create_category.rb +6 -4
  11. data/app/commands/decidim/admin/create_component.rb +1 -1
  12. data/app/commands/decidim/admin/create_import.rb +4 -5
  13. data/app/commands/decidim/admin/create_import_example.rb +1 -1
  14. data/app/commands/decidim/admin/create_newsletter.rb +1 -1
  15. data/app/commands/decidim/admin/create_participatory_space_private_user.rb +1 -1
  16. data/app/commands/decidim/admin/create_scope.rb +1 -1
  17. data/app/commands/decidim/admin/create_scope_type.rb +6 -3
  18. data/app/commands/decidim/admin/create_static_page.rb +1 -1
  19. data/app/commands/decidim/admin/create_static_page_topic.rb +1 -1
  20. data/app/commands/decidim/admin/deliver_newsletter.rb +6 -6
  21. data/app/commands/decidim/admin/destroy_area.rb +1 -1
  22. data/app/commands/decidim/admin/destroy_category.rb +6 -3
  23. data/app/commands/decidim/admin/destroy_component.rb +1 -1
  24. data/app/commands/decidim/admin/destroy_newsletter.rb +1 -1
  25. data/app/commands/decidim/admin/destroy_participatory_space_private_user.rb +1 -1
  26. data/app/commands/decidim/admin/destroy_scope.rb +1 -1
  27. data/app/commands/decidim/admin/destroy_share_token.rb +1 -1
  28. data/app/commands/decidim/admin/destroy_static_page.rb +1 -1
  29. data/app/commands/decidim/admin/destroy_static_page_topic.rb +1 -1
  30. data/app/commands/decidim/admin/hide_resource.rb +2 -2
  31. data/app/commands/decidim/admin/impersonate_user.rb +1 -1
  32. data/app/commands/decidim/admin/invite_admin.rb +1 -1
  33. data/app/commands/decidim/admin/officialize_user.rb +1 -1
  34. data/app/commands/decidim/admin/process_participatory_space_private_user_import_csv.rb +7 -3
  35. data/app/commands/decidim/admin/process_user_group_verification_csv.rb +8 -4
  36. data/app/commands/decidim/admin/promote_managed_user.rb +1 -1
  37. data/app/commands/decidim/admin/publish_component.rb +2 -2
  38. data/app/commands/decidim/admin/reject_user_group.rb +1 -1
  39. data/app/commands/decidim/admin/remove_admin.rb +1 -1
  40. data/app/commands/decidim/admin/reorder_content_blocks.rb +1 -1
  41. data/app/commands/decidim/admin/transfer_user.rb +1 -1
  42. data/app/commands/decidim/admin/unblock_user.rb +2 -2
  43. data/app/commands/decidim/admin/unhide_resource.rb +1 -1
  44. data/app/commands/decidim/admin/unofficialize_user.rb +1 -1
  45. data/app/commands/decidim/admin/unpublish_component.rb +1 -1
  46. data/app/commands/decidim/admin/unreport_resource.rb +1 -1
  47. data/app/commands/decidim/admin/unreport_user.rb +1 -1
  48. data/app/commands/decidim/admin/update_area.rb +1 -1
  49. data/app/commands/decidim/admin/update_area_type.rb +8 -3
  50. data/app/commands/decidim/admin/update_attachment.rb +4 -3
  51. data/app/commands/decidim/admin/update_attachment_collection.rb +8 -3
  52. data/app/commands/decidim/admin/update_category.rb +9 -5
  53. data/app/commands/decidim/admin/update_component.rb +8 -5
  54. data/app/commands/decidim/admin/update_component_permissions.rb +9 -6
  55. data/app/commands/decidim/admin/update_content_block.rb +1 -1
  56. data/app/commands/decidim/admin/update_external_domain_whitelist.rb +6 -3
  57. data/app/commands/decidim/admin/update_help_sections.rb +17 -3
  58. data/app/commands/decidim/admin/update_newsletter.rb +1 -1
  59. data/app/commands/decidim/admin/update_organization.rb +1 -1
  60. data/app/commands/decidim/admin/update_organization_appearance.rb +1 -1
  61. data/app/commands/decidim/admin/update_organization_tos_version.rb +1 -1
  62. data/app/commands/decidim/admin/update_resource_permissions.rb +2 -2
  63. data/app/commands/decidim/admin/update_scope.rb +1 -1
  64. data/app/commands/decidim/admin/update_scope_type.rb +8 -3
  65. data/app/commands/decidim/admin/update_static_page.rb +1 -1
  66. data/app/commands/decidim/admin/update_static_page_topic.rb +1 -1
  67. data/app/commands/decidim/admin/update_user_groups.rb +1 -1
  68. data/app/commands/decidim/admin/verify_user_group.rb +1 -1
  69. data/app/controllers/concerns/decidim/admin/filterable.rb +1 -1
  70. data/app/controllers/concerns/decidim/admin/participatory_space_export.rb +3 -1
  71. data/app/controllers/concerns/decidim/moderations/admin/filterable.rb +0 -4
  72. data/app/controllers/decidim/admin/admin_terms_controller.rb +1 -1
  73. data/app/controllers/decidim/admin/application_controller.rb +1 -2
  74. data/app/controllers/decidim/admin/area_types_controller.rb +6 -3
  75. data/app/controllers/decidim/admin/block_user_controller.rb +3 -3
  76. data/app/controllers/decidim/admin/categories_controller.rb +3 -3
  77. data/app/controllers/decidim/admin/component_permissions_controller.rb +1 -1
  78. data/app/controllers/decidim/admin/components/base_controller.rb +1 -0
  79. data/app/controllers/decidim/admin/components_controller.rb +1 -1
  80. data/app/controllers/decidim/admin/concerns/has_attachment_collections.rb +6 -3
  81. data/app/controllers/decidim/admin/concerns/has_attachments.rb +6 -3
  82. data/app/controllers/decidim/admin/concerns/has_private_users_csv_import.rb +7 -0
  83. data/app/controllers/decidim/admin/dashboard_controller.rb +4 -3
  84. data/app/controllers/decidim/admin/exports_controller.rb +4 -1
  85. data/app/controllers/decidim/admin/help_sections_controller.rb +1 -1
  86. data/app/controllers/decidim/admin/metrics_controller.rb +2 -1
  87. data/app/controllers/decidim/admin/moderations_controller.rb +9 -7
  88. data/app/controllers/decidim/admin/newsletter_templates_controller.rb +1 -1
  89. data/app/controllers/decidim/admin/newsletters_controller.rb +1 -1
  90. data/app/controllers/decidim/admin/organization_controller.rb +3 -4
  91. data/app/controllers/decidim/admin/organization_external_domain_whitelist_controller.rb +1 -1
  92. data/app/controllers/decidim/admin/reminders_controller.rb +61 -0
  93. data/app/controllers/decidim/admin/resource_permissions_controller.rb +3 -3
  94. data/app/controllers/decidim/admin/scope_types_controller.rb +6 -3
  95. data/app/controllers/decidim/admin/static_page_topics_controller.rb +3 -1
  96. data/app/controllers/decidim/admin/static_pages_controller.rb +1 -7
  97. data/app/forms/decidim/admin/block_user_form.rb +2 -2
  98. data/app/forms/decidim/admin/category_form.rb +1 -2
  99. data/app/forms/decidim/admin/component_form.rb +16 -7
  100. data/app/forms/decidim/admin/import_example_form.rb +1 -5
  101. data/app/forms/decidim/admin/import_form.rb +7 -10
  102. data/app/forms/decidim/admin/managed_user_promotion_form.rb +1 -1
  103. data/app/forms/decidim/admin/participatory_space_private_user_csv_import_form.rb +7 -4
  104. data/app/forms/decidim/admin/permission_form.rb +9 -8
  105. data/app/forms/decidim/admin/permissions_form.rb +1 -10
  106. data/app/forms/decidim/admin/user_group_csv_verification_form.rb +2 -2
  107. data/app/helpers/decidim/admin/bulk_actions_helper.rb +6 -5
  108. data/app/helpers/decidim/admin/moderations/reports_helper.rb +11 -2
  109. data/app/helpers/decidim/admin/reminders_helper.rb +12 -0
  110. data/app/helpers/decidim/admin/settings_helper.rb +11 -57
  111. data/app/models/decidim/admin/fake_newsletter.rb +0 -20
  112. data/app/packs/entrypoints/decidim_admin.js +3 -6
  113. data/app/packs/src/decidim/admin/admin_autocomplete.js +82 -0
  114. data/app/packs/src/decidim/admin/application.js +0 -16
  115. data/app/packs/src/decidim/admin/choose_language.js +9 -11
  116. data/app/packs/src/decidim/admin/draggable-list.js +1 -1
  117. data/app/packs/src/decidim/admin/dynamic_fields.component.js +0 -1
  118. data/app/packs/stylesheets/decidim/admin/_decidim.scss +0 -1
  119. data/app/packs/stylesheets/decidim/admin/extra/_quill.scss +0 -7
  120. data/app/packs/stylesheets/decidim/admin/modules/_autocomplete.scss +5 -0
  121. data/app/packs/stylesheets/decidim/admin/modules/_forms.scss +0 -6
  122. data/app/packs/stylesheets/decidim/admin/modules/_import_result.scss +10 -0
  123. data/app/packs/stylesheets/decidim/admin/modules/_modules.scss +3 -0
  124. data/app/packs/stylesheets/decidim/admin/modules/_upload_modal.scss +42 -0
  125. data/app/permissions/decidim/admin/permissions.rb +4 -46
  126. data/app/presenters/decidim/admin/dashboard_metric_charts_presenter.rb +3 -1
  127. data/app/queries/decidim/admin/active_users_counter.rb +1 -1
  128. data/app/queries/decidim/admin/newsletter_recipients.rb +2 -2
  129. data/app/queries/decidim/admin/user_filter.rb +1 -1
  130. data/app/queries/decidim/admin/user_groups_evaluation.rb +1 -1
  131. data/app/views/decidim/admin/area_types/edit.html.erb +0 -1
  132. data/app/views/decidim/admin/area_types/index.html.erb +0 -1
  133. data/app/views/decidim/admin/area_types/new.html.erb +0 -1
  134. data/app/views/decidim/admin/areas/edit.html.erb +0 -1
  135. data/app/views/decidim/admin/areas/index.html.erb +0 -1
  136. data/app/views/decidim/admin/areas/new.html.erb +0 -1
  137. data/app/views/decidim/admin/attachment_collections/edit.html.erb +0 -1
  138. data/app/views/decidim/admin/attachment_collections/index.html.erb +0 -1
  139. data/app/views/decidim/admin/attachment_collections/new.html.erb +0 -1
  140. data/app/views/decidim/admin/attachments/edit.html.erb +0 -1
  141. data/app/views/decidim/admin/attachments/index.html.erb +1 -1
  142. data/app/views/decidim/admin/attachments/new.html.erb +0 -1
  143. data/app/views/decidim/admin/authorization_workflows/index.html.erb +0 -1
  144. data/app/views/decidim/admin/categories/_form.html.erb +0 -4
  145. data/app/views/decidim/admin/categories/edit.html.erb +0 -1
  146. data/app/views/decidim/admin/categories/index.html.erb +0 -1
  147. data/app/views/decidim/admin/categories/new.html.erb +0 -1
  148. data/app/views/decidim/admin/categories/show.html.erb +1 -2
  149. data/app/views/decidim/admin/components/_component.html.erb +41 -3
  150. data/app/views/decidim/admin/components/edit.html.erb +0 -1
  151. data/app/views/decidim/admin/components/index.html.erb +0 -1
  152. data/app/views/decidim/admin/components/new.html.erb +1 -1
  153. data/app/views/decidim/admin/conflicts/index.html.erb +0 -1
  154. data/app/views/decidim/admin/dashboard/show.html.erb +1 -1
  155. data/app/views/decidim/admin/help_sections/show.erb +0 -1
  156. data/app/views/decidim/admin/impersonatable_users/index.html.erb +0 -1
  157. data/app/views/decidim/admin/impersonations/new.html.erb +0 -1
  158. data/app/views/decidim/admin/imports/new.html.erb +1 -1
  159. data/app/views/decidim/admin/logs/index.html.erb +0 -1
  160. data/app/views/decidim/admin/moderated_users/index.html.erb +1 -2
  161. data/app/views/decidim/admin/moderations/index.html.erb +4 -9
  162. data/app/views/decidim/admin/moderations/reports/index.html.erb +1 -5
  163. data/app/views/decidim/admin/newsletter_templates/index.html.erb +0 -1
  164. data/app/views/decidim/admin/newsletter_templates/show.html.erb +0 -1
  165. data/app/views/decidim/admin/newsletters/index.html.erb +0 -1
  166. data/app/views/decidim/admin/newsletters/new.html.erb +0 -1
  167. data/app/views/decidim/admin/newsletters/show.html.erb +0 -1
  168. data/app/views/decidim/admin/officializations/index.html.erb +10 -15
  169. data/app/views/decidim/admin/officializations/new.html.erb +0 -1
  170. data/app/views/decidim/admin/organization/edit.html.erb +0 -1
  171. data/app/views/decidim/admin/organization_appearance/edit.html.erb +0 -1
  172. data/app/views/decidim/admin/organization_appearance/form/_images.html.erb +5 -4
  173. data/app/views/decidim/admin/organization_external_domain_whitelist/edit.html.erb +0 -1
  174. data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +1 -1
  175. data/app/views/decidim/admin/participatory_space_private_users_csv_imports/new.html.erb +20 -1
  176. data/app/views/decidim/admin/reminders/new.html.erb +21 -0
  177. data/app/views/decidim/admin/resource_permissions/edit.html.erb +1 -1
  178. data/app/views/decidim/admin/scope_types/edit.html.erb +0 -1
  179. data/app/views/decidim/admin/scope_types/index.html.erb +0 -1
  180. data/app/views/decidim/admin/scope_types/new.html.erb +0 -1
  181. data/app/views/decidim/admin/scopes/edit.html.erb +0 -1
  182. data/app/views/decidim/admin/scopes/index.html.erb +0 -1
  183. data/app/views/decidim/admin/scopes/new.html.erb +0 -1
  184. data/app/views/decidim/admin/shared/_gallery.html.erb +6 -1
  185. data/app/views/decidim/admin/shared/_js-callout.html.erb +6 -0
  186. data/app/views/decidim/admin/shared/landing_page_content_blocks/edit.html.erb +0 -1
  187. data/app/views/decidim/admin/static_page_topics/edit.html.erb +0 -1
  188. data/app/views/decidim/admin/static_page_topics/new.html.erb +0 -1
  189. data/app/views/decidim/admin/static_pages/_form.html.erb +1 -1
  190. data/app/views/decidim/admin/static_pages/edit.html.erb +0 -1
  191. data/app/views/decidim/admin/static_pages/index.html.erb +0 -1
  192. data/app/views/decidim/admin/static_pages/new.html.erb +0 -1
  193. data/app/views/decidim/admin/user_groups/index.html.erb +0 -1
  194. data/app/views/decidim/admin/user_groups_csv_verifications/new.html.erb +0 -1
  195. data/app/views/decidim/admin/users/index.html.erb +0 -1
  196. data/app/views/decidim/admin/users/new.html.erb +0 -1
  197. data/app/views/decidim/admin/users_statistics/_users_count.html.erb +2 -2
  198. data/app/views/layouts/decidim/admin/_application.html.erb +2 -0
  199. data/app/views/layouts/decidim/admin/global_moderations.html.erb +0 -1
  200. data/config/locales/am-ET.yml +1 -0
  201. data/config/locales/ar.yml +44 -38
  202. data/config/locales/bg.yml +1 -0
  203. data/config/locales/ca.yml +39 -36
  204. data/config/locales/cs.yml +47 -42
  205. data/config/locales/da.yml +1 -0
  206. data/config/locales/de.yml +52 -52
  207. data/config/locales/el.yml +14 -65
  208. data/config/locales/en.yml +25 -23
  209. data/config/locales/eo.yml +1 -0
  210. data/config/locales/es-MX.yml +36 -33
  211. data/config/locales/es-PY.yml +36 -33
  212. data/config/locales/es.yml +39 -36
  213. data/config/locales/et.yml +1 -0
  214. data/config/locales/eu.yml +291 -324
  215. data/config/locales/fi-plain.yml +31 -28
  216. data/config/locales/fi.yml +36 -33
  217. data/config/locales/fr-CA.yml +35 -32
  218. data/config/locales/fr.yml +52 -49
  219. data/config/locales/ga-IE.yml +1 -0
  220. data/config/locales/gl.yml +33 -6
  221. data/config/locales/hr.yml +1 -0
  222. data/config/locales/hu.yml +44 -222
  223. data/config/locales/id-ID.yml +10 -10
  224. data/config/locales/is-IS.yml +6 -9
  225. data/config/locales/it.yml +22 -6
  226. data/config/locales/ja.yml +39 -37
  227. data/config/locales/ko.yml +1 -0
  228. data/config/locales/lb.yml +18 -7
  229. data/config/locales/lt.yml +21 -156
  230. data/config/locales/lv.yml +15 -4
  231. data/config/locales/mt.yml +1 -0
  232. data/config/locales/nl.yml +19 -68
  233. data/config/locales/no.yml +27 -10
  234. data/config/locales/om-ET.yml +1 -0
  235. data/config/locales/pl.yml +29 -25
  236. data/config/locales/pt-BR.yml +16 -85
  237. data/config/locales/pt.yml +19 -8
  238. data/config/locales/ro-RO.yml +32 -38
  239. data/config/locales/ru.yml +10 -9
  240. data/config/locales/si-LK.yml +1 -0
  241. data/config/locales/sk.yml +15 -4
  242. data/config/locales/sl.yml +1 -0
  243. data/config/locales/so-SO.yml +1 -0
  244. data/config/locales/sr-CS.yml +9 -20
  245. data/config/locales/sv.yml +39 -19
  246. data/config/locales/sw-KE.yml +1 -0
  247. data/config/locales/ti-ER.yml +1 -0
  248. data/config/locales/tr-TR.yml +19 -11
  249. data/config/locales/uk.yml +10 -6
  250. data/config/locales/val-ES.yml +1 -0
  251. data/config/locales/vi.yml +1 -0
  252. data/config/locales/zh-CN.yml +15 -4
  253. data/config/locales/zh-TW.yml +1 -1066
  254. data/config/routes.rb +0 -2
  255. data/lib/decidim/admin/engine.rb +1 -12
  256. data/lib/decidim/admin/form_builder.rb +2 -1
  257. data/lib/decidim/admin/import/importer.rb +9 -7
  258. data/lib/decidim/admin/import/readers/json.rb +1 -1
  259. data/lib/decidim/admin/test/commands/create_attachment_collection_examples.rb +15 -2
  260. data/lib/decidim/admin/test/commands/create_category_examples.rb +16 -6
  261. data/lib/decidim/admin/test/commands/destroy_category_examples.rb +29 -1
  262. data/lib/decidim/admin/test/commands/update_attachment_collection_examples.rb +15 -2
  263. data/lib/decidim/admin/test/commands/update_category_examples.rb +16 -6
  264. data/lib/decidim/admin/test/filters_participatory_space_user_roles_examples.rb +4 -4
  265. data/lib/decidim/admin/test/filters_participatory_space_users_examples.rb +4 -4
  266. data/lib/decidim/admin/test/forms/category_form_examples.rb +1 -21
  267. data/lib/decidim/admin/test/manage_attachments_examples.rb +9 -2
  268. data/lib/decidim/admin/test/manage_categories_examples.rb +0 -10
  269. data/lib/decidim/admin/test/manage_component_permissions_examples.rb +0 -2
  270. data/lib/decidim/admin/test/manage_moderations_examples.rb +27 -79
  271. data/lib/decidim/admin/test.rb +0 -1
  272. data/lib/decidim/admin/version.rb +1 -1
  273. metadata +22 -34
  274. data/app/controllers/concerns/decidim/admin/needs_admin_tos_accepted.rb +0 -78
  275. data/app/packs/src/decidim/admin/autocomplete.component.js +0 -144
  276. data/app/packs/src/decidim/admin/autocomplete.component.test.js +0 -19
  277. data/app/packs/stylesheets/decidim/admin/components/_autocomplete_select.component.scss +0 -19
  278. data/app/views/decidim/admin/components/_actions.html.erb +0 -43
  279. data/config/environment.rb +0 -3
  280. data/config/locales/fa-IR.yml +0 -1
  281. data/config/locales/gn-PY.yml +0 -1
  282. data/config/locales/ka-GE.yml +0 -1
  283. data/config/locales/kaa.yml +0 -214
  284. data/config/locales/lo-LA.yml +0 -1
  285. data/config/locales/oc-FR.yml +0 -1
  286. data/config/locales/sq-AL.yml +0 -65
  287. data/config/locales/th-TH.yml +0 -1
  288. data/lib/decidim/admin/test/admin_participatory_space_access_examples.rb +0 -49
  289. data/lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb +0 -9
@@ -1,214 +0,0 @@
1
- kaa:
2
- activemodel:
3
- attributes:
4
- area:
5
- name: Ataması
6
- area_type:
7
- name: Ataması
8
- attachment:
9
- attachment_collection_id: Papka
10
- file: Fayl
11
- component:
12
- name: Ataması
13
- organization:
14
- highlighted_content_banner_image: Súwret
15
- name: Ataması
16
- participatory_space_private_user:
17
- email: Elektron pochta
18
- user_group_csv_verification:
19
- file: Fayl
20
- activerecord:
21
- attributes:
22
- doorkeeper/application:
23
- site: Veb-sayt
24
- decidim:
25
- admin:
26
- actions:
27
- add: Qosıw
28
- browse: Kóriw
29
- import: Importlaw
30
- area_types:
31
- edit:
32
- update: Jańalaw
33
- attachment_collections:
34
- edit:
35
- update: Jańalaw
36
- new:
37
- create: Jaratıw
38
- title: Jańa papka
39
- attachments:
40
- edit:
41
- update: Jańalaw
42
- autocomplete:
43
- no_results: Nátiyjeler tabılmadı
44
- categories:
45
- edit:
46
- update: Jańalaw
47
- index:
48
- categories_title: Kategoriyalar
49
- new:
50
- create: Kategoriya jaratıw
51
- title: Jańa kategoriya
52
- update:
53
- success: Kategoriya tabıslı jańalandı.
54
- components:
55
- edit:
56
- update: Jańalaw
57
- index:
58
- headers:
59
- actions: Háreketler
60
- conflicts:
61
- 'false': 'Yaq'
62
- transfer:
63
- email: Elektron pochta
64
- reason: Sebep
65
- 'true': 'Awa'
66
- user_name: Paydalanıwshı
67
- exports:
68
- formats:
69
- CSV: CSV
70
- Excel: Excel
71
- FormPDF: PDF
72
- JSON: JSON
73
- filters:
74
- category_id_eq:
75
- label: Kategoriya
76
- filter_label: Filtr
77
- invitation_accepted_at_present:
78
- values:
79
- 'false': 'Yaq'
80
- 'true': 'Awa'
81
- last_sign_in_at_present:
82
- values:
83
- 'false': 'Yaq'
84
- 'true': 'Awa'
85
- search_label: Izlew
86
- help_sections:
87
- form:
88
- save: Saqlaw
89
- impersonatable_users:
90
- index:
91
- search: Izlew
92
- status: Jaǵday
93
- impersonations:
94
- form:
95
- reason: Sebep
96
- imports:
97
- and: hám
98
- new:
99
- accepted_mime_types:
100
- csv: CSV
101
- json: JSON
102
- xlsx: Excel (.xlsx)
103
- actions:
104
- back: Artqa
105
- import: Importlaw
106
- menu:
107
- participants: Qatnasıwshılar
108
- settings: Sazlawlar
109
- static_pages: Betler
110
- models:
111
- area:
112
- fields:
113
- name: Ataması
114
- area_type:
115
- fields:
116
- name: Ataması
117
- attachment:
118
- fields:
119
- collection: Papka
120
- user:
121
- fields:
122
- email: Elektron pochta
123
- user_group:
124
- fields:
125
- phone: Telefon
126
- moderated_users:
127
- index:
128
- actions:
129
- title: Háreketler
130
- reason: Sebep
131
- moderations:
132
- reports:
133
- show:
134
- report_reason: Sebep
135
- newsletter_templates:
136
- index:
137
- preview_template: Aldınnan kóriw
138
- newsletters:
139
- index:
140
- all_users: 'Barlıq paydalanıwshılar '
141
- and: 'hám '
142
- new:
143
- save: Saqlaw
144
- officializations:
145
- show_email_modal:
146
- email_address: Elektron mánzil
147
- show: Kórsetiw
148
- organization:
149
- edit:
150
- update: Jańalaw
151
- form:
152
- facebook: Facebook
153
- github: GitHub
154
- instagram: Instagram
155
- twitter: Twitter
156
- url: URL
157
- youtube: YouTube
158
- organization_appearance:
159
- edit:
160
- update: Jańalaw
161
- form:
162
- images:
163
- preview: Aldınnan kóriw
164
- organization_external_domain_whitelist:
165
- edit:
166
- update: Jańalaw
167
- organization_homepage_content_blocks:
168
- edit:
169
- update: Jańalaw
170
- participatory_space_private_users:
171
- new:
172
- create: Jaratıw
173
- participatory_space_private_users_csv_imports:
174
- new:
175
- upload: Júklew
176
- resource_permissions:
177
- edit:
178
- submit: Jiberiw
179
- scope_types:
180
- edit:
181
- update: Jańalaw
182
- scopes:
183
- edit:
184
- update: Jańalaw
185
- share_tokens:
186
- actions:
187
- destroy: Óshiriw
188
- share: Bólisiw
189
- shared:
190
- gallery:
191
- add_images: Súwretlerdi qosıw
192
- delete_image: Súwretti óshiriw
193
- static_pages:
194
- edit:
195
- update: Jańalaw
196
- titles:
197
- static_pages: Betler
198
- users: Qatnasıwshılar
199
- users_statistics:
200
- users_count:
201
- participants: Qatnasıwshılar
202
- moderations:
203
- models:
204
- report:
205
- fields:
206
- locale: Til
207
- reason: Sebep
208
- layouts:
209
- decidim:
210
- admin:
211
- settings:
212
- title: Sazlawlar
213
- users:
214
- title: Qatnasıwshılar
@@ -1 +0,0 @@
1
- lo:
@@ -1 +0,0 @@
1
- oc:
@@ -1,65 +0,0 @@
1
- sq:
2
- activemodel:
3
- attributes:
4
- area:
5
- area_type: Lloji i zonës
6
- name: Emri
7
- organization: Organizata
8
- area_type:
9
- name: Emri
10
- organization: Organizata
11
- plural: Shumës
12
- attachment:
13
- attachment_collection_id: Dosje
14
- description: Përshkrimi
15
- file: Skeda
16
- title: Emri i fotografisë ose bashkëngjitjes
17
- weight: Pozita e rradhës
18
- attachment_collection:
19
- description: Përshkrimi
20
- name: Emri
21
- weight: Pozita e rradhës
22
- category:
23
- description: Përshkrimi
24
- name: Emri
25
- parent_id: Burimi
26
- weight: Pozita e rradhës
27
- component:
28
- name: Emri
29
- published_at: Publikuar në
30
- weight: Pozita e rradhës
31
- external_domain:
32
- value: Vlera
33
- help_section:
34
- content: Përmbajtja
35
- id: ID
36
- import:
37
- user_group_id: Krijo importet si
38
- newsletter:
39
- body: Trupi i mesazhit
40
- subject: Tema
41
- organization:
42
- alert_color: Paralajmërim
43
- available_authorizations: Autorizimet në dispozicion
44
- badges_enabled: Aktivizo emblemat
45
- comments_max_length: Madhësia maks. e komenteve(0 për vlerën e paracaktuar)
46
- cta_button_path: Shtegu i Thirrjes Për Veprim (Call To Action)
47
- cta_button_text: Teksti i butonit të Thirrjes Për Veprim (Call To Action)
48
- customize_welcome_notification: Personalizo njoftimin e mirëseardhjes
49
- default_locale: Lokalizimi i parazgjedhur
50
- description: Përshkrimi
51
- enable_omnipresent_banner: Shfaq banerin e gjithëpranishëm
52
- enable_participatory_space_filters: Aktivizo filtrat e hapësirës së pjesëmarrjes
53
- favicon: Ikona
54
- force_authentication: Sforco autentikimin
55
- highlight_color: Theksim
56
- highlighted_content_banner_short_description: Përshkrim i shkurtër
57
- highlighted_content_banner_title: Titulli
58
- host: Organizatori
59
- decidim:
60
- admin:
61
- newsletters:
62
- select_recipients_to_deliver:
63
- send_to_all_users: Dërgo të gjithë përdoruesve
64
- send_to_followers: Dërgo ndjekësve
65
- send_to_participants: Dërgo pjesëmarrësve
@@ -1 +0,0 @@
1
- th:
@@ -1,49 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- shared_examples "accessing the participatory space" do
4
- it "shows the page" do
5
- expect(page).to have_content("View public page")
6
- expect(page).to have_content("My space")
7
- end
8
- end
9
-
10
- shared_examples "showing the unauthorized error message" do
11
- it "redirects to the relevant unauthorized page" do
12
- expect(page).to have_content("You are not authorized to perform this action")
13
- expect(page).to have_current_path("/admin/")
14
- end
15
- end
16
-
17
- shared_examples "admin participatory space access" do
18
- before do
19
- switch_to_host(organization.host)
20
- login_as user, scope: :user
21
- end
22
-
23
- context "when the user is a normal user" do
24
- let(:user) { create(:user, :confirmed, organization: organization) }
25
- let(:unauthorized_path) { "/" }
26
-
27
- it_behaves_like "a 404 page"
28
- end
29
-
30
- context "when the user has the role" do
31
- let(:user) { role }
32
-
33
- context "and has permission" do
34
- before do
35
- visit target_path
36
- end
37
-
38
- it_behaves_like "accessing the participatory space"
39
- end
40
-
41
- context "and does not have permission" do
42
- before do
43
- visit unauthorized_target_path
44
- end
45
-
46
- it_behaves_like "showing the unauthorized error message"
47
- end
48
- end
49
- end
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- shared_examples_for "needs admin TOS accepted" do
4
- context "when the user has not accepted the admin TOS" do
5
- it "shows a message to accept the admin TOS" do
6
- expect(page).to have_content("Please take a moment to review Admin Terms of Use")
7
- end
8
- end
9
- end