decidim-dev 0.21.0 → 0.23.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/decidim/dummy.svg +1 -4
  3. data/app/assets/images/decidim/gamification/badges/test.svg +1 -145
  4. data/app/commands/decidim/dummy_resources/create_dummy_resource.rb +48 -0
  5. data/app/controllers/decidim/dummy_resources/dummy_resources_controller.rb +1 -0
  6. data/app/forms/decidim/dummy_resources/dummy_resource_form.rb +3 -0
  7. data/app/mailers/decidim/dummy_resources/dummy_resource_mailer.rb +17 -0
  8. data/app/views/decidim/dummy_resources/dummy_resources/show.html.erb +4 -0
  9. data/config/locales/am-ET.yml +1 -0
  10. data/config/locales/bg-BG.yml +56 -0
  11. data/config/locales/bg.yml +56 -0
  12. data/config/locales/ca.yml +15 -0
  13. data/config/locales/cs.yml +16 -1
  14. data/config/locales/da-DK.yml +1 -0
  15. data/config/locales/da.yml +1 -0
  16. data/config/locales/de.yml +17 -1
  17. data/config/locales/el.yml +55 -0
  18. data/config/locales/en.yml +15 -0
  19. data/config/locales/eo.yml +1 -0
  20. data/config/locales/es-MX.yml +15 -0
  21. data/config/locales/es-PY.yml +15 -0
  22. data/config/locales/es.yml +15 -0
  23. data/config/locales/et-EE.yml +1 -0
  24. data/config/locales/et.yml +1 -0
  25. data/config/locales/fi-plain.yml +15 -0
  26. data/config/locales/fi.yml +15 -0
  27. data/config/locales/fr-CA.yml +56 -0
  28. data/config/locales/fr.yml +15 -0
  29. data/config/locales/ga-IE.yml +1 -0
  30. data/config/locales/hr-HR.yml +1 -0
  31. data/config/locales/hr.yml +1 -0
  32. data/config/locales/hu.yml +9 -0
  33. data/config/locales/is.yml +21 -0
  34. data/config/locales/it.yml +17 -2
  35. data/config/locales/ja-JP.yml +56 -0
  36. data/config/locales/ja.yml +56 -0
  37. data/config/locales/ko-KR.yml +1 -0
  38. data/config/locales/ko.yml +1 -0
  39. data/config/locales/lt-LT.yml +1 -0
  40. data/config/locales/lt.yml +1 -0
  41. data/config/locales/lv.yml +54 -0
  42. data/config/locales/mt-MT.yml +1 -0
  43. data/config/locales/mt.yml +1 -0
  44. data/config/locales/nl.yml +15 -0
  45. data/config/locales/om-ET.yml +1 -0
  46. data/config/locales/pl.yml +26 -10
  47. data/config/locales/pt-BR.yml +1 -1
  48. data/config/locales/pt.yml +26 -10
  49. data/config/locales/ro-RO.yml +56 -0
  50. data/config/locales/si-LK.yml +1 -0
  51. data/config/locales/sk-SK.yml +47 -0
  52. data/config/locales/sk.yml +47 -0
  53. data/config/locales/sl.yml +5 -0
  54. data/config/locales/so-SO.yml +1 -0
  55. data/config/locales/sr-CS.yml +8 -0
  56. data/config/locales/sv.yml +15 -0
  57. data/config/locales/sw-KE.yml +1 -0
  58. data/config/locales/ti-ER.yml +1 -0
  59. data/config/locales/tr-TR.yml +25 -9
  60. data/config/locales/vi-VN.yml +1 -0
  61. data/config/locales/vi.yml +1 -0
  62. data/config/locales/zh-CN.yml +56 -0
  63. data/config/locales/zh-TW.yml +1 -0
  64. data/lib/decidim/dev.rb +2 -0
  65. data/lib/decidim/dev/assets/5000x5000.png +0 -0
  66. data/lib/decidim/dev/assets/assemblies.json +816 -0
  67. data/lib/decidim/dev/assets/assemblies_with_null.json +135 -0
  68. data/lib/decidim/dev/assets/city.jpeg +0 -0
  69. data/lib/decidim/dev/assets/city2.jpeg +0 -0
  70. data/lib/decidim/dev/assets/city3.jpeg +0 -0
  71. data/lib/decidim/dev/assets/geocoder_result_here.json +72 -0
  72. data/lib/decidim/dev/assets/geocoder_result_osm.json +150 -0
  73. data/lib/decidim/dev/assets/import_participatory_space_private_users_nok.csv +2 -0
  74. data/lib/decidim/dev/dummy_translator.rb +32 -0
  75. data/lib/decidim/dev/test/rspec_support/authorization.rb +3 -0
  76. data/lib/decidim/dev/test/rspec_support/capybara.rb +5 -1
  77. data/lib/decidim/dev/test/rspec_support/capybara_data_picker.rb +15 -5
  78. data/lib/decidim/dev/test/rspec_support/capybara_scopes_picker.rb +5 -5
  79. data/lib/decidim/dev/test/rspec_support/component.rb +111 -9
  80. data/lib/decidim/dev/test/rspec_support/component_context.rb +1 -2
  81. data/lib/decidim/dev/test/rspec_support/confirmation_helpers.rb +60 -0
  82. data/lib/decidim/dev/test/rspec_support/content_processing.rb +2 -2
  83. data/lib/decidim/dev/test/rspec_support/frontend.rb +20 -0
  84. data/lib/decidim/dev/test/rspec_support/geocoder.rb +150 -6
  85. data/lib/decidim/dev/test/rspec_support/helpers.rb +2 -2
  86. data/lib/decidim/dev/test/rspec_support/organization.rb +7 -0
  87. data/lib/decidim/dev/test/rspec_support/rake_tasks.rb +75 -0
  88. data/lib/decidim/dev/test/rspec_support/translation_helpers.rb +2 -0
  89. data/lib/decidim/dev/version.rb +1 -1
  90. data/lib/tasks/generators.rake +2 -1
  91. data/lib/tasks/locale_checker.rake +1 -1
  92. metadata +62 -14
  93. data/lib/decidim/dev/test/rspec_support/capybara_proposals_picker.rb +0 -51
