decidim-debates 0.16.1 → 0.17.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6620c03f8c097ef1f40841ea61b9857ac0ec2ce1f306c05b09664edcc8b95717
4
- data.tar.gz: a41764330fa2591b36bf395e5386b5c138300208b010a94faf20d768b08f3b78
3
+ metadata.gz: 155bb828a60c8e82128bbeacfe1a0d77a9784344a26abeb51a11ebea274ce422
4
+ data.tar.gz: 8abecd1383f560c8f3e3586a39d86e903004f02069761073449a63308574a6cf
5
5
  SHA512:
6
- metadata.gz: 319c38f16a2f9f48066246127d4c604a3712c0d7b2300ad11b141e74f9419fa5549a38cc11855df02b8c4e4cd5cc0969aa8913b5d5ff63926c7d22cdc474afcd
7
- data.tar.gz: 39f8f628c6028c26dcc6a396e9f3e2bbfab6fc1cb9debdf056a2dcfb4e49779f8d2761c84b7354c8001c857ef773f7aca3a1bea8b7746da6aa2b54805fa0c7f9
6
+ metadata.gz: fd1ce1a0d433f7b3013271f508b43bc57cab7c4ef7b66a0ee30c3f13235b6ba4437df6b6ef5fb89322351c1a807ed9f292dce01894ac5048722eb700f2af656b
7
+ data.tar.gz: b54d37ef7b723234a140e5a90d67fd0e47e1a56ef6b6b0cb433a830b8f57112dbf3c0a44457c06a44edd52afd79fda1104d8850c031c6b44d0c08225d8f1ce50
@@ -23,6 +23,10 @@ module Decidim
23
23
 
24
24
  validates :category, presence: true, if: ->(form) { form.decidim_category_id.present? }
25
25
 
26
+ def map_model(model)
27
+ self.decidim_category_id = model.category.try(:id)
28
+ end
29
+
26
30
  def category
27
31
  return unless current_component
28
32
  @category ||= current_component.categories.find_by(id: decidim_category_id)
@@ -37,6 +37,7 @@ ar:
37
37
  step:
38
38
  announcement: إعلان
39
39
  comments_blocked: تم حظر التعليقات
40
+ creation_enabled: تم إنشاء المناقشة بواسطة المشاركين
40
41
  debates:
41
42
  actions:
42
43
  confirm_destroy: هل أنت واثق؟
@@ -46,6 +47,11 @@ ar:
46
47
  title: أفعال
47
48
  admin:
48
49
  debates:
50
+ create:
51
+ invalid: كانت هناك مشكلة في خلق النقاش.
52
+ success: تم إنشاء النقاش بنجاح.
53
+ destroy:
54
+ success: تم حذف المناقشة بنجاح.
49
55
  edit:
50
56
  title: تحرير النقاش
51
57
  update: تحديث النقاش
@@ -54,6 +60,9 @@ ar:
54
60
  new:
55
61
  create: خلق النقاش
56
62
  title: نقاش جديد
63
+ update:
64
+ invalid: كانت هناك مشكلة في تحديث هذا النقاش.
65
+ success: تم تحديث المناقشة بنجاح.
57
66
  models:
58
67
  debate:
59
68
  name: النقاش
@@ -70,6 +79,9 @@ ar:
70
79
  few: "%{count} النقاشات"
71
80
  many: "%{count} النقاشات"
72
81
  other: "%{count} النقاشات"
82
+ create:
83
+ invalid: كانت هناك مشكلة في خلق النقاش.
84
+ success: تم إنشاء النقاش بنجاح.
73
85
  debate:
74
86
  participate: مشاركة
75
87
  filters:
@@ -123,6 +135,7 @@ ar:
123
135
  email_subject: نقاش جديد "%{resource_title}" بنسبة %{author_nickname}
124
136
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> أنشأ النقاش <a href="%{resource_path}">%{resource_title}</a>.
125
137
  creation_disabled:
138
+ email_intro: 'إنشاء النقاش لم يعد نشطًا في %{participatory_space_title}. لا يزال بإمكانك المشاركة في المناقشات المفتوحة من هذه الصفحة:'
126
139
  email_outro: لقد تلقيت هذا الإشعار لأنك تتابع %{participatory_space_title}. يمكنك إيقاف تلقي الإخطارات باتباع الرابط السابق.
127
140
  email_subject: تم تعطيل إنشاء المناقشة في %{participatory_space_title}
128
141
  notification_title: تم إنشاء إنشاء النقاش الآن في <a href="%{participatory_space_url}">%{participatory_space_title}</a>
@@ -137,9 +150,11 @@ ar:
137
150
  conditions:
138
151
  - اختر نقاشًا مفتوحًا للمشاركة فيه
139
152
  description: تُمنح هذه الشارة عندما تشارك بنشاط في المناقشات المختلفة من خلال ترك تعليقاتك.
153
+ description_another: شارك هذا المشارك في %{score} مناقشات.
140
154
  description_own: لقد شاركت في %{score} مناقشات.
141
155
  name: المناقشات
142
156
  next_level_in: شارك في %{score} مناقشات أخرى للوصول إلى المستوى التالي!
157
+ unearned_another: هذا المشارك لم يشارك بعد في أي نقاش.
143
158
  unearned_own: لم تشارك في أي مناقشات حتى الآن.
