decidim-debates 0.27.5 → 0.27.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/decidim/debates/widgets_controller.rb +11 -1
- data/app/events/decidim/debates/create_debate_event.rb +0 -14
- data/app/permissions/decidim/debates/permissions.rb +6 -0
- data/config/locales/ar.yml +0 -7
- data/config/locales/bg.yml +30 -1
- data/config/locales/ca.yml +6 -6
- data/config/locales/cs.yml +5 -5
- data/config/locales/de.yml +6 -6
- data/config/locales/el.yml +0 -7
- data/config/locales/en.yml +4 -4
- data/config/locales/es-MX.yml +4 -4
- data/config/locales/es-PY.yml +4 -4
- data/config/locales/es.yml +7 -7
- data/config/locales/eu.yml +5 -5
- data/config/locales/fi-plain.yml +4 -4
- data/config/locales/fi.yml +4 -4
- data/config/locales/fr-CA.yml +5 -5
- data/config/locales/fr.yml +5 -5
- data/config/locales/gl.yml +0 -7
- data/config/locales/he-IL.yml +1 -0
- data/config/locales/hu.yml +3 -10
- data/config/locales/id-ID.yml +0 -7
- data/config/locales/is-IS.yml +0 -3
- data/config/locales/it.yml +0 -7
- data/config/locales/ja.yml +4 -4
- data/config/locales/lb.yml +0 -7
- data/config/locales/lt.yml +0 -7
- data/config/locales/lv.yml +0 -6
- data/config/locales/nl.yml +0 -7
- data/config/locales/no.yml +0 -7
- data/config/locales/pl.yml +3 -6
- data/config/locales/pt-BR.yml +3 -7
- data/config/locales/pt.yml +0 -7
- data/config/locales/ro-RO.yml +0 -7
- data/config/locales/ru.yml +0 -3
- data/config/locales/sk.yml +0 -6
- data/config/locales/sv.yml +0 -7
- data/config/locales/tr-TR.yml +5 -5
- data/config/locales/uk.yml +0 -3
- data/config/locales/zh-CN.yml +0 -7
- data/config/locales/zh-TW.yml +0 -7
- data/decidim-debates.gemspec +32 -0
- data/lib/decidim/debates/test/factories.rb +14 -17
- data/lib/decidim/debates/version.rb +1 -1
- metadata +18 -17
- data/config/environment.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d324959892f8f61929da154f1ddb51fedee60365b68b4f5c492123b598ca9b3
|
4
|
+
data.tar.gz: 040c91987101384521f5c543d3a682affffd48e7c1458011fe927b7a6e571159
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d8099cb8ed0aaf6a0b5fd704fc16bec57e87d7cbb56660df6d765eab2b6690bf6574750ebb7521edc59635f1b87e640894a2889b3f4ed779448a94a1e681b00
|
7
|
+
data.tar.gz: f6f74beef5215430fddcef7a044f51e47815ac822fb31f310d956e03b0e8a5d5590353aaa3a500aa5aabdfa65e505f468b3ef1ecbdb50a06e40ede647065b95f
|
@@ -5,15 +5,25 @@ module Decidim
|
|
5
5
|
class WidgetsController < Decidim::WidgetsController
|
6
6
|
helper Debates::ApplicationHelper
|
7
7
|
|
8
|
+
def show
|
9
|
+
enforce_permission_to :embed, :debate, debate: model if model
|
10
|
+
|
11
|
+
super
|
12
|
+
end
|
13
|
+
|
8
14
|
private
|
9
15
|
|
10
16
|
def model
|
11
|
-
@model ||= Debate.where(component:
|
17
|
+
@model ||= Debate.not_hidden.where(component: current_component).find(params[:debate_id])
|
12
18
|
end
|
13
19
|
|
14
20
|
def iframe_url
|
15
21
|
@iframe_url ||= debate_widget_url(model)
|
16
22
|
end
|
23
|
+
|
24
|
+
def permission_class_chain
|
25
|
+
[Decidim::Debates::Permissions]
|
26
|
+
end
|
17
27
|
end
|
18
28
|
end
|
19
29
|
end
|
@@ -12,26 +12,12 @@ module Decidim
|
|
12
12
|
class CreateDebateEvent < Decidim::Events::SimpleEvent
|
13
13
|
include Decidim::Events::AuthorEvent
|
14
14
|
|
15
|
-
i18n_attributes :space_title, :space_path
|
16
|
-
|
17
15
|
def resource_text
|
18
16
|
translated_attribute(resource.description)
|
19
17
|
end
|
20
18
|
|
21
19
|
private
|
22
20
|
|
23
|
-
def space
|
24
|
-
@space ||= resource.participatory_space
|
25
|
-
end
|
26
|
-
|
27
|
-
def space_path
|
28
|
-
Decidim::ResourceLocatorPresenter.new(space).path
|
29
|
-
end
|
30
|
-
|
31
|
-
def space_title
|
32
|
-
space.title.is_a?(Hash) ? space.title[I18n.locale.to_s] : space.title
|
33
|
-
end
|
34
|
-
|
35
21
|
def i18n_scope
|
36
22
|
@i18n_scope ||= if extra[:type].to_s == "user"
|
37
23
|
"decidim.events.debates.create_debate_event.user_followers"
|
@@ -21,6 +21,8 @@ module Decidim
|
|
21
21
|
can_endorse_debate?
|
22
22
|
when :close
|
23
23
|
can_close_debate?
|
24
|
+
when :embed
|
25
|
+
can_embed_debate?
|
24
26
|
end
|
25
27
|
|
26
28
|
permission_action
|
@@ -45,6 +47,10 @@ module Decidim
|
|
45
47
|
disallow!
|
46
48
|
end
|
47
49
|
|
50
|
+
def can_embed_debate?
|
51
|
+
allow!
|
52
|
+
end
|
53
|
+
|
48
54
|
def can_endorse_debate?
|
49
55
|
return disallow! if debate.closed?
|
50
56
|
|
data/config/locales/ar.yml
CHANGED
@@ -124,13 +124,6 @@ ar:
|
|
124
124
|
events:
|
125
125
|
debates:
|
126
126
|
create_debate_event:
|
127
|
-
space_followers:
|
128
|
-
email_intro: |-
|
129
|
-
مرحبا،
|
130
|
-
نقاش الجديدة "%{resource_title}" تم إنشاؤها على %{space_title} مساحة المشاركة، والتحقق من ذلك والمساهمة:
|
131
|
-
email_outro: لقد تلقيت هذا الإشعار لأنك تتابع مساحة المشاركة %{space_title} . يمكنك إيقاف تلقي الإخطارات باتباع الرابط السابق.
|
132
|
-
email_subject: مناقشة جديدة "%{resource_title}" في %{space_title}
|
133
|
-
notification_title: تم إنشاء المناقشة <a href="%{resource_path}">%{resource_title}</a> في <a href="%{space_path}">%{space_title}</a>.
|
134
127
|
user_followers:
|
135
128
|
email_intro: |-
|
136
129
|
مرحبًا ،
|
data/config/locales/bg.yml
CHANGED
@@ -8,11 +8,40 @@ bg:
|
|
8
8
|
description: Описание
|
9
9
|
decidim:
|
10
10
|
debates:
|
11
|
+
actions:
|
12
|
+
new: Ново %{name}
|
11
13
|
debates:
|
14
|
+
debate:
|
15
|
+
participate: Участвайте
|
12
16
|
filters:
|
13
17
|
user_groups: Групи
|
18
|
+
filters_small_view:
|
19
|
+
close_modal: Затвори прозореца
|
20
|
+
filter: Филтър
|
21
|
+
filter_by: Филтрирай по
|
22
|
+
unfold: Разгъване
|
14
23
|
show:
|
24
|
+
back: Назад към списъка
|
25
|
+
date: Дата
|
15
26
|
groups_count: Групи
|
16
|
-
last_comment_by:
|
27
|
+
last_comment_by: Последен коментар от
|
17
28
|
no_comments_yet: Все още няма коментари
|
18
29
|
participants_count: Участници
|
30
|
+
versions:
|
31
|
+
debates:
|
32
|
+
back_to_resource: Назад към дебата
|
33
|
+
index:
|
34
|
+
title: Версии
|
35
|
+
versions_list:
|
36
|
+
back_to_resource: Назад към дебата
|
37
|
+
last_activity:
|
38
|
+
debate_updated_at_html: "<span>Дебатът беше актуализиран на: %{link}</span>"
|
39
|
+
new_debate_at_html: "<span>Нов дебат на адрес: %{link}</span>"
|
40
|
+
events:
|
41
|
+
debates:
|
42
|
+
creation_enabled:
|
43
|
+
notification_title: Вече можете да създавате <a href="%{resource_path}">нови дебати</a> в(ъв) <a href="%{participatory_space_url}">%{participatory_space_title}</a>
|
44
|
+
gamification:
|
45
|
+
badges:
|
46
|
+
commented_debates:
|
47
|
+
unearned_own: Все още не сте участвали в нито един дебат.
|
data/config/locales/ca.yml
CHANGED
@@ -192,10 +192,10 @@ ca:
|
|
192
192
|
space_followers:
|
193
193
|
email_intro: |-
|
194
194
|
Hola,
|
195
|
-
S'ha creat un nou debat "%{resource_title}" a l'espai participatiu %{
|
196
|
-
email_outro: Has rebut aquesta notificació perquè estàs seguint %{
|
197
|
-
email_subject: Nou debat "%{resource_title}"
|
198
|
-
notification_title:
|
195
|
+
S'ha creat un nou debat "%{resource_title}" a l'espai participatiu %{participatory_space_title}, dona-hi una ullada i contribueix-hi:
|
196
|
+
email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de rebre notificacions des de l'enllaç anterior.
|
197
|
+
email_subject: Nou debat "%{resource_title}" a %{participatory_space_title}
|
198
|
+
notification_title: S'ha creat el debat <a href="%{resource_path}">%{resource_title}</a> a <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
199
199
|
user_followers:
|
200
200
|
email_intro: |-
|
201
201
|
Hola,
|
@@ -205,12 +205,12 @@ ca:
|
|
205
205
|
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> ha creat el debat <a href="%{resource_path}">%{resource_title}</a>.
|
206
206
|
creation_disabled:
|
207
207
|
email_intro: 'La creació de debats ja no està activa a %{participatory_space_title}. Encara pots participar en debats oberts des d''aquesta pàgina:'
|
208
|
-
email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai %{participatory_space_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
|
208
|
+
email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
|
209
209
|
email_subject: S'ha desactivat la creació de debats a %{participatory_space_title}
|
210
210
|
notification_title: La creació de debats està deshabilitada a l'espai <a href="%{participatory_space_url}">%{participatory_space_title}</a>
|
211
211
|
creation_enabled:
|
212
212
|
email_intro: 'Ja pots crear nous debats a %{participatory_space_title}! Comença a participar en aquesta pàgina:'
|
213
|
-
email_outro: Has rebut aquesta notificació perquè estàs seguint %{participatory_space_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
|
213
|
+
email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
|
214
214
|
email_subject: Els debats ja estan disponibles a %{participatory_space_title}
|
215
215
|
notification_title: Ja pots començar <a href="%{resource_path}">nous debats</a> a <a href="%{participatory_space_url}">%{participatory_space_title}</a>
|
216
216
|
debate_closed:
|
data/config/locales/cs.yml
CHANGED
@@ -195,11 +195,11 @@ cs:
|
|
195
195
|
create_debate_event:
|
196
196
|
space_followers:
|
197
197
|
email_intro: |-
|
198
|
-
|
199
|
-
Byla vytvořena nová debata "%{resource_title}" ve skupině %{
|
200
|
-
email_outro: Toto oznámení jste obdrželi, protože sledujete participační prostor %{
|
201
|
-
email_subject: Nová debata "%{resource_title}" na %{
|
202
|
-
notification_title: Debata <a href="%{resource_path}">%{resource_title}</a> byla vytvořena na <a href="%{
|
198
|
+
Dobrý den,
|
199
|
+
Byla vytvořena nová debata "%{resource_title}" ve skupině %{participatory_space_title}, omrkněte a přispějte:
|
200
|
+
email_outro: Toto oznámení jste obdrželi, protože sledujete participační prostor %{participatory_space_title}. Můžete zrušit příjem oznámení na předchozím odkazu.
|
201
|
+
email_subject: Nová debata "%{resource_title}" na %{participatory_space_title}
|
202
|
+
notification_title: Debata <a href="%{resource_path}">%{resource_title}</a> byla vytvořena na <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
203
203
|
user_followers:
|
204
204
|
email_intro: |-
|
205
205
|
Ahoj,
|
data/config/locales/de.yml
CHANGED
@@ -178,7 +178,7 @@ de:
|
|
178
178
|
back_to_resource: Zurück zur Debatte
|
179
179
|
last_activity:
|
180
180
|
debate_updated_at_html: "<span>Debatte aktualisiert unter %{link}</span>"
|
181
|
-
new_debate_at_html: "<span>Neue Debatte
|
181
|
+
new_debate_at_html: "<span>Neue Debatte auf %{link}</span>"
|
182
182
|
models:
|
183
183
|
debate:
|
184
184
|
fields:
|
@@ -191,11 +191,11 @@ de:
|
|
191
191
|
create_debate_event:
|
192
192
|
space_followers:
|
193
193
|
email_intro: |-
|
194
|
-
|
195
|
-
Eine neue Debatte "%{resource_title}" wurde
|
196
|
-
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie %{
|
197
|
-
email_subject: Neue Debatte "%{resource_title}" in %{
|
198
|
-
notification_title: Die Debatte <a href="%{resource_path}">%{resource_title}</a> wurde
|
194
|
+
Guten Tag,
|
195
|
+
Eine neue Debatte "%{resource_title}" wurde auf %{participatory_space_title} eröffnet. Jetzt anschauen und mitdiskutieren unter:
|
196
|
+
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie %{participatory_space_title} folgen. Falls Sie keine solchen Benachrichtigungen mehr erhalten möchten, besuchen Sie den obigen Link.
|
197
|
+
email_subject: Neue Debatte "%{resource_title}" in %{participatory_space_title}
|
198
|
+
notification_title: Die Debatte <a href="%{resource_path}">%{resource_title}</a> wurde auf <a href="%{participatory_space_url}">%{participatory_space_title}</a> erstellt.
|
199
199
|
user_followers:
|
200
200
|
email_intro: |-
|
201
201
|
Hallo,
|
data/config/locales/el.yml
CHANGED
@@ -185,13 +185,6 @@ el:
|
|
185
185
|
events:
|
186
186
|
debates:
|
187
187
|
create_debate_event:
|
188
|
-
space_followers:
|
189
|
-
email_intro: |-
|
190
|
-
Γεια σας,
|
191
|
-
Μια νέα συζήτηση «%{resource_title}» δημιουργήθηκε στον χώρο συμμετοχής %{space_title}, δείτε την και συνεισφέρετε:
|
192
|
-
email_outro: Λάβατε αυτήν την ειδοποίηση επειδή ακολουθείτε τον χώρο συμμετοχής %{space_title}. Μπορείτε να διακόψετε τη λήψη ειδοποιήσεων ακολουθώντας τον προηγούμενο σύνδεσμο.
|
193
|
-
email_subject: Νέα συζήτηση «%{resource_title}» στον χώρο %{space_title}
|
194
|
-
notification_title: Η <a href="%{resource_path}">%{resource_title}</a> συζήτηση δημιουργήθηκε στον χώρο <a href="%{space_path}">%{space_title}</a>.
|
195
188
|
user_followers:
|
196
189
|
email_intro: |-
|
197
190
|
Γεια σας,
|
data/config/locales/en.yml
CHANGED
@@ -192,10 +192,10 @@ en:
|
|
192
192
|
space_followers:
|
193
193
|
email_intro: |-
|
194
194
|
Hi,
|
195
|
-
A new debate "%{resource_title}" has been created on the %{
|
196
|
-
email_outro: You have received this notification because you are following the %{
|
197
|
-
email_subject: New debate "%{resource_title}" on %{
|
198
|
-
notification_title: The <a href="%{resource_path}">%{resource_title}</a> debate was created on <a href="%{
|
195
|
+
A new debate "%{resource_title}" has been created on the %{participatory_space_title} participatory space, check it out and contribute:
|
196
|
+
email_outro: You have received this notification because you are following the %{participatory_space_title} participatory space. You can stop receiving notifications following the previous link.
|
197
|
+
email_subject: New debate "%{resource_title}" on %{participatory_space_title}
|
198
|
+
notification_title: The <a href="%{resource_path}">%{resource_title}</a> debate was created on <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
199
199
|
user_followers:
|
200
200
|
email_intro: |-
|
201
201
|
Hi,
|
data/config/locales/es-MX.yml
CHANGED
@@ -192,10 +192,10 @@ es-MX:
|
|
192
192
|
space_followers:
|
193
193
|
email_intro: |-
|
194
194
|
Hola,
|
195
|
-
Se ha creado un nuevo debate "%{resource_title}" en el espacio participativo %{
|
196
|
-
email_outro: Has recibido esta notificación porque estás siguiendo
|
197
|
-
email_subject: Nuevo debate "%{resource_title}" en %{
|
198
|
-
notification_title:
|
195
|
+
Se ha creado un nuevo debate "%{resource_title}" en el espacio participativo %{participatory_space_title}, échale un vistazo y contribuye:
|
196
|
+
email_outro: Has recibido esta notificación porque estás siguiendo el espacio "%{participatory_space_title}". Puedes dejar de recibir notificaciones desde el enlace anterior.
|
197
|
+
email_subject: Nuevo debate "%{resource_title}" en %{participatory_space_title}
|
198
|
+
notification_title: Se ha creado el debate <a href="%{resource_path}">%{resource_title}</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
199
199
|
user_followers:
|
200
200
|
email_intro: |-
|
201
201
|
Hola,
|
data/config/locales/es-PY.yml
CHANGED
@@ -188,10 +188,10 @@ es-PY:
|
|
188
188
|
space_followers:
|
189
189
|
email_intro: |-
|
190
190
|
Hola,
|
191
|
-
Se ha creado un nuevo debate "%{resource_title}" en el espacio participativo %{
|
192
|
-
email_outro: Has recibido esta notificación porque estás siguiendo
|
193
|
-
email_subject: Nuevo debate "%{resource_title}" en %{
|
194
|
-
notification_title:
|
191
|
+
Se ha creado un nuevo debate "%{resource_title}" en el espacio participativo %{participatory_space_title}, échale un vistazo y contribuye:
|
192
|
+
email_outro: Has recibido esta notificación porque estás siguiendo el espacio "%{participatory_space_title}". Puedes dejar de recibir notificaciones desde el enlace anterior.
|
193
|
+
email_subject: Nuevo debate "%{resource_title}" en %{participatory_space_title}
|
194
|
+
notification_title: Se ha creado el debate <a href="%{resource_path}">%{resource_title}</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
195
195
|
user_followers:
|
196
196
|
email_intro: |-
|
197
197
|
Hola,
|
data/config/locales/es.yml
CHANGED
@@ -192,25 +192,25 @@ es:
|
|
192
192
|
space_followers:
|
193
193
|
email_intro: |-
|
194
194
|
Hola,
|
195
|
-
Se ha creado un nuevo debate "%{resource_title}" en el espacio participativo %{
|
196
|
-
email_outro: Has recibido esta notificación porque estás siguiendo
|
197
|
-
email_subject: Nuevo debate "%{resource_title}" en %{
|
198
|
-
notification_title:
|
195
|
+
Se ha creado un nuevo debate "%{resource_title}" en el espacio participativo %{participatory_space_title}, échale un vistazo y contribuye:
|
196
|
+
email_outro: Has recibido esta notificación porque estás siguiendo el espacio "%{participatory_space_title}". Puedes dejar de recibir notificaciones desde el enlace anterior.
|
197
|
+
email_subject: Nuevo debate "%{resource_title}" en %{participatory_space_title}
|
198
|
+
notification_title: Se ha creado el debate <a href="%{resource_path}">%{resource_title}</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
199
199
|
user_followers:
|
200
200
|
email_intro: |-
|
201
201
|
Hola,
|
202
202
|
%{author_name} %{author_nickname}, a quien estás siguiendo, ha creado un nuevo debate "%{resource_title}". Échale un vistazo y contribuye:
|
203
|
-
email_outro: Has recibido esta notificación porque estás siguiendo a %{author_nickname}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
|
203
|
+
email_outro: Has recibido esta notificación porque estás siguiendo a "%{author_nickname}". Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
|
204
204
|
email_subject: Nuevo debate "%{resource_title}" de %{author_nickname}
|
205
205
|
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> creó el debate <a href="%{resource_path}">%{resource_title}</a>.
|
206
206
|
creation_disabled:
|
207
207
|
email_intro: 'La creación de debates ya no está activa en %{participatory_space_title}. Aún puedes participar en debates abiertos desde esta página:'
|
208
|
-
email_outro: Has recibido esta notificación porque estás siguiendo el espacio %{participatory_space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
|
208
|
+
email_outro: Has recibido esta notificación porque estás siguiendo el espacio "%{participatory_space_title}". Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
|
209
209
|
email_subject: Se ha desactivado la creación de debates en %{participatory_space_title}
|
210
210
|
notification_title: La creación de debates ahora está deshabilitada en el espacio <a href="%{participatory_space_url}">%{participatory_space_title}</a>
|
211
211
|
creation_enabled:
|
212
212
|
email_intro: '¡Ya puedes crear nuevos debates en %{participatory_space_title}! Comienza a participar en esta página:'
|
213
|
-
email_outro: Has recibido esta notificación porque estás siguiendo %{participatory_space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
|
213
|
+
email_outro: Has recibido esta notificación porque estás siguiendo el espacio "%{participatory_space_title}". Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
|
214
214
|
email_subject: Los debates ya estan disponibles en %{participatory_space_title}
|
215
215
|
notification_title: Ya puedes empezar <a href="%{resource_path}">nuevos debates</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a>
|
216
216
|
debate_closed:
|
data/config/locales/eu.yml
CHANGED
@@ -191,11 +191,11 @@ eu:
|
|
191
191
|
create_debate_event:
|
192
192
|
space_followers:
|
193
193
|
email_intro: |-
|
194
|
-
Kaixo
|
195
|
-
"%{
|
196
|
-
email_outro: Jakinarazpen
|
197
|
-
email_subject:
|
198
|
-
notification_title: <a href="%{resource_path}">%{resource_title}</a> eztabaida sortu
|
194
|
+
Kaixo:
|
195
|
+
"%{resources ce_title}" eztabaida berria sortu da %{participatory_space_title}} partaidetza-espazioan, egiaztatu eta egin ekarpenak:
|
196
|
+
email_outro: Jakinarazpen hau jaso duzu %{participatory_space_title} parte hartzeko espazioa jarraitzen ari zarelako. Aurreko estekan jakinarazpenak jasotzeari utzi ahal diozu.
|
197
|
+
email_subject: '"%{resource_title}" eztabaida berria hemen %{participatory_space_title}'
|
198
|
+
notification_title: '<a href="%{resource_path}">%{resource_title}</a> eztabaida sortu da hemen: <a href="%{participatory_space_url}">%{participatory_space_title}</a>.'
|
199
199
|
user_followers:
|
200
200
|
email_intro: |-
|
201
201
|
Kaixo,
|
data/config/locales/fi-plain.yml
CHANGED
@@ -192,10 +192,10 @@ fi-pl:
|
|
192
192
|
space_followers:
|
193
193
|
email_intro: |-
|
194
194
|
Hei,
|
195
|
-
|
196
|
-
email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta %{
|
197
|
-
email_subject: Uusi keskustelu "%{resource_title}"
|
198
|
-
notification_title: Keskustelu
|
195
|
+
osallistumistilaan %{participatory_space_title} on luotu uusi keskustelu "%{resource_title}", tutustu siihen ja osallistu:
|
196
|
+
email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta %{participatory_space_title}. Voit lopettaa ilmoitusten vastaanottamisen edellä esitetyn linkin kautta.
|
197
|
+
email_subject: Uusi keskustelu "%{resource_title}" osallistumistilassa %{participatory_space_title}
|
198
|
+
notification_title: Keskustelu nimeltä <a href="%{resource_path}">%{resource_title}</a> luotiin osallistumistilaan <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
199
199
|
user_followers:
|
200
200
|
email_intro: |-
|
201
201
|
Hei,
|
data/config/locales/fi.yml
CHANGED
@@ -192,10 +192,10 @@ fi:
|
|
192
192
|
space_followers:
|
193
193
|
email_intro: |-
|
194
194
|
Hei,
|
195
|
-
osallistumistilaan %{
|
196
|
-
email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta %{
|
197
|
-
email_subject: Uusi keskustelu "%{resource_title}" osallistumistilassa %{
|
198
|
-
notification_title: Keskustelu
|
195
|
+
osallistumistilaan %{participatory_space_title} on luotu uusi keskustelu "%{resource_title}", tutustu siihen ja osallistu:
|
196
|
+
email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta %{participatory_space_title}. Voit lopettaa ilmoitusten vastaanottamisen edellä esitetyn linkin kautta.
|
197
|
+
email_subject: Uusi keskustelu "%{resource_title}" osallistumistilassa %{participatory_space_title}
|
198
|
+
notification_title: Keskustelu nimeltä <a href="%{resource_path}">%{resource_title}</a> luotiin osallistumistilaan <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
199
199
|
user_followers:
|
200
200
|
email_intro: |-
|
201
201
|
Hei,
|
data/config/locales/fr-CA.yml
CHANGED
@@ -191,11 +191,11 @@ fr-CA:
|
|
191
191
|
create_debate_event:
|
192
192
|
space_followers:
|
193
193
|
email_intro: |-
|
194
|
-
|
195
|
-
Un nouveau débat
|
196
|
-
email_outro: Vous avez reçu cette notification
|
197
|
-
email_subject: Nouveau débat "%{resource_title}" sur %{
|
198
|
-
notification_title: Le débat <a href="%{resource_path}">%{resource_title}</a> a été créé
|
194
|
+
Bonjour,
|
195
|
+
Un nouveau débat "%{resource_title}" a été créé dans l'espace participatif %{participatory_space_title}, nous vous invitons à le consulter et à y contribuer:
|
196
|
+
email_outro: Vous avez reçu cette notification car vous suivez l'espace participatif %{participatory_space_title}. Vous pouvez arrêter de recevoir des notifications en cliquant sur le lien précédent.
|
197
|
+
email_subject: Nouveau débat "%{resource_title}" sur %{participatory_space_title}
|
198
|
+
notification_title: Le débat <a href="%{resource_path}">%{resource_title}</a> a été créé sur <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
199
199
|
user_followers:
|
200
200
|
email_intro: |-
|
201
201
|
Bonjour,
|
data/config/locales/fr.yml
CHANGED
@@ -191,11 +191,11 @@ fr:
|
|
191
191
|
create_debate_event:
|
192
192
|
space_followers:
|
193
193
|
email_intro: |-
|
194
|
-
|
195
|
-
Un nouveau débat
|
196
|
-
email_outro: Vous avez reçu cette notification
|
197
|
-
email_subject: Nouveau débat "%{resource_title}" sur %{
|
198
|
-
notification_title: Le débat <a href="%{resource_path}">%{resource_title}</a> a été créé
|
194
|
+
Bonjour,
|
195
|
+
Un nouveau débat "%{resource_title}" a été créé dans l'espace participatif %{participatory_space_title}, nous vous invitons à le consulter et à y contribuer:
|
196
|
+
email_outro: Vous avez reçu cette notification car vous suivez l'espace participatif %{participatory_space_title}. Vous pouvez arrêter de recevoir des notifications en cliquant sur le lien précédent.
|
197
|
+
email_subject: Nouveau débat "%{resource_title}" sur %{participatory_space_title}
|
198
|
+
notification_title: Le débat <a href="%{resource_path}">%{resource_title}</a> a été créé sur <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
199
199
|
user_followers:
|
200
200
|
email_intro: |-
|
201
201
|
Bonjour,
|
data/config/locales/gl.yml
CHANGED
@@ -111,13 +111,6 @@ gl:
|
|
111
111
|
events:
|
112
112
|
debates:
|
113
113
|
create_debate_event:
|
114
|
-
space_followers:
|
115
|
-
email_intro: |-
|
116
|
-
Ola,
|
117
|
-
Creouse un novo debate "%{resource_title}" nos %{space_title} espazos participativos, verifícalo e contribuír:
|
118
|
-
email_outro: Recibiches esta notificación porque estás seguindo o %{space_title} espazo participativo. Podes deixar de recibir notificacións seguindo a ligazón anterior.
|
119
|
-
email_subject: Novo debate "%{resource_title}" en %{space_title}
|
120
|
-
notification_title: O <a href="%{resource_path}">%{resource_title}</a> debate foi creado en <a href="%{space_path}">%{space_title}</a>.
|
121
114
|
user_followers:
|
122
115
|
email_intro: |-
|
123
116
|
Ola,
|
@@ -0,0 +1 @@
|
|
1
|
+
he:
|
data/config/locales/hu.yml
CHANGED
@@ -31,7 +31,7 @@ hu:
|
|
31
31
|
actions:
|
32
32
|
comment: Megjegyzés
|
33
33
|
create: Létrehozás
|
34
|
-
endorse:
|
34
|
+
endorse: Támogat
|
35
35
|
name: Viták
|
36
36
|
settings:
|
37
37
|
global:
|
@@ -44,8 +44,8 @@ hu:
|
|
44
44
|
announcement: Közlemény
|
45
45
|
comments_blocked: Megjegyzések letiltva
|
46
46
|
creation_enabled: A résztvevők létrehozhatnak vitákat
|
47
|
-
endorsements_blocked:
|
48
|
-
endorsements_enabled:
|
47
|
+
endorsements_blocked: Támogatások letiltva
|
48
|
+
endorsements_enabled: Támogatások engedélyezve
|
49
49
|
debates:
|
50
50
|
actions:
|
51
51
|
close: Bezár
|
@@ -186,13 +186,6 @@ hu:
|
|
186
186
|
events:
|
187
187
|
debates:
|
188
188
|
create_debate_event:
|
189
|
-
space_followers:
|
190
|
-
email_intro: |-
|
191
|
-
Szia,
|
192
|
-
Új vitát "%{resource_title}" hoztak létre a %{space_title} részvételi téren, nézd meg és járulj hozzá:
|
193
|
-
email_outro: 'Ezt az értesítést azért kaptad, mert ezt a részvételi helyet követed: "%{space_title}". Az értesítéseket a következő linkre kattintva kapcsolhatod ki.'
|
194
|
-
email_subject: Új vita "%{resource_title}" indult itt %{space_title}
|
195
|
-
notification_title: A(z) <a href="%{resource_path}">%{resource_title}</a>vita létrejött itt:<a href="%{space_path}">%{space_title}</a>.
|
196
189
|
user_followers:
|
197
190
|
email_intro: |-
|
198
191
|
Szia,
|
data/config/locales/id-ID.yml
CHANGED
@@ -105,13 +105,6 @@ id:
|
|
105
105
|
events:
|
106
106
|
debates:
|
107
107
|
create_debate_event:
|
108
|
-
space_followers:
|
109
|
-
email_intro: |-
|
110
|
-
Hai,
|
111
|
-
Debat baru "%{resource_title}" telah dibuat di %{space_title} ruang partisipatif, periksa dan berkontribusi:
|
112
|
-
email_outro: Anda telah menerima pemberitahuan ini karena Anda mengikuti %{space_title} ruang partisipatif. Anda dapat berhenti menerima pemberitahuan setelah tautan sebelumnya.
|
113
|
-
email_subject: Perdebatan baru "%{resource_title}" pada %{space_title}
|
114
|
-
notification_title: Debat <a href="%{resource_path}">%{resource_title}</a> dibuat pada <a href="%{space_path}">%{space_title}</a>.
|
115
108
|
user_followers:
|
116
109
|
email_intro: |-
|
117
110
|
Hai,
|
data/config/locales/is-IS.yml
CHANGED
@@ -83,9 +83,6 @@ is:
|
|
83
83
|
events:
|
84
84
|
debates:
|
85
85
|
create_debate_event:
|
86
|
-
space_followers:
|
87
|
-
email_outro: Þú hefur fengið þessa tilkynningu vegna þess að þú fylgir %{space_title} þátttakandi plássinu. Þú getur hætt við að fá tilkynningar eftir fyrri tengilinn.
|
88
|
-
notification_title: <a href="%{resource_path}">%{resource_title}</a> umræðurnar voru búnar til á <a href="%{space_path}">%{space_title}</a>.
|
89
86
|
user_followers:
|
90
87
|
email_outro: Þú hefur fengið þessa tilkynningu vegna þess að þú fylgist með %{author_nickname}. Þú getur hætt við að fá tilkynningar eftir fyrri tengilinn.
|
91
88
|
creation_disabled:
|
data/config/locales/it.yml
CHANGED
@@ -185,13 +185,6 @@ it:
|
|
185
185
|
events:
|
186
186
|
debates:
|
187
187
|
create_debate_event:
|
188
|
-
space_followers:
|
189
|
-
email_intro: |-
|
190
|
-
Ciao,
|
191
|
-
Un nuovo dibattito "%{resource_title}" è stato creato sui %{space_title} spazi partecipativi, dai un'occhiata e dai:
|
192
|
-
email_outro: Hai ricevuto questa notifica perché stai seguendo lo spazio partecipativo %{space_title}. È possibile interrompere la ricezione di notifiche seguendo il collegamento precedente.
|
193
|
-
email_subject: Nuovo dibattito "%{resource_title}" su %{space_title}
|
194
|
-
notification_title: Il dibattito <a href="%{resource_path}">%{resource_title}</a> è stato creato su <a href="%{space_path}">%{space_title}</a>.
|
195
188
|
user_followers:
|
196
189
|
email_intro: |-
|
197
190
|
Ciao,
|
data/config/locales/ja.yml
CHANGED
@@ -190,10 +190,10 @@ ja:
|
|
190
190
|
space_followers:
|
191
191
|
email_intro: |-
|
192
192
|
こんにちは、
|
193
|
-
%{resource_title} 参加型スペースに新しいディベート「 %{
|
194
|
-
email_outro:
|
195
|
-
email_subject: '%{
|
196
|
-
notification_title: <a href="%{resource_path}">%{resource_title}</a>
|
193
|
+
%{resource_title} 参加型スペースに新しいディベート「 %{participatory_space_title} 」が作成されました。ぜひともご参加ください:
|
194
|
+
email_outro: 参加型スペース %{participatory_space_title} をフォローしているため、この通知を受信しました。通知が不要な場合、上記リンクより停止できます。
|
195
|
+
email_subject: '"%{participatory_space_title}" での新しいディベート %{resource_title}'
|
196
|
+
notification_title: ディベート <a href="%{resource_path}">%{resource_title}</a> が、 <a href="%{participatory_space_url}">%{participatory_space_title}</a> に作成されました。
|
197
197
|
user_followers:
|
198
198
|
email_intro: |-
|
199
199
|
こんにちは、
|
data/config/locales/lb.yml
CHANGED
@@ -116,13 +116,6 @@ lb:
|
|
116
116
|
events:
|
117
117
|
debates:
|
118
118
|
create_debate_event:
|
119
|
-
space_followers:
|
120
|
-
email_intro: |-
|
121
|
-
Hallo,
|
122
|
-
Eine neue Debatte "%{resource_title}" wurde in %{space_title} erstellt, sehen Sie es sich an und reden Sie mit:
|
123
|
-
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie %{space_title} folgen. Falls Sie keine solchen Benachrichtigungen mehr erhalten möchten, besuchen Sie den obigen Link.
|
124
|
-
email_subject: Neue Debatte "%{resource_title}" in %{space_title}
|
125
|
-
notification_title: Die Debatte <a href="%{resource_path}">%{resource_title}</a> wurde in <a href="%{space_path}">%{space_title}</a> erstellt.
|
126
119
|
user_followers:
|
127
120
|
email_intro: |-
|
128
121
|
Hallo,
|
data/config/locales/lt.yml
CHANGED
@@ -190,13 +190,6 @@ lt:
|
|
190
190
|
events:
|
191
191
|
debates:
|
192
192
|
create_debate_event:
|
193
|
-
space_followers:
|
194
|
-
email_intro: |-
|
195
|
-
Sveiki,
|
196
|
-
Dalyvaujamojo proceso erdvėje %{space_title} sukurta nauja diskusija „%{resource_title}“, peržiūrėkite ir prisidėkite:
|
197
|
-
email_outro: Šį pranešimą gavote dėl to, kad sekate dalyvaujamojo proceso erdvę %{space_title}. Jeigu nebenorite gauti pranešimų, spustelėkite ankstesnę nuorodą.
|
198
|
-
email_subject: Nauja diskusija "%{resource_title}" %{space_title} erdvėje
|
199
|
-
notification_title: <a href="%{resource_path}">%{resource_title}</a> diskusija sukurta <a href="%{space_path}">%{space_title}</a>.
|
200
193
|
user_followers:
|
201
194
|
email_intro: |-
|
202
195
|
Sveiki,
|
data/config/locales/lv.yml
CHANGED
@@ -95,12 +95,6 @@ lv:
|
|
95
95
|
events:
|
96
96
|
debates:
|
97
97
|
create_debate_event:
|
98
|
-
space_followers:
|
99
|
-
email_intro: |-
|
100
|
-
Sveiki, %{space_title} līdzdalības telpā ir izveidotas jaunas debates "%{resource_title}", aplūkojiet tās un piedalieties:
|
101
|
-
email_outro: Jūs saņēmāt šo paziņojumu, jo sekojat %{participatory_space_title}. Jūs varat atteikties no paziņojumu saņemšanas, sekojot iepriekšējai saitei.
|
102
|
-
email_subject: Jaunas debates "%{resource_title}" par %{space_title}
|
103
|
-
notification_title: <a href="%{resource_path}">%{resource_title}</a> debates tika izveidotas telpā <a href="%{space_path}">%{space_title}</a>.
|
104
98
|
user_followers:
|
105
99
|
email_intro: |-
|
106
100
|
Sveiki,%{author_name}%{author_nickname}, kam jūs sekojat, ir izveidojis jaunas debates "%{resource_title}". Aplūkojiet tās un piedalieties:
|
data/config/locales/nl.yml
CHANGED
@@ -162,13 +162,6 @@ nl:
|
|
162
162
|
events:
|
163
163
|
debates:
|
164
164
|
create_debate_event:
|
165
|
-
space_followers:
|
166
|
-
email_intro: |-
|
167
|
-
Hallo,
|
168
|
-
Een nieuw debat "%{resource_title}" is opgezet op de %{space_title} inspraakruimte, bekijk het en draag bij:
|
169
|
-
email_outro: Je hebt deze melding ontvangen omdat je de %{space_title} participatorische ruimte volgt. Je kan de meldingen deactiveren door te klikken op de voorgaande link.
|
170
|
-
email_subject: Nieuw debat "%{resource_title}" op %{space_title}
|
171
|
-
notification_title: Het <a href="%{resource_path}">%{resource_title}</a> debat is gemaakt op <a href="%{space_path}">%{space_title}</a>.
|
172
165
|
user_followers:
|
173
166
|
email_intro: |-
|
174
167
|
Hallo,
|
data/config/locales/no.yml
CHANGED
@@ -185,13 +185,6 @@
|
|
185
185
|
events:
|
186
186
|
debates:
|
187
187
|
create_debate_event:
|
188
|
-
space_followers:
|
189
|
-
email_intro: |-
|
190
|
-
Hei,
|
191
|
-
En ny innspillstråd "%{resource_title}" har blitt opprettet under området %{space_title}, sjekk det ut og bidra:
|
192
|
-
email_outro: Du har mottatt denne varslingen fordi du følger %{space_title}. Du kan slutte å motta varsler hvis du følger den vedlagte lenken.
|
193
|
-
email_subject: Ny innspillstråd "%{resource_title}" under %{space_title}
|
194
|
-
notification_title: Innspillstråden <a href="%{resource_path}">%{resource_title}</a> ble opprettet under <a href="%{space_path}">%{space_title} </a>.
|
195
188
|
user_followers:
|
196
189
|
email_intro: |-
|
197
190
|
Hei,
|
data/config/locales/pl.yml
CHANGED
@@ -114,6 +114,9 @@ pl:
|
|
114
114
|
success: Debatę utworzono pomyślnie.
|
115
115
|
debate:
|
116
116
|
participate: Dołącz
|
117
|
+
debates:
|
118
|
+
empty: Nie ma jeszcze żadnych debat.
|
119
|
+
empty_filters: Nie ma debat z tymi kryteriami.
|
117
120
|
edit:
|
118
121
|
back: Wróć
|
119
122
|
save: Zapisz zmiany
|
@@ -190,12 +193,6 @@ pl:
|
|
190
193
|
events:
|
191
194
|
debates:
|
192
195
|
create_debate_event:
|
193
|
-
space_followers:
|
194
|
-
email_intro: |-
|
195
|
-
Nowa debata "%{resource_title}" została utworzona w przestrzeni partycypacyjnej %{space_title}, sprawdź ją i przyłącz się:
|
196
|
-
email_outro: Otrzymałeś to powiadomienie, ponieważ obserwujesz przestrzeń partycypacyjną %{space_title}. Możesz przestać otrzymywać powiadomienia po kliknięciu w poprzedni link.
|
197
|
-
email_subject: Nowa debata "%{resource_title}" w %{space_title}
|
198
|
-
notification_title: Debata <a href="%{resource_path}">%{resource_title}</a> została utworzona w <a href="%{space_path}">%{space_title}</a>.
|
199
196
|
user_followers:
|
200
197
|
email_intro: |-
|
201
198
|
Cześć,
|
data/config/locales/pt-BR.yml
CHANGED
@@ -11,6 +11,7 @@ pt-BR:
|
|
11
11
|
end_time: Termina em
|
12
12
|
information_updates: Atualizações de informações
|
13
13
|
instructions: Instruções para participar
|
14
|
+
scope_id: Escopo
|
14
15
|
start_time: Começa em
|
15
16
|
title: Título
|
16
17
|
user_group_id: Criar debate como
|
@@ -28,6 +29,7 @@ pt-BR:
|
|
28
29
|
components:
|
29
30
|
debates:
|
30
31
|
actions:
|
32
|
+
comment: Comentário
|
31
33
|
create: Criar
|
32
34
|
endorse: Endossar
|
33
35
|
name: Debates
|
@@ -124,6 +126,7 @@ pt-BR:
|
|
124
126
|
my_debates: Meus debates
|
125
127
|
official: Oficial
|
126
128
|
origin: Origem
|
129
|
+
participants: Participantes
|
127
130
|
scope: Escopo
|
128
131
|
search: Procurar
|
129
132
|
state: Status
|
@@ -186,13 +189,6 @@ pt-BR:
|
|
186
189
|
events:
|
187
190
|
debates:
|
188
191
|
create_debate_event:
|
189
|
-
space_followers:
|
190
|
-
email_intro: |-
|
191
|
-
Oi,
|
192
|
-
Um novo debate "%{resource_title}" foi criado no espaço participativo %{space_title} , confira e contribua:
|
193
|
-
email_outro: Você recebeu esta notificação porque está seguindo o espaço participativo %{space_title}. Você pode parar de receber notificações após o link anterior.
|
194
|
-
email_subject: Novo debate "%{resource_title}" em %{space_title}
|
195
|
-
notification_title: O <a href="%{resource_path}">%{resource_title}</a> debate foi criado em <a href="%{space_path}">%{space_title}</a>.
|
196
192
|
user_followers:
|
197
193
|
email_intro: |-
|
198
194
|
Olá,
|
data/config/locales/pt.yml
CHANGED
@@ -182,13 +182,6 @@ pt:
|
|
182
182
|
events:
|
183
183
|
debates:
|
184
184
|
create_debate_event:
|
185
|
-
space_followers:
|
186
|
-
email_intro: |-
|
187
|
-
Olá,
|
188
|
-
Um novo debate "%{resource_title}" foi criado no espaço participativo %{space_title}, confira e contribua:
|
189
|
-
email_outro: Recebeu esta notificação porque segue o espaço participativo %{space_title}. Pode parar de receber notificações seguindo a hiperligação anterior.
|
190
|
-
email_subject: Novo debate "%{resource_title}" em %{space_title}
|
191
|
-
notification_title: O debate <a href="%{resource_path}">%{resource_title}</a> foi criado em <a href="%{space_path}">%{space_title}</a>.
|
192
185
|
user_followers:
|
193
186
|
email_intro: |-
|
194
187
|
Olá,
|
data/config/locales/ro-RO.yml
CHANGED
@@ -188,13 +188,6 @@ ro:
|
|
188
188
|
events:
|
189
189
|
debates:
|
190
190
|
create_debate_event:
|
191
|
-
space_followers:
|
192
|
-
email_intro: |-
|
193
|
-
Bună,
|
194
|
-
O nouă dezbatere "%{resource_title}" a fost creată în spațiul participativ %{space_title}, citește și contribuie:
|
195
|
-
email_outro: Ați primit această notificare deoarece urmați spațiul participativ al %{space_title} . Puteți înceta să primiți notificări urmând linkul anterior.
|
196
|
-
email_subject: Dezbatere nouă "%{resource_title}" pe %{space_title}
|
197
|
-
notification_title: Dezbaterea <a href="%{resource_path}">%{resource_title}</a> a fost creată în <a href="%{space_path}">%{space_title}</a>.
|
198
191
|
user_followers:
|
199
192
|
email_intro: |-
|
200
193
|
Bună,
|
data/config/locales/ru.yml
CHANGED
@@ -109,9 +109,6 @@ ru:
|
|
109
109
|
events:
|
110
110
|
debates:
|
111
111
|
create_debate_event:
|
112
|
-
space_followers:
|
113
|
-
email_outro: Вы получили это уведомление, потому что вы следите за пространством соучастия %{space_title}. Вы можете отписаться от уведомлений, перейдя по приведенной выше ссылке.
|
114
|
-
notification_title: В <a href="%{space_path}">%{space_title}</a> началось обсуждение <a href="%{resource_path}">%{resource_title}</a>.
|
115
112
|
user_followers:
|
116
113
|
email_outro: Вы получили это уведомление, потому что вы следите за «%{author_nickname}». Вы можете отписаться от уведомлений, перейдя по приведенной выше ссылке.
|
117
114
|
creation_disabled:
|
data/config/locales/sk.yml
CHANGED
@@ -113,12 +113,6 @@ sk:
|
|
113
113
|
events:
|
114
114
|
debates:
|
115
115
|
create_debate_event:
|
116
|
-
space_followers:
|
117
|
-
email_intro: |-
|
118
|
-
Ahoj, debata "%{resource_title}" bola vytvorená v participatívnom priestore "%{participatory_space_title}", pozrite sa na ňu a prispejte:
|
119
|
-
email_outro: Toto oznámenie ste dostali, pretože sledujete participatívny priestor %{space_title}. Notifikácie môžete zrušiť po kliknutí na predchádzajúci odkaz.
|
120
|
-
email_subject: Nová debata "%{resource_title}" na %{space_title}
|
121
|
-
notification_title: Debata <a href="%{resource_path}">%{resource_title} </a> bola vytvorená v priestore <a href="%{space_path}">%{space_title} </a>.
|
122
116
|
user_followers:
|
123
117
|
email_intro: |-
|
124
118
|
Dobrý deň,
|
data/config/locales/sv.yml
CHANGED
@@ -184,13 +184,6 @@ sv:
|
|
184
184
|
events:
|
185
185
|
debates:
|
186
186
|
create_debate_event:
|
187
|
-
space_followers:
|
188
|
-
email_intro: |-
|
189
|
-
Hej,
|
190
|
-
En ny debatt, "%{resource_title}", har skapats i deltagarutrymmet %{space_title}, ta en titt och bidra:
|
191
|
-
email_outro: Du har fått detta meddelande eftersom du följer deltagarutrymmet %{space_title}. Du kan sluta att ta emot meddelanden via föregående länk.
|
192
|
-
email_subject: Ny debatt "%{resource_title}" i %{space_title}
|
193
|
-
notification_title: Debatten <a href="%{resource_path}">%{resource_title}</a> har skapats i <a href="%{space_path}">%{space_title}</a>.
|
194
187
|
user_followers:
|
195
188
|
email_intro: |-
|
196
189
|
Hej,
|
data/config/locales/tr-TR.yml
CHANGED
@@ -182,11 +182,11 @@ tr:
|
|
182
182
|
create_debate_event:
|
183
183
|
space_followers:
|
184
184
|
email_intro: |-
|
185
|
-
Merhaba
|
186
|
-
%{
|
187
|
-
email_outro:
|
188
|
-
email_subject: '%{
|
189
|
-
notification_title: <a href="%{resource_path}">%{resource_title
|
185
|
+
Merhaba
|
186
|
+
%{participatory_space_title} katılımcı alanında yeni bir "%{resource_title}" tartışma başlığı oluşturuldu. İnceleyerek katkıda bulunabilirsiniz.
|
187
|
+
email_outro: Bu bildirimi %{participatory_space_title} katılımcılık Başlıklı alanını takip ettiğiniz için aldınız. Bildirim almayı önceki bağlantı linkini izleyerek durdurabilirsiniz.
|
188
|
+
email_subject: '%{participatory_space_title} başlıpı ile ilgili yeni tartışma "%{resource_title}"'
|
189
|
+
notification_title: <a href="%{resource_path}">%{resource_title</a> tartışması <a href="%{participatory_space_url}">%{participatory_space_title</a> tarihinde oluşturuldu.
|
190
190
|
user_followers:
|
191
191
|
email_intro: |-
|
192
192
|
Merhaba,
|
data/config/locales/uk.yml
CHANGED
@@ -109,9 +109,6 @@ uk:
|
|
109
109
|
events:
|
110
110
|
debates:
|
111
111
|
create_debate_event:
|
112
|
-
space_followers:
|
113
|
-
email_outro: Ви отримали це сповіщення, тому що ви стежите за простором співучасті %{space_title}. Ви можете відписатися від цих сповіщень, перейшовши за наведеним вище посиланням.
|
114
|
-
notification_title: <a href="%{space_path}">%{space_title} </a> розпочав обговорення у <a href="%{resource_path}">%{resource_title}</a>.
|
115
112
|
user_followers:
|
116
113
|
email_outro: Ви отримали це сповіщення, тому що ви стежите за %{author_nickname}. Ви можете відписатися від цих сповіщень, перейшовши за наведеним вище посиланням.
|
117
114
|
creation_disabled:
|
data/config/locales/zh-CN.yml
CHANGED
@@ -169,13 +169,6 @@ zh-CN:
|
|
169
169
|
events:
|
170
170
|
debates:
|
171
171
|
create_debate_event:
|
172
|
-
space_followers:
|
173
|
-
email_intro: |-
|
174
|
-
您好,
|
175
|
-
在参与性的 %{space_title} 空间上创建了一个新的辩论"%{resource_title}"。查看它并做出贡献:
|
176
|
-
email_outro: 您收到此通知是因为您正在关注 %{space_title} 个参与性空间。您可以停止收到跟随上一个链接的通知。
|
177
|
-
email_subject: 在%{resource_title}上的新辩论 " %{space_title}
|
178
|
-
notification_title: <a href="%{resource_path}">%{resource_title}</a> 辩论是在 <a href="%{space_path}">%{space_title}</a> 创建的。
|
179
172
|
user_followers:
|
180
173
|
email_intro: |-
|
181
174
|
你好,
|
data/config/locales/zh-TW.yml
CHANGED
@@ -184,13 +184,6 @@ zh-TW:
|
|
184
184
|
events:
|
185
185
|
debates:
|
186
186
|
create_debate_event:
|
187
|
-
space_followers:
|
188
|
-
email_intro: |-
|
189
|
-
你好,
|
190
|
-
一個新的辯論「%{resource_title}」已經在 %{space_title} 參與空間中建立,請查看並參與:
|
191
|
-
email_outro: 您收到此通知,是因為您正在追蹤 %{space_title} 參與空間。您可以按照上述連結停止接收通知。
|
192
|
-
email_subject: '%{space_title} 參與空間上有新辯論主題%{resource_title}'
|
193
|
-
notification_title: 在<a href="%{space_path}">%{space_title}</a>上建立了辯論主題<a href="%{resource_path}">%{resource_title}</a>。
|
194
187
|
user_followers:
|
195
188
|
email_intro: |-
|
196
189
|
嗨,
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
$LOAD_PATH.push File.expand_path("lib", __dir__)
|
4
|
+
|
5
|
+
require "decidim/debates/version"
|
6
|
+
|
7
|
+
# Describe your gem and declare its dependencies:
|
8
|
+
Gem::Specification.new do |s|
|
9
|
+
s.version = Decidim::Debates.version
|
10
|
+
s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva", "Genis Matutes Pujol"]
|
11
|
+
s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com", "genis.matutes@gmail.com"]
|
12
|
+
s.license = "AGPL-3.0"
|
13
|
+
s.homepage = "https://github.com/decidim/decidim"
|
14
|
+
s.required_ruby_version = "~> 3.0.0"
|
15
|
+
|
16
|
+
s.name = "decidim-debates"
|
17
|
+
s.summary = "Decidim debates module"
|
18
|
+
s.description = "A debates component for decidim's participatory spaces."
|
19
|
+
|
20
|
+
s.files = Dir.chdir(__dir__) do
|
21
|
+
`git ls-files -z`.split("\x0").select do |f|
|
22
|
+
(File.expand_path(f) == __FILE__) ||
|
23
|
+
f.start_with?(*%w(app/ config/ db/ lib/ Rakefile README.md))
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
s.add_dependency "decidim-comments", Decidim::Debates.version
|
28
|
+
s.add_dependency "decidim-core", Decidim::Debates.version
|
29
|
+
|
30
|
+
s.add_development_dependency "decidim-admin", Decidim::Debates.version
|
31
|
+
s.add_development_dependency "decidim-dev", Decidim::Debates.version
|
32
|
+
end
|
@@ -10,17 +10,11 @@ FactoryBot.define do
|
|
10
10
|
skip_injection { false }
|
11
11
|
end
|
12
12
|
|
13
|
-
title
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
end
|
19
|
-
end
|
20
|
-
description { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_debate_title } }
|
21
|
-
information_updates { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_debate_title } }
|
22
|
-
instructions { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_debate_title } }
|
23
|
-
component { build(:debates_component) }
|
13
|
+
title { generate_localized_title(:debate_title, skip_injection: skip_injection) }
|
14
|
+
description { generate_localized_description(:debate_description, skip_injection: skip_injection) }
|
15
|
+
information_updates { generate_localized_description(:debate_information_updates, skip_injection: skip_injection) }
|
16
|
+
instructions { generate_localized_description(:debate_instructions, skip_injection: skip_injection) }
|
17
|
+
component { build(:debates_component, skip_injection: skip_injection) }
|
24
18
|
author { component.try(:organization) }
|
25
19
|
|
26
20
|
trait :open_ama do
|
@@ -32,7 +26,7 @@ FactoryBot.define do
|
|
32
26
|
start_time { nil }
|
33
27
|
end_time { nil }
|
34
28
|
author do
|
35
|
-
build(:user, organization: component.organization) if component
|
29
|
+
build(:user, organization: component.organization, skip_injection: skip_injection) if component
|
36
30
|
end
|
37
31
|
end
|
38
32
|
|
@@ -42,17 +36,17 @@ FactoryBot.define do
|
|
42
36
|
|
43
37
|
trait :user_group_author do
|
44
38
|
author do
|
45
|
-
create(:user, organization: component.organization) if component
|
39
|
+
create(:user, organization: component.organization, skip_injection: skip_injection) if component
|
46
40
|
end
|
47
41
|
|
48
42
|
user_group do
|
49
|
-
create(:user_group, :verified, organization: component.organization, users: [author]) if component
|
43
|
+
create(:user_group, :verified, organization: component.organization, users: [author], skip_injection: skip_injection) if component
|
50
44
|
end
|
51
45
|
end
|
52
46
|
|
53
47
|
trait :closed do
|
54
48
|
closed_at { Time.current }
|
55
|
-
conclusions {
|
49
|
+
conclusions { generate_localized_description(:debate_conclusions, skip_injection: skip_injection) }
|
56
50
|
end
|
57
51
|
|
58
52
|
after(:build) do |debate|
|
@@ -62,9 +56,12 @@ FactoryBot.define do
|
|
62
56
|
end
|
63
57
|
|
64
58
|
factory :debates_component, parent: :component do
|
65
|
-
|
59
|
+
transient do
|
60
|
+
skip_injection { false }
|
61
|
+
end
|
62
|
+
name { generate_component_name(participatory_space.organization.available_locales, :debates, skip_injection: skip_injection) }
|
66
63
|
manifest_name { :debates }
|
67
|
-
participatory_space { create(:participatory_process, :with_steps, organization: organization) }
|
64
|
+
participatory_space { create(:participatory_process, :with_steps, organization: organization, skip_injection: skip_injection) }
|
68
65
|
settings do
|
69
66
|
{
|
70
67
|
comments_enabled: true,
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
8
8
|
- Marc Riera Casals
|
9
9
|
- Oriol Gual Oliva
|
10
10
|
- Genis Matutes Pujol
|
11
|
-
autorequire:
|
11
|
+
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2024-04-30 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.6
|
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.6
|
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.6
|
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.6
|
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.6
|
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.6
|
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.6
|
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.6
|
72
72
|
description: A debates component for decidim's participatory spaces.
|
73
73
|
email:
|
74
74
|
- josepjaume@gmail.com
|
@@ -157,7 +157,6 @@ files:
|
|
157
157
|
- app/views/decidim/debates/versions/index.html.erb
|
158
158
|
- app/views/decidim/debates/versions/show.html.erb
|
159
159
|
- config/assets.rb
|
160
|
-
- config/environment.rb
|
161
160
|
- config/locales/am-ET.yml
|
162
161
|
- config/locales/ar-SA.yml
|
163
162
|
- config/locales/ar.yml
|
@@ -190,6 +189,7 @@ files:
|
|
190
189
|
- config/locales/ga-IE.yml
|
191
190
|
- config/locales/gl.yml
|
192
191
|
- config/locales/gn-PY.yml
|
192
|
+
- config/locales/he-IL.yml
|
193
193
|
- config/locales/hr-HR.yml
|
194
194
|
- config/locales/hr.yml
|
195
195
|
- config/locales/hu.yml
|
@@ -257,6 +257,7 @@ files:
|
|
257
257
|
- db/migrate/20210125101735_revert_archive_debates.rb
|
258
258
|
- db/migrate/20210310120652_add_followable_counter_cache_to_debates.rb
|
259
259
|
- db/migrate/20210519201932_add_comments_availability_columns_to_debates_table.rb
|
260
|
+
- decidim-debates.gemspec
|
260
261
|
- lib/decidim/api/debate_type.rb
|
261
262
|
- lib/decidim/api/debates_type.rb
|
262
263
|
- lib/decidim/debates.rb
|
@@ -271,23 +272,23 @@ homepage: https://github.com/decidim/decidim
|
|
271
272
|
licenses:
|
272
273
|
- AGPL-3.0
|
273
274
|
metadata: {}
|
274
|
-
post_install_message:
|
275
|
+
post_install_message:
|
275
276
|
rdoc_options: []
|
276
277
|
require_paths:
|
277
278
|
- lib
|
278
279
|
required_ruby_version: !ruby/object:Gem::Requirement
|
279
280
|
requirements:
|
280
|
-
- - "
|
281
|
+
- - "~>"
|
281
282
|
- !ruby/object:Gem::Version
|
282
|
-
version:
|
283
|
+
version: 3.0.0
|
283
284
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
284
285
|
requirements:
|
285
286
|
- - ">="
|
286
287
|
- !ruby/object:Gem::Version
|
287
288
|
version: '0'
|
288
289
|
requirements: []
|
289
|
-
rubygems_version: 3.
|
290
|
-
signing_key:
|
290
|
+
rubygems_version: 3.2.22
|
291
|
+
signing_key:
|
291
292
|
specification_version: 4
|
292
293
|
summary: Decidim debates module
|
293
294
|
test_files: []
|
data/config/environment.rb
DELETED