decidim-debates 0.27.4 → 0.27.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/decidim/debates/debates/_debates.html.erb +12 -9
- data/config/environment.rb +3 -0
- data/config/locales/ar.yml +1 -0
- data/config/locales/ca.yml +3 -0
- data/config/locales/cs.yml +3 -0
- data/config/locales/de.yml +4 -1
- data/config/locales/en.yml +3 -0
- data/config/locales/es-MX.yml +3 -0
- data/config/locales/es-PY.yml +3 -0
- data/config/locales/es.yml +3 -0
- data/config/locales/eu.yml +40 -37
- data/config/locales/fi-plain.yml +3 -0
- data/config/locales/fi.yml +3 -0
- data/config/locales/fr-CA.yml +3 -0
- data/config/locales/fr.yml +3 -0
- data/config/locales/is-IS.yml +0 -3
- data/config/locales/it.yml +1 -1
- data/config/locales/ja.yml +4 -1
- data/config/locales/lb.yml +4 -0
- data/config/locales/lt.yml +1 -0
- data/config/locales/no.yml +1 -1
- data/config/locales/pl.yml +4 -0
- data/config/locales/pt-BR.yml +5 -0
- data/config/locales/pt.yml +1 -1
- data/config/locales/sq-AL.yml +1 -0
- data/config/locales/th-TH.yml +1 -0
- data/config/locales/tr-TR.yml +2 -2
- data/lib/decidim/debates/component.rb +1 -1
- data/lib/decidim/debates/test/factories.rb +3 -2
- data/lib/decidim/debates/version.rb +1 -1
- metadata +13 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43b57703af82c8d2a5602fcf99465a789460d26febdec9bf7362b769766a1a64
|
4
|
+
data.tar.gz: 70fc63c12a14b33517d9263cf4114932086f05c7fe49c250ccca492851923549
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86ec77f53c1b7212feb4ae07f2f6d5b820a2ad70ccf5387006dee668d1a0e39105bd687812a5a200b718104d13bc4d3653113bee4afd791a1ed4c32f608ae7f2
|
7
|
+
data.tar.gz: 4edcda0c71741deb28e30c379fc2db18a92d33e9dfd810359c2829b2d890b78ba60e5b83fc8e616386d78785fd85dcfffdfcab80a51ac2829314a2d68bcf116f
|
@@ -1,11 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
<% if debates.empty? %>
|
2
|
+
<%= cell("decidim/announcement", params[:filter].present? ? t(".empty_filters") : t(".empty")) %>
|
3
|
+
<% else %>
|
4
|
+
<div class="collection-sort-controls row small-up-1 medium-up-3 card-grid">
|
5
|
+
<div class="column">
|
6
|
+
<%= order_selector available_orders, i18n_scope: "decidim.debates.debates.orders" %>
|
7
|
+
</div>
|
8
|
+
</div>
|
9
|
+
<div class="row small-up-1 medium-up-2 card-grid">
|
10
|
+
<%= render paginated_debates %>
|
4
11
|
</div>
|
5
|
-
</div>
|
6
|
-
|
7
|
-
<div class="row small-up-1 medium-up-2 card-grid">
|
8
|
-
<%= render paginated_debates %>
|
9
|
-
</div>
|
10
12
|
|
11
|
-
<%= decidim_paginate paginated_debates %>
|
13
|
+
<%= decidim_paginate paginated_debates %>
|
14
|
+
<% end %>
|
data/config/environment.rb
CHANGED
data/config/locales/ar.yml
CHANGED
data/config/locales/ca.yml
CHANGED
data/config/locales/cs.yml
CHANGED
data/config/locales/de.yml
CHANGED
@@ -49,7 +49,7 @@ de:
|
|
49
49
|
debates:
|
50
50
|
actions:
|
51
51
|
close: Schließen
|
52
|
-
confirm_destroy:
|
52
|
+
confirm_destroy: Sind Sie sich sicher?
|
53
53
|
destroy: Löschen
|
54
54
|
edit: Bearbeiten
|
55
55
|
new: Neu %{name}
|
@@ -110,6 +110,9 @@ de:
|
|
110
110
|
success: Diskussion erfolgreich erstellt
|
111
111
|
debate:
|
112
112
|
participate: Mitmachen
|
113
|
+
debates:
|
114
|
+
empty: Es gibt noch keine Debatten.
|
115
|
+
empty_filters: Es liegen noch keine Debatten mit diesen Kriterien vor.
|
113
116
|
edit:
|
114
117
|
back: Zurück
|
115
118
|
save: Änderungen speichern
|
data/config/locales/en.yml
CHANGED
data/config/locales/es-MX.yml
CHANGED
data/config/locales/es-PY.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/eu.yml
CHANGED
@@ -11,10 +11,10 @@ eu:
|
|
11
11
|
end_time: Bukaera-data
|
12
12
|
information_updates: Informazioaren eguneratzeak
|
13
13
|
instructions: Parte hartzeko argibideak
|
14
|
-
scope_id:
|
14
|
+
scope_id: Esparrua
|
15
15
|
start_time: Hasi da
|
16
16
|
title: Izenburua
|
17
|
-
user_group_id: Sortu eztabaida
|
17
|
+
user_group_id: Sortu eztabaida honela
|
18
18
|
models:
|
19
19
|
decidim/debates/close_debate_event: Eztabaida itxita
|
20
20
|
decidim/debates/create_debate_event: Eztabaida
|
@@ -38,7 +38,7 @@ eu:
|
|
38
38
|
announcement: Iragarpena
|
39
39
|
comments_enabled: Iruzkinak gaituta
|
40
40
|
comments_max_length: Iruzkinen gehieneko luzera (utzi 0 lehenetsitako konfigurazioari eutsi nahi badiozu)
|
41
|
-
scope_id:
|
41
|
+
scope_id: Esparrua
|
42
42
|
scopes_enabled: Esparruak gaituta
|
43
43
|
step:
|
44
44
|
announcement: Iragarpena
|
@@ -73,28 +73,28 @@ eu:
|
|
73
73
|
finite: Amaiera (hasiera- eta amaiera-ordua)
|
74
74
|
open: Zabalik (ez dago hasiera- edo amaiera-ordurik)
|
75
75
|
index:
|
76
|
-
title:
|
76
|
+
title: Eztabaidak
|
77
77
|
new:
|
78
78
|
create: Sortu eztabaida
|
79
|
-
title:
|
79
|
+
title: Beste eztabaida bat
|
80
80
|
update:
|
81
|
-
invalid: Arazo bat
|
81
|
+
invalid: Arazo bat egon da eztabaida hau eguneratzean.
|
82
82
|
success: Debate arrakastaz eguneratu da.
|
83
83
|
exports:
|
84
84
|
comments: Iruzkinak
|
85
85
|
models:
|
86
86
|
debate:
|
87
|
-
name:
|
87
|
+
name: Eztabaida
|
88
88
|
admin_log:
|
89
89
|
debate:
|
90
90
|
close: "%{user_name} erabiltzaileak %{resource_name} eztabaida sortu du %{space_name} esparruan"
|
91
|
-
create: "%{user_name} %{resource_name} eztabaida sortu
|
92
|
-
update: "%{user_name} %{resource_name} eztabaida eguneratu
|
91
|
+
create: "%{user_name} k %{resource_name} eztabaida sortu du %{space_name} espazioan"
|
92
|
+
update: "%{user_name} k %{resource_name} eztabaida eguneratu du %{space_name} espazioan"
|
93
93
|
debate_m:
|
94
94
|
commented_time_ago: Iruzkina eginda orain dela %{time}
|
95
95
|
debates:
|
96
96
|
close:
|
97
|
-
invalid: Arazo bat
|
97
|
+
invalid: Arazo bat egon da eztabaida ixtean.
|
98
98
|
success: Eztabaida zuzen itxi da.
|
99
99
|
close_debate_modal:
|
100
100
|
close: Itxi
|
@@ -106,10 +106,13 @@ eu:
|
|
106
106
|
one: "%{count} eztabaida"
|
107
107
|
other: "%{count} eztabaidak"
|
108
108
|
create:
|
109
|
-
invalid: Arazo bat
|
109
|
+
invalid: Arazo bat egon da eztabaida sortzean.
|
110
110
|
success: Debate sortu da behar bezala.
|
111
111
|
debate:
|
112
112
|
participate: Parte hartu
|
113
|
+
debates:
|
114
|
+
empty: Oraindik ez dago eztabaidarik.
|
115
|
+
empty_filters: Ez dago irizpide hau duen eztabaidarik.
|
113
116
|
edit:
|
114
117
|
back: Atzera
|
115
118
|
save: Gorde aldaketak
|
@@ -124,7 +127,7 @@ eu:
|
|
124
127
|
official: Ofiziala
|
125
128
|
origin: Origin
|
126
129
|
participants: Parte-hartzaileak
|
127
|
-
scope:
|
130
|
+
scope: Esparrua
|
128
131
|
search: Bilatu
|
129
132
|
state: Egoera
|
130
133
|
state_values:
|
@@ -139,11 +142,11 @@ eu:
|
|
139
142
|
form:
|
140
143
|
select_a_category: Hautatu kategoria bat
|
141
144
|
index:
|
142
|
-
new_debate:
|
145
|
+
new_debate: Beste eztabaida bat
|
143
146
|
new:
|
144
|
-
back:
|
147
|
+
back: Atzera
|
145
148
|
create: Sortu
|
146
|
-
title:
|
149
|
+
title: Beste eztabaida bat
|
147
150
|
orders:
|
148
151
|
commented: Iruzkin gehien dituztenak
|
149
152
|
label: Ordenatu eztabaidak honen arabera
|
@@ -164,7 +167,7 @@ eu:
|
|
164
167
|
open: Eztabaida irekita
|
165
168
|
participants_count: Parte-hartzaileak
|
166
169
|
update:
|
167
|
-
invalid: Arazo bat
|
170
|
+
invalid: Arazo bat egon da eztabaida eguneratzean.
|
168
171
|
success: Eztabaida zuzen eguneratu da.
|
169
172
|
versions:
|
170
173
|
debates:
|
@@ -175,7 +178,7 @@ eu:
|
|
175
178
|
back_to_resource: Itzuli eztabaidara
|
176
179
|
last_activity:
|
177
180
|
debate_updated_at_html: "<span>eztabaida ordu honetan %{link}</span> eguneratuta"
|
178
|
-
new_debate_at_html: "<span> %{link}</span>
|
181
|
+
new_debate_at_html: "beste eztabaida bat hemen: <span> %{link}</span>"
|
179
182
|
models:
|
180
183
|
debate:
|
181
184
|
fields:
|
@@ -189,31 +192,31 @@ eu:
|
|
189
192
|
space_followers:
|
190
193
|
email_intro: |-
|
191
194
|
Kaixo,
|
192
|
-
"%{resource_title}" eztabaida
|
193
|
-
email_outro: Jakinarazpen hori jaso duzu %{space_title} partaidetzazko espazioa
|
194
|
-
email_subject:
|
195
|
+
"%{resource_title}" beste eztabaida bat sortu da %{space_title} parte hartzeko espazioan, begiratu eta lagundu:
|
196
|
+
email_outro: Jakinarazpen hori jaso duzu %{space_title} partaidetzazko espazioa jarraitzen ari zarelako. Aurreko estekan jakinarazpenak jasotzeari utzi ahal diozu.
|
197
|
+
email_subject: Beste eztabaida bat "%{resource_title}" hemen %{space_title}
|
195
198
|
notification_title: <a href="%{resource_path}">%{resource_title}</a> eztabaida sortu zen <a href="%{space_path}">%{space_title}</a>.
|
196
199
|
user_followers:
|
197
200
|
email_intro: |-
|
198
201
|
Kaixo,
|
199
|
-
%{author_name} %{author_nickname}, jarraitzen ari zarenak, "%{resource_title}" eztabaida berri bat sortu du. Begiratu eta lagundu:
|
200
|
-
email_outro: Jakinarazpena jaso duzu %{author_nickname}
|
201
|
-
email_subject: '"%{resource_title}" eztabaida
|
202
|
-
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a>
|
202
|
+
%{author_name} %{author_nickname} k, jarraitzen ari zarenak, "%{resource_title}" eztabaida berri bat sortu du. Begiratu eta lagundu:
|
203
|
+
email_outro: Jakinarazpena jaso duzu %{author_nickname} jarraitzen ari zarelako. Aurreko estekan jakinarazpenak jasotzeari utzi ahal diozu.
|
204
|
+
email_subject: '%{author_nickname} k "%{resource_title}" beste eztabaida bat sortu du'
|
205
|
+
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> k sortu du <a href="%{resource_path}">%{resource_title}</a> eztabaida.
|
203
206
|
creation_disabled:
|
204
|
-
email_intro: '
|
205
|
-
email_outro: Jakinarazpena jaso duzu %{participatory_space_title}
|
207
|
+
email_intro: 'Eztabaida sortzea dagoeneko ez dago aktibo %{participatory_space_title}. Oraindik irekita dauden eztabaidetan parte har dezakezu orri honetatik:'
|
208
|
+
email_outro: Jakinarazpena jaso duzu %{participatory_space_title} jarraitzen ari zarelako. Aurreko estekan jakinarazpenak jasotzeari utzi ahal diozu.
|
206
209
|
email_subject: Debate sortzea desgaituta %{participatory_space_title}
|
207
|
-
notification_title:
|
210
|
+
notification_title: Eztabaiden sorrera orain desaktibatuta dago <a href="%{participatory_space_url}">%{participatory_space_title}</a>
|
208
211
|
creation_enabled:
|
209
|
-
email_intro: '
|
210
|
-
email_outro: Jakinarazpena jaso duzu %{participatory_space_title}
|
211
|
-
email_subject:
|
212
|
+
email_intro: 'Oraineztabaida berriak hasi ditzakezu hemen: %{participatory_space_title}! Hasi parte-hartzea orri honetan:'
|
213
|
+
email_outro: Jakinarazpena jaso duzu %{participatory_space_title} jarraitzen ari zarelako. Aurreko estekan jakinarazpenak jasotzeari utzi ahal diozu.
|
214
|
+
email_subject: 'Eztabaidak orain eskuragarri hemen: %{participatory_space_title}'
|
212
215
|
notification_title: Orain <a href="%{resource_path}">eztabaida berriak hasi ditzakezu</a> <a href="%{participatory_space_url}">%{participatory_space_title}</a>
|
213
216
|
debate_closed:
|
214
217
|
affected_user:
|
215
218
|
email_intro: '"%{resource_title}" eztabaida itxi egin da. Ondorioak bere orrialdean irakur ditzakezu:'
|
216
|
-
email_outro: Jakinarazpen hau jaso duzu "%{resource_title}" eztabaida jarraitzen ari zarelako. Aurreko loturan utzi ahal diozu jarraitzeari
|
219
|
+
email_outro: Jakinarazpen hau jaso duzu "%{resource_title}" eztabaida jarraitzen ari zarelako. Aurreko loturan utzi ahal diozu jarraitzeari.
|
217
220
|
email_subject: '"%{resource_title}" eztabaida itxi egin da'
|
218
221
|
notification_title: <a href="%{resource_path}">%{resource_title}</a> eztabaida itxi egin da.
|
219
222
|
follower:
|
@@ -226,17 +229,17 @@ eu:
|
|
226
229
|
commented_debates:
|
227
230
|
conditions:
|
228
231
|
- Aukeratu eztabaida irekia parte hartzeko
|
229
|
-
description:
|
230
|
-
description_another:
|
231
|
-
description_own: '%{score}
|
232
|
-
name:
|
232
|
+
description: Garaikur hau eztabaidetan modu aktiboan, zure iruzkinak utziz, parte hartzen duzunean ematen da.
|
233
|
+
description_another: Parte-hartzaile honek %{score} eztabaidatan hartu du parte.
|
234
|
+
description_own: '%{score} eztabaidatan hartu duzu parte.'
|
235
|
+
name: Eztabaidak
|
233
236
|
next_level_in: Parte hartu %{score} eztabaidagai gehiago hurrengo mailara iristeko!
|
234
237
|
unearned_another: Erabiltzaile honek eztabaida batean parte hartu du oraindik.
|
235
|
-
unearned_own: Oraindik
|
238
|
+
unearned_own: Oraindik ez duzu parte hartu eztabaida batean ere.
|
236
239
|
metrics:
|
237
240
|
debates:
|
238
241
|
description: Sortutako eztabaida kopurua
|
239
242
|
object: eztabaidak
|
240
|
-
title:
|
243
|
+
title: Eztabaidak
|
241
244
|
statistics:
|
242
245
|
debates_count: Eztabaidak
|
data/config/locales/fi-plain.yml
CHANGED
@@ -110,6 +110,9 @@ fi-pl:
|
|
110
110
|
success: Keskustelu luotu onnistuneesti.
|
111
111
|
debate:
|
112
112
|
participate: Osallistu
|
113
|
+
debates:
|
114
|
+
empty: Ei yhtään keskustelua.
|
115
|
+
empty_filters: Keskusteluja ei löytynyt annetuilla hakuehdoilla.
|
113
116
|
edit:
|
114
117
|
back: Takaisin
|
115
118
|
save: Tallenna muutokset
|
data/config/locales/fi.yml
CHANGED
@@ -110,6 +110,9 @@ fi:
|
|
110
110
|
success: Keskustelun luonti onnistui.
|
111
111
|
debate:
|
112
112
|
participate: Osallistu
|
113
|
+
debates:
|
114
|
+
empty: Ei yhtään keskustelua.
|
115
|
+
empty_filters: Keskusteluja ei löytynyt annetuilla hakuehdoilla.
|
113
116
|
edit:
|
114
117
|
back: Takaisin
|
115
118
|
save: Tallenna muutokset
|
data/config/locales/fr-CA.yml
CHANGED
@@ -110,6 +110,9 @@ fr-CA:
|
|
110
110
|
success: Débat créé avec succès.
|
111
111
|
debate:
|
112
112
|
participate: Participer
|
113
|
+
debates:
|
114
|
+
empty: Il n'y a aucun débat pour l'instant.
|
115
|
+
empty_filters: Il n'y a aucun débat avec ces critères.
|
113
116
|
edit:
|
114
117
|
back: Précédent
|
115
118
|
save: Enregistrer les modifications
|
data/config/locales/fr.yml
CHANGED
@@ -110,6 +110,9 @@ fr:
|
|
110
110
|
success: Débat créé avec succès.
|
111
111
|
debate:
|
112
112
|
participate: Participer
|
113
|
+
debates:
|
114
|
+
empty: Il n'y a aucun débat pour l'instant.
|
115
|
+
empty_filters: Il n'y a aucun débat avec ces critères.
|
113
116
|
edit:
|
114
117
|
back: Retour
|
115
118
|
save: Enregistrer les modifications
|
data/config/locales/is-IS.yml
CHANGED
data/config/locales/it.yml
CHANGED
data/config/locales/ja.yml
CHANGED
@@ -108,6 +108,9 @@ ja:
|
|
108
108
|
success: ディベートが正常に作成されました。
|
109
109
|
debate:
|
110
110
|
participate: 参加
|
111
|
+
debates:
|
112
|
+
empty: ディベートはまだありません。
|
113
|
+
empty_filters: この条件のディベートはありません。
|
111
114
|
edit:
|
112
115
|
back: 戻る
|
113
116
|
save: 変更を保存
|
@@ -120,7 +123,7 @@ ja:
|
|
120
123
|
commented: 'コメント:'
|
121
124
|
my_debates: 私の議論
|
122
125
|
official: 事務局
|
123
|
-
origin:
|
126
|
+
origin: 起案者
|
124
127
|
participants: 参加者
|
125
128
|
scope: スコープ
|
126
129
|
search: 検索
|
data/config/locales/lb.yml
CHANGED
data/config/locales/lt.yml
CHANGED
data/config/locales/no.yml
CHANGED
data/config/locales/pl.yml
CHANGED
@@ -11,6 +11,7 @@ pl:
|
|
11
11
|
end_time: Skończy się
|
12
12
|
information_updates: Aktualizacje informacji
|
13
13
|
instructions: Instrukcje uczestnictwa
|
14
|
+
scope_id: Zakres
|
14
15
|
start_time: Zaczyna się
|
15
16
|
title: Tytuł
|
16
17
|
user_group_id: Utwórz debatę jako
|
@@ -18,6 +19,7 @@ pl:
|
|
18
19
|
decidim/debates/close_debate_event: Debata zamknięta
|
19
20
|
decidim/debates/create_debate_event: Debata
|
20
21
|
decidim/debates/creation_disabled_event: Debaty wyłączone
|
22
|
+
decidim/debates/creation_enabled_event: Tworzenie debat włączone
|
21
23
|
activerecord:
|
22
24
|
models:
|
23
25
|
decidim/debates/debate:
|
@@ -43,6 +45,7 @@ pl:
|
|
43
45
|
step:
|
44
46
|
announcement: Ogłoszenie
|
45
47
|
comments_blocked: Komentarze zablokowane
|
48
|
+
creation_enabled: Uczestnicy mogą tworzyć debaty
|
46
49
|
endorsements_blocked: Rekomendacje zablokowane
|
47
50
|
endorsements_enabled: Rekomendacje włączone
|
48
51
|
debates:
|
@@ -124,6 +127,7 @@ pl:
|
|
124
127
|
my_debates: Moje debaty
|
125
128
|
official: Urzędnik
|
126
129
|
origin: Źródło
|
130
|
+
participants: Uczestnicy
|
127
131
|
scope: Zakres
|
128
132
|
search: Szukaj
|
129
133
|
state: Status
|
data/config/locales/pt-BR.yml
CHANGED
@@ -18,6 +18,7 @@ pt-BR:
|
|
18
18
|
decidim/debates/close_debate_event: Debate encerrado
|
19
19
|
decidim/debates/create_debate_event: Debate
|
20
20
|
decidim/debates/creation_disabled_event: Debates desativados
|
21
|
+
decidim/debates/creation_enabled_event: Criação de debates ativada
|
21
22
|
activerecord:
|
22
23
|
models:
|
23
24
|
decidim/debates/debate:
|
@@ -40,6 +41,7 @@ pt-BR:
|
|
40
41
|
step:
|
41
42
|
announcement: Anúncio
|
42
43
|
comments_blocked: Comentários bloqueados
|
44
|
+
creation_enabled: Os participantes podem criar debates
|
43
45
|
endorsements_blocked: Endossos bloqueados
|
44
46
|
endorsements_enabled: Endossos habilitados
|
45
47
|
debates:
|
@@ -106,6 +108,9 @@ pt-BR:
|
|
106
108
|
success: Debate criado com sucesso.
|
107
109
|
debate:
|
108
110
|
participate: Participar
|
111
|
+
debates:
|
112
|
+
empty: Não há debates ainda.
|
113
|
+
empty_filters: Não há debates com estes critérios.
|
109
114
|
edit:
|
110
115
|
back: Voltar
|
111
116
|
save: Salvar alterações
|
data/config/locales/pt.yml
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
sq:
|
@@ -0,0 +1 @@
|
|
1
|
+
th:
|
data/config/locales/tr-TR.yml
CHANGED
@@ -80,7 +80,7 @@ tr:
|
|
80
80
|
comments: Yorumlar
|
81
81
|
models:
|
82
82
|
debate:
|
83
|
-
name:
|
83
|
+
name: tartışma
|
84
84
|
admin_log:
|
85
85
|
debate:
|
86
86
|
close: "%{user_name}, %{space_name} alanındaki %{resource_name} tartışmasını kapattı"
|
@@ -96,7 +96,7 @@ tr:
|
|
96
96
|
close: Kapat
|
97
97
|
description: Bu tartışmanın özeti veya sonucu nedir?
|
98
98
|
send: Tartışmayı kapat
|
99
|
-
closed:
|
99
|
+
closed: Kapalı
|
100
100
|
count:
|
101
101
|
debates_count:
|
102
102
|
one: "%{count} tartışma"
|
@@ -21,7 +21,7 @@ Decidim.register_component(:debates) do |component|
|
|
21
21
|
settings.attribute :scopes_enabled, type: :boolean, default: false
|
22
22
|
settings.attribute :scope_id, type: :scope
|
23
23
|
settings.attribute :comments_enabled, type: :boolean, default: true
|
24
|
-
settings.attribute :comments_max_length, type: :integer, required:
|
24
|
+
settings.attribute :comments_max_length, type: :integer, required: true
|
25
25
|
settings.attribute :announcement, type: :text, translated: true, editor: true
|
26
26
|
end
|
27
27
|
|
@@ -20,7 +20,7 @@ FactoryBot.define do
|
|
20
20
|
description { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_debate_title } }
|
21
21
|
information_updates { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_debate_title } }
|
22
22
|
instructions { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_debate_title } }
|
23
|
-
component { build(:
|
23
|
+
component { build(:debates_component) }
|
24
24
|
author { component.try(:organization) }
|
25
25
|
|
26
26
|
trait :open_ama do
|
@@ -67,7 +67,8 @@ FactoryBot.define do
|
|
67
67
|
participatory_space { create(:participatory_process, :with_steps, organization: organization) }
|
68
68
|
settings do
|
69
69
|
{
|
70
|
-
comments_enabled: true
|
70
|
+
comments_enabled: true,
|
71
|
+
comments_max_length: organization.comments_max_length
|
71
72
|
}
|
72
73
|
end
|
73
74
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-debates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.27.
|
4
|
+
version: 0.27.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2023-
|
14
|
+
date: 2023-12-20 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: decidim-comments
|
@@ -19,56 +19,56 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.27.
|
22
|
+
version: 0.27.5
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.27.
|
29
|
+
version: 0.27.5
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: decidim-core
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
requirements:
|
34
34
|
- - '='
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 0.27.
|
36
|
+
version: 0.27.5
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
41
|
- - '='
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.27.
|
43
|
+
version: 0.27.5
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: decidim-admin
|
46
46
|
requirement: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
48
48
|
- - '='
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 0.27.
|
50
|
+
version: 0.27.5
|
51
51
|
type: :development
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
55
|
- - '='
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version: 0.27.
|
57
|
+
version: 0.27.5
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: decidim-dev
|
60
60
|
requirement: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
62
|
- - '='
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
version: 0.27.
|
64
|
+
version: 0.27.5
|
65
65
|
type: :development
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
69
|
- - '='
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: 0.27.
|
71
|
+
version: 0.27.5
|
72
72
|
description: A debates component for decidim's participatory spaces.
|
73
73
|
email:
|
74
74
|
- josepjaume@gmail.com
|
@@ -224,9 +224,11 @@ files:
|
|
224
224
|
- config/locales/sk.yml
|
225
225
|
- config/locales/sl.yml
|
226
226
|
- config/locales/so-SO.yml
|
227
|
+
- config/locales/sq-AL.yml
|
227
228
|
- config/locales/sr-CS.yml
|
228
229
|
- config/locales/sv.yml
|
229
230
|
- config/locales/sw-KE.yml
|
231
|
+
- config/locales/th-TH.yml
|
230
232
|
- config/locales/ti-ER.yml
|
231
233
|
- config/locales/tr-TR.yml
|
232
234
|
- config/locales/uk.yml
|
@@ -284,7 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
284
286
|
- !ruby/object:Gem::Version
|
285
287
|
version: '0'
|
286
288
|
requirements: []
|
287
|
-
rubygems_version: 3.
|
289
|
+
rubygems_version: 3.4.22
|
288
290
|
signing_key:
|
289
291
|
specification_version: 4
|
290
292
|
summary: Decidim debates module
|