@@ -0,0 +1,47 @@
1
+ sk:
2
+ activemodel:
3
+ attributes:
4
+ dummy_resource:
5
+ created_at: Vytvorené
6
+ field: Moje pole
7
+ start_date: Dátum začatia
8
+ title: Názov
9
+ translatable_text: Text na preloženie
10
+ updated_at: Aktualizované
11
+ decidim:
12
+ components:
13
+ dummy:
14
+ settings:
15
+ step:
16
+ endorsements_blocked: Zablokovanie podpory
17
+ endorsements_enabled: Povolenie podpory
18
+ dummy:
19
+ admin:
20
+ exports:
21
+ dummies: Indikátory (dummy variable)
22
+ gamification:
23
+ badges:
24
+ test:
25
+ conditions:
26
+ - Použiť testovacie prostredie pre decidim.
27
+ description: Účastníci dostanú tento odznak za vytváranie testov.
28
+ description_another: Tento účastník vytvoril %{score} testov.
29
+ description_own: Vytvorili ste %{score} testov.
30
+ name: Testy
31
+ next_level_in: Vytvorte o %{score} testov viac pre dosiahnutie ďalšej úrovne!
32
+ unearned_another: Tento účastník nevytvoril žiadny test.
33
+ unearned_own: Zatiaľ ste nevytvorili žiadny test.
34
+ pages:
35
+ home:
36
+ statistics:
37
+ bar: Stĺpec
38
+ dummies_count_high: Vysoký počet testovacích premenných
39
+ dummies_count_medium: Stredný počet testovacích premenných
40
+ foo: Test
41
+ participatory_processes:
42
+ statistics:
43
+ dummies_count_high: Vysoký počet testovacích premenných
44
+ dummies_count_medium: Stredný počet testovacích premenných
45
+ resource_links:
46
+ test_link:
47
+ dummy_resource_dummy: Súvisiace indikátory
@@ -0,0 +1,5 @@
1
+ sl:
2
+ activemodel:
3
+ attributes:
4
+ dummy_resource:
5
+ title: Naziv
@@ -0,0 +1 @@
1
+ so:
@@ -0,0 +1,8 @@
1
+ sr:
2
+ decidim:
3
+ components:
4
+ dummy:
5
+ settings:
6
+ step:
7
+ endorsements_blocked: Podržavanja su onemogućena
8
+ endorsements_enabled: Podržavanja su omogućena
@@ -3,12 +3,27 @@ sv:
3
3
  attributes:
4
4
  dummy_resource:
5
5
  created_at: Skapad
6
+ decidim_scope_id: Omfattning
6
7
  field: Mitt fält
7
8
  start_date: Startdatum
8
9
  title: Titel
9
10
  translatable_text: Översättningsbar text
10
11
  updated_at: Uppdaterad
11
12
  decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Skrivskyddat attribut
18
+ test: Ett test
19
+ test_choices:
20
+ a: Ett val
21
+ b: B val
22
+ c: C val
23
+ step:
24
+ endorsements_blocked: Instämmanden är blockerade
25
+ endorsements_enabled: Instämmanden tillåtna
26
+ readonly_step_attribute: Skrivskyddade steg attribut
12
27
  dummy:
13
28
  admin:
14
29
  exports:
@@ -0,0 +1 @@
1
+ sw:
@@ -0,0 +1 @@
1
+ ti:
@@ -2,12 +2,28 @@ tr:
2
2
  activemodel:
3
3
  attributes:
4
4
  dummy_resource:
5
- created_at: Adresinde düzenlendi
5
+ created_at: Oluşturuldu
6
+ decidim_scope_id: Kapsam
6
7
  field: Benim alanım
7
8
  start_date: Başlangıç tarihi
8
9
  title: Başlık
9
- updated_at: Adresinde güncellendi
10
+ translatable_text: Çeviri metni
11
+ updated_at: Güncellendi
10
12
  decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Salt okunur özniteliği
18
+ test: Test
19
+ test_choices:
20
+ a: Seçenek
21
+ b: Seçim
22
+ c: Seçenek
23
+ step:
24
+ endorsements_blocked: Onaylar engellendi
25
+ endorsements_enabled: Onaylar etkinleştirildi
26
+ readonly_step_attribute: Salt okunur özniteliği
11
27
  dummy:
12
28
  admin:
13
29
  exports:
@@ -27,14 +43,14 @@ tr:
27
43
  pages:
28
44
  home:
29
45
  statistics:
30
- bar: Bar
31
- dummies_count_high: Aptallar yüksek
32
- dummies_count_medium: Aptallar orta
33
- foo: foo
46
+ bar: Çubuk
47
+ dummies_count_high: Çok sahte
48
+ dummies_count_medium: Orta sahte
49
+ foo: Sahte değişken
34
50
  participatory_processes:
35
51
  statistics:
36
- dummies_count_high: Aptallar yüksek
37
- dummies_count_medium: Aptallar orta
52
+ dummies_count_high: Çok sahte
53
+ dummies_count_medium: Orta sahte
38
54
  resource_links:
39
55
  test_link:
