decidim-debates 0.28.0 → 0.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/debates/debate_l_cell.rb +1 -1
  3. data/app/controllers/decidim/debates/admin/debates_controller.rb +1 -1
  4. data/app/events/decidim/debates/create_debate_event.rb +0 -14
  5. data/app/views/decidim/debates/admin/debate_closes/edit.html.erb +2 -2
  6. data/app/views/decidim/debates/admin/debates/edit.html.erb +2 -2
  7. data/app/views/decidim/debates/admin/debates/index.html.erb +2 -2
  8. data/app/views/decidim/debates/admin/debates/new.html.erb +2 -2
  9. data/app/views/decidim/debates/debates/show.html.erb +6 -2
  10. data/config/locales/ar.yml +0 -7
  11. data/config/locales/ca.yml +6 -6
  12. data/config/locales/cs.yml +5 -5
  13. data/config/locales/de.yml +5 -5
  14. data/config/locales/el.yml +0 -7
  15. data/config/locales/en.yml +4 -4
  16. data/config/locales/es-MX.yml +4 -4
  17. data/config/locales/es-PY.yml +4 -4
  18. data/config/locales/es.yml +7 -7
  19. data/config/locales/eu.yml +5 -5
  20. data/config/locales/fi-plain.yml +4 -4
  21. data/config/locales/fi.yml +4 -4
  22. data/config/locales/fr-CA.yml +5 -5
  23. data/config/locales/fr.yml +5 -5
  24. data/config/locales/gl.yml +0 -7
  25. data/config/locales/he-IL.yml +1 -0
  26. data/config/locales/hu.yml +3 -10
  27. data/config/locales/id-ID.yml +0 -7
  28. data/config/locales/is-IS.yml +0 -3
  29. data/config/locales/it.yml +0 -7
  30. data/config/locales/ja.yml +4 -4
  31. data/config/locales/lb.yml +0 -7
  32. data/config/locales/lt.yml +0 -7
  33. data/config/locales/lv.yml +0 -6
  34. data/config/locales/nl.yml +0 -7
  35. data/config/locales/no.yml +0 -7
  36. data/config/locales/pl.yml +4 -6
  37. data/config/locales/pt-BR.yml +13 -7
  38. data/config/locales/pt.yml +0 -7
  39. data/config/locales/ro-RO.yml +0 -7
  40. data/config/locales/ru.yml +0 -3
  41. data/config/locales/sk.yml +0 -6
  42. data/config/locales/sv.yml +0 -7
  43. data/config/locales/tr-TR.yml +5 -5
  44. data/config/locales/uk.yml +0 -3
  45. data/config/locales/zh-CN.yml +0 -7
  46. data/config/locales/zh-TW.yml +0 -7
  47. data/decidim-debates.gemspec +39 -0
  48. data/lib/decidim/debates/test/factories.rb +14 -17
  49. data/lib/decidim/debates/version.rb +1 -1
  50. metadata +18 -17
  51. data/config/environment.rb +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f4f1ab82deca11e009b91da36e8ea47b6ebede32962b1b2355954e4bca6dd06
4
- data.tar.gz: 53fa74edc242d5bd3ac754b35e147936147cb2f0c47a379fb5f0d75becfae048
3
+ metadata.gz: 282c0d1f11d00cdf1dbef14686cd6d9107e80f21807e85d4cd854d9f9e28e32d
4
+ data.tar.gz: 245eba96ffa8108a9b575e3c6de0aeb23c078e6f53b54cc9847ad48c8ad227ed
5
5
  SHA512:
6
- metadata.gz: 394e48ad8f70563f9dbc1548a6bd370308a331b4e0337158d6e7b29b8764c033794401e696dfa51145ea3403284e06df8078785980b27364fce9707da070e74d
7
- data.tar.gz: 063bb9a7b4a4c93681678b1b18c79f03c23edd53aaae98aad3e430659b5b23b004979d4072c2ba1d21ba4f48a5910c48a0df8e41fc00a575b18d9ae3c640cb90
6
+ metadata.gz: de7ba91a1faf27b91bfe48dbbc7f5b7139e760ffca8bd4db3ec4f376c1823d8ab9a976a3e6b6ba2982968a93c468aebd09851e5176b44ac7ac36d9e03d7c96ff
7
+ data.tar.gz: 2e3f337a1d1f5e8b77b0386d975eda7a0bf2c61a6c1cc254a3eaf1855edd6531de9bfce5b33ce4f9d10f652097dacfdad6a7edf5556ffdf1b45ca9a8ad61d6a3
@@ -32,7 +32,7 @@ module Decidim
32
32
  attribute = model.try(:short_description) || model.try(:body) || model.description
33
33
  text = translated_attribute(attribute)
34
34
 
35
- decidim_sanitize(html_truncate(text, length: 240))
35
+ decidim_sanitize(html_truncate(text, length: 240), strip_tags: true)
36
36
  end
37
37
 
38
38
  private
@@ -74,7 +74,7 @@ module Decidim
74
74
  private
75
75
 
76
76
  def debates
77
- @debates ||= Debate.where(component: current_component)
77
+ @debates ||= Debate.where(component: current_component).not_hidden
78
78
  end
79
79
 
80
80
  def debate
@@ -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"
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -1,12 +1,12 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="card">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title") %>
6
6
  <%= export_dropdown if allowed_to? :export, :comments %>
7
7
  <%= link_to t("actions.new", scope: "decidim.debates"), new_debate_path, class: "button button__sm button__secondary" if allowed_to? :create, :debate %>
8
8
  <%= render partial: "decidim/admin/components/resource_action" %>
9
- </h2>
9
+ </h1>
10
10
  </div>
11
11
  <div class="table-scroll">