144
159
  metrics:
145
160
  debates:
@@ -33,7 +33,7 @@ ca:
33
33
  step:
34
34
  announcement: Avís
35
35
  comments_blocked: Comentaris bloquejats
36
- creation_enabled: Habilitar la creació de debats pels usuaris
36
+ creation_enabled: Habilitar la creació de debats per part de les participants
37
37
  debates:
38
38
  actions:
39
39
  confirm_destroy: N'estàs segur?
@@ -44,10 +44,10 @@ ca:
44
44
  admin:
45
45
  debates:
46
46
  create:
47
- invalid: Hi ha hagut un problema en crear el debat.
47
+ invalid: S'ha produït un error en crear el debat.
48
48
  success: Debat creat correctament.
49
49
  destroy:
50
- success: Debat suprimit correctament.
50
+ success: Debat eliminat correctament.
51
51
  edit:
52
52
  title: Editar debat
53
53
  update: Actualitzar debat
@@ -57,7 +57,7 @@ ca:
57
57
  create: Crea un debat
58
58
  title: Nou debat
59
59
  update:
60
- invalid: Hi ha hagut un problema mentre s'actualitza aquest debat.
60
+ invalid: S'ha produït un error en actualitzar aquest debat.
61
61
  success: El debat s'ha actualitzat correctament.
62
62
  models:
63
63
  debate:
@@ -72,7 +72,7 @@ ca:
72
72
  one: "%{count} debat"
73
73
  other: "%{count} debats"
74
74
  create:
75
- invalid: Hi ha hagut un problema en crear el debat.
75
+ invalid: S'ha produït un error en crear el debat.
76
76
  success: Debat creat correctament.
77
77
  debate:
78
78
  participate: Participa
@@ -142,11 +142,11 @@ ca:
142
142
  conditions:
143
143
  - Tria un debat obert per participar
144
144
  description: Aquest distintiu es desbloqueja quan participes activament en els diferents debats deixant els teus comentaris.
145
- description_another: Aquest usuari ha participat en %{score} debats.
145
+ description_another: Aquesta participant ha pres part en %{score} debats.
146
146
  description_own: Has participat en %{score} debats.
147
147
  name: Debats
148
148
  next_level_in: Participa en %{score} debats més per arribar al següent nivell!
149
- unearned_another: Aquest usuari encara no ha participat en cap debat.
149
+ unearned_another: Aquesta participant encara no ha pres part en cap debat.
150
150
  unearned_own: No has participat a cap debat encara.
151
151
  metrics:
152
152
  debates:
@@ -35,7 +35,7 @@ cs:
35
35
  step:
36
36
  announcement: Oznámení
37
37
  comments_blocked: Komentáře byly blokovány
38
- creation_enabled: Vytváření diskusí u aktivovaných uživatelů
38
+ creation_enabled: Vytváření debaty účastníky povoleno
39
39
  debates:
40
40
  actions:
41
41
  confirm_destroy: Jsi si jistá?
@@ -49,7 +49,7 @@ cs:
49
49
  invalid: Během debaty vznikl problém.
50
50
  success: Diskuse byla úspěšně vytvořena.
51
51
  destroy:
52
- success: Debata byla úspěšně smazána.
52
+ success: Diskuse byla úspěšně smazána.
53
53
  edit:
54
54
  title: Upravit diskusi
55
55
  update: Aktualizace debaty
@@ -150,7 +150,7 @@ cs:
150
150
  description_own: Zúčastnili jste se %{score} debat.
151
151
  name: Debaty
152
152
  next_level_in: Zúčastněte se dalších %{score} diskusí, abyste dosáhli další úrovně!
153
- unearned_another: Tento uživatel se dosud nezúčastnil žádné debaty.
153
+ unearned_another: Tento účastník se dosud nezúčastnil žádné diskuse.
154
154
  unearned_own: Zatím jste se nezúčastnili žádné diskuse.
155
155
  metrics:
156
156
  debates:
@@ -0,0 +1,159 @@
1
+ cs:
2
+ activemodel:
3
+ attributes:
4
+ debate:
5
+ category_id: Kategorie
6
+ decidim_category_id: Kategorie
7
+ description: Popis
8
+ end_time: Konec na
9
+ information_updates: Aktualizace informací
10
+ instructions: Pokyny k účasti
11
+ start_time: Začíná v
12
+ title: Titul
13
+ user_group_id: Vytvořte debatu jako
14
+ models:
15
+ decidim/debates/create_debate_event: Rozprava
16
+ decidim/debates/creation_disabled_event: Debaty jsou zakázány
17
+ decidim/debates/creation_enabled_event: Debaty povoleny
18
+ activerecord:
19
+ models:
20
+ decidim/debates/debate:
21
+ one: Rozprava
22
+ few: Debaty
23
+ many: Debaty
24
+ other: Debaty
25
+ decidim:
26
+ components:
27
+ debates:
28
+ actions:
29
+ create: Vytvořit
30
+ name: Debaty
31
+ settings:
32
+ global:
33
+ announcement: Oznámení
34
+ comments_enabled: Komentáře povoleny
35
+ step:
36
+ announcement: Oznámení
37
+ comments_blocked: Komentáře byly blokovány
38
+ creation_enabled: Vytváření debaty účastníky povoleno
39
+ debates:
40
+ actions:
41
+ confirm_destroy: Jsi si jistá?
42
+ destroy: Odstranit
43
+ edit: Upravit
44
+ new: Nové %{name}
45
+ title: Akce
46
+ admin:
47
+ debates:
48
+ create:
49
+ invalid: Během debaty vznikl problém.
50
+ success: Diskuse byla úspěšně vytvořena.
51
+ destroy:
52
+ success: Diskuse byla úspěšně smazána.
53
+ edit:
54
+ title: Upravit diskusi
55
+ update: Aktualizace debaty
56
+ index:
57
+ title: Debaty
58
+ new:
59
+ create: Vytvořte debatu
60
+ title: Nová debata
61
+ update:
62
+ invalid: Při aktualizaci této rozpravy došlo k problému.
63
+ success: Debata byla úspěšně aktualizována.
64
+ models:
65
+ debate:
66
+ name: Rozprava
67
+ admin_log:
68
+ debate:
69
+ create: "%{user_name} vytvořila %{resource_name} diskusi o %{space_name} prostoru"
70
+ update: "%{user_name} aktualizovala %{resource_name} diskusi o %{space_name} prostoru"
71
+ debates:
72
+ count:
73
+ debates_count:
74
+ one: "%{count} debata"
75
+ few: "%{count} debat"
76
+ many: "%{count} debat"
77
+ other: "%{count} debat"
78
+ create:
79
+ invalid: Během debaty vznikl problém.
80
+ success: Diskuse byla úspěšně vytvořena.
81
+ debate:
82
+ participate: Účastnit se
83
+ filters:
84
+ all: Všechno
85
+ category: Kategorie
86
+ category_prompt: Vyberte kategorii
87
+ citizens: Občané
88
+ official: Oficiální
89
+ origin: Původ
90
+ search: Vyhledávání
91
+ filters_small_view:
92
+ close_modal: Zavřít modální
93
+ filter: Filtr
94
+ filter_by: Filtrovat podle
95
+ unfold: Rozvinout
96
+ index:
97
+ new_debate: Nová debata
98
+ new:
99
+ back: Zadní
100
+ create: Vytvořit
101
+ select_a_category: Vyberte kategorii
102
+ title: Nová debata
103
+ share:
104
+ close_window: Zavřete okno
105
+ share: Podíl
106
+ share_link: Sdílet odkaz
107
+ last_activity:
108
+ new_debate_at_html: "<span>Nová diskuse na %{link}</span>"
109
+ models:
110
+ debate:
111
+ fields:
112
+ end_time: Datum ukončení
113
+ official_debate: Oficiální debata
114
+ start_time: Počáteční datum
115
+ title: Titul
116
+ events:
117
+ debates:
118
+ create_debate_event:
119
+ space_followers:
120
+ email_intro: |-
121
+ Ahoj,
122
+ Byla vytvořena nová diskuse "%{resource_title}" ve %{space_title} účastnických prostorách, zkontrolovat a přispět:
123
+ email_outro: Toto upozornění jste obdrželi, protože jste sledovali %{space_title} účastnického prostoru. Po předchozím propojení můžete přestat přijímat oznámení.
124
+ email_subject: Nová debata "%{resource_title}" na %{space_title}
125
+ notification_title: Diskuse <a href="%{resource_path}">%{resource_title}</a> byla vytvořena na <a href="%{space_path}">%{space_title}</a>.
126
+ user_followers:
127
+ email_intro: |-
128
+ Ahoj,
129
+ %{author_name} %{author_nickname}, který sledujete, vytvořil novou rozpravu "%{resource_title}". Vyzkoušejte to a přispějte:
130
+ email_outro: Toto oznámení jste obdrželi, protože jste sledovali %{author_nickname}. Po předchozím propojení můžete přestat přijímat oznámení.
131
+ email_subject: Nová diskuse "%{resource_title}" o %{author_nickname}
132
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> vytvořil <a href="%{resource_path}">%{resource_title}</a> diskusi.
133
+ creation_disabled:
134
+ email_intro: 'Tvorba debaty již není aktivní v %{participatory_space_title}. Na otevřených diskusích se můžete stále účastnit z této stránky:'
135
+ email_outro: Toto oznámení jste obdrželi, protože jste sledovali %{participatory_space_title}. Po předchozím propojení můžete přestat přijímat oznámení.
136
+ email_subject: Vytváření debaty je zakázáno v %{participatory_space_title}
137
+ notification_title: Vytváření debaty je nyní zakázáno v <a href="%{participatory_space_url}">%{participatory_space_title}</a>
138
+ creation_enabled:
139
+ email_intro: 'Nyní můžete začít debaty v %{participatory_space_title}! Začněte se účastnit této stránky:'
140
+ email_outro: Toto oznámení jste obdrželi, protože jste sledovali %{participatory_space_title}. Po předchozím propojení můžete přestat přijímat oznámení.
141
+ email_subject: Debaty jsou nyní k dispozici v %{participatory_space_title}
142
+ notification_title: Nyní můžete začít <a href="%{resource_path}">nových debat</a> v <a href="%{participatory_space_url}">%{participatory_space_title}</a>
143
+ gamification:
144
+ badges:
145
+ commented_debates:
146
+ conditions:
147
+ - Vyberte si otevřenou rozpravu, do které se můžete zapojit
148
+ description: Tento odznak se uděluje, když se aktivně účastníte různých debat tím, že ponecháte své komentáře.
149
+ description_another: Tento uživatel se zúčastnil %{score} debat.
150
+ description_own: Zúčastnili jste se %{score} debat.
151
+ name: Debaty
152
+ next_level_in: Zúčastněte se dalších %{score} diskusí, abyste dosáhli další úrovně!
153
+ unearned_another: Tento účastník se dosud nezúčastnil žádné diskuse.
154
+ unearned_own: Zatím jste se nezúčastnili žádné diskuse.
155
+ metrics:
156
+ debates:
157
+ description: Počet vytvořených diskusí
158
+ object: debaty
159
+ title: Debaty
@@ -1,3 +1,4 @@
1
+ ---
1
2
  en:
