decidim-debates 0.10.1 → 0.11.0.pre1

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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/debates/admin/create_debate.rb +2 -2
  3. data/app/commands/decidim/debates/create_debate.rb +2 -2
  4. data/app/controllers/decidim/debates/admin/application_controller.rb +2 -2
  5. data/app/controllers/decidim/debates/admin/debates_controller.rb +3 -3
  6. data/app/controllers/decidim/debates/application_controller.rb +1 -1
  7. data/app/controllers/decidim/debates/debates_controller.rb +1 -1
  8. data/app/forms/decidim/debates/admin/debate_form.rb +2 -2
  9. data/app/forms/decidim/debates/debate_form.rb +1 -1
  10. data/app/jobs/decidim/debates/settings_change_job.rb +4 -4
  11. data/app/models/decidim/debates/abilities/admin/participatory_process_moderator_ability.rb +1 -1
  12. data/app/models/decidim/debates/abilities/current_user_ability.rb +6 -6
  13. data/app/models/decidim/debates/debate.rb +6 -6
  14. data/app/services/decidim/debates/debate_search.rb +2 -2
  15. data/app/views/decidim/debates/admin/debates/_form.html.erb +6 -6
  16. data/app/views/decidim/debates/admin/debates/edit.html.erb +1 -1
  17. data/app/views/decidim/debates/admin/debates/index.html.erb +3 -3
  18. data/app/views/decidim/debates/admin/debates/new.html.erb +1 -1
  19. data/app/views/decidim/debates/debates/_debate.html.erb +4 -4
  20. data/app/views/decidim/debates/debates/_filters.html.erb +5 -5
  21. data/app/views/decidim/debates/debates/_filters_small_view.html.erb +1 -1
  22. data/app/views/decidim/debates/debates/_share.html.erb +1 -1
  23. data/app/views/decidim/debates/debates/index.html.erb +2 -2
  24. data/app/views/decidim/debates/debates/show.html.erb +4 -4
  25. data/config/locales/ca.yml +13 -13
  26. data/config/locales/en.yml +13 -13
  27. data/config/locales/es.yml +13 -13
  28. data/config/locales/eu.yml +13 -13
  29. data/config/locales/fi.yml +13 -13
  30. data/config/locales/fr.yml +13 -13
  31. data/config/locales/gl.yml +13 -13
  32. data/config/locales/it.yml +13 -13
  33. data/config/locales/nl.yml +51 -50
  34. data/config/locales/pl.yml +13 -13
  35. data/config/locales/pt-BR.yml +13 -13
  36. data/config/locales/pt.yml +13 -13
  37. data/config/locales/ru.yml +2 -0
  38. data/config/locales/sv.yml +13 -13
  39. data/config/locales/uk.yml +8 -11
  40. data/db/migrate/20180305133556_rename_features_to_components_at_debates.rb +11 -0
  41. data/lib/decidim/debates.rb +1 -1
  42. data/lib/decidim/debates/{feature.rb → component.rb} +19 -15
  43. data/lib/decidim/debates/engine.rb +1 -1
  44. data/lib/decidim/debates/test/factories.rb +6 -6
  45. data/lib/decidim/debates/version.rb +1 -1
  46. metadata +14 -13
@@ -12,6 +12,19 @@ ca:
12
12
  title: Títol
13
13
  user_group_id: Crea un debat com
14
14
  decidim:
15
+ components:
16
+ debates:
17
+ actions:
18
+ create: Crear
19
+ name: Debats
20
+ settings:
21
+ global:
22
+ announcement: Avís
23
+ comments_enabled: Comentaris habilitats
24
+ step:
25
+ announcement: Avís
26
+ comments_blocked: Comentaris bloquejats
27
+ creation_enabled: Habilitar la creació de debats pels usuaris
15
28
  debates:
16
29
  actions:
17
30
  confirm_destroy: N'estàs segur?