40
- dummy_resource_dummy: İlgili kukla
56
+ dummy_resource_dummy: İlgili sahte konu
@@ -0,0 +1 @@
1
+ vi:
@@ -0,0 +1 @@
1
+ vi:
@@ -0,0 +1,56 @@
1
+ zh-CN:
2
+ activemodel:
3
+ attributes:
4
+ dummy_resource:
5
+ created_at: 创建于
6
+ decidim_scope_id: 范围
7
+ field: 我的字段
8
+ start_date: 开始日期
9
+ title: 标题
10
+ translatable_text: 可翻译文本
11
+ updated_at: 更新于
12
+ decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: 只读属性
18
+ test: 测试
19
+ test_choices:
20
+ a: 一个选择
21
+ b: B 选择
22
+ c: C 选择
23
+ step:
24
+ endorsements_blocked: 已阻止授权
25
+ endorsements_enabled: 授权已启用
26
+ readonly_step_attribute: 只读步骤属性
27
+ dummy:
28
+ admin:
29
+ exports:
30
+ dummies: 杜姆文
31
+ gamification:
32
+ badges:
33
+ test:
34
+ conditions:
35
+ - 对判定环境使用测试环境。
36
+ description: 参与者通过创建测试获得这个徽章。
37
+ description_another: 此参与者已创建了 %{score} 个测试。
38
+ description_own: 您已创建了 %{score} 个测试。
39
+ name: 测试
40
+ next_level_in: 再创建 %{score} 个测试以达到下一关!
41
+ unearned_another: 此参与者尚未创建任何测试。
42
+ unearned_own: 您还没有创建测试。
43
+ pages:
44
+ home:
45
+ statistics:
46
+ bar: 条形图
47
+ dummies_count_high: 倾角高
48
+ dummies_count_medium: 虚拟机介质
49
+ foo: Foo
50
+ participatory_processes:
51
+ statistics:
52
+ dummies_count_high: 倾角高
53
+ dummies_count_medium: 虚拟机介质
54
+ resource_links:
55
+ test_link:
56
+ dummy_resource_dummy: 相关虚假的
@@ -0,0 +1 @@
1
+ zh-TW:
data/lib/decidim/dev.rb CHANGED
@@ -7,6 +7,8 @@ module Decidim
7
7
  # create external libraries that create test apps and test themselves against
8
8
  # them.
9
9
  module Dev
10
+ autoload :DummyTranslator, "decidim/dev/dummy_translator"
11
+
10
12
  # Public: Finds an asset.
11
13
  #
12
14
  # Returns a String with the path for a particular asset.