2
3
  activemodel:
3
4
  attributes:
@@ -33,7 +34,7 @@ en:
33
34
  step:
34
35
  announcement: Announcement
35
36
  comments_blocked: Comments blocked
36
- creation_enabled: Debate creation by users enabled
37
+ creation_enabled: Debate creation by participants enabled
37
38
  debates:
38
39
  actions:
39
40
  confirm_destroy: Are you sure?
@@ -44,10 +45,10 @@ en:
44
45
  admin:
45
46
  debates:
46
47
  create:
47
- invalid: There has been a problem while creating the debate.
48
- success: Debate created successfully.
48
+ invalid: There was a problem creating the debate.
49
+ success: Debate successfully created.
49
50
  destroy:
50
- success: Debate deleted successfully.
51
+ success: Debate successfully deleted.
51
52
  edit:
52
53
  title: Edit debate
53
54
  update: Update debate
@@ -57,8 +58,8 @@ en:
57
58
  create: Create debate
58
59
  title: New debate
59
60
  update:
60
- invalid: There has been a problem while updating this debate.
61
- success: Debate updated successfully.
61
+ invalid: There was a problem updating this debate.
62
+ success: Debate successfully updated.
62
63
  models:
63
64
  debate:
64
65
  name: Debate
@@ -72,8 +73,8 @@ en:
72
73
  one: "%{count} debate"
73
74
  other: "%{count} debates"
74
75
  create:
75
- invalid: There has been a problem while creating the debate.
76
- success: Debate created successfully.
76
+ invalid: There was a problem creating the debate.
77
+ success: Debate successfully created.
77
78
  debate:
78
79
  participate: Participate
79
80
  filters:
@@ -127,7 +128,7 @@ en:
127
128
  email_subject: New debate "%{resource_title}" by %{author_nickname}
128
129
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> created the <a href="%{resource_path}">%{resource_title}</a> debate.
129
130
  creation_disabled:
130
- email_intro: 'Debate creation is no longer active in %{participatory_space_title}. You can still participate in opened debates from this page:'
131
+ email_intro: 'Debate creation is no longer active in %{participatory_space_title}. You can still participate in open debates from this page:'
131
132
  email_outro: You have received this notification because you are following %{participatory_space_title}. You can stop receiving notifications following the previous link.
132
133
  email_subject: Debate creation disabled in %{participatory_space_title}
133
134
  notification_title: Debate creation is now disabled in <a href="%{participatory_space_url}">%{participatory_space_title}</a>
@@ -140,13 +141,13 @@ en:
140
141
  badges:
141
142
  commented_debates:
142
143
  conditions:
143
- - Choose an open debate to take part in
144
+ - Choose an open debate to take part in
144
145
  description: This badge is granted when you actively participate in the different debates by leaving your comments.
145
- description_another: This user has participated in %{score} debates.
146
+ description_another: This participant has taken part in %{score} debates.
146
147
  description_own: You have participated in %{score} debates.
147
148
  name: Debates
148
149
  next_level_in: Participate in %{score} more debates to reach the next level!
149
- unearned_another: This user hasn't participated in any debate yet.
150
+ unearned_another: This participant has not yet taken part in any debate.
150
151
  unearned_own: You haven't participated in any debates yet.
151
152
  metrics:
152
153
  debates:
@@ -33,7 +33,7 @@ es:
33
33
  step:
34
34
  announcement: Anuncio
35
35
  comments_blocked: Comentarios bloqueados
36
- creation_enabled: Habilitar la creación de debates por los usuarios
36
+ creation_enabled: Creación de debates por parte de las participantes habilitada
37
37
  debates:
38
38
  actions:
39
39
  confirm_destroy: '¿Seguro que quieres borrar el debate?'
@@ -44,10 +44,10 @@ es:
44
44
  admin:
45
45
  debates:
46
46
  create:
47
- invalid: Ha habido un problema al crear el debate.
48
- success: Debate creado con éxito.
47
+ invalid: Se ha producido un error al crear el debate.
48
+ success: Debate creado correctamente.
49
49
  destroy:
50
- success: El debate se borró con éxito.
50
+ success: Debate eliminado correctamente.
51
51
  edit:
52
52
  title: Editar debate
53
53
  update: Actualizar debate
@@ -57,8 +57,8 @@ es:
57
57
  create: Crear debate
58
58
  title: Nuevo debate
59
59
  update:
60
- invalid: Ha habido un problema al actualizar este debate.
61
- success: Debate actualizado con éxito.
60
+ invalid: Se ha producido un error al actualizar este debate.
61
+ success: Debate actualizado correctamente.
62
62
  models:
63
63
  debate:
64
64
  name: Debate
@@ -72,8 +72,8 @@ es:
72
72
  one: "%{count} debate"
73
73
  other: "%{count} debates"
74
74
  create:
75
- invalid: Ha habido un problema al crear el debate.
76
- success: Debate creado con éxito.
75
+ invalid: Se ha producido un error al crear el debate.
76
+ success: Debate creado correctamente.
77
77
  debate:
78
78
  participate: Participar
79
79
  filters:
@@ -127,7 +127,7 @@ es:
127
127
  email_subject: Nuevo debate "%{resource_title}" de %{author_nickname}
128
128
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> creó el debate <a href="%{resource_path}">%{resource_title}</a>.
129
129
  creation_disabled:
130
- email_intro: 'La creación de debate ya no está activa en %{participatory_space_title}. Aún puede participar en debates abiertos desde esta página:'
130
+ 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:'
131
131
  email_outro: Has recibido esta notificación porque estás siguiendo %{participatory_space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
132
132
  email_subject: Ya no se pueden crear debates en %{participatory_space_title}
133
133
  notification_title: La creación de debates ahora está deshabilitada en <a href="%{participatory_space_url}">%{participatory_space_title}</a>
@@ -142,11 +142,11 @@ es:
142
142
  conditions:
143
143
  - Elige un debate abierto para participar
144
144
  description: Este distintivo se otorga cuando participes activamente en los diferentes debates dejando tus comentarios.
145
- description_another: Este usuario ha participado en %{score} debates.
145
+ description_another: Esta participante ha tomado parte en %{score} debates.
146
146
  description_own: Has participado en %{score} debates.
147
147
  name: Debates
148
148
  next_level_in: '¡Participa en %{score} debates más para alcanzar el siguiente nivel!'
149
- unearned_another: Este usuario aún no ha participado en ningún debate.
149
+ unearned_another: Esta participante aún no ha tomado parte en ningún debate.
150
150
  unearned_own: Aún no has participado en ningún debate.
151
151
  metrics:
152
152
  debates:
@@ -0,0 +1,155 @@
1
+ fi-pl:
2
+ activemodel:
3
+ attributes:
4
+ debate:
5
+ category_id: Aihepiiri
6
+ decidim_category_id: Aihepiiri
7
+ description: Kuvaus
8
+ end_time: Päättymisaika
9
+ information_updates: Tietojen päivitykset
10
+ instructions: Osallistumisohjeet
11
+ start_time: Alkamisaika
12
+ title: Otsikko
13
+ user_group_id: Luo keskustelu käyttäjänä
14
+ models:
15
+ decidim/debates/create_debate_event: Keskustelu
16
+ decidim/debates/creation_disabled_event: Keskustelut poistettu käytöstä
17
+ decidim/debates/creation_enabled_event: Keskustelut käytössä
18
+ activerecord:
19
+ models:
20
+ decidim/debates/debate:
21
+ one: Keskustelu
22
+ other: Keskustelut
23
+ decidim:
24
+ components:
25
+ debates:
26
+ actions:
27
+ create: Luo
28
+ name: Keskustelut
29
+ settings:
30
+ global:
31
+ announcement: Ilmoitus
32
+ comments_enabled: Kommentointi käytössä
33
+ step:
34
+ announcement: Ilmoitus
35
+ comments_blocked: Kommentointi estetty
36
+ creation_enabled: Keskustelujen luominen käyttäjien toimesta sallittu
37
+ debates:
38
+ actions:
39
+ confirm_destroy: Oletko varma?
40
+ destroy: Poista
41
+ edit: Muokkaa
42
+ new: Uusi %{name}
43
+ title: Toiminnot
44
+ admin:
45
+ debates:
46
+ create:
47
+ invalid: Keskustelua luotaessa tapahtui virhe.
48
+ success: Keskustelu luotu onnistuneesti.
49
+ destroy:
50
+ success: Keskustelu poistettu onnistuneesti.
51
+ edit:
52
+ title: Muokkaa keskustelua
53
+ update: Päivitä keskustelu
54
+ index:
55
+ title: Keskustelut
56
+ new:
57
+ create: Luo keskustelu
58
+ title: Uusi keskustelu
59
+ update:
60
+ invalid: Keskustelun päivittämisessä tapahtui virhe.
61
+ success: Keskustelu päivitetty onnistuneesti.
62
+ models:
63
+ debate:
64
+ name: Keskustelu
65
+ admin_log:
66
+ debate:
67
+ create: "%{user_name} loi keskustelun %{resource_name} tilaan %{space_name}"
68
+ update: "%{user_name} päivitti keskustelun %{resource_name} tilassa %{space_name}"
69
+ debates:
70
+ count:
71
+ debates_count:
72
+ one: "%{count} keskustelu"
73
+ other: "%{count} keskustelua"
74
+ create:
75
+ invalid: Luotaessa keskustelua tapahtui virhe.
76
+ success: Keskustelu luotu onnistuneesti.
77
+ debate:
78
+ participate: Osallistu
79
+ filters:
80
+ all: Kaikki
81
+ category: Aihepiiri
82
+ category_prompt: Valitse aihepiiri
83
+ citizens: Kansalaiset
84
+ official: Virallinen
85
+ origin: Alkuperä
86
+ search: Hae
87
+ filters_small_view:
88
+ close_modal: Sulje ikkuna
89
+ filter: Suodata
90
+ filter_by: Suodata
91
+ unfold: Avaa
92
+ index:
93
+ new_debate: Uusi keskustelu
94
+ new:
95
+ back: Takaisin
96
+ create: Luo
97
+ select_a_category: Valitse aihepiiri
98
+ title: Uusi keskustelu
99
+ share:
100
+ close_window: Sulje ikkuna
101
+ share: Jaa
102
+ share_link: Jaa linkki
103
+ last_activity:
104
+ new_debate_at_html: "<span>Uusi keskustelu osoitteessa %{link}</span>"
105
+ models:
106
+ debate:
107
+ fields:
108
+ end_time: Päättymispäivä
109
+ official_debate: Virallinen keskustelu
110
+ start_time: Alkamispäivä
111
+ title: Otsikko
112
+ events:
113
+ debates:
114
+ create_debate_event:
115
+ space_followers:
116
+ email_intro: |-
117
+ Hei,
118
+ osallisuustilaan %{space_title} on luotu uusi keskustelu "%{resource_title}", tutustu siihen ja osallistu:
119
+ email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta %{space_title}. Voit lopettaa ilmoitusten vastaanottamisen edellä esitetyn linkin kautta.
120
+ email_subject: Uusi keskustelu "%{resource_title}" tilassa %{space_title}
121
+ notification_title: Keskustelu aiheesta <a href="%{resource_path}">%{resource_title}</a> luotiin kohtaan <a href="%{space_path}">%{space_title}</a>.
122
+ user_followers:
123
+ email_intro: |-
124
+ Hei,
125
+ %{author_name} %{author_nickname}, jota seuraat, on luonut uuden keskustelun "%{resource_title}". Tutustu siihen ja osallistu:
126
+ email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat käyttäjää %{author_nickname}. Voit lopettaa ilmoitusten vastaanottamisen edellä esitetyn linkin kautta.
127
+ email_subject: Uusi keskustelu "%{resource_title}" käyttäjältä %{author_nickname}
128
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> loi keskustelun <a href="%{resource_path}">%{resource_title}</a>.
129
+ creation_disabled:
130
+ email_intro: 'Keskustelujen luominen ei ole enää käytössä kohteessa %{participatory_space_title}. Voit silti osallistua avattuihin keskusteluihin tämän sivun kautta:'
131
+ email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta %{participatory_space_title}. Voit lopettaa ilmoitusten vastaanottamisen edellä esitetyn linkin kautta.
132
+ email_subject: Keskustelujen luominen on poistettu käytöstä kohteessa %{participatory_space_title}
133
+ notification_title: Keskustelujen luominen on nyt poistettu käytöstä kohteessa <a href="%{participatory_space_url}">%{participatory_space_title}</a>
134
+ creation_enabled:
135
+ email_intro: 'Nyt voit aloittaa uusia keskusteluja kohteessa %{participatory_space_title}! Aloita osallistuminen tällä sivulla:'
136
+ email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat %{participatory_space_title}. Voit lopettaa ilmoitusten vastaanottamisen edellä esitetyn linkin kautta.
137
+ email_subject: Keskusteluja nyt käyettävissä kohdassa %{participatory_space_title}
138
+ notification_title: Voit nyt aloittaa <a href="%{resource_path}">uusia keskusteluja</a> kohteessa <a href="%{participatory_space_url}">%{participatory_space_title}</a>
139
+ gamification:
140
+ badges:
141
+ commented_debates:
142
+ conditions:
143
+ - Valitse avoin keskustelu ja osallistu siihen
144
+ description: Tämä kunniamerkki myönnetään, kun osallistut aktiivisesti eri keskusteluihin.
145
+ description_another: Tämä käyttäjä on osallistunut %{score} keskusteluun.
146
+ description_own: Olet osallistunut %{score} keskusteluun.
147
+ name: Keskustelut
148
+ next_level_in: Osallistu vielä %{score} keskusteluun päästäksesi seuraavalle tasolle!
149
+ unearned_another: Tämä käyttäjä ei ole vielä osallistunut yhteenkään keskusteluun.
150
+ unearned_own: Et ole vielä osallistunut yhteenkään keskusteluun.
151
+ metrics:
152
+ debates:
153
+ description: Keskustelujen määrä
154
+ object: keskustelut
155
+ title: Keskustelut
@@ -33,7 +33,7 @@ fi:
33
33
  step:
34
34
  announcement: Ilmoitus
35
35
  comments_blocked: Kommentointi estetty
36
- creation_enabled: Keskustelujen luominen käyttäjien toimesta sallittu
36
+ creation_enabled: Keskustelujen luominen käyttäjien toimesta käytössä
37
37
  debates:
38
38
  actions:
39
39
  confirm_destroy: Oletko varma?
@@ -44,10 +44,10 @@ fi:
44
44
  admin:
45
45
  debates:
46
46
  create:
47
- invalid: Keskustelua luotaessa tapahtui virhe.
48
- success: Keskustelu luotu onnistuneesti.
47
+ invalid: Keskustelun luonti epäonnistui.
48
+ success: Keskustelun luonti onnistui.
49
49
  destroy:
50
- success: Keskustelu poistettu onnistuneesti.
50
+ success: Keskustelun poisto onnistui.
51
51
  edit:
52
52
  title: Muokkaa keskustelua
53
53
  update: Päivitä keskustelu
@@ -57,8 +57,8 @@ fi:
57
57
  create: Luo keskustelu
58
58
  title: Uusi keskustelu
59
59
  update:
60
- invalid: Keskustelun päivittämisessä tapahtui virhe.
61
- success: Keskustelu päivitetty onnistuneesti.
60
+ invalid: Keskustelun päivitys epäonnistui.
61
+ success: Keskustelun päivitys onnistui.
62
62
  models:
63
63
  debate:
64
64
  name: Keskustelu
@@ -72,8 +72,8 @@ fi:
72
72
  one: "%{count} keskustelu"
73
73
  other: "%{count} keskustelua"
74
74
  create:
75
- invalid: Luotaessa keskustelua tapahtui virhe.
76
- success: Keskustelu luotu onnistuneesti.
75
+ invalid: Keskustelun luonti epäonnistui.
76
+ success: Keskustelun luonti onnistui.
77
77
  debate:
78
78
  participate: Osallistu
79
79
  filters:
@@ -32,6 +32,7 @@ id:
32
32
  step:
33
33
  announcement: Pengumuman
34
34
  comments_blocked: Komentar diblokir
35
+ creation_enabled: Pembuatan debat oleh peserta diaktifkan
35
36
  debates:
36
37
  actions:
37
38
  confirm_destroy: Apakah kamu yakin
@@ -41,6 +42,11 @@ id:
41
42
  title: Tindakan
42
43
  admin:
43
44
  debates:
45
+ create:
46
+ invalid: Terjadi masalah saat membuat debat.
47
+ success: Debat berhasil dibuat.
48
+ destroy:
49
+ success: Debat berhasil dihapus.
44
50
  edit:
45
51
  title: Edit debat
46
52
  update: Perbarui debat
@@ -49,6 +55,9 @@ id:
49
55
  new:
50
56
  create: Buat debat
51
57
  title: Debat baru
58
+ update:
59
+ invalid: Ada masalah saat memperbarui debat ini.
60
+ success: Debat berhasil diperbarui.
52
61
  models:
53
62
  debate:
54
63
  name: Perdebatan
@@ -60,6 +69,9 @@ id:
60
69
  count:
61
70
  debates_count:
62
71
  other: "%{count} debat"
72
+ create:
73
+ invalid: Terjadi masalah saat membuat debat.
74
+ success: Debat berhasil dibuat.
63
75
  debate:
64
76
  participate: Ikut
65
77
  filters:
@@ -113,6 +125,7 @@ id:
113
125
  email_subject: Perdebatan baru "%{resource_title}" oleh %{author_nickname}
114
126
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> menciptakan debat <a href="%{resource_path}">%{resource_title}</a>.
115
127
  creation_disabled:
128
+ email_intro: 'Pembuatan debat tidak lagi aktif dalam %{participatory_space_title}. Anda masih dapat berpartisipasi dalam debat terbuka dari halaman ini:'
116
129
  email_outro: Anda telah menerima pemberitahuan ini karena Anda mengikuti %{participatory_space_title}. Anda dapat berhenti menerima pemberitahuan setelah tautan sebelumnya.
117
130
  email_subject: Pembuatan debat dinonaktifkan pada %{participatory_space_title}
118
131
  notification_title: Pembuatan debat sekarang dinonaktifkan di <a href="%{participatory_space_url}">%{participatory_space_title}</a>
@@ -127,9 +140,11 @@ id:
127
140
  conditions:
128
141
  - Pilih debat terbuka untuk ikut serta
129
142
  description: Lencana ini diberikan ketika Anda berpartisipasi aktif dalam berbagai debat dengan meninggalkan komentar Anda.
143
+ description_another: Peserta ini telah mengambil bagian dalam %{score} debat.
130
144
  description_own: Anda telah berpartisipasi dalam %{score} debat.
131
145
  name: Debat
132
146
  next_level_in: Berpartisipasi dalam %{score} debat lagi untuk mencapai level selanjutnya!
147
+ unearned_another: Peserta ini belum ikut serta dalam debat apa pun.
133
148
  unearned_own: Anda belum berpartisipasi dalam debat apa pun.
134
149
  metrics:
135
150
  debates:
@@ -33,7 +33,7 @@ tr:
33
33
  step:
34
34
  announcement: duyuru
35
35
  comments_blocked: Yorumlar engellendi
36
- creation_enabled: "Etkin kullanıcılar tarafından tartışma oluştur\n"
36
+ creation_enabled: Katılımcılar tarafından tartışma yaratıldı etkin
37
37
  debates:
38
38
  actions:
39
39
  confirm_destroy: Emin misiniz?
@@ -44,7 +44,7 @@ tr:
44
44
  admin:
45
45
  debates:
46
46
  create:
47
- invalid: Tartışma oluşturulurken bir sorun oluştu.
47
+ invalid: Tartışmayı oluştururken bir sorun oluştu.
48
48
  success: Tartışma başarıyla oluşturuldu.
49
49
  destroy:
50
50
  success: Tartışma başarıyla silindi.
@@ -72,7 +72,7 @@ tr:
72
72
  one: "%{count} tartışma"
73
73
  other: "%{count} tartışmalar"
74
74
  create:
75
- invalid: Tartışma oluşturulurken bir sorun oluştu.
75
+ invalid: Tartışmayı oluştururken bir sorun oluştu.
76
76
  success: Tartışma başarıyla oluşturuldu.
77
77
  debate:
78
78
  participate: Katıl
@@ -127,7 +127,7 @@ tr:
127
127
  email_subject: Yeni tartışma "%{resource_title}" ile %{author_nickname}
128
128
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> <a href="%{resource_path}">%{resource_title}</a> tartışmasını yarattı.
129
129
  creation_disabled:
130
- email_intro: 'Tartışma oluşturma %{participatory_space_title} artık etkin değil. Bu sayfadan açılan tartışmalara hala katılabilirsiniz:'
130
+ email_intro: 'Tartışma oluşturma artık %{participatory_space_title}etkin değil. Bu sayfadaki açık tartışmalara hala katılabilirsiniz:'
131
131
  email_outro: '%{participatory_space_title}takip ettiğiniz için bu bildirimi aldınız. Önceki bağlantıyı takip ederek bildirim almayı durdurabilirsiniz.'
132
132
  email_subject: Tartışma oluşturma %{participatory_space_title}devre dışı
133
133
  notification_title: Tartışma oluşturma şimdi <a href="%{participatory_space_url}">%{participatory_space_title}</a>devre dışı bırakıldı
@@ -142,11 +142,11 @@ tr:
142
142
  conditions:
143
143
  - Katılmak için açık bir tartışma seçin
144
144
  description: Bu rozet, yorumlarınızı bırakarak farklı tartışmalara aktif olarak katıldığınızda verilir.
145
- description_another: Bu kullanıcı %{score} tartışmaya katıldı.
145
+ description_another: Bu katılımcı %{score} tartışmada yer aldı.
146
146
  description_own: '%{score} tartışmaya katıldınız.'
147
147
  name: Tartışmalar
148
148
  next_level_in: Bir sonraki seviyeye ulaşmak için %{score} tartışmaya katılın!
149
- unearned_another: Bu kullanıcı henüz herhangi bir tartışmaya katılmadı.
149
+ unearned_another: Bu katılımcı henüz bir tartışmada yer almadı.
150
150
  unearned_own: Henüz herhangi bir tartışmaya katılamadınız.
151
151
  metrics:
152
152
  debates:
@@ -26,7 +26,7 @@ Decidim.register_component(:debates) do |component|
26
26
  end
27
27
 
28
28
  component.register_stat :debates_count, primary: true, priority: Decidim::StatsRegistry::HIGH_PRIORITY do |components, _start_at, _end_at|
29
- Decidim::Debates::Debate.where(component: components).count
29
+ Decidim::Debates::Debate.where(component: components).not_hidden.count
30
30
  end
31
31
 
32
32
  component.register_resource(:debate) do |resource|
@@ -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.16.1"
7
+ "0.17.0"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-debates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.1
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -19,28 +19,28 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.16.1
22
+ version: 0.17.0
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.16.1
29
+ version: 0.17.0
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.16.1
36
+ version: 0.17.0
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.16.1
43
+ version: 0.17.0
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: kaminari
46
46
  requirement: !ruby/object:Gem::Requirement
@@ -75,28 +75,28 @@ dependencies:
75
75
  requirements:
76
76
  - - '='
77
77
  - !ruby/object:Gem::Version
78
- version: 0.16.1
78
+ version: 0.17.0
79
79
  type: :development
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - '='
84
84
  - !ruby/object:Gem::Version
85
- version: 0.16.1
85
+ version: 0.17.0
86
86
  - !ruby/object:Gem::Dependency
87
87
  name: decidim-dev
88
88
  requirement: !ruby/object:Gem::Requirement
89
89
  requirements:
90
90
  - - '='
91
91
  - !ruby/object:Gem::Version
92
- version: 0.16.1
92
+ version: 0.17.0
93
93
  type: :development
94
94
  prerelease: false
95
95
  version_requirements: !ruby/object:Gem::Requirement
96
96
  requirements:
97
97
  - - '='
98
98
  - !ruby/object:Gem::Version
99
- version: 0.16.1
99
+ version: 0.17.0
100
100
  description: A debates component for decidim's participatory spaces.
101
101
  email:
102
102
  - josepjaume@gmail.com
@@ -164,6 +164,7 @@ files:
164
164
  - config/locales/ar-SA.yml
165
165
  - config/locales/ca.yml
166
166
  - config/locales/cs-CZ.yml
167
+ - config/locales/cs.yml
167
168
  - config/locales/de.yml
168
169
  - config/locales/en.yml
169
170
  - config/locales/es-MX.yml
@@ -171,6 +172,7 @@ files:
171
172
  - config/locales/es.yml
172
173
  - config/locales/eu.yml
173
174
  - config/locales/fi-pl.yml
175
+ - config/locales/fi-plain.yml
174
176
  - config/locales/fi.yml
175
177
  - config/locales/fr.yml
176
178
  - config/locales/gl.yml
@@ -213,7 +215,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
213
215
  requirements:
214
216
  - - ">="
215
217
  - !ruby/object:Gem::Version
216
- version: '2.3'
218
+ version: '2.5'
217
219
  required_rubygems_version: !ruby/object:Gem::Requirement
218
220
  requirements:
219
221
  - - ">="