decidim-debates 0.16.0 → 0.16.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52fde887956417e27738c9e0afda413a8a8df60d9acd814465c2cb82dd0c8810
4
- data.tar.gz: d91f822c8d82a32d14ba2fe19b4f3508f6e43e9e5b6fc0619dc52deaa9b0e929
3
+ metadata.gz: 6620c03f8c097ef1f40841ea61b9857ac0ec2ce1f306c05b09664edcc8b95717
4
+ data.tar.gz: a41764330fa2591b36bf395e5386b5c138300208b010a94faf20d768b08f3b78
5
5
  SHA512:
6
- metadata.gz: '0598a3885d95c044b24882f58026dc4b014a9c06755828875d169cc9b14af4f2e36c8281c1a9a2c859202418646215c8e96c9413d912af40b14bc39e9f240b60'
7
- data.tar.gz: 4d6f533ed81eeb91457af04b419f98a76e690b51cd5fe072ea03788006de31ae1f9452f67005103147be4692baca6a7846d784dd45168b7fe785bd7bd08ea470
6
+ metadata.gz: 319c38f16a2f9f48066246127d4c604a3712c0d7b2300ad11b141e74f9419fa5549a38cc11855df02b8c4e4cd5cc0969aa8913b5d5ff63926c7d22cdc474afcd
7
+ data.tar.gz: 39f8f628c6028c26dcc6a396e9f3e2bbfab6fc1cb9debdf056a2dcfb4e49779f8d2761c84b7354c8001c857ef773f7aca3a1bea8b7746da6aa2b54805fa0c7f9
@@ -0,0 +1,8 @@
1
+ <div class="card__icondata">
2
+ <ul class="card-data">
3
+ <li class="card-data__item">
4
+ <%= icon "datetime", class: "icon--big" %>
5
+ </li>
6
+ <%= debate_date %>
7
+ </ul>
8
+ </div>
@@ -0,0 +1,17 @@
1
+ <li class="card-data__item">
2
+ <div class="card-data__item--multiple">
3
+ <div>
4
+ <strong>
5
+ <%= l start_date, format: :decidim_with_month_name %>
6
+ </strong>
7
+ <%= formatted_start_time %>
8
+ </div>
9
+ <%= icon "arrow-thin-right", class: "icon--big muted" %>
10
+ <div>
11
+ <strong>
12
+ <%= l end_date, format: :decidim_with_month_name %>
13
+ </strong>
14
+ <%= formatted_end_time %>
15
+ </div>
16
+ </div>
17
+ </li>
@@ -0,0 +1,9 @@
1
+ <li class="card-data__item">
2
+ <div>
3
+ <strong>
4
+ <%= l start_date, format: :decidim_with_month_name %>
5
+ </strong>
6
+ &nbsp;·&nbsp;
7
+ <%= formatted_start_time %> - <%= formatted_end_time %>
8
+ </div>
9
+ </li>
@@ -7,6 +7,10 @@ module Decidim
7
7
  class DebateMCell < Decidim::CardMCell
8
8
  include DebateCellsHelper
9
9
 
10
+ def date
11
+ render
12
+ end
13
+
10
14
  private
11
15
 
12
16
  def resource_icon
@@ -18,6 +22,7 @@ module Decidim
18
22
  end
19
23
 
20
24
  def debate_date
25
+ return unless start_date && end_date
21
26
  return render(:multiple_dates) if spans_multiple_dates?
22
27
  render(:single_date)
23
28
  end
@@ -31,10 +36,12 @@ module Decidim
31
36
  end
32
37
 
33
38
  def start_date
39
+ return unless model.start_time
34
40
  model.start_time.to_date
35
41
  end
36
42
 
37
43
  def end_date
44
+ return unless model.end_time
38
45
  model.end_time.to_date
39
46
  end
40
47
  end
@@ -32,6 +32,16 @@ module Decidim
32
32
  query
33
33
  end
34
34
  end
35
+
36
+ def search_order_start_time
37
+ if order_start_time == "asc"
38
+ query.order("start_time ASC")
39
+ elsif order_start_time == "desc"
40
+ query.order("start_time DESC")
41
+ else
42
+ query.order("start_time ASC")
43
+ end
44
+ end
35
45
  end
36
46
  end
37
47
  end