@@ -0,0 +1,816 @@
1
+ [
2
+ {
3
+ "id": 1,
4
+ "slug": "quae-a",
5
+ "hashtag": "id",
6
+ "decidim_organization_id": 1,
7
+ "title": {
8
+ "ca": "Eius iure laborum hic et.",
9
+ "en": "Deserunt sed est quas rerum.",
10
+ "es": "Est architecto voluptas est nobis."
11
+ },
12
+ "subtitle": {
13
+ "ca": "Necessitatibus repellat.",
14
+ "en": "Porro ipsam.",
15
+ "es": "Qui quia."
16
+ },
17
+ "short_description": {
18
+ "ca": "<p>Sed et voluptatem.</p>",
19
+ "en": "<p>Provident ab et.</p>",
20
+ "es": "<p>Molestias aliquam rerum.</p>"
21
+ },
22
+ "description": {
23
+ "ca": "<p>In incidunt harum. Sit laboriosam molestiae. Officia qui quo.</p>",
24
+ "en": "<p>Occaecati nulla deserunt. Sequi voluptatem quam. Qui eligendi quod.</p>",
25
+ "es": "<p>Accusamus dolorem vitae. Et reprehenderit accusantium. Expedita consequatur nesciunt.</p>"
26
+ },
27
+ "remote_hero_image_url": "http://localhost:3000/uploads/decidim/assembly/hero_image/1/city.jpeg",
28
+ "remote_banner_image_url": "http://localhost:3000/uploads/decidim/assembly/banner_image/1/city2.jpeg",
29
+ "promoted": true,
30
+ "developer_group": {
31
+ "ca": "Nesciunt.",
32
+ "en": "Ad.",
33
+ "es": "Sint."
34
+ },
35
+ "meta_scope": {
36
+ "ca": "eum",
37
+ "en": "explicabo",
38
+ "es": "quas"
39
+ },
40
+ "local_area": {
41
+ "ca": "Ad ut.",
42
+ "en": "Illum nihil.",
43
+ "es": "Adipisci ut."
44
+ },
45
+ "target": {
46
+ "ca": "Sit et ea.",
47
+ "en": "Ut libero qui.",
48
+ "es": "Incidunt provident doloremque."
49
+ },
50
+ "decidim_scope_id": null,
51
+ "paticipatory_scope": {
52
+ "ca": "Assumenda.",
53
+ "en": "Quidem.",
54
+ "es": "Aspernatur."
55
+ },
56
+ "participatory_structure": {
57
+ "ca": "Voluptatem in.",
58
+ "en": "Vel qui.",
59
+ "es": "Et molestiae."
60
+ },
61
+ "show_statistics": false,
62
+ "scopes_enabled": true,
63
+ "private_space": false,
64
+ "reference": "PhD-ASSE-2020-01-1",
65
+ "purpose_of_action": {
66
+ "ca": "<p>Velit a qui. Debitis rem occaecati. Id minus est.</p>",
67
+ "en": "<p>Perspiciatis voluptas et. Officiis ratione corporis. Voluptas iusto qui.</p>",
68
+ "es": "<p>Sit pariatur et. Modi ea earum. Suscipit labore ipsum.</p>"
69
+ },
70
+ "composition": {
71
+ "ca": "<p>Quos libero nobis. Fugiat quia et. Nam non quae.</p>",
72
+ "en": "<p>Ex optio illo. Dolor sunt quam. Et fugit molestiae.</p>",
73
+ "es": "<p>Incidunt sint veniam. Illum repellendus quos. Et tenetur voluptatum.</p>"
74
+ },
75
+ "duration": "2020-01-24",
76
+ "participatory_scope": {
77
+ "ca": "Assumenda.",
78
+ "en": "Quidem.",
79
+ "es": "Aspernatur."
80
+ },
81
+ "included_at": "2020-01-27",
82
+ "closing_date": "2020-01-27",
83
+ "created_by": "others",
84
+ "creation_date": "2020-01-23",
85
+ "closing_date_reason": {
86
+ "ca": "Dolorum id voluptate.",
87
+ "en": "Voluptatibus quasi omnis.",
88
+ "es": "Similique et expedita."
89
+ },
90
+ "internal_organisation": {
91
+ "ca": "<p>Reprehenderit nisi non. Unde quia cum. Ea saepe deleniti.</p>",
92
+ "en": "<p>Optio ducimus velit. Facilis omnis asperiores. Corporis ipsa non.</p>",
93
+ "es": "<p>Est dolorum et. Quo sed ut. Corporis quos sit.</p>"
94
+ },
95
+ "is_transparent": true,
96
+ "special_features": {
97
+ "ca": "<p>Dolor et reprehenderit. Unde soluta eum. Omnis occaecati omnis.</p>",
98
+ "en": "<p>Et atque perspiciatis. Quas impedit corporis. Nesciunt blanditiis ipsa.</p>",
99
+ "es": "<p>Rerum eligendi hic. Iure aut expedita. Sapiente ut corrupti.</p>"
100
+ },
101
+ "twitter_handler": "aliquam",
102
+ "instagram_handler": "corrupti",
103
+ "facebook_handler": "velit",
104
+ "youtube_handler": "ducimus",
105
+ "github_handler": "in",
106
+ "created_by_other": {
107
+ "ca": "vitae",
108
+ "en": "ut",
109
+ "es": "rerum"
110
+ },
111
+ "decidim_assemblies_type_id": 1,
112
+ "area": {
113
+ "id": null,
114
+ "name": {
115
+ "en": "",
116
+ "ca": "",
117
+ "es": ""
118
+ }
119
+ },
120
+ "scope": {
121
+ "id": null,
122
+ "name": {
123
+ "en": "",
124
+ "ca": "",
125
+ "es": ""
126
+ }
127
+ },
128
+ "assembly_categories": [
129
+ {
130
+ "id": 17,
131
+ "name": {
132
+ "ca": "Corrupti unde et laboriosam quaerat.",
133
+ "en": "Veritatis provident nobis reprehenderit tenetur.",
134
+ "es": "Consequatur quo temporibus sunt repellat."
135
+ },
136
+ "description": {
137
+ "ca": "<p>Non quod debitis. Voluptatem voluptates explicabo. Cumque vero nihil.</p>",
138
+ "en": "<p>Fugit voluptatibus facilis. Atque ut molestias. Quibusdam commodi qui.</p>",
139
+ "es": "<p>Necessitatibus est sapiente. Tempore illum ullam. Fugiat non reprehenderit.</p>"
140
+ },
141
+ "parent_id": null,
142
+ "subcategories": [
143
+ {
144
+ "id": 21,
145
+ "name": {
146
+ "ca": "Sit voluptate molestiae maxime enim.",
147
+ "en": "Quidem aliquid reiciendis incidunt iste.",
148
+ "es": "Animi asperiores ut sunt aut."
149
+ },
150
+ "description": {
151
+ "ca": "<p>Autem nesciunt corrupti. Laborum unde enim. Iste aut autem.</p>",
152
+ "en": "<p>Facere nam dolores. Et ut et. Quia quas in.</p>",
153
+ "es": "<p>Aspernatur aut vel. Et quam harum. Ipsam dolore accusamus.</p>"
154
+ },
155
+ "parent_id": 17
156
+ },
157
+ {
158
+ "id": 22,
159
+ "name": {
160
+ "ca": "Eum blanditiis nam dicta aut.",
161
+ "en": "Harum optio eos iusto tenetur.",
162
+ "es": "Id officia et alias libero."
163
+ },
164
+ "description": {
165
+ "ca": "<p>Officiis nesciunt tempore. Commodi pariatur aliquid. Vel eum ea.</p>",
166
+ "en": "<p>Sit eaque quis. Voluptatem vero nesciunt. Quia provident consequatur.</p>",
167
+ "es": "<p>Quo ut et. Pariatur tempore architecto. Voluptas facilis totam.</p>"
168
+ },
169
+ "parent_id": 17
170
+ }
171
+ ]
172
+ },
173
+ {
174
+ "id": 18,
175
+ "name": {
176
+ "ca": "Officia perspiciatis temporibus enim ea.",
177
+ "en": "Eum architecto recusandae reprehenderit ut.",
178
+ "es": "Molestiae dolorum nemo non possimus."
179
+ },
180
+ "description": {
181
+ "ca": "<p>Impedit et aliquid. Quis autem cumque. Dolorem libero commodi.</p>",
182
+ "en": "<p>Sit qui quasi. Et autem et. Veniam ex quis.</p>",
183
+ "es": "<p>Temporibus ut laudantium. Molestiae dolores temporibus. Aliquid similique placeat.</p>"
184
+ },
185
+ "parent_id": null,
186
+ "subcategories": [
187
+ {
188
+ "id": 19,
189
+ "name": {
190
+ "ca": "Voluptas quo facere est harum.",
191
+ "en": "Alias dolores eius hic iusto.",
192
+ "es": "Maxime doloremque velit iure deleniti."
193
+ },
194
+ "description": {
195
+ "ca": "<p>Voluptates quis quisquam. Ullam harum molestiae. Culpa id id.</p>",
196
+ "en": "<p>Accusantium asperiores a. Dolorem unde ipsum. Quis recusandae quo.</p>",
197
+ "es": "<p>Consequatur perferendis et. Praesentium et laborum. Voluptates est in.</p>"
198
+ },
199
+ "parent_id": 18
200
+ },
201
+ {
202
+ "id": 20,
203
+ "name": {
204
+ "ca": "Quisquam ut ipsam delectus qui.",
205
+ "en": "Quasi unde sequi rerum quam.",
206
+ "es": "Impedit praesentium sed error in."
207
+ },
208
+ "description": {
209
+ "ca": "<p>Quis reiciendis autem. Sed et accusantium. Voluptatem sunt non.</p>",
210
+ "en": "<p>Aut voluptatum non. Voluptas modi sed. Consequuntur est voluptatem.</p>",
211
+ "es": "<p>Magnam quos placeat. Perferendis accusamus iste. Eaque dicta vitae.</p>"
212
+ },
213
+ "parent_id": 18
214
+ },
215
+ {
216
+ "id": 23,
217
+ "name": {
218
+ "ca": "Eius a velit rerum dolor.",
219
+ "en": "Possimus eligendi cum qui aut.",
220
+ "es": "Dolores ut id qui illo."
221
+ },
222
+ "description": {
223
+ "ca": "<p>Soluta in ipsum. Laborum cumque eius. Eum ut dolore.</p>",
224
+ "en": "<p>Ea nihil qui. Quae fugit eum. Dolor libero iusto.</p>",
225
+ "es": "<p>Quo possimus sit. Harum quia et. Enim provident amet.</p>"
226
+ },
227
+ "parent_id": 18
228
+ },
229
+ {
230
+ "id": 24,
231
+ "name": {
232
+ "ca": "Ducimus et commodi ea tempore.",
233
+ "en": "Omnis ut quam quis qui.",
234
+ "es": "Blanditiis ducimus adipisci nihil et."
235
+ },
236
+ "description": {
237
+ "ca": "<p>Natus vitae debitis. Aut voluptatem veniam. Veniam nulla ea.</p>",
238
+ "en": "<p>Atque voluptatibus accusantium. Qui culpa provident. Veritatis dolore ullam.</p>",
239
+ "es": "<p>Molestiae qui quia. Totam ducimus in. Tempore saepe provident.</p>"
240
+ },
241
+ "parent_id": 18
242
+ }
243
+ ]
244
+ }
245
+ ],
246
+ "attachments": {
247
+ "attachment_collections": [
248
+ {
249
+ "id": 11,
250
+ "name": {
251
+ "ca": "deleniti",
252
+ "en": "laboriosam",
253
+ "es": "quia"
254
+ },
255
+ "weight": 0,
256
+ "description": {
257
+ "ca": "Omnis nihil repudiandae ipsa qui.",
258
+ "en": "Doloremque et fugit porro consectetur.",
259
+ "es": "Sit nemo ut dolorem aliquid."
260
+ }
261
+ }
262
+ ],
263
+ "files": [
264
+ {
265
+ "id": 33,
266
+ "title": {
267
+ "ca": "Quia nesciunt.",
268
+ "en": "Eligendi praesentium.",
269
+ "es": "Minus iste."
270
+ },
271
+ "weight": 0,
272
+ "description": {
273
+ "ca": "Assumenda dolorem adipisci minima voluptatibus.",
274
+ "en": "Doloremque possimus in consequatur ipsam.",
275
+ "es": "Numquam repudiandae enim nesciunt et."
276
+ },
277
+ "attachment_collection": {
278
+ "name": null,
279
+ "weight": null,
280
+ "description": null
281
+ },
282
+ "remote_file_url": "http://localhost:3000/uploads/decidim/attachment/file/33/Exampledocument.pdf"
283
+ },
284
+ {
285
+ "id": 32,
286
+ "title": {
287
+ "ca": "Amet quae.",
288
+ "en": "Dolorem a.",
289
+ "es": "Sed et."
290
+ },
291
+ "weight": 0,
292
+ "description": {
293
+ "ca": "Qui sit fuga quia ut.",
294
+ "en": "Laborum ratione minus aperiam ea.",
295
+ "es": "Accusamus ea non repellendus quis."
296
+ },
297
+ "attachment_collection": {
298
+ "name": null,
299
+ "weight": null,
300
+ "description": null
301
+ },
302
+ "remote_file_url": "http://localhost:3000/uploads/decidim/attachment/file/32/city.jpeg"
303
+ },
304
+ {
305
+ "id": 31,
306
+ "title": {
307
+ "ca": "Eveniet consequatur.",
308
+ "en": "Temporibus ea.",
309
+ "es": "Non dolore."
310
+ },
311
+ "weight": 0,
312
+ "description": {
313
+ "ca": "Fugiat incidunt sed sit corporis.",
314
+ "en": "Aut cupiditate ex et ipsa.",
315
+ "es": "Quis voluptatem aut et quasi."
316
+ },
317
+ "attachment_collection": {
318
+ "name": {
319
+ "ca": "deleniti",
320
+ "en": "laboriosam",
321
+ "es": "quia"
322
+ },
323
+ "weight": 0,
324
+ "description": {
325
+ "ca": "Omnis nihil repudiandae ipsa qui.",
326
+ "en": "Doloremque et fugit porro consectetur.",
327
+ "es": "Sit nemo ut dolorem aliquid."
328
+ }
329
+ },
330
+ "remote_file_url": "http://localhost:3000/uploads/decidim/attachment/file/31/Exampledocument.pdf"
331
+ }
332
+ ]
333
+ },
334
+ "components": [
335
+ {
336
+ "manifest_name": "accountability",
337
+ "id": 24,
338
+ "name": {
339
+ "ca": "Seguiment",
340
+ "en": "Accountability",
341
+ "es": "Seguimiento"
342
+ },
343
+ "participatory_space_id": 1,
344
+ "participatory_space_type": "Decidim::Assembly",
345
+ "settings": {
346
+ "comments_enabled": true,
347
+ "intro": {
348
+ "ca": "<p>Odit aperiam ea reiciendis.</p>",
349
+ "en": "<p>Praesentium iste sit dicta.</p>",
350
+ "es": "<p>Repudiandae magni quo sit.</p>"
351
+ },
352
+ "intro_en": "<p>Praesentium iste sit dicta.</p>",
353
+ "intro_ca": "<p>Odit aperiam ea reiciendis.</p>",
354
+ "intro_es": "<p>Repudiandae magni quo sit.</p>",
355
+ "categories_label": {
356
+ "ca": "rerum",
357
+ "en": "dolores",
358
+ "es": "voluptatem"
359
+ },
360
+ "categories_label_en": "dolores",
361
+ "categories_label_ca": "rerum",
362
+ "categories_label_es": "voluptatem",
363
+ "subcategories_label": {
364
+ "ca": "totam",
365
+ "en": "qui",
366
+ "es": "iure"
367
+ },
368
+ "subcategories_label_en": "qui",
369
+ "subcategories_label_ca": "totam",
370
+ "subcategories_label_es": "iure",
371
+ "heading_parent_level_results": {
372
+ "ca": "pariatur",
373
+ "en": "voluptatem",
374
+ "es": "molestias"
375
+ },
376
+ "heading_parent_level_results_en": "voluptatem",
377
+ "heading_parent_level_results_ca": "pariatur",
378
+ "heading_parent_level_results_es": "molestias",
379
+ "heading_leaf_level_results": {
380
+ "ca": "enim",
381
+ "en": "nam",
382
+ "es": "et"
383
+ },
384
+ "heading_leaf_level_results_en": "nam",
385
+ "heading_leaf_level_results_ca": "enim",
386
+ "heading_leaf_level_results_es": "et",
387
+ "display_progress_enabled": true
388
+ },
389
+ "weight": 0,
390
+ "permissions": null,
391
+ "published_at": "2020-01-22 07:55:13 UTC"
392
+ },
393
+ {
394
+ "manifest_name": "blogs",
395
+ "id": 27,
396
+ "name": {
397
+ "ca": "Blog",
398
+ "en": "Blog",
399
+ "es": "Blog"
400
+ },
401
+ "participatory_space_id": 1,
402
+ "participatory_space_type": "Decidim::Assembly",
403
+ "settings": {
404
+ "announcement": {
405
+ "ca": null,
406
+ "en": null,
407
+ "es": null
408
+ },
409
+ "announcement_en": null,
410
+ "announcement_ca": null,
411
+ "announcement_es": null,
412
+ "comments_enabled": true
413
+ },
414
+ "weight": 0,
415
+ "permissions": null,
416
+ "published_at": "2020-01-22 07:55:19 UTC"
417
+ },
418
+ {
419
+ "manifest_name": "budgets",
420
+ "id": 22,
421
+ "name": {
422
+ "ca": "Pressupostos",
423
+ "en": "Budgets",
424
+ "es": "Presupuestos"
425
+ },
426
+ "participatory_space_id": 1,
427
+ "participatory_space_type": "Decidim::Assembly",
428
+ "settings": {
429
+ "projects_per_page": 12,
430
+ "total_budget": 100000000,
431
+ "vote_threshold_percent": 70,
432
+ "comments_enabled": true,
433
+ "resources_permissions_enabled": true,
434
+ "announcement": {
435
+ },
436
+ "announcement_en": null,
437
+ "announcement_ca": null,
438
+ "announcement_es": null
439
+ },
440
+ "weight": 0,
441
+ "permissions": null,
442
+ "published_at": "2020-01-22 07:55:12 UTC"
443
+ },
444
+ {
445
+ "manifest_name": "debates",
446
+ "id": 25,
447
+ "name": {
448
+ "ca": "Debats",
449
+ "en": "Debates",
450
+ "es": "Debates"
451
+ },
452
+ "participatory_space_id": 1,
453
+ "participatory_space_type": "Decidim::Assembly",
454
+ "settings": {
455
+ "comments_enabled": true,
456
+ "announcement": {
457
+ },
458
+ "announcement_en": null,
459
+ "announcement_ca": null,
460
+ "announcement_es": null
461
+ },
462
+ "weight": 0,
463
+ "permissions": null,
464
+ "published_at": "2020-01-22 07:55:19 UTC"
465
+ },
466
+ {
467
+ "manifest_name": "meetings",
468
+ "id": 20,
469
+ "name": {
470
+ "ca": "Trobades",
471
+ "en": "Meetings",
472
+ "es": "Encuentros"
473
+ },
474
+ "participatory_space_id": 1,
475
+ "participatory_space_type": "Decidim::Assembly",
476
+ "settings": {
477
+ "announcement": {
478
+ },
479
+ "announcement_en": null,
480
+ "announcement_ca": null,
481
+ "announcement_es": null,
482
+ "default_registration_terms": {
483
+ },
484
+ "default_registration_terms_en": null,
485
+ "default_registration_terms_ca": null,
486
+ "default_registration_terms_es": null,
487
+ "comments_enabled": true,
488
+ "resources_permissions_enabled": true,
489
+ "enable_pads_creation": false
490
+ },
491
+ "weight": 0,
492
+ "permissions": null,
493
+ "published_at": "2020-01-22 07:55:04 UTC"
494
+ },
495
+ {
496
+ "manifest_name": "pages",
497
+ "id": 19,
498
+ "name": {
499
+ "ca": "Pàgina",
500
+ "en": "Page",
501
+ "es": "Página"
502
+ },
503
+ "participatory_space_id": 1,
504
+ "participatory_space_type": "Decidim::Assembly",
505
+ "settings": {
506
+ "announcement": {
507
+ },
508
+ "announcement_en": null,
509
+ "announcement_ca": null,
510
+ "announcement_es": null
511
+ },
512
+ "weight": 0,
513
+ "permissions": null,
514
+ "published_at": "2020-01-22 07:55:04 UTC"
515
+ },
516
+ {
517
+ "manifest_name": "proposals",
518
+ "id": 21,
519
+ "name": {
520
+ "ca": "Propostes",
521
+ "en": "Proposals",
522
+ "es": "Propuestas"
523
+ },
524
+ "participatory_space_id": 1,
525
+ "participatory_space_type": "Decidim::Assembly",
526
+ "settings": {
527
+ "vote_limit": 0,
528
+ "minimum_votes_per_user": 0,
529
+ "proposal_limit": 0,
530
+ "proposal_length": 500,
531
+ "proposal_edit_before_minutes": 5,
532
+ "threshold_per_proposal": 0,
533
+ "can_accumulate_supports_beyond_threshold": false,
534
+ "proposal_answering_enabled": true,
535
+ "official_proposals_enabled": true,
536
+ "comments_enabled": true,
537
+ "geocoding_enabled": false,
538
+ "attachments_allowed": false,
539
+ "resources_permissions_enabled": true,
540
+ "collaborative_drafts_enabled": true,
541
+ "participatory_texts_enabled": false,
542
+ "amendments_enabled": false,
543
+ "amendments_wizard_help_text": {
544
+ "ca": null,
545
+ "en": null,
546
+ "es": null
547
+ },
548
+ "amendments_wizard_help_text_en": null,
549
+ "amendments_wizard_help_text_ca": null,
550
+ "amendments_wizard_help_text_es": null,
551
+ "announcement": {
552
+ "ca": null,
553
+ "en": null,
554
+ "es": null
555
+ },
556
+ "announcement_en": null,
557
+ "announcement_ca": null,
558
+ "announcement_es": null,
559
+ "new_proposal_help_text": {
560
+ "ca": null,
561
+ "en": null,
562
+ "es": null
563
+ },
564
+ "new_proposal_help_text_en": null,
565
+ "new_proposal_help_text_ca": null,
566
+ "new_proposal_help_text_es": null,
567
+ "proposal_wizard_step_1_help_text": {
568
+ "ca": null,
569
+ "en": null,
570
+ "es": null
571
+ },
572
+ "proposal_wizard_step_1_help_text_en": null,
573
+ "proposal_wizard_step_1_help_text_ca": null,
574
+ "proposal_wizard_step_1_help_text_es": null,
575
+ "proposal_wizard_step_2_help_text": {
576
+ "ca": null,
577
+ "en": null,
578
+ "es": null
579
+ },
580
+ "proposal_wizard_step_2_help_text_en": null,
581
+ "proposal_wizard_step_2_help_text_ca": null,
582
+ "proposal_wizard_step_2_help_text_es": null,
583
+ "proposal_wizard_step_3_help_text": {
584
+ "ca": null,
585
+ "en": null,
586
+ "es": null
587
+ },
588
+ "proposal_wizard_step_3_help_text_en": null,
589
+ "proposal_wizard_step_3_help_text_ca": null,
590
+ "proposal_wizard_step_3_help_text_es": null,
591
+ "proposal_wizard_step_4_help_text": {
592
+ "ca": null,
593
+ "en": null,
594
+ "es": null
595
+ },
596
+ "proposal_wizard_step_4_help_text_en": null,
597
+ "proposal_wizard_step_4_help_text_ca": null,
598
+ "proposal_wizard_step_4_help_text_es": null
599
+ },
600
+ "weight": 0,
601
+ "permissions": null,
602
+ "published_at": "2020-01-22 07:55:05 UTC"
603
+ },
604
+ {
605
+ "manifest_name": "sortitions",
606
+ "id": 26,
607
+ "name": {
608
+ "ca": "Sortejos",
609
+ "en": "Sortitions",
610
+ "es": "Sorteos"
611
+ },
612
+ "participatory_space_id": 1,
613
+ "participatory_space_type": "Decidim::Assembly",
614
+ "settings": {
615
+ "comments_enabled": true
616
+ },
617
+ "weight": 0,
618
+ "permissions": null,
619
+ "published_at": "2020-01-22 07:55:19 UTC"
620
+ },
621
+ {
622
+ "manifest_name": "surveys",
623
+ "id": 23,
624
+ "name": {
625
+ "ca": "Enquesta",
626
+ "en": "Survey",
627
+ "es": "Encuesta"
628
+ },
629
+ "participatory_space_id": 1,
630
+ "participatory_space_type": "Decidim::Assembly",
631
+ "settings": {
632
+ "announcement": {
633
+ },
634
+ "announcement_en": null,
635
+ "announcement_ca": null,
636
+ "announcement_es": null
637
+ },
638
+ "weight": 0,
639
+ "permissions": null,
640
+ "published_at": "2020-01-22 07:55:13 UTC",
641
+ "specific_data": [
642
+ {
643
+ "id": 3,
644
+ "title": null,
645
+ "description": null,
646
+ "tos": null,
647
+ "decidim_component_id": 23,
648
+ "published_at": null,
649
+ "created_at": "2020-01-22T07:55:13.460Z",
650
+ "updated_at": "2020-01-22T07:55:13.460Z",
651
+ "questionnaire": {
652
+ "id": 9,
653
+ "title": {
654
+ "ca": "Qui impedit rerum. Deleniti quasi aut. Soluta enim quis.",
655
+ "en": "Accusantium laborum et. Voluptate vel omnis. Omnis aut quia.",
656
+ "es": "A tempora ipsa. Aspernatur officiis cupiditate. Occaecati error magnam."
657
+ },
658
+ "description": {
659
+ "ca": "<p>Illum cum magni. Amet quam tempore. Unde totam aut.</p>",
660
+ "en": "<p>Repudiandae est odit. Sed qui ut. Asperiores molestiae aliquid.</p>",
661
+ "es": "<p>Iste maiores sint. Voluptatem ipsam ratione. Id est aut.</p>"
662
+ },
663
+ "tos": {
664
+ "ca": "<p>Consectetur ad libero. Assumenda et excepturi.</p>",
665
+ "en": "<p>Laboriosam deserunt voluptas. Voluptatem qui nostrum.</p>",
666
+ "es": "<p>Labore itaque accusantium. Officiis placeat ut.</p>"
667
+ },
668
+ "questionnaire_for_type": "Decidim::Surveys::Survey",
669
+ "questionnaire_for_id": 3,
670
+ "published_at": null,
671
+ "created_at": "2020-01-22T07:55:13.463Z",
672
+ "updated_at": "2020-01-22T07:55:13.463Z",
673
+ "questions": [
674
+ {
675
+ "id": 9,
676
+ "decidim_questionnaire_id": 9,
677
+ "position": null,
678
+ "question_type": "short_answer",
679
+ "mandatory": null,
680
+ "body": {
681
+ "ca": "Est incidunt ut. Et distinctio velit. Perferendis ratione qui.",
682
+ "en": "Consequatur minima doloribus. Dolorem neque necessitatibus. Magnam exercitationem consectetur.",
683
+ "es": "Distinctio molestias omnis. Ut officiis qui. Ullam saepe quo."
684
+ },
685
+ "description": null,
686
+ "max_choices": null,
687
+ "created_at": "2020-01-22T07:55:13.496Z",
688
+ "updated_at": "2020-01-22T07:55:13.496Z",
689
+ "answer_options": [
690
+
691
+ ]
692
+ },
693
+ {
694
+ "id": 10,
695
+ "decidim_questionnaire_id": 9,
696
+ "position": null,
697
+ "question_type": "long_answer",
698
+ "mandatory": null,
699
+ "body": {
700
+ "ca": "Unde qui recusandae. Ab saepe praesentium. Quis velit et.",
701
+ "en": "Fugit aspernatur consequatur. Qui dolor placeat. Dolores sapiente corrupti.",
702
+ "es": "Hic ex magnam. Nam dolorem quis. Et et soluta."
703
+ },
704
+ "description": null,
705
+ "max_choices": null,
706
+ "created_at": "2020-01-22T07:55:13.507Z",
707
+ "updated_at": "2020-01-22T07:55:13.507Z",
708
+ "answer_options": [
709
+
710
+ ]
711
+ },
712
+ {
713
+ "id": 11,
714
+ "decidim_questionnaire_id": 9,
715
+ "position": null,
716
+ "question_type": "single_option",
717
+ "mandatory": null,
718
+ "body": {
719
+ "ca": "Expedita ut aut. Hic delectus incidunt. Odit commodi eos.",
720
+ "en": "Voluptate est sit. Et sit ratione. Distinctio minima nemo.",
721
+ "es": "Asperiores velit harum. Atque impedit ab. Aut nulla hic."
722
+ },
723
+ "description": null,
724
+ "max_choices": null,
725
+ "created_at": "2020-01-22T07:55:13.520Z",
726
+ "updated_at": "2020-01-22T07:55:13.520Z",
727
+ "answer_options": [
728
+ {
729
+ "id": 13,
730
+ "decidim_question_id": 11,
731
+ "body": {
732
+ "ca": "Natus ut incidunt est.",
733
+ "en": "Architecto reprehenderit ut totam.",
734
+ "es": "Voluptate tempore sed ullam."
735
+ },
736
+ "free_text": null
737
+ },
738
+ {
739
+ "id": 14,
740
+ "decidim_question_id": 11,
741
+ "body": {
742
+ "ca": "Error illum nulla rerum.",
743
+ "en": "Sapiente qui ut voluptas.",
744
+ "es": "Dicta voluptatem perferendis cumque."
745
+ },
746
+ "free_text": null
747
+ },
748
+ {
749
+ "id": 15,
750
+ "decidim_question_id": 11,
751
+ "body": {
752
+ "ca": "Praesentium vero debitis aut.",
753
+ "en": "Vel voluptatem perferendis qui.",
754
+ "es": "Culpa sequi consequatur ut."
755
+ },
756
+ "free_text": null
757
+ }
758
+ ]
759
+ },
760
+ {
761
+ "id": 12,
762
+ "decidim_questionnaire_id": 9,
763
+ "position": null,
764
+ "question_type": "multiple_option",
765
+ "mandatory": null,
766
+ "body": {
767
+ "ca": "In atque provident. Possimus ut error. Harum eius nostrum.",
768
+ "en": "Deleniti numquam alias. Excepturi adipisci dolorem. Asperiores eligendi quibusdam.",
769
+ "es": "Dolorum commodi accusamus. Vero qui iure. Ducimus qui explicabo."
770
+ },
771
+ "description": null,
772
+ "max_choices": null,
773
+ "created_at": "2020-01-22T07:55:13.564Z",
774
+ "updated_at": "2020-01-22T07:55:13.564Z",
775
+ "answer_options": [
776
+ {
777
+ "id": 16,
778
+ "decidim_question_id": 12,
779
+ "body": {
780
+ "ca": "Nobis harum consequatur et.",
781
+ "en": "Incidunt velit ea tempora.",
782
+ "es": "Praesentium voluptatum nesciunt ab."
783
+ },
784
+ "free_text": null
785
+ },
786
+ {
787
+ "id": 17,
788
+ "decidim_question_id": 12,
789
+ "body": {
790
+ "ca": "Vel iusto ut cumque.",
791
+ "en": "Dolorem ut temporibus magnam.",
792
+ "es": "Quia dignissimos nostrum quo."
793
+ },
794
+ "free_text": null
795
+ },
796
+ {
797
+ "id": 18,
798
+ "decidim_question_id": 12,
799
+ "body": {
800
+ "ca": "Modi asperiores consequuntur cupiditate.",
801
+ "en": "Magnam voluptatem numquam sed.",
802
+ "es": "Culpa eius modi ipsa."
803
+ },
804
+ "free_text": null
805
+ }
806
+ ]
807
+ }
808
+ ]
809
+ },
810
+ "survey_id": 3
811
+ }
812
+ ]
813
+ }
814
+ ]
815
+ }
816
+ ]