@@ -116,16 +129,3 @@ ca:
116
129
  email_outro: Has rebut aquesta notificació perquè estàs seguint %{participatory_space_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
117
130
  email_subject: Els debats ja estan disponibles a %{participatory_space_title}
118
131
  notification_title: Ja pots començar <a href="%{resource_path}">nous debats</a> a <a href="%{participatory_space_url}">%{participatory_space_title}</a>
119
- features:
120
- debates:
121
- actions:
122
- create: Crear
123
- name: Debats
124
- settings:
125
- global:
126
- announcement: Avís
127
- comments_enabled: Comentaris habilitats
128
- step:
129
- announcement: Avís
130
- comments_blocked: Comentaris bloquejats
131
- creation_enabled: Habilitar la creació de debats pels usuaris
@@ -13,6 +13,19 @@ en:
13
13
  title: Title
14
14
  user_group_id: Create debate as
15
15
  decidim:
16
+ components:
17
+ debates:
18
+ actions:
19
+ create: Create
20
+ name: Debates
21
+ settings:
22
+ global:
23
+ announcement: Announcement
24
+ comments_enabled: Comments enabled
25
+ step:
26
+ announcement: Announcement
27
+ comments_blocked: Comments blocked
28
+ creation_enabled: Debate creation by users enabled
16
29
  debates:
17
30
  actions:
18
31
  confirm_destroy: Are you sure?
@@ -119,16 +132,3 @@ en:
119
132
  email_outro: You have received this notification because you are following %{participatory_space_title}. You can stop receiving notifications following the previous link.
120
133
  email_subject: Debates now available in %{participatory_space_title}
121
134
  notification_title: You can now start <a href="%{resource_path}">new debates</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a>
122
- features:
123
- debates:
124
- actions:
125
- create: Create
126
- name: Debates
127
- settings:
128
- global:
129
- announcement: Announcement
130
- comments_enabled: Comments enabled
131
- step:
132
- announcement: Announcement
133
- comments_blocked: Comments blocked
134
- creation_enabled: Debate creation by users enabled
@@ -12,6 +12,19 @@ es:
12
12
  title: Título
13
13
  user_group_id: Crear debate como
14
14
  decidim:
15
+ components:
16
+ debates:
17
+ actions:
18
+ create: Crear
19
+ name: Debates
20
+ settings:
21
+ global:
22
+ announcement: Anuncio
23
+ comments_enabled: Comentarios habilitados
24
+ step:
25
+ announcement: Anuncio
26
+ comments_blocked: Comentarios bloqueados
27
+ creation_enabled: Habilitar la creación de debates por los usuarios
15
28
  debates:
16
29
  actions:
17
30
  confirm_destroy: '¿Seguro que quieres borrar el debate?'
@@ -116,16 +129,3 @@ es:
116
129
  email_outro: Has recibido esta notificación porque estás siguiendo %{participatory_space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
117
130
  email_subject: Debates ahora disponibles en %{participatory_space_title}
118
131
  notification_title: Ahora puedes crear <a href="%{resource_path}">nuevos debates</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a>
119
- features:
120
- debates:
121
- actions:
122
- create: Crear
123
- name: Debates
124
- settings:
125
- global:
126
- announcement: Anuncio
127
- comments_enabled: Comentarios habilitados
128
- step:
129
- announcement: Anuncio
130
- comments_blocked: Comentarios bloqueados
131
- creation_enabled: Habilitar la creación de debates por los usuarios
@@ -12,6 +12,19 @@ eu:
12
12
  title: Izenburua
13
13
  user_group_id: Sortu eztabaida gisa
14
14
  decidim:
15
+ components:
16
+ debates:
17
+ actions:
18
+ create: Sortu
19
+ name: eztabaidak
20
+ settings:
21
+ global:
22
+ announcement: Anuntzio
23
+ comments_enabled: Iruzkinak gaituta
24
+ step:
25
+ announcement: Anuntzio
26
+ comments_blocked: Iruzkinak blokeatuta
27
+ creation_enabled: Erabiltzaileek gaitutako eztabaida sortzea
15
28
  debates:
16
29
  actions:
17
30
  confirm_destroy: Ziur zaude?
@@ -116,16 +129,3 @@ eu:
116
129
  email_outro: Jakinarazpena jaso duzu %{participatory_space_title}jarraituz gero. Aurreko esteka jarraituz jakinarazpenak jasotzeari uztea erabaki dezakezu.
117
130
  email_subject: Debates orain eskuragarri %{participatory_space_title}
118
131
  notification_title: Orain <a href="%{resource_path}">eztabaida berriak hasi ditzakezu</a> <a href="%{participatory_space_url}">%{participatory_space_title}</a>
119
- features:
120
- debates:
121
- actions:
122
- create: Sortu
123
- name: eztabaidak
124
- settings:
125
- global:
126
- announcement: Anuntzio
127
- comments_enabled: Iruzkinak gaituta
128
- step:
129
- announcement: Anuntzio
130
- comments_blocked: Iruzkinak blokeatuta
131
- creation_enabled: Erabiltzaileek gaitutako eztabaida sortzea
@@ -12,6 +12,19 @@ fi:
12
12
  title: Otsikko
13
13
  user_group_id: Luo keskustelu käyttäjänä
14
14
  decidim:
15
+ components:
16
+ debates:
17
+ actions:
18
+ create: Luoda
19
+ name: keskustelut
20
+ settings:
21
+ global:
22
+ announcement: Ilmoitus
23
+ comments_enabled: Kommentointi käytössä
24
+ step:
25
+ announcement: Ilmoitus
26
+ comments_blocked: Kommentointi estetty
27
+ creation_enabled: Keskustelujen luominen käyttäjien toimesta sallittu
15
28
  debates:
16
29
  actions:
17
30
  confirm_destroy: Oletko varma?
@@ -116,16 +129,3 @@ fi:
116
129
  email_outro: Olet saanut tämän ilmoituksen, koska seuraat %{participatory_space_title}. Voit lopettaa ilmoitusten vastaanottamisen edellisen linkin jälkeen.
117
130
  email_subject: Keskustelut ovat nyt saatavilla %{participatory_space_title}
118
131
  notification_title: Voit nyt aloittaa <a href="%{resource_path}">uutta keskustelua</a> <a href="%{participatory_space_url}">%{participatory_space_title}</a>
119
- features:
120
- debates:
121
- actions:
122
- create: Luo
123
- name: Keskustelut
124
- settings:
125
- global:
126
- announcement: Ilmoitus
127
- comments_enabled: Kommentointi käytössä
128
- step:
129
- announcement: Ilmoitus
130
- comments_blocked: Kommentointi estetty
131
- creation_enabled: Keskustelujen luominen käyttäjien toimesta sallittu
@@ -12,6 +12,19 @@ fr:
12
12
  title: Titre
13
13
  user_group_id: Créer un débat en tant que
14
14
  decidim:
15
+ components:
16
+ debates:
17
+ actions:
18
+ create: Créer
19
+ name: Débats
20
+ settings:
21
+ global:
22
+ announcement: Annonce
23
+ comments_enabled: Activer le module de commentaire
24
+ step:
25
+ announcement: Annonce
26
+ comments_blocked: Bloquer la création de nouveaux commentaires
27
+ creation_enabled: Création de débats par les utilisateurs activés
15
28
  debates:
16
29
  actions:
17
30
  confirm_destroy: Êtes-vous certain ?
@@ -116,16 +129,3 @@ fr:
116
129
  email_outro: Vous avez reçu cette notification, car vous suivez %{participatory_space_title}. Vous pouvez arrêter de recevoir des notifications en suivant ce dernier lien.
117
130
  email_subject: Débats maintenant disponibles sur %{participatory_space_title}
118
131
  notification_title: Vous pouvez maintenant démarrer <a href="%{resource_path}">nouveaux débats</a> dans <a href="%{participatory_space_url}">%{participatory_space_title}</a>
119
- features:
120
- debates:
121
- actions:
122
- create: Créer
123
- name: Débats
124
- settings:
125
- global:
126
- announcement: Annonce
127
- comments_enabled: Activer le module de commentaire
128
- step:
129
- announcement: Annonce
130
- comments_blocked: Bloquer la création de nouveaux commentaires
131
- creation_enabled: Création de débats par les utilisateurs activés
@@ -12,6 +12,19 @@ gl:
12
12
  title: Título
13
13
  user_group_id: Crear debate como
14
14
  decidim:
15
+ components:
16
+ debates:
17
+ actions:
18
+ create: Crear
19
+ name: Debates
20
+ settings:
21
+ global:
22
+ announcement: Anuncio
23
+ comments_enabled: Comentarios habilitados
24
+ step:
25
+ announcement: Anuncio
26
+ comments_blocked: Comentarios bloqueados
27
+ creation_enabled: Debate creado polos usuarios activado
15
28
  debates:
16
29
  actions:
17
30
  confirm_destroy: Estás seguro?
@@ -116,16 +129,3 @@ gl:
116
129
  email_outro: Recibiches esta notificación porque estás seguindo %{participatory_space_title}. Podes deixar de recibir notificacións seguindo a ligazón anterior.
117
130
  email_subject: Os debates agora están dispoñibles en %{participatory_space_title}
118
131
  notification_title: Agora podes comezar <a href="%{resource_path}">novos debates</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a>
119
- features:
120
- debates:
121
- actions:
122
- create: Crear
123
- name: Debates
124
- settings:
125
- global:
126
- announcement: Anuncio
127
- comments_enabled: Comentarios habilitados
128
- step:
129
- announcement: Anuncio
130
- comments_blocked: Comentarios bloqueados
131
- creation_enabled: Debate creado polos usuarios activado
@@ -12,6 +12,19 @@ it:
12
12
  title: Titolo
13
13
  user_group_id: Crea dibattito come
14
14
  decidim:
15
+ components:
16
+ debates:
17
+ actions:
18
+ create: Creare
19
+ name: dibattiti
20
+ settings:
21
+ global:
22
+ announcement: Annuncio
23
+ comments_enabled: Commenti abilitati
24
+ step:
25
+ announcement: Annuncio
26
+ comments_blocked: Commenti bloccati
27
+ creation_enabled: Creazione di dibattiti da parte degli utenti abilitati
15
28
  debates:
16
29
  actions:
17
30
  confirm_destroy: Sei sicuro?
@@ -116,16 +129,3 @@ it:
116
129
  email_outro: Hai ricevuto questa notifica perché stai seguendo %{participatory_space_title}. È possibile interrompere la ricezione di notifiche seguendo il collegamento precedente.
117
130
  email_subject: Discussioni ora disponibili in %{participatory_space_title}
118
131
  notification_title: Ora puoi iniziare <a href="%{resource_path}">nuovi dibattiti</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a>
119
- features:
120
- debates:
121
- actions:
122
- create: Creare
123
- name: dibattiti
124
- settings:
125
- global:
126
- announcement: Annuncio
127
- comments_enabled: Commenti abilitati
128
- step:
129
- announcement: Annuncio
130
- comments_blocked: Commenti bloccati
131
- creation_enabled: Creazione di dibattiti da parte degli utenti abilitati
@@ -4,17 +4,30 @@ nl:
4
4
  debate:
5
5
  category_id: Categorie
6
6
  decidim_category_id: Categorie
7
- description: Beschrijving
8
- end_time: Eindigt bij
9
- information_updates: Informatie-updates
7
+ description: Omschrijving
8
+ end_time: Eindigt op
9
+ information_updates: Informatie updates
10
10
  instructions: Instructies om deel te nemen
11
11
  start_time: Begint om
12
12
  title: Titel
13
13
  user_group_id: Maak een debat als
14
14
  decidim:
15
+ components:
16
+ debates:
17
+ actions:
18
+ create: Aanmaken
19
+ name: Debatten
20
+ settings:
21
+ global:
22
+ announcement: Aankondiging
23
+ comments_enabled: Reacties ingeschakeld
24
+ step:
25
+ announcement: Aankondiging
26
+ comments_blocked: Reacties geblokkeerd
27
+ creation_enabled: Gebruikers kunnen geen debat aanmaken
15
28
  debates:
16
29
  actions:
17
- confirm_destroy: Weet je het zeker?
30
+ confirm_destroy: Ben je zeker?
18
31
  destroy: Verwijder
19
32
  edit: Bewerk
20
33
  new: Nieuwe %{name}
@@ -22,7 +35,7 @@ nl:
22
35
  admin:
23
36
  debates:
24
37
  create:
25
- invalid: Er is een probleem geweest tijdens het maken van het debat.
38
+ invalid: Er is een probleem opgetreden tijdens het maken van het debat.
26
39
  success: Debat succesvol aangemaakt.
27
40
  destroy:
28
41
  success: Debat succesvol verwijderd.
@@ -30,102 +43,90 @@ nl:
30
43
  title: Bewerk debat
31
44
  update: Update debat
32
45
  index:
33
- title: debatten
46
+ title: Debatten
34
47
  new:
35
- create: Maak een debat
48
+ create: Maak een debat aan
36
49
  title: Nieuw debat
37
50
  update:
38
- invalid: Er is een probleem geweest bij het bijwerken van dit debat.
51
+ invalid: Er is een probleem opgetreden tijdens het bijwerken van dit debat.
39
52
  success: Debat succesvol bijgewerkt.
40
53
  models:
41
54
  debate:
42
55
  name: Debat
43
56
  admin_log:
44
57
  debate:
45
- create: "%{user_name} heeft het %{resource_name} -debat gemaakt over de ruimte %{space_name}"
46
- update: "%{user_name} heeft het %{resource_name} -debat bijgewerkt op de %{space_name} spatie"
58
+ create: "%{user_name} heeft het %{resource_name} debat gemaakt in de %{space_name} ruimte"
59
+ update: "%{user_name} heeft het %{resource_name} debat bijgewerkt in de %{space_name} ruimte"
47
60
  debates:
48
61
  count:
49
62
  debates_count:
50
63
  one: "%{count} debat"
51
64
  other: "%{count} debatten"
52
65
  create:
53
- invalid: Er is een probleem geweest tijdens het maken van het debat.
66
+ invalid: Er is een probleem opgetreden tijdens het aanmaken van het debat.
54
67
  success: Debat succesvol aangemaakt.
55
68
  debate:
56
69
  comments:
57
- one: Commentaar
58
- other: Comments
70
+ one: Reactie
71
+ other: Reacties
59
72
  participate: Deelnemen
60
73
  filters:
61
74
  all: Alle
62
75
  category: Categorie
63
- category_prompt: Kies een categorie
64
- citizens: burgers
76
+ category_prompt: Selecteer een categorie
77
+ citizens: Burgers
65
78
  official: Officieel
66
79
  origin: Oorsprong
67
80
  search: Zoeken
68
81
  filters_small_view:
69
- close_modal: Modal sluiten
70
- filter: Filter
71
- filter_by: Filteren op
72
- unfold: Ontvouwen
82
+ close_modal: Sluit venster
83
+ filter: Sorteren
84
+ filter_by: Sorteren op
85
+ unfold: Uitvouwen
73
86
  index:
74
87
  new_debate: Nieuw debat
75
88
  new:
76
89
  back: Terug
77
- create: creëren
90
+ create: Aanmaken
78
91
  select_a_category: Selecteer een categorie
79
92
  title: Nieuw debat
80
93
  share:
81
- close_window: Venster sluiten
94
+ close_window: Sluit venster
82
95
  share: Delen
83
- share_link: Deel link
96
+ share_link: Link delen
84
97
  show:
85
- comments: Comments
86
- report: Verslag doen van
98
+ comments: Reacties
99
+ report: Rapporteren
87
100
  models:
88
101
  debate:
89
102
  fields:
90
103
  end_time: Einddatum
91
104
  official_debate: Officieel debat
92
- start_time: Begin datum
105
+ start_time: Startdatum
93
106
  title: Titel
94
107
  events:
95
108
  debates:
96
109
  create_debate_event:
97
110
  space_followers:
98
111
  email_intro: |-
99
- Hallo, Er is een nieuw debat gestart op de %{space_title} participatieve ruimte, bekijk het en draag bij:
100
- email_outro: Je hebt deze melding ontvangen omdat je de %{space_title} participatorische ruimte volgt. Je kunt stoppen met het ontvangen van meldingen na de vorige link.
112
+ Hallo,
113
+ Er is een nieuw debat gestart in de %{space_title} participatieve ruimte, bekijk het en neem deel:
114
+ 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.
101
115
  email_subject: Nieuw debat op %{space_title}
102
116
  notification_title: Het <a href="%{resource_path}">%{resource_title}</a> debat is gemaakt op <a href="%{space_path}">%{space_title}</a>.
103
117
  user_followers:
104
118
  email_intro: |-
105
- Hallo, %{author_name} %{author_nickname}, wie je volgt, heeft een nieuw debat gemaakt, bekijk het en draag bij:
106
- email_outro: Je hebt deze melding ontvangen omdat je %{author_nickname} volgt. Je kunt stoppen met het ontvangen van meldingen na de vorige link.
119
+ Hallo, %{author_name} %{author_nickname}, iemand die je volgt, heeft een nieuw debat aangemaakt, bekijk het en neem deel:
120
+ email_outro: Je hebt deze melding ontvangen omdat je %{author_nickname} volgt. Je kan deze meldingen uitschakelen door te klikken op de voorgaande link.
107
121
  email_subject: Nieuw debat door %{author_nickname}
108
122
  notification_title: Het <a href="%{resource_path}">%{resource_title}</a> debat is gemaakt door <a href="%{author_path}">%{author_name} %{author_nickname}</a>.
109
123
  creation_disabled:
110
- email_intro: 'Debatcreatie is niet langer actief in %{participatory_space_title}. Je kunt nog steeds deelnemen aan geopende debatten vanaf deze pagina:'
111
- email_outro: Je hebt deze melding ontvangen omdat je %{participatory_space_title}volgt. Je kunt stoppen met het ontvangen van meldingen na de vorige link.
112
- email_subject: Debatcreatie uitgeschakeld in %{participatory_space_title}
113
- notification_title: Debatten maken is nu uitgeschakeld in <a href="%{participatory_space_url}">%{participatory_space_title}</a>
124
+ email_intro: 'Het is niet langer mogelijk een debat aan te maken in %{participatory_space_title}. Je kan nog steeds deelnemen aan lopende debatten op deze pagina:'
125
+ email_outro: Je hebt deze melding ontvangen omdat je %{participatory_space_title}volgt. Je kan de meldingen uitschakelen door te klikken op de voorgaande link.
126
+ email_subject: Het aanmaken van een debat is gedeactiveerd %{participatory_space_title}
127
+ notification_title: Je kan niet langer een debat aanmaken in <a href="%{participatory_space_url}">%{participatory_space_title}</a>
114
128
  creation_enabled:
115
- email_intro: 'Je kunt nu nieuwe debatten starten in %{participatory_space_title}! Begin met deelname aan deze pagina:'
116
- email_outro: Je hebt deze melding ontvangen omdat je %{participatory_space_title}volgt. Je kunt stoppen met het ontvangen van meldingen na de vorige link.
117
- email_subject: Debatten nu beschikbaar in %{participatory_space_title}
118
- notification_title: Je kunt nu beginnen met <a href="%{resource_path}">nieuwe debatten</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a>
119
- features:
120
- debates:
121
- actions:
122
- create: creëren
123
- name: debatten
124
- settings:
125
- global:
126
- announcement: Aankondiging
127
- comments_enabled: Reacties ingeschakeld
128
- step:
129
- announcement: Aankondiging
130
- comments_blocked: Reacties geblokkeerd
131
- creation_enabled: Debatcreatie door gebruikers ingeschakeld
129
+ email_intro: 'Je kan nu nieuwe debatten aanmaken in %{participatory_space_title}! Start jouw deelname op deze pagina:'
130
+ email_outro: Je hebt deze melding ontvangen omdat je %{participatory_space_title} volgt. Je kan de meldingen uitschakelen door te klikken op de voorgaande link.
131
+ email_subject: Debatten zijn nu beschikbaar in %{participatory_space_title}
132
+ notification_title: Je kan nu beginnen met <a href="%{resource_path}">nieuwe debatten</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a>