decidim-dev 0.22.0 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/decidim/dummy_resources/dummy_resources_controller.rb +1 -0
  3. data/app/views/decidim/dummy_resources/dummy_resources/show.html.erb +4 -0
  4. data/config/locales/am-ET.yml +1 -0
  5. data/config/locales/bg.yml +56 -0
  6. data/config/locales/ca.yml +1 -1
  7. data/config/locales/da.yml +1 -0
  8. data/config/locales/eo.yml +1 -0
  9. data/config/locales/es.yml +1 -1
  10. data/config/locales/et.yml +1 -0
  11. data/config/locales/fr.yml +1 -1
  12. data/config/locales/hr.yml +1 -0
  13. data/config/locales/is.yml +21 -0
  14. data/config/locales/ja.yml +56 -0
  15. data/config/locales/ko-KR.yml +1 -0
  16. data/config/locales/ko.yml +1 -0
  17. data/config/locales/lt.yml +1 -0
  18. data/config/locales/{lv-LV.yml → lv.yml} +0 -0
  19. data/config/locales/mt.yml +1 -0
  20. data/config/locales/om-ET.yml +1 -0
  21. data/config/locales/pl.yml +2 -2
  22. data/config/locales/so-SO.yml +1 -0
  23. data/config/locales/ti-ER.yml +1 -0
  24. data/config/locales/vi-VN.yml +1 -0
  25. data/config/locales/vi.yml +1 -0
  26. data/config/locales/zh-CN.yml +56 -0
  27. data/config/locales/zh-TW.yml +1 -0
  28. data/lib/decidim/dev.rb +2 -0
  29. data/lib/decidim/dev/assets/assemblies.json +816 -0
  30. data/lib/decidim/dev/assets/assemblies_with_null.json +135 -0
  31. data/lib/decidim/dev/assets/geocoder_result_here.json +72 -0
  32. data/lib/decidim/dev/assets/geocoder_result_osm.json +150 -0
  33. data/lib/decidim/dev/assets/import_participatory_space_private_users_nok.csv +2 -0
  34. data/lib/decidim/dev/dummy_translator.rb +32 -0
  35. data/lib/decidim/dev/test/rspec_support/capybara.rb +5 -1
  36. data/lib/decidim/dev/test/rspec_support/component.rb +33 -3
  37. data/lib/decidim/dev/test/rspec_support/component_context.rb +1 -2
  38. data/lib/decidim/dev/test/rspec_support/content_processing.rb +2 -2
  39. data/lib/decidim/dev/test/rspec_support/frontend.rb +20 -0
  40. data/lib/decidim/dev/test/rspec_support/geocoder.rb +150 -6
  41. data/lib/decidim/dev/test/rspec_support/organization.rb +7 -0
  42. data/lib/decidim/dev/test/rspec_support/rake_tasks.rb +75 -0
  43. data/lib/decidim/dev/test/rspec_support/translation_helpers.rb +2 -0
  44. data/lib/decidim/dev/version.rb +1 -1
  45. data/lib/tasks/generators.rake +2 -1
  46. data/lib/tasks/locale_checker.rake +1 -1
  47. metadata +39 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e917ca4fca218c7c066b363bedddecbafac694a6afc05a6325506bf948b4373b
4
- data.tar.gz: 40818b7b986dcad7b70828f0afcee8249c04341540fe0fe25c650841611ecb29
3
+ metadata.gz: 795996d08cb22418d687b387dc37ece2467e7ef1c1e3622cecd6fe45d3b21b64
4
+ data.tar.gz: 32569a0907237cc7968fa55a5f52e34e7ff4bc51e633536610f084d762829fc1
5
5
  SHA512:
6
- metadata.gz: 647ed182019d7a36d37ddbe533a47e145285ffbc81a29bb43f10fb201c2c4f79a318b7745b0192736f952a6bd2bf6165367d2f28170004a0b6d7b9834705cde1
7
- data.tar.gz: 96db556bffee8ed3e333256986dfab6e71b826a2c9ef207dae0c56bc0284e097e0858c809a77d3cea45aa0207fdaf91499d3d4d90e481022bda52eef2e09dcf4
6
+ metadata.gz: 232a3cbb592947ec8c4ae6621dea626d446984e16879269f1cc929ebda1fd65d46e0e0f6fb06835b5e15772fe53938a7a890ad1e2247f767f922de8e49905c3a
7
+ data.tar.gz: 0261ef334106c2082caa4449801caf0cc9594c4ec5f86963656a6f3501ff3dbc8fabd43b56bf5dca75b363f121de522e46cb85f801958512c5e3f474e759fb08
@@ -4,6 +4,7 @@ module Decidim
4
4
  module DummyResources