@@ -42,10 +42,10 @@ edit_link(
42
42
  </div>
43
43
  <div class="columns mediumlarge-8 mediumlarge-pull-4">
44
44
  <div class="section">
45
- <p><%= simple_format(translated_attribute(debate.description)) %></p>
45
+ <p><%= decidim_sanitize(simple_format(translated_attribute(debate.description))) %></p>
46
46
  <% if translated_attribute(debate.instructions).present? %>
47
47
  <div class="callout secondary">
48
- <%= simple_format(translated_attribute(debate.instructions)) %>
48
+ <%= decidim_sanitize(simple_format(translated_attribute(debate.instructions))) %>
49
49
  </div>
50
50
  <% end %>
51
51
  <% if translated_attribute(debate.information_updates).present? %>
@@ -0,0 +1,148 @@
1
+ ar:
2
+ activemodel:
3
+ attributes:
4
+ debate:
5
+ category_id: الفئة
6
+ decidim_category_id: الفئة
7
+ description: وصف
8
+ end_time: ينتهي عند
9
+ information_updates: تحديثات المعلومات
10
+ instructions: تعليمات للمشاركة
11
+ start_time: يبدأ عند
12
+ title: عنوان
13
+ user_group_id: خلق النقاش كما
14
+ models:
15
+ decidim/debates/create_debate_event: النقاش
16
+ decidim/debates/creation_disabled_event: تم تعطيل المناقشات
17
+ decidim/debates/creation_enabled_event: تم تمكين المناقشات
18
+ activerecord:
19
+ models:
20
+ decidim/debates/debate:
21
+ zero: المناقشات
22
+ one: النقاش
23
+ two: المناقشات
24
+ few: المناقشات
25
+ many: المناقشات
26
+ other: المناقشات
27
+ decidim:
28
+ components:
29
+ debates:
30
+ actions:
31
+ create: خلق
32
+ name: المناقشات
33
+ settings:
34
+ global:
35
+ announcement: إعلان
36
+ comments_enabled: تم تمكين التعليقات
37
+ step:
38
+ announcement: إعلان
39
+ comments_blocked: تم حظر التعليقات
40
+ debates:
41
+ actions:
42
+ confirm_destroy: هل أنت واثق؟
43
+ destroy: حذف
44
+ edit: تصحيح
45
+ new: جديد %{name}
46
+ title: أفعال
47
+ admin:
48
+ debates:
49
+ edit:
50
+ title: تحرير النقاش
51
+ update: تحديث النقاش
52
+ index:
53
+ title: المناقشات
54
+ new:
55
+ create: خلق النقاش
56
+ title: نقاش جديد
57
+ models:
58
+ debate:
59
+ name: النقاش
60
+ admin_log:
61
+ debate:
62
+ create: "%{user_name} خلق النقاش %{resource_name} على الفضاء %{space_name}"
63
+ update: "%{user_name} تحديث المناقشة %{resource_name} على %{space_name} الفضاء"
64
+ debates:
65
+ count:
66
+ debates_count:
67
+ zero: "%{count} النقاشات"
68
+ one: "%{count} النقاش"
69
+ two: "%{count} النقاشات"
70
+ few: "%{count} النقاشات"
71
+ many: "%{count} النقاشات"
72
+ other: "%{count} النقاشات"
73
+ debate:
74
+ participate: مشاركة
75
+ filters:
76
+ all: الكل
77
+ category: الفئة
78
+ category_prompt: اختر تصنيف
79
+ citizens: المواطنين
80
+ official: الرسمية
81
+ origin: الأصل
82
+ search: بحث
83
+ filters_small_view:
84
+ close_modal: إغلاق مشروط
85
+ filter: منقي
86
+ filter_by: مصنف بواسطة
87
+ unfold: كشف
88
+ index:
89
+ new_debate: نقاش جديد
90
+ new:
91
+ back: الى الخلف
92
+ create: خلق
93
+ select_a_category: الرجاء تحديد الفئة
94
+ title: نقاش جديد
95
+ share:
96
+ close_window: أغلق النافذة
97
+ share: شارك
98
+ share_link: مشاركة الرابط
99
+ last_activity:
100
+ new_debate_at_html: "<span>مناقشة جديدة في %{link}</span>"
101
+ models:
102
+ debate:
103
+ fields:
104
+ end_time: تاريخ الانتهاء
105
+ official_debate: النقاش الرسمي
106
+ start_time: تاريخ البدء
107
+ title: عنوان
108
+ events:
109
+ debates:
110
+ create_debate_event:
111
+ space_followers:
112
+ email_intro: |-
113
+ مرحبا،
114
+ نقاش الجديدة "%{resource_title}" تم إنشاؤها على %{space_title} مساحة المشاركة، والتحقق من ذلك والمساهمة:
115
+ email_outro: لقد تلقيت هذا الإشعار لأنك تتابع مساحة المشاركة %{space_title} . يمكنك إيقاف تلقي الإخطارات باتباع الرابط السابق.
116
+ email_subject: مناقشة جديدة "%{resource_title}" في %{space_title}
117
+ notification_title: تم إنشاء المناقشة <a href="%{resource_path}">%{resource_title}</a> في <a href="%{space_path}">%{space_title}</a>.
118
+ user_followers:
119
+ email_intro: |-
120
+ مرحبًا ،
121
+ %{author_name} %{author_nickname}، الذي تتابعه ، أنشأ نقاشًا جديدًا "%{resource_title}". التحقق من ذلك والمساهمة:
122
+ email_outro: لقد تلقيت هذا الإشعار لأنك تتابع %{author_nickname}. يمكنك إيقاف تلقي الإخطارات باتباع الرابط السابق.
123
+ email_subject: نقاش جديد "%{resource_title}" بنسبة %{author_nickname}
124
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> أنشأ النقاش <a href="%{resource_path}">%{resource_title}</a>.
125
+ creation_disabled:
126
+ email_outro: لقد تلقيت هذا الإشعار لأنك تتابع %{participatory_space_title}. يمكنك إيقاف تلقي الإخطارات باتباع الرابط السابق.
127
+ email_subject: تم تعطيل إنشاء المناقشة في %{participatory_space_title}
128
+ notification_title: تم إنشاء إنشاء النقاش الآن في <a href="%{participatory_space_url}">%{participatory_space_title}</a>
129
+ creation_enabled:
130
+ email_intro: 'يمكنك الآن بدء مناقشات جديدة في %{participatory_space_title}! ابدأ المشاركة في هذه الصفحة:'
131
+ email_outro: لقد تلقيت هذا الإشعار لأنك تتابع %{participatory_space_title}. يمكنك إيقاف تلقي الإخطارات باتباع الرابط السابق.
132
+ email_subject: المناقشات المتاحة الآن في %{participatory_space_title}
133
+ notification_title: يمكنك الآن بدء <a href="%{resource_path}">مناقشات جديدة</a> في <a href="%{participatory_space_url}">%{participatory_space_title}</a>
134
+ gamification:
135
+ badges:
136
+ commented_debates:
137
+ conditions:
138
+ - اختر نقاشًا مفتوحًا للمشاركة فيه
139
+ description: تُمنح هذه الشارة عندما تشارك بنشاط في المناقشات المختلفة من خلال ترك تعليقاتك.
140
+ description_own: لقد شاركت في %{score} مناقشات.
141
+ name: المناقشات
142
+ next_level_in: شارك في %{score} مناقشات أخرى للوصول إلى المستوى التالي!
143
+ unearned_own: لم تشارك في أي مناقشات حتى الآن.
144
+ metrics:
145
+ debates:
146
+ description: عدد المناقشات التي تم إنشاؤها
147
+ object: المناقشات
148
+ title: المناقشات
@@ -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í diskusí u aktivovaných uživatelů
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: Debata 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 uživatel se dosud nezúčastnil žádné debaty.
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
@@ -0,0 +1,155 @@
1
+ es-MX:
2
+ activemodel:
3
+ attributes:
4
+ debate:
5
+ category_id: Categoría
6
+ decidim_category_id: Categoría
7
+ description: Descripción
8
+ end_time: Fecha de fin
9
+ information_updates: Actualizaciones de información
10
+ instructions: Instrucciones para participar
11
+ start_time: Fecha de inicio
12
+ title: Título
13
+ user_group_id: Crear debate como
14
+ models:
15
+ decidim/debates/create_debate_event: Debate
16
+ decidim/debates/creation_disabled_event: Debates deshabilitados
17
+ decidim/debates/creation_enabled_event: Debates habilitados
18
+ activerecord:
19
+ models:
20
+ decidim/debates/debate:
21
+ one: Debate
22
+ other: Debates
23
+ decidim:
24
+ components:
25
+ debates:
26
+ actions:
27
+ create: Crear
28
+ name: Debates
29
+ settings:
30
+ global:
31
+ announcement: Anuncio
32
+ comments_enabled: Comentarios habilitados
33
+ step:
34
+ announcement: Anuncio
35
+ comments_blocked: Comentarios bloqueados
36
+ creation_enabled: Habilitar la creación de debates por los usuarios
37
+ debates:
38
+ actions:
39
+ confirm_destroy: '¿Seguro que quieres borrar el debate?'
40
+ destroy: Borrar
41
+ edit: Editar
42
+ new: Nuevo %{name}
43
+ title: Acciones
44
+ admin:
45
+ debates:
46
+ create:
47
+ invalid: Ha habido un problema al crear el debate.
48
+ success: Debate creado con éxito.
49
+ destroy:
50
+ success: El debate se borró con éxito.
51
+ edit:
52
+ title: Editar debate
53
+ update: Actualizar debate
54
+ index:
55
+ title: Debates
56
+ new:
57
+ create: Crear debate
58
+ title: Nuevo debate
59
+ update:
60
+ invalid: Ha habido un problema al actualizar este debate.
61
+ success: Debate actualizado con éxito.
62
+ models:
63
+ debate:
64
+ name: Debate
65
+ admin_log:
66
+ debate:
67
+ create: "%{user_name} creó el debate %{resource_name} en el espacio %{space_name}"
68
+ update: "%{user_name} actualizó el debate %{resource_name} en el espacio %{space_name}"
69
+ debates:
70
+ count:
71
+ debates_count:
72
+ one: "%{count} debate"
73
+ other: "%{count} debates"
74
+ create:
75
+ invalid: Ha habido un problema al crear el debate.
76
+ success: Debate creado con éxito.
77
+ debate:
78
+ participate: Participar
79
+ filters:
80
+ all: Todos
81
+ category: Categoría
82
+ category_prompt: Selecciona una categoría
83
+ citizens: Ciudadanía
84
+ official: Oficial
85
+ origin: Origen
86
+ search: Buscar
87
+ filters_small_view:
88
+ close_modal: Cerrar ventana
89
+ filter: Filtrar
90
+ filter_by: Filtrar por
91
+ unfold: Desplegar
92
+ index:
93
+ new_debate: Nuevo debate
94
+ new:
95
+ back: Volver
96
+ create: Crear
97
+ select_a_category: Por favor, selecciona una categoría
98
+ title: Nuevo debate
99
+ share:
100
+ close_window: Cerrar ventana
101
+ share: Compartir
102
+ share_link: Compartir enlace
103
+ last_activity:
104
+ new_debate_at_html: "<span>Nuevo debate en %{link}</span>"
105
+ models:
106
+ debate:
107
+ fields:
108
+ end_time: Fecha de finalización
109
+ official_debate: Debate oficial
110
+ start_time: Fecha de inicio
111
+ title: Título
112
+ events:
113
+ debates:
114
+ create_debate_event:
115
+ space_followers:
116
+ email_intro: |-
117
+ Hola,
118
+ Se ha creado un nuevo debate "%{resource_title}" en el espacio participativo %{space_title} , échale un vistazo y contribuye:
119
+ email_outro: Has recibido esta notificación porque estás siguiendo a %{space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
120
+ email_subject: Nuevo debate "%{resource_title}" en %{space_title}
121
+ notification_title: El debate <a href="%{resource_path}">%{resource_title}</a> fue creado el <a href="%{space_path}">%{space_title}</a>.
122
+ user_followers:
123
+ email_intro: |-
124
+ Hola,
125
+ %{author_name} %{author_nickname}, a quien estás siguiendo, ha creado un nuevo debate "%{resource_title}". Échale un vistazo y contribuye:
126
+ email_outro: Has recibido esta notificación porque estás siguiendo a %{author_nickname}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
127
+ email_subject: Nuevo debate "%{resource_title}" de %{author_nickname}
128
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> creó el debate <a href="%{resource_path}">%{resource_title}</a>.
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:'
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
+ email_subject: Ya no se pueden crear debates en %{participatory_space_title}
133
+ notification_title: La creación de debates ahora está deshabilitada en <a href="%{participatory_space_url}">%{participatory_space_title}</a>
134
+ creation_enabled:
135
+ email_intro: '¡Ahora puedes crear nuevos debates en %{participatory_space_title}! Comienza a participar en esta página:'
136
+ email_outro: Has recibido esta notificación porque estás siguiendo %{participatory_space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
137
+ email_subject: Debates ahora disponibles en %{participatory_space_title}
138
+ notification_title: Ahora puedes crear <a href="%{resource_path}">nuevos debates</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a>
139
+ gamification:
140
+ badges:
141
+ commented_debates:
142
+ conditions:
143
+ - Elige un debate abierto para participar
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.
146
+ description_own: Has participado en %{score} debates.
147
+ name: Debates
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.
150
+ unearned_own: Aún no has participado en ningún debate.
151
+ metrics:
152
+ debates:
153
+ description: Número de debates creados
154
+ object: debates
155
+ title: Debates
@@ -115,16 +115,16 @@ hu:
115
115
  space_followers:
116
116
  email_intro: |-
117
117
  Szia,
118
- Új vitát "%{resource_title}" hoztak létre a %{space_title} részvételi téren, ellenőrizzük és hozzájárulunk:
118
+ Új vitát "%{resource_title}" hoztak létre a %{space_title} részvételi téren, nézd meg és járulj hozzá:
119
119
  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.'
120
- email_subject: Új vita "%{resource_title}" %{space_title}
120
+ email_subject: Új vita "%{resource_title}" indult itt %{space_title}
121
121
  notification_title: A(z) <a href="%{resource_path}">%{resource_title}</a>vita létrejött itt:<a href="%{space_path}">%{space_title}</a>.
122
122
  user_followers:
123
123
  email_intro: |-
124
124
  Szia,
125
- %{author_name} %{author_nickname}, akit figyelsz, új vita született "%{resource_title}". Nézze meg és járuljon hozzá:
125
+ %{author_name} %{author_nickname}, akit kötvetsz, új vitát hozott létre "%{resource_title}" címmel. Nézzed meg és vegyél részt benne:
126
126
  email_outro: 'Ezt az értesítést azért kaptad, mert őt követed: "%{author_nickname}". Az értesítéseket a következő linkre kattintva kapcsolhatod ki.'
127
- email_subject: Új vita "%{resource_title}" %{author_nickname}
127
+ email_subject: Új vitát hozott létre "%{resource_title}" címmel %{author_nickname}
128
128
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> létrehozta a <a href="%{resource_path}">%{resource_title}</a> vitát.
129
129
  creation_disabled:
130
130
  email_intro: 'Vita létrehozása már nem lehetséges itt: %{participatory_space_title}. A nyitott vitákban azonban továbbra is részt vehetsz itt:'
@@ -152,4 +152,4 @@ hu:
152
152
  debates:
153
153
  description: A létrehozott viták száma
154
154
  object: viták
155
- title: viták
155
+ title: Viták
@@ -1 +1,138 @@
1
1
  id:
2
+ activemodel:
3
+ attributes:
4
+ debate:
5
+ category_id: Kategori
6
+ decidim_category_id: Kategori
7
+ description: Deskripsi
8
+ end_time: Berakhir pada
9
+ information_updates: Pembaruan informasi
10
+ instructions: Instruksi untuk berpartisipasi
11
+ start_time: Mulai dari
12
+ title: Judul
13
+ user_group_id: Buat debat sebagai
14
+ models:
15
+ decidim/debates/create_debate_event: Perdebatan
16
+ decidim/debates/creation_disabled_event: Debat dinonaktifkan
17
+ decidim/debates/creation_enabled_event: Debat diaktifkan
18
+ activerecord:
19
+ models:
20
+ decidim/debates/debate:
21
+ other: Debat
22
+ decidim:
23
+ components:
24
+ debates:
25
+ actions:
26
+ create: Membuat
27
+ name: Debat
28
+ settings:
29
+ global:
30
+ announcement: Pengumuman
31
+ comments_enabled: Komentar diaktifkan
32
+ step:
33
+ announcement: Pengumuman
34
+ comments_blocked: Komentar diblokir
35
+ debates:
36
+ actions:
37
+ confirm_destroy: Apakah kamu yakin
38
+ destroy: Menghapus
39
+ edit: Edit
40
+ new: Baru %{name}
41
+ title: Tindakan
42
+ admin:
43
+ debates:
44
+ edit:
45
+ title: Edit debat
46
+ update: Perbarui debat
47
+ index:
48
+ title: Debat
49
+ new:
50
+ create: Buat debat
51
+ title: Debat baru
52
+ models:
53
+ debate:
54
+ name: Perdebatan
55
+ admin_log:
56
+ debate:
57
+ create: "%{user_name} menciptakan debat %{resource_name} pada %{space_name} ruang"
58
+ update: "%{user_name} memperbarui perdebatan %{resource_name} pada %{space_name} ruang"
59
+ debates:
60
+ count:
61
+ debates_count:
62
+ other: "%{count} debat"
63
+ debate:
64
+ participate: Ikut
65
+ filters:
66
+ all: Semua
67
+ category: Kategori
68
+ category_prompt: Pilih Kategori
69
+ citizens: Warga
70
+ official: Resmi
71
+ origin: Asal
72
+ search: Pencarian
73
+ filters_small_view:
74
+ close_modal: Tutup modal
75
+ filter: Filter
76
+ filter_by: Saring menurut
77
+ unfold: Membuka
78
+ index:
79
+ new_debate: Debat baru
80
+ new:
81
+ back: Kembali
82
+ create: Membuat
83
+ select_a_category: Silakan pilih kategori
84
+ title: Debat baru
85
+ share:
86
+ close_window: Tutup jendela
87
+ share: Bagikan
88
+ share_link: Membagikan tautan
89
+ last_activity:
90
+ new_debate_at_html: "<span>Debat baru di %{link}</span>"
91
+ models:
92
+ debate:
93
+ fields:
94
+ end_time: Tanggal akhir
95
+ official_debate: Debat resmi
96
+ start_time: Mulai tanggal
97
+ title: Judul
98
+ events:
99
+ debates:
100
+ create_debate_event:
101
+ space_followers:
102
+ email_intro: |-
103
+ Hai,
104
+ Debat baru "%{resource_title}" telah dibuat di %{space_title} ruang partisipatif, periksa dan berkontribusi:
105
+ email_outro: Anda telah menerima pemberitahuan ini karena Anda mengikuti %{space_title} ruang partisipatif. Anda dapat berhenti menerima pemberitahuan setelah tautan sebelumnya.
106
+ email_subject: Perdebatan baru "%{resource_title}" pada %{space_title}
107
+ notification_title: Debat <a href="%{resource_path}">%{resource_title}</a> dibuat pada <a href="%{space_path}">%{space_title}</a>.
108
+ user_followers:
109
+ email_intro: |-
110
+ Hai,
111
+ %{author_name} %{author_nickname}, yang Anda ikuti, telah membuat debat baru "%{resource_title}". Lihat dan berkontribusi:
112
+ email_outro: Anda telah menerima pemberitahuan ini karena Anda mengikuti %{author_nickname}. Anda dapat berhenti menerima pemberitahuan setelah tautan sebelumnya.
113
+ email_subject: Perdebatan baru "%{resource_title}" oleh %{author_nickname}
114
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> menciptakan debat <a href="%{resource_path}">%{resource_title}</a>.
115
+ creation_disabled:
116
+ email_outro: Anda telah menerima pemberitahuan ini karena Anda mengikuti %{participatory_space_title}. Anda dapat berhenti menerima pemberitahuan setelah tautan sebelumnya.
117
+ email_subject: Pembuatan debat dinonaktifkan pada %{participatory_space_title}
118
+ notification_title: Pembuatan debat sekarang dinonaktifkan di <a href="%{participatory_space_url}">%{participatory_space_title}</a>
119
+ creation_enabled:
120
+ email_intro: 'Anda sekarang dapat memulai debat baru dalam %{participatory_space_title}! Mulai berpartisipasi di halaman ini:'
121
+ email_outro: Anda telah menerima pemberitahuan ini karena Anda mengikuti %{participatory_space_title}. Anda dapat berhenti menerima pemberitahuan setelah tautan sebelumnya.
122
+ email_subject: Debat sekarang tersedia dalam %{participatory_space_title}
123
+ notification_title: Anda sekarang dapat memulai <a href="%{resource_path}">debat baru</a> dalam <a href="%{participatory_space_url}">%{participatory_space_title}</a>
124
+ gamification:
125
+ badges:
126
+ commented_debates:
127
+ conditions:
128
+ - Pilih debat terbuka untuk ikut serta
129
+ description: Lencana ini diberikan ketika Anda berpartisipasi aktif dalam berbagai debat dengan meninggalkan komentar Anda.
130
+ description_own: Anda telah berpartisipasi dalam %{score} debat.
131
+ name: Debat
132
+ next_level_in: Berpartisipasi dalam %{score} debat lagi untuk mencapai level selanjutnya!
133
+ unearned_own: Anda belum berpartisipasi dalam debat apa pun.
134
+ metrics:
135
+ debates:
136
+ description: Jumlah perdebatan dibuat
137
+ object: debat
138
+ title: Debat
@@ -1 +1,155 @@
1
1
  tr:
2
+ activemodel:
3
+ attributes:
4
+ debate:
5
+ category_id: Kategori
6
+ decidim_category_id: Kategori
7
+ description: Açıklama
8
+ end_time: Biter
9
+ information_updates: Bilgi güncellemeleri
10
+ instructions: Katılma talimatları
11
+ start_time: Den başlar
12
+ title: Başlık
13
+ user_group_id: Olarak tartışma oluştur
14
+ models:
15
+ decidim/debates/create_debate_event: tartışma
16
+ decidim/debates/creation_disabled_event: Tartışmalar devre dışı bırakıldı
17
+ decidim/debates/creation_enabled_event: Tartışmalar etkin
18
+ activerecord:
19
+ models:
20
+ decidim/debates/debate:
21
+ one: tartışma
22
+ other: Tartışmalar
23
+ decidim:
24
+ components:
25
+ debates:
26
+ actions:
27
+ create: yaratmak
28
+ name: Tartışmalar
29
+ settings:
30
+ global:
31
+ announcement: duyuru
32
+ comments_enabled: Yorumlar etkin
33
+ step:
34
+ announcement: duyuru
35
+ comments_blocked: Yorumlar engellendi
36
+ creation_enabled: "Etkin kullanıcılar tarafından tartışma oluştur\n"
37
+ debates:
38
+ actions:
39
+ confirm_destroy: Emin misiniz?
40
+ destroy: silmek
41
+ edit: Düzenle
42
+ new: Yeni %{name}
43
+ title: Eylemler
44
+ admin:
45
+ debates:
46
+ create:
47
+ invalid: Tartışma oluşturulurken bir sorun oluştu.
48
+ success: Tartışma başarıyla oluşturuldu.
49
+ destroy:
50
+ success: Tartışma başarıyla silindi.
51
+ edit:
52
+ title: Tartışmayı düzenle
53
+ update: Tartışmayı güncelle
54
+ index:
55
+ title: Tartışmalar
56
+ new:
57
+ create: Tartışma oluştur
58
+ title: Yeni tartışma
59
+ update:
60
+ invalid: Bu tartışmayı güncellerken bir sorun oluştu.
61
+ success: Tartışma başarıyla güncellendi.
62
+ models:
63
+ debate:
64
+ name: tartışma
65
+ admin_log:
66
+ debate:
67
+ create: "%{user_name} , %{space_name} alanda %{resource_name} tartışmasını yarattı"
68
+ update: "%{user_name} , %{space_name} uzayda %{resource_name} tartışmasını güncelledi"
69
+ debates:
70
+ count:
71
+ debates_count:
72
+ one: "%{count} tartışma"
73
+ other: "%{count} tartışmalar"
74
+ create:
75
+ invalid: Tartışma oluşturulurken bir sorun oluştu.
76
+ success: Tartışma başarıyla oluşturuldu.
77
+ debate:
78
+ participate: Katıl
79
+ filters:
80
+ all: Herşey
81
+ category: Kategori
82
+ category_prompt: bir kategori seç
83
+ citizens: Vatandaşlar
84
+ official: Resmi
85
+ origin: Menşei
86
+ search: Arama
87
+ filters_small_view:
88
+ close_modal: Kalıcı modal
89
+ filter: filtre
90
+ filter_by: Tarafından filtre
91
+ unfold: açılmak
92
+ index:
93
+ new_debate: Yeni tartışma
94
+ new:
95
+ back: Geri
96
+ create: yaratmak
97
+ select_a_category: Lütfen bir kategori seçin
98
+ title: Yeni tartışma
99
+ share:
100
+ close_window: Pencereyi kapat
101
+ share: Pay
102
+ share_link: Linki paylaş
103
+ last_activity:
104
+ new_debate_at_html: "<span> %{link}</span>yeni tartışma"
105
+ models:
106
+ debate:
107
+ fields:
108
+ end_time: Bitiş tarihi
109
+ official_debate: Resmi tartışma
110
+ start_time: Başlangıç tarihi
111
+ title: Başlık
112
+ events:
113
+ debates:
114
+ create_debate_event:
115
+ space_followers:
116
+ email_intro: |-
117
+ Merhaba,
118
+ %{space_title} katılımcı alanda yeni bir "%{resource_title}" tartışması oluşturuldu, inceleyin ve katkıda bulunun:
119
+ 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.'
120
+ email_subject: '%{space_title}yeni tartışma "%{resource_title}"'
121
+ notification_title: <a href="%{resource_path}">%{resource_title}</a> tartışması <a href="%{space_path}">%{space_title}</a>oluşturuldu.
122
+ user_followers:
123
+ email_intro: |-
124
+ Merhaba,
125
+ %{author_name} %{author_nickname}, takip ettiğiniz, yeni bir "%{resource_title}" tartışması yarattı. Şuna bir bakın ve katkıda bulunun:
126
+ email_outro: '%{author_nickname}takip ettiğiniz için bu bildirimi aldınız. Önceki bağlantıyı takip ederek bildirim almayı durdurabilirsiniz.'
127
+ email_subject: Yeni tartışma "%{resource_title}" ile %{author_nickname}
128
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> <a href="%{resource_path}">%{resource_title}</a> tartışmasını yarattı.
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:'
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
+ email_subject: Tartışma oluşturma %{participatory_space_title}devre dışı
133
+ notification_title: Tartışma oluşturma şimdi <a href="%{participatory_space_url}">%{participatory_space_title}</a>devre dışı bırakıldı
134
+ creation_enabled:
135
+ email_intro: 'Artık %{participatory_space_title}yeni tartışmalara başlayabilirsiniz! Bu sayfaya katılmaya başlayın:'
136
+ email_outro: '%{participatory_space_title}takip ettiğiniz için bu bildirimi aldınız. Önceki bağlantıyı takip ederek bildirim almayı durdurabilirsiniz.'
137
+ email_subject: Şimdi tartışmalar %{participatory_space_title}
138
+ notification_title: Şimdi <a href="%{resource_path}">yeni tartışmaya başlayabilirsiniz.</a> <a href="%{participatory_space_url}">%{participatory_space_title}</a>
139
+ gamification:
140
+ badges:
141
+ commented_debates:
142
+ conditions:
143
+ - Katılmak için açık bir tartışma seçin
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ı.
146
+ description_own: '%{score} tartışmaya katıldınız.'
147
+ name: Tartışmalar
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ı.
150
+ unearned_own: Henüz herhangi bir tartışmaya katılamadınız.
151
+ metrics:
152
+ debates:
153
+ description: Oluşturulan tartışmaların sayısı
154
+ object: tartışmalar
155
+ title: Tartışmalar
@@ -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.0"
7
+ "0.16.1"
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.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-01-09 00:00:00.000000000 Z
14
+ date: 2019-03-25 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: decidim-comments
@@ -19,28 +19,28 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.16.0
22
+ version: 0.16.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.16.0
29
+ version: 0.16.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.16.0
36
+ version: 0.16.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.16.0
43
+ version: 0.16.1
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.0
78
+ version: 0.16.1
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.0
85
+ version: 0.16.1
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.0
92
+ version: 0.16.1
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.0
99
+ version: 0.16.1
100
100
  description: A debates component for decidim's participatory spaces.
101
101
  email:
102
102
  - josepjaume@gmail.com
@@ -114,7 +114,10 @@ files:
114
114
  - app/assets/images/decidim/gamification/badges/commented_debates.svg
115
115
  - app/cells/decidim/debates/debate_activity_cell.rb
116
116
  - app/cells/decidim/debates/debate_cell.rb
117
+ - app/cells/decidim/debates/debate_m/data.erb
117
118
  - app/cells/decidim/debates/debate_m/footer.erb
119
+ - app/cells/decidim/debates/debate_m/multiple_dates.erb
120
+ - app/cells/decidim/debates/debate_m/single_date.erb
118
121
  - app/cells/decidim/debates/debate_m/tags.erb
119
122
  - app/cells/decidim/debates/debate_m_cell.rb
120
123
  - app/commands/decidim/debates/admin/create_debate.rb
@@ -158,9 +161,12 @@ files:
158
161
  - app/views/decidim/debates/debates/index.js.erb
159
162
  - app/views/decidim/debates/debates/new.html.erb
160
163
  - app/views/decidim/debates/debates/show.html.erb
164
+ - config/locales/ar-SA.yml
161
165
  - config/locales/ca.yml
166
+ - config/locales/cs-CZ.yml
162
167
  - config/locales/de.yml
163
168
  - config/locales/en.yml
169
+ - config/locales/es-MX.yml
164
170
  - config/locales/es-PY.yml
165
171
  - config/locales/es.yml
166
172
  - config/locales/eu.yml