decidim-debates 0.22.0 → 0.23.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/debates/debate_activity_cell.rb +4 -0
- data/app/cells/decidim/debates/debate_m/data.erb +10 -8
- data/app/cells/decidim/debates/debate_m/footer.erb +5 -0
- data/app/cells/decidim/debates/debate_m_cell.rb +24 -2
- data/app/commands/decidim/debates/admin/close_debate.rb +54 -0
- data/app/commands/decidim/debates/admin/create_debate.rb +4 -2
- data/app/commands/decidim/debates/admin/update_debate.rb +5 -2
- data/app/commands/decidim/debates/close_debate.rb +58 -0
- data/app/commands/decidim/debates/create_debate.rb +17 -12
- data/app/commands/decidim/debates/update_debate.rb +56 -0
- data/app/controllers/decidim/debates/admin/debate_closes_controller.rb +43 -0
- data/app/controllers/decidim/debates/admin/debates_controller.rb +4 -2
- data/app/controllers/decidim/debates/debates_controller.rb +70 -9
- data/app/controllers/decidim/debates/orderable.rb +41 -0
- data/app/controllers/decidim/debates/versions_controller.rb +16 -0
- data/app/controllers/decidim/debates/widgets_controller.rb +19 -0
- data/app/events/decidim/debates/close_debate_event.rb +15 -0
- data/app/forms/decidim/debates/admin/close_debate_form.rb +34 -0
- data/app/forms/decidim/debates/admin/debate_form.rb +5 -1
- data/app/forms/decidim/debates/close_debate_form.rb +39 -0
- data/app/forms/decidim/debates/debate_form.rb +27 -1
- data/app/helpers/decidim/debates/admin/application_helper.rb +13 -0
- data/app/helpers/decidim/debates/application_helper.rb +37 -1
- data/app/models/decidim/debates/debate.rb +67 -12
- data/app/permissions/decidim/debates/admin/permissions.rb +3 -1
- data/app/permissions/decidim/debates/permissions.rb +28 -0
- data/app/presenters/decidim/debates/admin_log/debate_presenter.rb +6 -2
- data/app/presenters/decidim/debates/admin_log/value_types/debate_title_description_presenter.rb +20 -0
- data/app/presenters/decidim/debates/debate_presenter.rb +62 -7
- data/app/presenters/decidim/debates/log/resource_presenter.rb +18 -0
- data/app/presenters/decidim/debates/official_author_presenter.rb +1 -29
- data/app/services/decidim/debates/debate_search.rb +13 -23
- data/app/services/decidim/debates/diff_renderer.rb +27 -0
- data/app/views/decidim/debates/admin/debate_closes/edit.html.erb +17 -0
- data/app/views/decidim/debates/admin/debates/_form.html.erb +4 -4
- data/app/views/decidim/debates/admin/debates/index.html.erb +7 -1
- data/app/views/decidim/debates/debates/_close_debate_modal.html.erb +13 -0
- data/app/views/decidim/debates/debates/_debates.html.erb +7 -0
- data/app/views/decidim/debates/debates/_filters.html.erb +15 -13
- data/app/views/decidim/debates/debates/_form.html.erb +19 -0
- data/app/views/decidim/debates/debates/edit.html.erb +24 -0
- data/app/views/decidim/debates/debates/new.html.erb +7 -26
- data/app/views/decidim/debates/debates/show.html.erb +86 -14
- data/app/views/decidim/debates/versions/index.html.erb +8 -0
- data/app/views/decidim/debates/versions/show.html.erb +10 -0
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/ar.yml +2 -1
- data/config/locales/bg.yml +15 -0
- data/config/locales/ca.yml +70 -1
- data/config/locales/cs.yml +70 -1
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +92 -23
- data/config/locales/el.yml +2 -1
- data/config/locales/en.yml +70 -1
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +70 -1
- data/config/locales/es-PY.yml +70 -1
- data/config/locales/es.yml +70 -1
- data/config/locales/et.yml +1 -0
- data/config/locales/eu.yml +2 -1
- data/config/locales/fi-plain.yml +70 -1
- data/config/locales/fi.yml +70 -1
- data/config/locales/fr-CA.yml +70 -1
- data/config/locales/fr.yml +70 -1
- data/config/locales/gl.yml +7 -1
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +24 -1
- data/config/locales/id-ID.yml +2 -1
- data/config/locales/is-IS.yml +2 -1
- data/config/locales/is.yml +102 -0
- data/config/locales/it.yml +33 -1
- data/config/locales/ja-JP.yml +63 -20
- data/config/locales/ja.yml +221 -0
- data/config/locales/ko-KR.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lt.yml +1 -0
- data/config/locales/{lv-LV.yml → lv.yml} +0 -0
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +47 -2
- data/config/locales/no.yml +44 -1
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +58 -6
- data/config/locales/pt-BR.yml +2 -1
- data/config/locales/pt.yml +18 -1
- data/config/locales/ro-RO.yml +18 -1
- data/config/locales/ru.yml +2 -1
- data/config/locales/si-LK.yml +1 -0
- data/config/locales/sk.yml +2 -1
- data/config/locales/sl.yml +13 -1
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sv.yml +57 -1
- data/config/locales/sw-KE.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +103 -31
- data/config/locales/uk.yml +2 -1
- data/config/locales/vi-VN.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +218 -0
- data/config/locales/zh-TW.yml +1 -0
- data/db/migrate/20200703134657_close_debates.rb +9 -0
- data/db/migrate/20200708072042_fix_debates_i18n_fields.rb +48 -0
- data/db/migrate/20200716143929_add_endorsable_to_debates.rb +8 -0
- data/db/migrate/20200827154116_add_commentable_counter_cache_to_debates.rb +14 -0
- data/db/migrate/20200902133452_add_cached_comment_metadata_to_debates.rb +23 -0
- data/lib/decidim/debates/admin_engine.rb +3 -1
- data/lib/decidim/debates/component.rb +44 -1
- data/lib/decidim/debates/engine.rb +7 -1
- data/lib/decidim/debates/test/factories.rb +62 -6
- data/lib/decidim/debates/version.rb +1 -1
- metadata +62 -16
@@ -1,8 +1,10 @@
|
|
1
1
|
<div class="row columns">
|
2
|
-
|
3
|
-
<%=
|
4
|
-
|
5
|
-
|
2
|
+
<div class="m-bottom">
|
3
|
+
<%= link_to :back, class: "muted-link" do %>
|
4
|
+
<%= icon "chevron-left", class: "icon--small", role: "img", "aria-hidden": true %>
|
5
|
+
<%= t(".back") %>
|
6
|
+
<% end %>
|
7
|
+
</div>
|
6
8
|
<h2 class="section-heading"><%= t(".title") %></h2>
|
7
9
|
</div>
|
8
10
|
|
@@ -11,26 +13,7 @@
|
|
11
13
|
<div class="card">
|
12
14
|
<div class="card__content">
|
13
15
|
<%= decidim_form_for(@form) do |form| %>
|
14
|
-
|
15
|
-
<%= form.text_field :title %>
|
16
|
-
</div>
|
17
|
-
|
18
|
-
<div class="field">
|
19
|
-
<%= text_editor_for_debate_description(form) %>
|
20
|
-
</div>
|
21
|
-
|
22
|
-
<% if current_participatory_space.categories&.any? %>
|
23
|
-
<div class="field">
|
24
|
-
<%= form.categories_select :category_id, current_participatory_space.categories, include_blank: t(".select_a_category"), disable_parents: false %>
|
25
|
-
</div>
|
26
|
-
<% end %>
|
27
|
-
|
28
|
-
<% if Decidim::UserGroups::ManageableUserGroups.for(current_user).verified.any? %>
|
29
|
-
<div class="field">
|
30
|
-
<%= form.select :user_group_id, Decidim::UserGroups::ManageableUserGroups.for(current_user).verified.map{|g| [g.name, g.id]}, prompt: current_user.name %>
|
31
|
-
</div>
|
32
|
-
<% end %>
|
33
|
-
|
16
|
+
<%= render partial: "form", locals: { form: form } %>
|
34
17
|
<div class="actions">
|
35
18
|
<%= form.submit t(".create"), class: "button expanded", data: { disable: true } %>
|
36
19
|
</div>
|
@@ -39,5 +22,3 @@
|
|
39
22
|
</div>
|
40
23
|
</div>
|
41
24
|
</div>
|
42
|
-
|
43
|
-
<%= javascript_include_tag "decidim/proposals/add_proposal" %>
|
@@ -14,22 +14,35 @@ edit_link(
|
|
14
14
|
%>
|
15
15
|
|
16
16
|
<div class="row column view-header">
|
17
|
+
<div class="m-bottom">
|
18
|
+
<%= link_to debates_path(filter_link_params), class: "small hollow" do %>
|
19
|
+
<%= icon "chevron-left", class: "icon--small", role: "img", "aria-hidden": true %>
|
20
|
+
<%= t(".back") %>
|
21
|
+
<% end %>
|
22
|
+
</div>
|
17
23
|
|
18
|
-
|
19
|
-
|
20
|
-
<%= t(".back") %>
|
21
|
-
<% end %>
|
22
|
-
|
23
|
-
<h2 class="heading2">
|
24
|
-
<%== present(debate).title %>
|
24
|
+
<h2 class="heading3">
|
25
|
+
<%== present(debate).title(links: true) %>
|
25
26
|
</h2>
|
26
27
|
|
27
|
-
|
28
|
-
|
28
|
+
<% debate_presenter = Decidim::Debates::DebatePresenter.new(debate) %>
|
29
|
+
<%= cell "decidim/author", debate_presenter.author, from: debate, context: { extra_classes: ["author-data--small"] } %>
|
29
30
|
</div>
|
30
31
|
<div class="row">
|
31
|
-
<div class="columns section view-side mediumlarge-4 mediumlarge-push-8
|
32
|
-
|
32
|
+
<div class="columns section view-side mediumlarge-4 mediumlarge-push-8 large-3 large-push-9">
|
33
|
+
<% if allowed_to?(:edit, :debate, debate: debate) %>
|
34
|
+
<%= link_to t(".edit_debate"), edit_debate_path(debate), class: "button secondary hollow expanded button-sc button--icon follow-button" %>
|
35
|
+
<% elsif admin_allowed_to?(:update, :debate, debate: debate) %>
|
36
|
+
<%= link_to t(".edit_debate"), resource_locator(debate).edit, class: "button secondary hollow expanded button-sc button--icon follow-button" %>
|
37
|
+
<% end %>
|
38
|
+
<% close_debate_action_text = (debate.closed? ? ".edit_conclusions" : ".close_debate" ) %>
|
39
|
+
<% if allowed_to?(:close, :debate, debate: debate) %>
|
40
|
+
<button type="button" data-open="closeDebateModal" title="<%= t(close_debate_action_text) %>" aria-controls="closeDebateModal" aria-haspopup="true" tabindex="0" class="button hollow expanded button-sc button--icon follow-button">
|
41
|
+
<%= t(close_debate_action_text) %>
|
42
|
+
</button>
|
43
|
+
<% elsif admin_allowed_to?(:close, :debate, debate: debate) %>
|
44
|
+
<%= link_to t(close_debate_action_text), Decidim::EngineRouter.admin_proxy(debate.component).edit_debate_debate_close_path(debate_id: debate.id, id: debate.id), class: "button hollow expanded button-sc button--icon follow-button" %>
|
45
|
+
<% end %>
|
33
46
|
<div class="card extra">
|
34
47
|
<div class="card__content">
|
35
48
|
<% if debate.start_time.present? && debate.end_time.present? %>
|
@@ -40,23 +53,74 @@ edit_link(
|
|
40
53
|
<%= l debate.start_time, format: "%H:%M" %> - <%= l debate.end_time, format: "%H:%M" %>
|
41
54
|
</div>
|
42
55
|
<% end %>
|
43
|
-
|
56
|
+
|
57
|
+
<% if endorsements_enabled? && allowed_to?(:endorse, :debate, debate: debate) %>
|
58
|
+
<div class="row collapse buttons__row">
|
59
|
+
<div class="column small-12 collapse">
|
60
|
+
<%= endorsement_buttons_cell(debate) %>
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
<% end %>
|
64
|
+
<%= follow_button_for(debate) %>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
<div class="card extra">
|
68
|
+
<div class="definition-data">
|
69
|
+
<div class="definition-data__item definition-data__item">
|
70
|
+
<span class="definition-data__title">
|
71
|
+
<%= t ".last_comment_by" %>
|
72
|
+
</span>
|
73
|
+
<span class="definition-data__text">
|
74
|
+
<% if debate_presenter.last_comment_by %>
|
75
|
+
<%= cell "decidim/author", debate_presenter.last_comment_by, context: { extra_classes: ["author-data--small"] } %>
|
76
|
+
<% else %>
|
77
|
+
<%= t ".no_comments_yet" %>
|
78
|
+
<% end %>
|
79
|
+
</span>
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<div class="definition-data__item definition-data__item--double">
|
83
|
+
<span class="definition-data__title">
|
84
|
+
<%= t ".participants_count" %>
|
85
|
+
</span>
|
86
|
+
<span class="definition-data__number"><%= debate_presenter.participants_count %></span>
|
87
|
+
</div>
|
88
|
+
|
89
|
+
<div class="definition-data__item definition-data__item--double">
|
90
|
+
<span class="definition-data__title">
|
91
|
+
<%= t ".groups_count" %>
|
92
|
+
</span>
|
93
|
+
<span class="definition-data__number"><%= debate_presenter.groups_count %></span>
|
94
|
+
</div>
|
44
95
|
</div>
|
45
96
|
</div>
|
46
97
|
<%= resource_reference(debate) %>
|
98
|
+
<%= resource_version(debate_presenter, versions_path: debate_versions_path(debate)) %>
|
47
99
|
<%= render partial: "decidim/shared/share_modal" %>
|
100
|
+
<%= embed_modal_for debate_widget_url(debate, format: :js) %>
|
48
101
|
</div>
|
49
102
|
<div class="columns mediumlarge-8 mediumlarge-pull-4">
|
50
103
|
<div class="section">
|
104
|
+
<% if debate.closed? %>
|
105
|
+
<span class="success label proposal-status">
|
106
|
+
<%= t(".debate_closed") %>
|
107
|
+
</span>
|
108
|
+
<% end %>
|
109
|
+
|
51
110
|
<%= render_debate_description(debate) %>
|
111
|
+
|
112
|
+
<% if debate.closed? %>
|
113
|
+
<%= cell("decidim/announcement", { announcement: { title: t(".debate_conclusions_are", date: l(debate.closed_at, format: :decidim_short)), body: simple_format(translated_attribute(debate.conclusions)) }, callout_class: "success" }) %>
|
114
|
+
<% end %>
|
115
|
+
|
52
116
|
<% if translated_attribute(debate.instructions).present? %>
|
53
117
|
<div class="callout secondary">
|
54
|
-
<%= decidim_sanitize(simple_format(translated_attribute(debate.instructions))) %>
|
118
|
+
<%= decidim_sanitize(simple_format(translated_attribute(debate.instructions), {}, sanitize: false)) %>
|
55
119
|
</div>
|
56
120
|
<% end %>
|
57
121
|
<% if translated_attribute(debate.information_updates).present? %>
|
58
122
|
<div class="callout success">
|
59
|
-
<%= simple_format(translated_attribute(debate.information_updates)) %>
|
123
|
+
<%= decidim_sanitize(simple_format(translated_attribute(debate.information_updates), {}, sanitize: false)) %>
|
60
124
|
</div>
|
61
125
|
<% end %>
|
62
126
|
<% if debate.category %>
|
@@ -64,6 +128,8 @@ edit_link(
|
|
64
128
|
<li><%= link_to translated_attribute(debate.category.name), debates_path(filter: { category_id: debate.category.id }) %></li>
|
65
129
|
</ul>
|
66
130
|
<% end %>
|
131
|
+
|
132
|
+
<%= cell "decidim/endorsers_list", debate %>
|
67
133
|
</div>
|
68
134
|
</div>
|
69
135
|
</div>
|
@@ -77,3 +143,9 @@ edit_link(
|
|
77
143
|
url: decidim.report_path(sgid: debate.to_sgid.to_s)
|
78
144
|
}
|
79
145
|
%>
|
146
|
+
<%=
|
147
|
+
render partial: "close_debate_modal", locals: {
|
148
|
+
debate: debate,
|
149
|
+
form: close_debate_form
|
150
|
+
}
|
151
|
+
%>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<div class="row">
|
2
|
+
<%= cell(
|
3
|
+
"decidim/version",
|
4
|
+
current_version,
|
5
|
+
index: params[:id],
|
6
|
+
versioned_resource: versioned_resource,
|
7
|
+
versions_path: proc { url_for(action: :index) },
|
8
|
+
i18n_scope: "decidim.debates.debates.versions.#{item_name.to_s.pluralize}"
|
9
|
+
) %>
|
10
|
+
</div>
|
@@ -0,0 +1 @@
|
|
1
|
+
am:
|
data/config/locales/ar.yml
CHANGED
@@ -97,12 +97,13 @@ ar:
|
|
97
97
|
filter: منقي
|
98
98
|
filter_by: مصنف بواسطة
|
99
99
|
unfold: كشف
|
100
|
+
form:
|
101
|
+
select_a_category: الرجاء تحديد الفئة
|
100
102
|
index:
|
101
103
|
new_debate: نقاش جديد
|
102
104
|
new:
|
103
105
|
back: الى الخلف
|
104
106
|
create: إنشاء
|
105
|
-
select_a_category: الرجاء تحديد الفئة
|
106
107
|
title: نقاش جديد
|
107
108
|
last_activity:
|
108
109
|
new_debate_at_html: "<span>مناقشة جديدة في %{link}</span>"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
bg:
|
2
|
+
activemodel:
|
3
|
+
attributes:
|
4
|
+
debate:
|
5
|
+
category_id: Категория
|
6
|
+
decidim_category_id: Категория
|
7
|
+
description: Описание
|
8
|
+
decidim:
|
9
|
+
debates:
|
10
|
+
debates:
|
11
|
+
show:
|
12
|
+
groups_count: Групи
|
13
|
+
last_comment_by: Последно коментиран от
|
14
|
+
no_comments_yet: Все още няма коментари
|
15
|
+
participants_count: Участници
|
data/config/locales/ca.yml
CHANGED
@@ -3,6 +3,8 @@ ca:
|
|
3
3
|
attributes:
|
4
4
|
debate:
|
5
5
|
category_id: Categoria
|
6
|
+
closed_at: Tancat el
|
7
|
+
conclusions: Conclusions
|
6
8
|
decidim_category_id: Categoria
|
7
9
|
description: Descripció
|
8
10
|
end_time: Data de finalització
|
@@ -12,6 +14,7 @@ ca:
|
|
12
14
|
title: Títol
|
13
15
|
user_group_id: Crea un debat com
|
14
16
|
models:
|
17
|
+
decidim/debates/close_debate_event: Debat tancat
|
15
18
|
decidim/debates/create_debate_event: Debat
|
16
19
|
decidim/debates/creation_disabled_event: Debats deshabilitats
|
17
20
|
decidim/debates/creation_enabled_event: Debats habilitats
|
@@ -25,23 +28,34 @@ ca:
|
|
25
28
|
debates:
|
26
29
|
actions:
|
27
30
|
create: Crear
|
31
|
+
endorse: Adherir-se
|
28
32
|
name: Debats
|
29
33
|
settings:
|
30
34
|
global:
|
31
35
|
announcement: Avís
|
32
36
|
comments_enabled: Comentaris habilitats
|
37
|
+
comments_max_length: Longitud màxima dels comentaris (deixa 0 si vols mantenir la configuració per defecte)
|
38
|
+
scope_id: Àmbit
|
39
|
+
scopes_enabled: Àmbits habilitats
|
33
40
|
step:
|
34
41
|
announcement: Avís
|
35
42
|
comments_blocked: Comentaris bloquejats
|
36
43
|
creation_enabled: Creació de debats per part de les participants habilitada
|
44
|
+
endorsements_blocked: Adhesions bloquejades
|
45
|
+
endorsements_enabled: Adhesions habilitades
|
37
46
|
debates:
|
38
47
|
actions:
|
48
|
+
close: Tanca
|
39
49
|
confirm_destroy: N'estàs segura?
|
40
50
|
destroy: Suprimeix
|
41
51
|
edit: Edita
|
42
52
|
new: Nou %{name}
|
43
53
|
title: Accions
|
44
54
|
admin:
|
55
|
+
debate_closes:
|
56
|
+
edit:
|
57
|
+
close: Tanca
|
58
|
+
title: Tancar el debat
|
45
59
|
debates:
|
46
60
|
create:
|
47
61
|
invalid: S'ha produït un error en crear el debat.
|
@@ -64,9 +78,20 @@ ca:
|
|
64
78
|
name: Debat
|
65
79
|
admin_log:
|
66
80
|
debate:
|
81
|
+
close: "La participant %{user_name} ha tancat el debat %{resource_name} a l'espai %{space_name}"
|
67
82
|
create: "La participant %{user_name} ha creat el debat %{resource_name} a l'espai %{space_name}"
|
68
83
|
update: "La participant %{user_name} ha actualitzat el debat %{resource_name} a l'espai %{space_name}"
|
84
|
+
debate_m:
|
85
|
+
commented_time_ago: Comentat fa %{time}
|
69
86
|
debates:
|
87
|
+
close:
|
88
|
+
invalid: S'ha produït un error en tancar el debat.
|
89
|
+
success: Debat tancat correctament.
|
90
|
+
close_debate_modal:
|
91
|
+
close: Tanca
|
92
|
+
description: Quin és el resum o conclusions d'aquest debat?
|
93
|
+
send: Tancar el debat
|
94
|
+
closed: Tancat
|
70
95
|
count:
|
71
96
|
debates_count:
|
72
97
|
one: "%{count} debat"
|
@@ -76,29 +101,68 @@ ca:
|
|
76
101
|
success: Debat creat correctament.
|
77
102
|
debate:
|
78
103
|
participate: Participa
|
104
|
+
edit:
|
105
|
+
back: Enrere
|
106
|
+
save: Guardar canvis
|
107
|
+
title: Editar debat
|
79
108
|
filters:
|
109
|
+
activity: La meva activitat
|
80
110
|
all: Tots
|
81
111
|
category: Categoria
|
82
112
|
category_prompt: Selecciona una categoria
|
83
113
|
citizens: Ciutadania
|
114
|
+
commented: Comentat
|
115
|
+
my_debates: Els meus debats
|
84
116
|
official: Oficial
|
85
117
|
origin: Origen
|
118
|
+
scope: Àmbit
|
86
119
|
search: Cerca
|
120
|
+
state: Estat
|
121
|
+
state_values:
|
122
|
+
closed: Tancat
|
123
|
+
open: Obert
|
124
|
+
user_groups: Grups
|
87
125
|
filters_small_view:
|
88
126
|
close_modal: Tancar finestra
|
89
127
|
filter: Filtra
|
90
128
|
filter_by: Filtra per
|
91
129
|
unfold: Desplega
|
130
|
+
form:
|
131
|
+
select_a_category: Si us plau, selecciona una categoria
|
92
132
|
index:
|
93
133
|
new_debate: Nou debat
|
94
134
|
new:
|
95
135
|
back: Torna
|
96
136
|
create: Crear
|
97
|
-
select_a_category: Si us plau, selecciona una categoria
|
98
137
|
title: Nou debat
|
138
|
+
orders:
|
139
|
+
commented: Més comentats
|
140
|
+
label: Ordenar debats per
|
141
|
+
random: Ordre aleatori
|
142
|
+
recent: Més recents
|
143
|
+
updated: Recentment actualitzats
|
99
144
|
show:
|
100
145
|
back: Torna al llistat
|
146
|
+
close_debate: Tancar el debat
|
101
147
|
date: Data
|
148
|
+
debate_closed: Tancat
|
149
|
+
debate_conclusions_are: 'El debat es va tancar el %{date} amb aquestes conclusions:'
|
150
|
+
edit_conclusions: Editar conclusions
|
151
|
+
edit_debate: Editar debat
|
152
|
+
groups_count: Grups
|
153
|
+
last_comment_by: Darrer comentari de
|
154
|
+
no_comments_yet: Encara no hi ha comentaris
|
155
|
+
participants_count: Participants
|
156
|
+
update:
|
157
|
+
invalid: S'ha produït un error en actualitzar aquest debat.
|
158
|
+
success: Debat actualitzat correctament.
|
159
|
+
versions:
|
160
|
+
debates:
|
161
|
+
back_to_resource: Tornar al debat
|
162
|
+
index:
|
163
|
+
title: Versions
|
164
|
+
versions_list:
|
165
|
+
back_to_resource: Tornar al debat
|
102
166
|
last_activity:
|
103
167
|
new_debate_at_html: "<span>Nou debat a %{link}</span>"
|
104
168
|
models:
|
@@ -135,6 +199,11 @@ ca:
|
|
135
199
|
email_outro: Has rebut aquesta notificació perquè estàs seguint %{participatory_space_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
|
136
200
|
email_subject: Els debats ja estan disponibles a %{participatory_space_title}
|
137
201
|
notification_title: Ja pots començar <a href="%{resource_path}">nous debats</a> a <a href="%{participatory_space_url}">%{participatory_space_title}</a>
|
202
|
+
debate_closed:
|
203
|
+
email_intro: 'El debat "%{resource_title}" s''ha tancat. Podeu llegir-ne les conclusions a la seva pàgina:'
|
204
|
+
email_outro: Has rebut aquesta notificació perquè estàs seguint el debat "%{resource_title}". Pots deixar-la de seguir des de l'enllaç anterior.
|
205
|
+
email_subject: El debat "%{resource_title}" s'ha tancat
|
206
|
+
notification_title: El debat <a href="%{resource_path}">%{resource_title}</a> s'ha tancat.
|
138
207
|
gamification:
|
139
208
|
badges:
|
140
209
|
commented_debates:
|
data/config/locales/cs.yml
CHANGED
@@ -3,6 +3,8 @@ cs:
|
|
3
3
|
attributes:
|
4
4
|
debate:
|
5
5
|
category_id: Kategorie
|
6
|
+
closed_at: Uzavřeno v
|
7
|
+
conclusions: Závěry
|
6
8
|
decidim_category_id: Kategorie
|
7
9
|
description: Popis
|
8
10
|
end_time: Končí v
|
@@ -12,6 +14,7 @@ cs:
|
|
12
14
|
title: Titul
|
13
15
|
user_group_id: Vytvořte debatu jako
|
14
16
|
models:
|
17
|
+
decidim/debates/close_debate_event: Debata byla uzavřena
|
15
18
|
decidim/debates/create_debate_event: Debata
|
16
19
|
decidim/debates/creation_disabled_event: Debaty zakázány
|
17
20
|
decidim/debates/creation_enabled_event: Debaty povoleny
|
@@ -27,23 +30,34 @@ cs:
|
|
27
30
|
debates:
|
28
31
|
actions:
|
29
32
|
create: Vytvořit
|
33
|
+
endorse: Schválit
|
30
34
|
name: Debaty
|
31
35
|
settings:
|
32
36
|
global:
|
33
37
|
announcement: Oznámení
|
34
38
|
comments_enabled: Komentáře povoleny
|
39
|
+
comments_max_length: Maximální délka komentáře (ponechte 0 pro výchozí hodnotu)
|
40
|
+
scope_id: Oblast působnosti
|
41
|
+
scopes_enabled: Oblasti působnosti povoleny
|
35
42
|
step:
|
36
43
|
announcement: Oznámení
|
37
44
|
comments_blocked: Komentáře blokovány
|
38
45
|
creation_enabled: Vytváření debaty účastníky povoleno
|
46
|
+
endorsements_blocked: Schvalování blokováno
|
47
|
+
endorsements_enabled: Schvalování povoleno
|
39
48
|
debates:
|
40
49
|
actions:
|
50
|
+
close: Zavřít
|
41
51
|
confirm_destroy: Jste si jisti?
|
42
52
|
destroy: Odstranit
|
43
53
|
edit: Upravit
|
44
54
|
new: Nové %{name}
|
45
55
|
title: Akce
|
46
56
|
admin:
|
57
|
+
debate_closes:
|
58
|
+
edit:
|
59
|
+
close: Zavřít
|
60
|
+
title: Ukončit debatu
|
47
61
|
debates:
|
48
62
|
create:
|
49
63
|
invalid: Během debaty vznikl problém.
|
@@ -66,9 +80,20 @@ cs:
|
|
66
80
|
name: Debata
|
67
81
|
admin_log:
|
68
82
|
debate:
|
83
|
+
close: "%{user_name} ukončil debatu %{resource_name} ve skupině %{space_name}"
|
69
84
|
create: "%{user_name} vytvořil debatu %{resource_name} o skupině %{space_name}"
|
70
85
|
update: "%{user_name} aktualizovala %{resource_name} diskusi o %{space_name} prostoru"
|
86
|
+
debate_m:
|
87
|
+
commented_time_ago: Komentováno před %{time}
|
71
88
|
debates:
|
89
|
+
close:
|
90
|
+
invalid: Při uzavírání debaty došlo k chybě.
|
91
|
+
success: Debata byla úspěšně uzavřena.
|
92
|
+
close_debate_modal:
|
93
|
+
close: Zavřít
|
94
|
+
description: Jaké je shrnutí nebo závěr této debaty?
|
95
|
+
send: Ukončit debatu
|
96
|
+
closed: Uzavřeno
|
72
97
|
count:
|
73
98
|
debates_count:
|
74
99
|
one: "%{count} debata"
|
@@ -80,29 +105,68 @@ cs:
|
|
80
105
|
success: Debata byla úspěšně vytvořena.
|
81
106
|
debate:
|
82
107
|
participate: Účastnit se
|
108
|
+
edit:
|
109
|
+
back: Zpět
|
110
|
+
save: Uložit změny
|
111
|
+
title: Upravit debatu
|
83
112
|
filters:
|
113
|
+
activity: Moje aktivita
|
84
114
|
all: Vše
|
85
115
|
category: Kategorie
|
86
116
|
category_prompt: Vyberte kategorii
|
87
117
|
citizens: Občané
|
118
|
+
commented: Okomentováno
|
119
|
+
my_debates: Moje rozpravy
|
88
120
|
official: Oficiální
|
89
121
|
origin: Původ
|
122
|
+
scope: Oblast působnosti
|
90
123
|
search: Hledat
|
124
|
+
state: Stav
|
125
|
+
state_values:
|
126
|
+
closed: Uzavřeno
|
127
|
+
open: Otevřeno
|
128
|
+
user_groups: Skupiny
|
91
129
|
filters_small_view:
|
92
130
|
close_modal: Zavřít okno
|
93
131
|
filter: Filtr
|
94
132
|
filter_by: Filtrovat podle
|
95
133
|
unfold: Rozbalit
|
134
|
+
form:
|
135
|
+
select_a_category: Vyberte kategorii
|
96
136
|
index:
|
97
137
|
new_debate: Nová debata
|
98
138
|
new:
|
99
139
|
back: Zpět
|
100
140
|
create: Vytvořit
|
101
|
-
select_a_category: Vyberte kategorii
|
102
141
|
title: Nová debata
|
142
|
+
orders:
|
143
|
+
commented: Nejvíce komentované
|
144
|
+
label: Řazení rozprav podle
|
145
|
+
random: Náhodné pořadí
|
146
|
+
recent: Nejnovější
|
147
|
+
updated: Naposledy aktualizované
|
103
148
|
show:
|
104
149
|
back: Zpět na seznam
|
150
|
+
close_debate: Ukončit debatu
|
105
151
|
date: Datum
|
152
|
+
debate_closed: Uzavřeno
|
153
|
+
debate_conclusions_are: 'Debata byla uzavřena dne %{date} těmito závěry:'
|
154
|
+
edit_conclusions: Upravit závěry
|
155
|
+
edit_debate: Upravit debatu
|
156
|
+
groups_count: Skupiny
|
157
|
+
last_comment_by: Poslední komentář od
|
158
|
+
no_comments_yet: Zatím žádné komentáře
|
159
|
+
participants_count: Účastníci
|
160
|
+
update:
|
161
|
+
invalid: Při aktualizaci rozpravy došlo k chybě.
|
162
|
+
success: Debata byla úspěšně aktualizována.
|
163
|
+
versions:
|
164
|
+
debates:
|
165
|
+
back_to_resource: Přejít zpět k debatě
|
166
|
+
index:
|
167
|
+
title: Verze
|
168
|
+
versions_list:
|
169
|
+
back_to_resource: Přejít zpět k debatě
|
106
170
|
last_activity:
|
107
171
|
new_debate_at_html: "<span>Nová debata na %{link}</span>"
|
108
172
|
models:
|
@@ -139,6 +203,11 @@ cs:
|
|
139
203
|
email_outro: Toto oznámení jste obdrželi, protože jste sledovali %{participatory_space_title}. Na předchozím odkazu můžete přestat přijímat oznámení.
|
140
204
|
email_subject: Debaty jsou nyní k dispozici v %{participatory_space_title}
|
141
205
|
notification_title: Nyní můžete začít <a href="%{resource_path}">novou debatu</a> v <a href="%{participatory_space_url}">%{participatory_space_title}</a>
|
206
|
+
debate_closed:
|
207
|
+
email_intro: 'Debata "%{resource_title}" byla ukončena. Závěry si můžete přečíst z její stránky:'
|
208
|
+
email_outro: Obdrželi jste toto oznámení, protože sledujete debatu "%{resource_title}". Můžete ji zrušit z předchozího odkazu.
|
209
|
+
email_subject: Debata "%{resource_title}" byla ukončena
|
210
|
+
notification_title: Debata <a href="%{resource_path}">%{resource_title}</a> byla ukončena.
|
142
211
|
gamification:
|
143
212
|
badges:
|
144
213
|
commented_debates:
|