5
5
  class DummyResourcesController < Decidim::Components::BaseController
6
6
  helper Decidim::Comments::CommentsHelper
7
+ include Decidim::TranslatableAttributes
7
8
 
8
9
  def show
9
10
  @commentable = DummyResources::DummyResource.find(params[:id])
@@ -1,3 +1,7 @@
1
+ <div id="resource" class="row">
2
+ <h2><%= translated_attribute(@commentable.title) %></h2>
3
+ </div>
4
+
1
5
  <div class="row">
2
6
  <%= action_authorized_link_to :foo, foo_dummy_resource_path(@commentable) do %>
3
7
  Foo
@@ -0,0 +1 @@
1
+ am:
@@ -0,0 +1,56 @@
1
+ bg:
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: Б избор
22
+ 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
+ - Използвайте тестова среда за decidim.
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: Нещо1
47
+ dummies_count_high: Пример за максимум
48
+ dummies_count_medium: Пример за средно
49
+ foo: Нещо2
50
+ participatory_processes:
51
+ statistics:
52
+ dummies_count_high: Пример за максимум
53
+ dummies_count_medium: Пример за средно
54
+ resource_links:
55
+ test_link:
56
+ dummy_resource_dummy: Пример за свързан
@@ -15,7 +15,7 @@ ca:
15
15
  settings:
16
16
  global:
17
17
  readonly_attribute: Atribut de només lectura
18
- test: Test A
18
+ test: Una prova
19
19
  test_choices:
20
20
  a: Opció A
21
21
  b: Opció B
@@ -0,0 +1 @@
1
+ da:
@@ -0,0 +1 @@
1
+ eo:
@@ -15,7 +15,7 @@ es:
15
15
  settings:
16
16
  global:
17
17
  readonly_attribute: Atributo de sólo lectura
18
- test: Test A
18
+ test: Una prueba
19
19
  test_choices:
20
20
  a: Opción A
21
21
  b: Opción B
@@ -0,0 +1 @@
1
+ et:
@@ -3,7 +3,7 @@ fr:
3
3
  attributes:
4
4
  dummy_resource:
5
5
  created_at: Créé le
6
- decidim_scope_id: Périmètre d'application
6
+ decidim_scope_id: Secteur
7
7
  field: Champ
8
8
  start_date: Date de début
9
9
  title: Titre
@@ -0,0 +1 @@
1
+ hr:
@@ -0,0 +1,21 @@
1
+ is:
2
+ activemodel:
3
+ attributes:
4
+ dummy_resource:
5
+ created_at: Búið til á
6
+ field: Sviði mitt
7
+ start_date: Upphafsdagur
8
+ title: Titill
9
+ updated_at: Uppfært á
10
+ decidim:
11
+ dummy:
12
+ admin:
13
+ exports:
14
+ dummies: Dummies
15
+ participatory_processes:
16
+ statistics:
17
+ dummies_count_high: Dummies hár
18
+ dummies_count_medium: Dummies miðlungs
19
+ resource_links:
20
+ test_link:
21
+ dummy_resource_dummy: Tengd dummy
@@ -0,0 +1,56 @@
1
+ ja:
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: Dummies
31
+ gamification:
32
+ badges:
33
+ test:
34
+ conditions:
35
+ - テスト環境を使用してdecidim.
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: Dummies Medium
49
+ foo: Foo
50
+ participatory_processes:
51
+ statistics:
52
+ dummies_count_high: 高いダミー数
53
+ dummies_count_medium: Dummies Medium
54
+ resource_links:
55
+ test_link:
56
+ dummy_resource_dummy: 関連ダミー
@@ -0,0 +1 @@
1
+ ko:
@@ -0,0 +1 @@
1
+ ko:
@@ -0,0 +1 @@
1
+ lt:
File without changes
@@ -0,0 +1 @@
1
+ mt:
@@ -0,0 +1 @@
1
+ om:
@@ -21,8 +21,8 @@ pl:
21
21
  b: Opcja B
22
22
  c: Opcja C
23
23
  step:
24
- endorsements_blocked: Możliwość poparcia zablokowana
25
- endorsements_enabled: Popieranie włączone
24
+ endorsements_blocked: Możliwość rekomendacji zablokowana
25
+ endorsements_enabled: Rekomendacje włączone
26
26
  readonly_step_attribute: Atrybut kroku tylko do odczytu
27
27
  dummy:
28
28
  admin:
@@ -0,0 +1 @@
1
+ so:
@@ -0,0 +1 @@
1
+ ti:
@@ -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:
@@ -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
+ ]