12
12
  <table class="table-list">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -54,8 +54,12 @@ edit_link(
54
54
  <% end %>
55
55
 
56
56
  <section class="layout-main__section layout-main__buttons" data-buttons>
57
- <% if endorsements_enabled? && allowed_to?(:endorse, :debate, debate: debate) %>
58
- <%= endorsement_buttons_cell(debate) %>
57
+ <% if endorsements_enabled? %>
58
+ <% if allowed_to?(:endorse, :debate, debate: debate) %>
59
+ <%= endorsement_buttons_cell(debate) %>
60
+ <% else %>
61
+ <%= endorsers_list_cell(debate) %>
62
+ <% end %>
59
63
  <% end %>
60
64
  <%= cell "decidim/comments_button", nil %>
61
65
 
@@ -109,13 +109,6 @@ ar:
109
109
  events:
110
110
  debates:
111
111
  create_debate_event:
112
- space_followers:
113
- email_intro: |-
114
- مرحبا،
115
- نقاش الجديدة "%{resource_title}" تم إنشاؤها على %{space_title} مساحة المشاركة، والتحقق من ذلك والمساهمة:
116
- email_outro: لقد تلقيت هذا الإشعار لأنك تتابع مساحة المشاركة %{space_title} . يمكنك إيقاف تلقي الإخطارات باتباع الرابط السابق.
117
- email_subject: مناقشة جديدة "%{resource_title}" في %{space_title}
118
- notification_title: تم إنشاء المناقشة <a href="%{resource_path}">%{resource_title}</a> في <a href="%{space_path}">%{space_title}</a>.
119
112
  user_followers:
120
113
  email_intro: |-
121
114
  مرحبًا ،
@@ -171,10 +171,10 @@ ca:
171
171
  space_followers:
172
172
  email_intro: |-
173
173
  Hola,
174
- S'ha creat un nou debat "%{resource_title}" a l'espai participatiu %{space_title}, fes-hi un cop d'ull i contribueix:
175
- email_outro: Has rebut aquesta notificació perquè estàs seguint %{space_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
176
- email_subject: Nou debat "%{resource_title}" el dia %{space_title}
177
- notification_title: El debat <a href="%{resource_path}">%{resource_title}</a> s'ha creat a <a href="%{space_path}">%{space_title}</a>.
174
+ S'ha creat un nou debat "%{resource_title}" a l'espai participatiu %{participatory_space_title}, dona-hi una ullada i contribueix-hi:
175
+ 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.
176
+ email_subject: Nou debat "%{resource_title}" a %{participatory_space_title}
177
+ notification_title: S'ha creat el debat <a href="%{resource_path}">%{resource_title}</a> a <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
178
178
  user_followers:
179
179
  email_intro: |-
180
180
  Hola,
@@ -184,12 +184,12 @@ ca:
184
184
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> ha creat el debat <a href="%{resource_path}">%{resource_title}</a>.
185
185
  creation_disabled:
186
186
  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:'
187
- email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai %{participatory_space_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
187
+ email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
188
188
  email_subject: S'ha desactivat la creació de debats a %{participatory_space_title}
189
189
  notification_title: La creació de debats està deshabilitada a l'espai <a href="%{participatory_space_url}">%{participatory_space_title}</a>
190
190
  creation_enabled:
191
191
  email_intro: 'Ja pots crear nous debats a %{participatory_space_title}! Comença a participar en aquesta pàgina:'
192
- email_outro: Has rebut aquesta notificació perquè estàs seguint %{participatory_space_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
192
+ email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
193
193
  email_subject: Els debats ja estan disponibles a %{participatory_space_title}
194
194
  notification_title: Ara pots començar <a href="%{resource_path}">nous debats</a> a <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
195
195
  debate_closed:
@@ -174,11 +174,11 @@ cs:
174
174
  create_debate_event:
175
175
  space_followers:
176
176
  email_intro: |-
177
- Ahoj,
178
- Byla vytvořena nová debata "%{resource_title}" ve skupině %{space_title}, omrkněte a přispějte:
179
- email_outro: Toto oznámení jste obdrželi, protože sledujete participační prostor %{space_title}. Můžete zrušit příjem oznámení na předchozím odkazu.
180
- email_subject: Nová debata "%{resource_title}" na %{space_title}
181
- notification_title: Debata <a href="%{resource_path}">%{resource_title}</a> byla vytvořena na <a href="%{space_path}">%{space_title}</a>.
177
+ Dobrý den,
178
+ Byla vytvořena nová debata "%{resource_title}" ve skupině %{participatory_space_title}, omrkněte a přispějte:
179
+ 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.
180
+ email_subject: Nová debata "%{resource_title}" na %{participatory_space_title}
181
+ notification_title: Debata <a href="%{resource_path}">%{resource_title}</a> byla vytvořena na <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
182
182
  user_followers:
183
183
  email_intro: |-
184
184
  Ahoj,
@@ -170,11 +170,11 @@ de:
170
170
  create_debate_event:
171
171
  space_followers:
172
172
  email_intro: |-
173
- Hallo,
174
- Eine neue Debatte "%{resource_title}" wurde in %{space_title} erstellt, sehen Sie es sich an und reden Sie mit:
175
- 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.
176
- email_subject: Neue Debatte "%{resource_title}" in %{space_title}
177
- notification_title: Die Debatte <a href="%{resource_path}">%{resource_title}</a> wurde in <a href="%{space_path}">%{space_title}</a> erstellt.
173
+ Guten Tag,
174
+ Eine neue Debatte "%{resource_title}" wurde auf %{participatory_space_title} eröffnet. Jetzt anschauen und mitdiskutieren unter:
175
+ 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.
176
+ email_subject: Neue Debatte "%{resource_title}" in %{participatory_space_title}
177
+ notification_title: Die Debatte <a href="%{resource_path}">%{resource_title}</a> wurde auf <a href="%{participatory_space_url}">%{participatory_space_title}</a> erstellt.
178
178
  user_followers:
179
179
  email_intro: |-
180
180
  Hallo,
@@ -160,13 +160,6 @@ el:
160
160
  events:
161
161
  debates:
162
162
  create_debate_event:
163
- space_followers:
164
- email_intro: |-
165
- Γεια σας,
166
- Μια νέα συζήτηση «%{resource_title}» δημιουργήθηκε στον χώρο συμμετοχής %{space_title}, δείτε την και συνεισφέρετε:
167
- email_outro: Λάβατε αυτήν την ειδοποίηση επειδή ακολουθείτε τον χώρο συμμετοχής %{space_title}. Μπορείτε να διακόψετε τη λήψη ειδοποιήσεων ακολουθώντας τον προηγούμενο σύνδεσμο.
168
- email_subject: Νέα συζήτηση «%{resource_title}» στον χώρο %{space_title}
169
- notification_title: Η <a href="%{resource_path}">%{resource_title}</a> συζήτηση δημιουργήθηκε στον χώρο <a href="%{space_path}">%{space_title}</a>.
170
163
  user_followers:
171
164
  email_intro: |-
172
165
  Γεια σας,
@@ -171,10 +171,10 @@ en:
171
171
  space_followers:
172
172
  email_intro: |-
173
173
  Hi,
174
- A new debate "%{resource_title}" has been created on the %{space_title} participatory space, check it out and contribute:
175
- email_outro: You have received this notification because you are following the %{space_title} participatory space. You can stop receiving notifications following the previous link.
176
- email_subject: New debate "%{resource_title}" on %{space_title}
177
- notification_title: The <a href="%{resource_path}">%{resource_title}</a> debate was created on <a href="%{space_path}">%{space_title}</a>.
174
+ A new debate "%{resource_title}" has been created on the %{participatory_space_title} participatory space, check it out and contribute:
175
+ 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.
176
+ email_subject: New debate "%{resource_title}" on %{participatory_space_title}
177
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> debate was created on <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
178
178
  user_followers:
179
179
  email_intro: |-
180
180
  Hi,
@@ -171,10 +171,10 @@ es-MX:
171
171
  space_followers:
172
172
  email_intro: |-
173
173
  Hola,
174
- Se ha creado un nuevo debate "%{resource_title}" en el espacio participativo %{space_title} , échale un vistazo y contribuye:
175
- email_outro: Has recibido esta notificación porque estás siguiendo a %{space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
176
- email_subject: Nuevo debate "%{resource_title}" en %{space_title}
177
- notification_title: El debate <a href="%{resource_path}">%{resource_title}</a> fue creado el <a href="%{space_path}">%{space_title}</a>.
174
+ Se ha creado un nuevo debate "%{resource_title}" en el espacio participativo %{participatory_space_title}, échale un vistazo y contribuye:
175
+ 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.
176
+ email_subject: Nuevo debate "%{resource_title}" en %{participatory_space_title}
177
+ notification_title: Se ha creado el debate <a href="%{resource_path}">%{resource_title}</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
178
178
  user_followers:
179
179
  email_intro: |-
180
180
  Hola,
@@ -167,10 +167,10 @@ es-PY:
167
167
  space_followers:
168
168
  email_intro: |-
169
169
  Hola,
170
- Se ha creado un nuevo debate "%{resource_title}" en el espacio participativo %{space_title} , échale un vistazo y contribuye:
171
- email_outro: Has recibido esta notificación porque estás siguiendo a %{space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
172
- email_subject: Nuevo debate "%{resource_title}" en %{space_title}
173
- notification_title: El debate <a href="%{resource_path}">%{resource_title}</a> fue creado el <a href="%{space_path}">%{space_title}</a>.
170
+ Se ha creado un nuevo debate "%{resource_title}" en el espacio participativo %{participatory_space_title}, échale un vistazo y contribuye:
171
+ 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.
172
+ email_subject: Nuevo debate "%{resource_title}" en %{participatory_space_title}
173
+ notification_title: Se ha creado el debate <a href="%{resource_path}">%{resource_title}</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
174
174
  user_followers:
175
175
  email_intro: |-
176
176
  Hola,
@@ -171,25 +171,25 @@ es:
171
171
  space_followers:
172
172
  email_intro: |-
173
173
  Hola,
174
- Se ha creado un nuevo debate "%{resource_title}" en el espacio participativo %{space_title} , échale un vistazo y contribuye:
175
- email_outro: Has recibido esta notificación porque estás siguiendo a %{space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
176
- email_subject: Nuevo debate "%{resource_title}" en %{space_title}
177
- notification_title: El debate <a href="%{resource_path}">%{resource_title}</a> fue creado el <a href="%{space_path}">%{space_title}</a>.
174
+ Se ha creado un nuevo debate "%{resource_title}" en el espacio participativo %{participatory_space_title}, échale un vistazo y contribuye:
175
+ 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.
176
+ email_subject: Nuevo debate "%{resource_title}" en %{participatory_space_title}
177
+ notification_title: Se ha creado el debate <a href="%{resource_path}">%{resource_title}</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
178
178
  user_followers:
179
179
  email_intro: |-
180
180
  Hola,
181
181
  %{author_name} %{author_nickname}, a quien estás siguiendo, ha creado un nuevo debate "%{resource_title}". Échale un vistazo y contribuye:
182
- email_outro: Has recibido esta notificación porque estás siguiendo a %{author_nickname}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
182
+ email_outro: Has recibido esta notificación porque estás siguiendo a "%{author_nickname}". Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
183
183
  email_subject: Nuevo debate "%{resource_title}" de %{author_nickname}
184
184
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> creó el debate <a href="%{resource_path}">%{resource_title}</a>.
185
185
  creation_disabled:
186
186
  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:'
187
- 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.
187
+ 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.
188
188
  email_subject: Se ha desactivado la creación de debates en %{participatory_space_title}
189
189
  notification_title: La creación de debates ahora está deshabilitada en el espacio <a href="%{participatory_space_url}">%{participatory_space_title}</a>
190
190
  creation_enabled:
191
191
  email_intro: '¡Ya puedes crear nuevos debates en %{participatory_space_title}! Comienza a participar en esta página:'
192
- email_outro: Has recibido esta notificación porque estás siguiendo %{participatory_space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
192
+ 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.
193
193
  email_subject: Los debates ya estan disponibles en %{participatory_space_title}
194
194
  notification_title: Ahora puedes empezar <a href="%{resource_path}">nuevos debates</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
195
195
  debate_closed:
@@ -170,11 +170,11 @@ eu:
170
170
  create_debate_event:
171
171
  space_followers:
172
172
  email_intro: |-
173
- Kaixo,
174
- "%{resource_title}" beste eztabaida bat sortu da %{space_title} parte hartzeko espazioan, begiratu eta lagundu:
175
- email_outro: Jakinarazpen hori jaso duzu %{space_title} partaidetzazko espazioa jarraitzen ari zarelako. Aurreko estekan jakinarazpenak jasotzeari utzi ahal diozu.
176
- email_subject: Beste eztabaida bat "%{resource_title}" hemen %{space_title}
177
- notification_title: <a href="%{resource_path}">%{resource_title}</a> eztabaida sortu zen <a href="%{space_path}">%{space_title}</a>.
173
+ Kaixo:
174
+ "%{resources ce_title}" eztabaida berria sortu da %{participatory_space_title}} partaidetza-espazioan, egiaztatu eta egin ekarpenak:
175
+ email_outro: Jakinarazpen hau jaso duzu %{participatory_space_title} parte hartzeko espazioa jarraitzen ari zarelako. Aurreko estekan jakinarazpenak jasotzeari utzi ahal diozu.
176
+ email_subject: '"%{resource_title}" eztabaida berria hemen %{participatory_space_title}'
177
+ notification_title: '<a href="%{resource_path}">%{resource_title}</a> eztabaida sortu da hemen: <a href="%{participatory_space_url}">%{participatory_space_title}</a>.'
178
178
  user_followers:
179
179
  email_intro: |-
180
180
  Kaixo,
@@ -171,10 +171,10 @@ fi-pl:
171
171
  space_followers:
172
172
  email_intro: |-
173
173
  Hei,
174
- osallisuustilaan %{space_title} on luotu uusi keskustelu "%{resource_title}", tutustu siihen ja osallistu:
175
- email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta %{space_title}. Voit lopettaa ilmoitusten vastaanottamisen edellä esitetyn linkin kautta.
176
- email_subject: Uusi keskustelu "%{resource_title}" tilassa %{space_title}
177
- notification_title: Keskustelu aiheesta <a href="%{resource_path}">%{resource_title}</a> luotiin kohtaan <a href="%{space_path}">%{space_title}</a>.
174
+ osallistumistilaan %{participatory_space_title} on luotu uusi keskustelu "%{resource_title}", tutustu siihen ja osallistu:
175
+ email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta %{participatory_space_title}. Voit lopettaa ilmoitusten vastaanottamisen edellä esitetyn linkin kautta.
176
+ email_subject: Uusi keskustelu "%{resource_title}" osallistumistilassa %{participatory_space_title}
177
+ notification_title: Keskustelu nimeltä <a href="%{resource_path}">%{resource_title}</a> luotiin osallistumistilaan <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
178
178
  user_followers:
179
179
  email_intro: |-
180
180
  Hei,
@@ -171,10 +171,10 @@ fi:
171
171
  space_followers:
172
172
  email_intro: |-
173
173
  Hei,
174
- osallistumistilaan %{space_title} on luotu uusi keskustelu "%{resource_title}", tutustu siihen ja osallistu:
175
- email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta %{space_title}. Voit lopettaa ilmoitusten vastaanottamisen edellä esitetyn linkin kautta.
176
- email_subject: Uusi keskustelu "%{resource_title}" osallistumistilassa %{space_title}
177
- notification_title: Keskustelu aiheesta <a href="%{resource_path}">%{resource_title}</a> luotiin kohtaan <a href="%{space_path}">%{space_title}</a>.
174
+ osallistumistilaan %{participatory_space_title} on luotu uusi keskustelu "%{resource_title}", tutustu siihen ja osallistu:
175
+ email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta %{participatory_space_title}. Voit lopettaa ilmoitusten vastaanottamisen edellä esitetyn linkin kautta.
176
+ email_subject: Uusi keskustelu "%{resource_title}" osallistumistilassa %{participatory_space_title}
177
+ notification_title: Keskustelu nimeltä <a href="%{resource_path}">%{resource_title}</a> luotiin osallistumistilaan <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
178
178
  user_followers:
179
179
  email_intro: |-
180
180
  Hei,
@@ -170,11 +170,11 @@ fr-CA:
170
170
  create_debate_event:
171
171
  space_followers:
172
172
  email_intro: |-
173
- Salut,
174
- Un nouveau débat «%{resource_title}» a été créée sur le %{space_title} espace participatif, vérifier et contribuer:
175
- email_outro: Vous avez reçu cette notification parce que vous suivez l'espace participatif %{space_title}. Vous pouvez cesser de recevoir des notifications en suivant ce dernier lien.
176
- email_subject: Nouveau débat "%{resource_title}" sur %{space_title}
177
- notification_title: Le débat <a href="%{resource_path}">%{resource_title}</a> a été créé le <a href="%{space_path}">%{space_title}</a>.
173
+ Bonjour,
174
+ Un nouveau débat "%{resource_title}" a été créé dans l'espace participatif %{participatory_space_title}, nous vous invitons à le consulter et à y contribuer:
175
+ 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.
176
+ email_subject: Nouveau débat "%{resource_title}" sur %{participatory_space_title}
177
+ 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>.
178
178
  user_followers:
179
179
  email_intro: |-
180
180
  Bonjour,
@@ -170,11 +170,11 @@ fr:
170
170
  create_debate_event:
171
171
  space_followers:
172
172
  email_intro: |-
173
- Salut,
174
- Un nouveau débat «%{resource_title}» a été créée sur le %{space_title} espace participatif, vérifier et contribuer:
175
- email_outro: Vous avez reçu cette notification parce que vous suivez l'espace participatif %{space_title}. Si vous souhaitez vous désabonner des notifications, connectez-vous à la plateforme, puis rendez-vous dans l'onglet “Mon compte” > “Paramètres des notifications”.
176
- email_subject: Nouveau débat "%{resource_title}" sur %{space_title}
177
- notification_title: Le débat <a href="%{resource_path}">%{resource_title}</a> a été créé le <a href="%{space_path}">%{space_title}</a>.
173
+ Bonjour,
174
+ Un nouveau débat "%{resource_title}" a été créé dans l'espace participatif %{participatory_space_title}, nous vous invitons à le consulter et à y contribuer:
175
+ 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.
176
+ email_subject: Nouveau débat "%{resource_title}" sur %{participatory_space_title}
177
+ 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>.
178
178
  user_followers:
179
179
  email_intro: |-
180
180
  Bonjour,
@@ -97,13 +97,6 @@ gl:
97
97
  events:
98
98
  debates:
99
99
  create_debate_event:
100
- space_followers:
101
- email_intro: |-
102
- Ola,
103
- Creouse un novo debate "%{resource_title}" nos %{space_title} espazos participativos, verifícalo e contribuír:
104
- 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.
105
- email_subject: Novo debate "%{resource_title}" en %{space_title}
106
- notification_title: O <a href="%{resource_path}">%{resource_title}</a> debate foi creado en <a href="%{space_path}">%{space_title}</a>.
107
100
  user_followers:
108
101
  email_intro: |-
109
102
  Ola,
@@ -0,0 +1 @@
1
+ he:
@@ -31,7 +31,7 @@ hu:
31
31
  actions:
32
32
  comment: Megjegyzés
33
33
  create: Létrehozás
34
- endorse: Jóváhagy
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: Jóváhagyások letiltva
48
- endorsements_enabled: Jóváhagyások engedélyezve
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
@@ -160,13 +160,6 @@ hu:
160
160
  events:
161
161
  debates:
162
162
  create_debate_event:
163
- space_followers:
164
- email_intro: |-
165
- Szia,
166
- Új vitát "%{resource_title}" hoztak létre a %{space_title} részvételi téren, nézd meg és járulj hozzá:
167
- 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.'
168
- email_subject: Új vita "%{resource_title}" indult itt %{space_title}
169
- notification_title: A(z) <a href="%{resource_path}">%{resource_title}</a>vita létrejött itt:<a href="%{space_path}">%{space_title}</a>.
170
163
  user_followers:
171
164
  email_intro: |-
172
165
  Szia,
@@ -92,13 +92,6 @@ id:
92
92
  events:
93
93
  debates:
94
94
  create_debate_event:
95
- space_followers:
96
- email_intro: |-
97
- Hai,
98
- Debat baru "%{resource_title}" telah dibuat di %{space_title} ruang partisipatif, periksa dan berkontribusi:
99
- email_outro: Anda telah menerima pemberitahuan ini karena Anda mengikuti %{space_title} ruang partisipatif. Anda dapat berhenti menerima pemberitahuan setelah tautan sebelumnya.
100
- email_subject: Perdebatan baru "%{resource_title}" pada %{space_title}
101
- notification_title: Debat <a href="%{resource_path}">%{resource_title}</a> dibuat pada <a href="%{space_path}">%{space_title}</a>.
102
95
  user_followers:
103
96
  email_intro: |-
104
97
  Hai,
@@ -75,9 +75,6 @@ is:
75
75
  events:
76
76
  debates:
77
77
  create_debate_event:
78
- space_followers:
79
- 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.
80
- notification_title: <a href="%{resource_path}">%{resource_title}</a> umræðurnar voru búnar til á <a href="%{space_path}">%{space_title}</a>.
81
78
  user_followers:
82
79
  email_outro: Þú hefur fengið þessa tilkynningu vegna þess að þú fylgist með %{author_nickname}. Þú getur hætt við að fá tilkynningar eftir fyrri tengilinn.
83
80
  creation_disabled:
@@ -156,13 +156,6 @@ it:
156
156
  events:
157
157
  debates:
158
158
  create_debate_event:
159
- space_followers:
160
- email_intro: |-
161
- Ciao,
162
- Un nuovo dibattito "%{resource_title}" è stato creato sui %{space_title} spazi partecipativi, dai un'occhiata e dai:
163
- email_outro: Hai ricevuto questa notifica perché stai seguendo lo spazio partecipativo %{space_title}. È possibile interrompere la ricezione di notifiche seguendo il collegamento precedente.
164
- email_subject: Nuovo dibattito "%{resource_title}" su %{space_title}
165
- notification_title: Il dibattito <a href="%{resource_path}">%{resource_title}</a> è stato creato su <a href="%{space_path}">%{space_title}</a>.
166
159
  user_followers:
167
160
  email_intro: |-
168
161
  Ciao,
@@ -169,10 +169,10 @@ ja:
169
169
  space_followers:
170
170
  email_intro: |-
171
171
  こんにちは、
172
- %{resource_title} 参加型スペースに新しいディベート「 %{space_title} 」が作成されました。チェックして貢献:
173
- email_outro: '%{space_title} の参加型スペースをフォローしているため、この通知を受信しました。前のリンクに続く通知の受信を停止できます。'
174
- email_subject: '%{resource_title}に新しいディベート " %{space_title}"'
175
- notification_title: <a href="%{resource_path}">%{resource_title}</a> のディベートは <a href="%{space_path}">%{space_title}</a> に作成されました。
172
+ %{resource_title} 参加型スペースに新しいディベート「 %{participatory_space_title} 」が作成されました。ぜひともご参加ください:
173
+ email_outro: 参加型スペース %{participatory_space_title} をフォローしているため、この通知を受信しました。通知が不要な場合、上記リンクより停止できます。
174
+ email_subject: '"%{participatory_space_title}" での新しいディベート %{resource_title}'
175
+ notification_title: ディベート <a href="%{resource_path}">%{resource_title}</a> が、 <a href="%{participatory_space_url}">%{participatory_space_title}</a> に作成されました。
176
176
  user_followers:
177
177
  email_intro: |-
178
178
  こんにちは、
@@ -91,13 +91,6 @@ lb:
91
91
  events:
92
92
  debates:
93
93
  create_debate_event:
94
- space_followers:
95
- email_intro: |-
96
- Hallo,
97
- Eine neue Debatte "%{resource_title}" wurde in %{space_title} erstellt, sehen Sie es sich an und reden Sie mit:
98
- 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.
99
- email_subject: Neue Debatte "%{resource_title}" in %{space_title}
100
- notification_title: Die Debatte <a href="%{resource_path}">%{resource_title}</a> wurde in <a href="%{space_path}">%{space_title}</a> erstellt.
101
94
  user_followers:
102
95
  email_intro: |-
103
96
  Hallo,
@@ -168,13 +168,6 @@ lt:
168
168
  events:
169
169
  debates:
170
170
  create_debate_event:
171
- space_followers:
172
- email_intro: |-
173
- Sveiki,
174
- Dalyvaujamojo proceso erdvėje %{space_title} sukurta nauja diskusija „%{resource_title}“, peržiūrėkite ir prisidėkite:
175
- email_outro: Šį pranešimą gavote dėl to, kad sekate dalyvaujamojo proceso erdvę %{space_title}. Jeigu nebenorite gauti pranešimų, spustelėkite ankstesnę nuorodą.
176
- email_subject: Nauja diskusija "%{resource_title}" %{space_title} erdvėje
177
- notification_title: <a href="%{resource_path}">%{resource_title}</a> diskusija sukurta <a href="%{space_path}">%{space_title}</a>.
178
171
  user_followers:
179
172
  email_intro: |-
180
173
  Sveiki,
@@ -80,12 +80,6 @@ lv:
80
80
  events:
81
81
  debates:
82
82
  create_debate_event:
83
- space_followers:
84
- email_intro: |-
85
- Sveiki, %{space_title} līdzdalības telpā ir izveidotas jaunas debates "%{resource_title}", aplūkojiet tās un piedalieties:
86
- 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.
87
- email_subject: Jaunas debates "%{resource_title}" par %{space_title}
88
- notification_title: <a href="%{resource_path}">%{resource_title}</a> debates tika izveidotas telpā <a href="%{space_path}">%{space_title}</a>.
89
83
  user_followers:
90
84
  email_intro: |-
91
85
  Sveiki,%{author_name}%{author_nickname}, kam jūs sekojat, ir izveidojis jaunas debates "%{resource_title}". Aplūkojiet tās un piedalieties:
@@ -136,13 +136,6 @@ nl:
136
136
  events:
137
137
  debates:
138
138
  create_debate_event:
139
- space_followers:
140
- email_intro: |-
141
- Hallo,
142
- Een nieuw debat "%{resource_title}" is opgezet op de %{space_title} inspraakruimte, bekijk het en draag bij:
143
- 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.
144
- email_subject: Nieuw debat "%{resource_title}" op %{space_title}
145
- notification_title: Het <a href="%{resource_path}">%{resource_title}</a> debat is gemaakt op <a href="%{space_path}">%{space_title}</a>.
146
139
  user_followers:
147
140
  email_intro: |-
148
141
  Hallo,
@@ -156,13 +156,6 @@
156
156
  events:
157
157
  debates:
158
158
  create_debate_event:
159
- space_followers:
160
- email_intro: |-
161
- Hei,
162
- En ny innspillstråd "%{resource_title}" har blitt opprettet under området %{space_title}, sjekk det ut og bidra:
163
- 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.
164
- email_subject: Ny innspillstråd "%{resource_title}" under %{space_title}
165
- notification_title: Innspillstråden <a href="%{resource_path}">%{resource_title}</a> ble opprettet under <a href="%{space_path}">%{space_title} </a>.
166
159
  user_followers:
167
160
  email_intro: |-
168
161
  Hei,
@@ -54,6 +54,7 @@ pl:
54
54
  confirm_destroy: Jesteś pewny?
55
55
  destroy: Usuń
56
56
  edit: Edytuj
57
+ new: Nowa debata
57
58
  title: Działania
58
59
  admin:
59
60
  debate_closes:
@@ -107,6 +108,9 @@ pl:
107
108
  create:
108
109
  invalid: Podczas tworzenia debaty wystąpił błąd.
109
110
  success: Debatę utworzono pomyślnie.
111
+ debates:
112
+ empty: Nie ma jeszcze żadnych debat.
113
+ empty_filters: Nie ma debat z tymi kryteriami.
110
114
  edit:
111
115
  back: Wróć
112
116
  save: Zapisz zmiany
@@ -168,12 +172,6 @@ pl:
168
172
  events:
169
173
  debates:
170
174
  create_debate_event:
171
- space_followers:
172
- email_intro: |-
173
- Nowa debata "%{resource_title}" została utworzona w przestrzeni partycypacyjnej %{space_title}, sprawdź ją i przyłącz się:
174
- email_outro: Otrzymałeś to powiadomienie, ponieważ obserwujesz przestrzeń partycypacyjną %{space_title}. Możesz przestać otrzymywać powiadomienia po kliknięciu w poprzedni link.
175
- email_subject: Nowa debata "%{resource_title}" w %{space_title}
176
- notification_title: Debata <a href="%{resource_path}">%{resource_title}</a> została utworzona w <a href="%{space_path}">%{space_title}</a>.
177
175
  user_followers:
178
176
  email_intro: |-
179
177
  Cześć,
@@ -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
@@ -50,6 +52,7 @@ pt-BR:
50
52
  confirm_destroy: Você tem certeza?
51
53
  destroy: Excluir
52
54
  edit: Editar
55
+ new: Novo debate
53
56
  title: Ações
54
57
  admin:
55
58
  debate_closes:
@@ -91,6 +94,7 @@ pt-BR:
91
94
  invalid: Houve um problema ao encerrar o debate.
92
95
  success: Debate encerrado com sucesso.
93
96
  close_debate_modal:
97
+ cancel: Cancelar
94
98
  description: Qual é o resumo ou a conclusão deste debate?
95
99
  send: Fechar debate
96
100
  count:
@@ -116,11 +120,13 @@ pt-BR:
116
120
  my_debates: Meus debates
117
121
  official: Oficial
118
122
  origin: Origem
123
+ participants: Participantes
119
124
  search: Procurar
120
125
  state: Status
121
126
  state_values:
122
127
  closed: Fechado
123
128
  open: Aberto
129
+ user_group: Grupos
124
130
  form:
125
131
  select_a_category: Selecione uma categoria
126
132
  index:
@@ -147,23 +153,21 @@ pt-BR:
147
153
  update:
148
154
  invalid: Ocorreu um problema ao atualizar esse debate.
149
155
  success: Debate atualizado com sucesso.
156
+ last_activity:
157
+ debate_updated: 'Debate atualizado:'
158
+ new_debate: 'Novo debate:'
150
159
  models:
151
160
  debate:
152
161
  fields:
162
+ end: Fim
153
163
  end_time: Data final
154
164
  official_debate: Debate oficial
165
+ start: Iniciar
155
166
  start_time: Data de início
156
167
  title: Título
157
168
  events:
158
169
  debates:
159
170
  create_debate_event:
160
- space_followers:
161
- email_intro: |-
162
- Oi,
163
- Um novo debate "%{resource_title}" foi criado no espaço participativo %{space_title} , confira e contribua:
164
- 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.
165
- email_subject: Novo debate "%{resource_title}" em %{space_title}
166
- notification_title: O <a href="%{resource_path}">%{resource_title}</a> debate foi criado em <a href="%{space_path}">%{space_title}</a>.
167
171
  user_followers:
168
172
  email_intro: |-
169
173
  Olá,
@@ -180,6 +184,7 @@ pt-BR:
180
184
  email_intro: 'Agora você pode iniciar novos debates em %{participatory_space_title}! Comece a participar nesta página:'
181
185
  email_outro: Você recebeu esta notificação porque está seguindo %{participatory_space_title}. Você pode parar de receber notificações após o link anterior.
182
186
  email_subject: Debates agora disponíveis em %{participatory_space_title}
187
+ notification_title: Agora você pode começar <a href="%{resource_path}">novos debates</a> em <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
183
188
  debate_closed:
184
189
  affected_user:
185
190
  email_intro: 'O debate "%{resource_title}" foi encerrado. Você pode ler as conclusões em sua página:'
@@ -202,6 +207,7 @@ pt-BR:
202
207
  name: Debates
203
208
  next_level_in: Participe em mais %{score} debates para alcançar o próximo nível!
204
209
  unearned_another: Este usuário ainda não participou de nenhum debate.
210
+ unearned_own: Você ainda não participou de nenhum debate ainda.
205
211
  metrics:
206
212
  debates:
207
213
  description: Número de debates criados
@@ -153,13 +153,6 @@ pt:
153
153
  events:
154
154
  debates:
155
155
  create_debate_event:
156
- space_followers:
157
- email_intro: |-
158
- Olá,
159
- Um novo debate "%{resource_title}" foi criado no espaço participativo %{space_title}, confira e contribua:
160
- 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.
161
- email_subject: Novo debate "%{resource_title}" em %{space_title}
162
- notification_title: O debate <a href="%{resource_path}">%{resource_title}</a> foi criado em <a href="%{space_path}">%{space_title}</a>.
163
156
  user_followers:
164
157
  email_intro: |-
165
158
  Olá,
@@ -162,13 +162,6 @@ ro:
162
162
  events:
163
163
  debates:
164
164
  create_debate_event:
165
- space_followers:
166
- email_intro: |-
167
- Bună,
168
- O nouă dezbatere "%{resource_title}" a fost creată în spațiul participativ %{space_title}, citește și contribuie:
169
- 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.
170
- email_subject: Dezbatere nouă "%{resource_title}" pe %{space_title}
171
- notification_title: Dezbaterea <a href="%{resource_path}">%{resource_title}</a> a fost creată în <a href="%{space_path}">%{space_title}</a>.
172
165
  user_followers:
173
166
  email_intro: |-
174
167
  Bună,
@@ -98,9 +98,6 @@ ru:
98
98
  events:
99
99
  debates:
100
100
  create_debate_event:
101
- space_followers:
102
- email_outro: Вы получили это уведомление, потому что вы следите за пространством соучастия %{space_title}. Вы можете отписаться от уведомлений, перейдя по приведенной выше ссылке.
103
- notification_title: В <a href="%{space_path}">%{space_title}</a> началось обсуждение <a href="%{resource_path}">%{resource_title}</a>.
104
101
  user_followers:
105
102
  email_outro: Вы получили это уведомление, потому что вы следите за «%{author_nickname}». Вы можете отписаться от уведомлений, перейдя по приведенной выше ссылке.
106
103
  creation_disabled:
@@ -98,12 +98,6 @@ sk:
98
98
  events:
99
99
  debates:
100
100
  create_debate_event:
101
- space_followers:
102
- email_intro: |-
103
- Ahoj, debata "%{resource_title}" bola vytvorená v participatívnom priestore "%{participatory_space_title}", pozrite sa na ňu a prispejte:
104
- 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.
105
- email_subject: Nová debata "%{resource_title}" na %{space_title}
106
- notification_title: Debata <a href="%{resource_path}">%{resource_title} </a> bola vytvorená v priestore <a href="%{space_path}">%{space_title} </a>.
107
101
  user_followers:
108
102
  email_intro: |-
109
103
  Dobrý deň,
@@ -159,13 +159,6 @@ sv:
159
159
  events:
160
160
  debates:
161
161
  create_debate_event:
162
- space_followers:
163
- email_intro: |-
164
- Hej,
165
- En ny debatt, "%{resource_title}", har skapats i deltagarutrymmet %{space_title}, ta en titt och bidra:
166
- 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.
167
- email_subject: Ny debatt "%{resource_title}" i %{space_title}
168
- notification_title: Debatten <a href="%{resource_path}">%{resource_title}</a> har skapats i <a href="%{space_path}">%{space_title}</a>.
169
162
  user_followers:
170
163
  email_intro: |-
171
164
  Hej,
@@ -155,11 +155,11 @@ tr:
155
155
  create_debate_event:
156
156
  space_followers:
157
157
  email_intro: |-
158
- Merhaba,
159
- %{space_title} katılımcı alanda yeni bir "%{resource_title}" tartışması oluşturuldu, inceleyin ve katkıda bulunun:
160
- email_outro: '%{space_title} katılımcı alanı takip ettiğiniz için bu bildirimi aldınız. Önceki bağlantıyı takip ederek bildirim almayı durdurabilirsiniz.'
161
- email_subject: '%{space_title} üzerinde yeni tartışma "%{resource_title}"'
162
- notification_title: <a href="%{resource_path}">%{resource_title} </a> tartışması <a href="%{space_path}">%{space_title} </a> adresinde oluşturuldu.
158
+ Merhaba
159
+ %{participatory_space_title} katılımcı alanında yeni bir "%{resource_title}" tartışma başlığı oluşturuldu. İnceleyerek katkıda bulunabilirsiniz.
160
+ 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.
161
+ email_subject: '%{participatory_space_title} başlıpı ile ilgili yeni tartışma "%{resource_title}"'
162
+ notification_title: <a href="%{resource_path}">%{resource_title</a> tartışması <a href="%{participatory_space_url}">%{participatory_space_title</a> tarihinde oluşturuldu.
163
163
  user_followers:
164
164
  email_intro: |-
165
165
  Merhaba,
@@ -98,9 +98,6 @@ uk:
98
98
  events:
99
99
  debates:
100
100
  create_debate_event:
101
- space_followers:
102
- email_outro: Ви отримали це сповіщення, тому що ви стежите за простором співучасті %{space_title}. Ви можете відписатися від цих сповіщень, перейшовши за наведеним вище посиланням.
103
- notification_title: <a href="%{space_path}">%{space_title} </a> розпочав обговорення у <a href="%{resource_path}">%{resource_title}</a>.
104
101
  user_followers:
105
102
  email_outro: Ви отримали це сповіщення, тому що ви стежите за %{author_nickname}. Ви можете відписатися від цих сповіщень, перейшовши за наведеним вище посиланням.
106
103
  creation_disabled:
@@ -141,13 +141,6 @@ zh-CN:
141
141
  events:
142
142
  debates:
143
143
  create_debate_event:
144
- space_followers:
145
- email_intro: |-
146
- 您好,
147
- 在参与性的 %{space_title} 空间上创建了一个新的辩论"%{resource_title}"。查看它并做出贡献:
148
- email_outro: 您收到此通知是因为您正在关注 %{space_title} 个参与性空间。您可以停止收到跟随上一个链接的通知。
149
- email_subject: 在%{resource_title}上的新辩论 " %{space_title}
150
- notification_title: <a href="%{resource_path}">%{resource_title}</a> 辩论是在 <a href="%{space_path}">%{space_title}</a> 创建的。
151
144
  user_followers:
152
145
  email_intro: |-
153
146
  你好,
@@ -158,13 +158,6 @@ zh-TW:
158
158
  events:
159
159
  debates:
160
160
  create_debate_event:
161
- space_followers:
162
- email_intro: |-
163
- 你好,
164
- 一個新的辯論「%{resource_title}」已經在 %{space_title} 參與空間中建立,請查看並參與:
165
- email_outro: 您收到此通知,是因為您正在追蹤 %{space_title} 參與空間。您可以按照上述連結停止接收通知。
166
- email_subject: '%{space_title} 參與空間上有新辯論主題%{resource_title}'
167
- notification_title: 在<a href="%{space_path}">%{space_title}</a>上建立了辯論主題<a href="%{resource_path}">%{resource_title}</a>。
168
161
  user_followers:
169
162
  email_intro: |-
170
163
  嗨,
@@ -0,0 +1,39 @@
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://decidim.org"
14
+ s.metadata = {
15
+ "bug_tracker_uri" => "https://github.com/decidim/decidim/issues",
16
+ "documentation_uri" => "https://docs.decidim.org/",
17
+ "funding_uri" => "https://opencollective.com/decidim",
18
+ "homepage_uri" => "https://decidim.org",
19
+ "source_code_uri" => "https://github.com/decidim/decidim"
20
+ }
21
+ s.required_ruby_version = "~> 3.1.0"
22
+
23
+ s.name = "decidim-debates"
24
+ s.summary = "Decidim debates module"
25
+ s.description = "A debates component for decidim's participatory spaces."
26
+
27
+ s.files = Dir.chdir(__dir__) do
28
+ `git ls-files -z`.split("\x0").select do |f|
29
+ (File.expand_path(f) == __FILE__) ||
30
+ f.start_with?(*%w(app/ config/ db/ lib/ Rakefile README.md))
31
+ end
32
+ end
33
+
34
+ s.add_dependency "decidim-comments", Decidim::Debates.version
35
+ s.add_dependency "decidim-core", Decidim::Debates.version
36
+
37
+ s.add_development_dependency "decidim-admin", Decidim::Debates.version
38
+ s.add_development_dependency "decidim-dev", Decidim::Debates.version
39
+ end
@@ -12,17 +12,11 @@ FactoryBot.define do
12
12
  skip_injection { false }
13
13
  end
14
14
 
15
- title do
16
- if skip_injection
17
- Decidim::Faker::Localized.localized { generate(:title) }
18
- else
19
- Decidim::Faker::Localized.localized { "<script>alert(\"TITLE\");</script> #{generate(:title)}" }
20
- end
21
- end
22
- description { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_debate_title } }
23
- information_updates { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_debate_title } }
24
- instructions { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_debate_title } }
25
- component { build(:debates_component) }
15
+ title { generate_localized_title(:debate_title, skip_injection:) }
16
+ description { generate_localized_description(:debate_description, skip_injection:) }
17
+ information_updates { generate_localized_description(:debate_information_updates, skip_injection:) }
18
+ instructions { generate_localized_description(:debate_instructions, skip_injection:) }
19
+ component { build(:debates_component, skip_injection:) }
26
20
  author { component.try(:organization) }
27
21
 
28
22
  trait :open_ama do
@@ -34,7 +28,7 @@ FactoryBot.define do
34
28
  start_time { nil }
35
29
  end_time { nil }
36
30
  author do
37
- build(:user, organization: component.organization) if component
31
+ build(:user, organization: component.organization, skip_injection:) if component
38
32
  end
39
33
  end
40
34
 
@@ -44,17 +38,17 @@ FactoryBot.define do
44
38
 
45
39
  trait :user_group_author do
46
40
  author do
47
- create(:user, organization: component.organization) if component
41
+ create(:user, organization: component.organization, skip_injection:) if component
48
42
  end
49
43
 
50
44
  user_group do
51
- create(:user_group, :verified, organization: component.organization, users: [author]) if component
45
+ create(:user_group, :verified, organization: component.organization, users: [author], skip_injection:) if component
52
46
  end
53
47
  end
54
48
 
55
49
  trait :closed do
56
50
  closed_at { Time.current }
57
- conclusions { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_debate_title } }
51
+ conclusions { generate_localized_description(:debate_conclusions, skip_injection:) }
58
52
  end
59
53
 
60
54
  after(:build) do |debate|
@@ -64,9 +58,12 @@ FactoryBot.define do
64
58
  end
65
59
 
66
60
  factory :debates_component, parent: :component do
67
- name { Decidim::Components::Namer.new(participatory_space.organization.available_locales, :debates).i18n_name }
61
+ transient do
62
+ skip_injection { false }
63
+ end
64
+ name { generate_component_name(participatory_space.organization.available_locales, :debates, skip_injection:) }
68
65
  manifest_name { :debates }
69
- participatory_space { create(:participatory_process, :with_steps, organization:) }
66
+ participatory_space { create(:participatory_process, :with_steps, organization:, skip_injection:) }
70
67
  settings do
71
68
  {
72
69
  comments_enabled: true,
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-debates version.
5
5
  module Debates
6
6
  def self.version
7
- "0.28.0"
7
+ "0.28.1"
8
8
  end
9
9
  end
10
10
  end
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.28.0
4
+ version: 0.28.1
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: 2023-12-20 00:00:00.000000000 Z
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.28.0
22
+ version: 0.28.1
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.28.0
29
+ version: 0.28.1
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.28.0
36
+ version: 0.28.1
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.28.0
43
+ version: 0.28.1
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.28.0
50
+ version: 0.28.1
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.28.0
57
+ version: 0.28.1
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.28.0
64
+ version: 0.28.1
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.28.0
71
+ version: 0.28.1
72
72
  description: A debates component for decidim's participatory spaces.
73
73
  email:
74
74
  - josepjaume@gmail.com
@@ -151,7 +151,6 @@ files:
151
151
  - app/views/decidim/debates/versions/index.html.erb
152
152
  - app/views/decidim/debates/versions/show.html.erb
153
153
  - config/assets.rb
154
- - config/environment.rb
155
154
  - config/locales/am-ET.yml
156
155
  - config/locales/ar-SA.yml
157
156
  - config/locales/ar.yml
@@ -184,6 +183,7 @@ files:
184
183
  - config/locales/ga-IE.yml
185
184
  - config/locales/gl.yml
186
185
  - config/locales/gn-PY.yml
186
+ - config/locales/he-IL.yml
187
187
  - config/locales/hr-HR.yml
188
188
  - config/locales/hr.yml
189
189
  - config/locales/hu.yml
@@ -251,6 +251,7 @@ files:
251
251
  - db/migrate/20210125101735_revert_archive_debates.rb
252
252
  - db/migrate/20210310120652_add_followable_counter_cache_to_debates.rb
253
253
  - db/migrate/20210519201932_add_comments_availability_columns_to_debates_table.rb
254
+ - decidim-debates.gemspec
254
255
  - lib/decidim/api/debate_type.rb
255
256
  - lib/decidim/api/debates_type.rb
256
257
  - lib/decidim/debates.rb
@@ -271,23 +272,23 @@ metadata:
271
272
  funding_uri: https://opencollective.com/decidim
272
273
  homepage_uri: https://decidim.org
273
274
  source_code_uri: https://github.com/decidim/decidim
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: '3.1'
283
+ version: 3.1.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.4.22
290
- signing_key:
290
+ rubygems_version: 3.5.9
291
+ signing_key:
291
292
  specification_version: 4
292
293
  summary: Decidim debates module
293
294
  test_files: []
@@ -1,3 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Empty line for playing nice with tpope/vim-rails