decidim-debates 0.27.5 → 0.28.0.rc4
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 +1 -12
- data/app/cells/decidim/debates/debate_card_metadata_cell.rb +43 -0
- data/app/cells/decidim/debates/debate_cell.rb +6 -1
- data/app/cells/decidim/debates/debate_l_cell.rb +49 -0
- data/app/cells/decidim/debates/debate_s_cell.rb +21 -0
- data/app/commands/decidim/debates/admin/close_debate.rb +1 -1
- data/app/commands/decidim/debates/close_debate.rb +1 -1
- data/app/commands/decidim/debates/create_debate.rb +13 -4
- data/app/commands/decidim/debates/update_debate.rb +15 -2
- data/app/controllers/decidim/debates/admin/debate_closes_controller.rb +2 -2
- data/app/controllers/decidim/debates/admin/debates_controller.rb +5 -5
- data/app/controllers/decidim/debates/debates_controller.rb +7 -8
- data/app/events/decidim/debates/close_debate_event.rb +1 -1
- data/app/events/decidim/debates/create_debate_event.rb +1 -1
- data/app/forms/decidim/debates/admin/close_debate_form.rb +1 -1
- data/app/forms/decidim/debates/close_debate_form.rb +2 -2
- data/app/forms/decidim/debates/debate_form.rb +2 -2
- data/app/helpers/decidim/debates/application_helper.rb +42 -17
- data/app/jobs/decidim/debates/hide_all_created_by_author_job.rb +13 -0
- data/app/jobs/decidim/debates/settings_change_job.rb +2 -2
- data/app/models/decidim/debates/debate.rb +4 -4
- data/app/packs/entrypoints/decidim_debates.js +2 -0
- data/app/packs/images/decidim/gamification/badges/decidim_gamification_badges_commented_debates.svg +42 -1
- data/app/presenters/decidim/debates/admin_log/debate_presenter.rb +2 -2
- data/app/views/decidim/debates/admin/debate_closes/edit.html.erb +26 -14
- data/app/views/decidim/debates/admin/debates/_form.html.erb +40 -39
- data/app/views/decidim/debates/admin/debates/edit.html.erb +16 -6
- data/app/views/decidim/debates/admin/debates/index.html.erb +60 -58
- data/app/views/decidim/debates/admin/debates/new.html.erb +16 -6
- data/app/views/decidim/debates/debates/_close_debate_modal.html.erb +22 -11
- data/app/views/decidim/debates/debates/_debates.html.erb +5 -6
- data/app/views/decidim/debates/debates/_form.html.erb +10 -19
- data/app/views/decidim/debates/debates/edit.html.erb +16 -20
- data/app/views/decidim/debates/debates/index.html.erb +19 -23
- data/app/views/decidim/debates/debates/index.js.erb +3 -4
- data/app/views/decidim/debates/debates/new.html.erb +16 -20
- data/app/views/decidim/debates/debates/show.html.erb +106 -109
- data/app/views/decidim/debates/versions/show.html.erb +14 -5
- data/config/locales/ar.yml +0 -17
- data/config/locales/bg.yml +0 -4
- data/config/locales/ca.yml +8 -29
- data/config/locales/cs.yml +8 -29
- data/config/locales/de.yml +9 -30
- data/config/locales/el.yml +3 -28
- data/config/locales/en.yml +9 -30
- data/config/locales/es-MX.yml +8 -29
- data/config/locales/es-PY.yml +9 -30
- data/config/locales/es.yml +8 -29
- data/config/locales/eu.yml +11 -32
- data/config/locales/fi-plain.yml +8 -29
- data/config/locales/fi.yml +8 -29
- data/config/locales/fr-CA.yml +9 -30
- data/config/locales/fr.yml +9 -30
- data/config/locales/ga-IE.yml +0 -15
- data/config/locales/gl.yml +0 -16
- data/config/locales/hu.yml +3 -29
- data/config/locales/id-ID.yml +0 -15
- data/config/locales/is-IS.yml +0 -9
- data/config/locales/it.yml +0 -31
- data/config/locales/ja.yml +9 -33
- data/config/locales/lb.yml +0 -25
- data/config/locales/lt.yml +7 -29
- data/config/locales/lv.yml +0 -17
- data/config/locales/nl.yml +0 -28
- data/config/locales/no.yml +0 -31
- data/config/locales/pl.yml +8 -30
- data/config/locales/pt-BR.yml +0 -36
- data/config/locales/pt.yml +0 -31
- data/config/locales/ro-RO.yml +3 -29
- data/config/locales/ru.yml +0 -12
- data/config/locales/sk.yml +0 -17
- data/config/locales/sl.yml +0 -3
- data/config/locales/sr-CS.yml +0 -6
- data/config/locales/sv.yml +4 -31
- data/config/locales/tr-TR.yml +1 -30
- data/config/locales/uk.yml +0 -12
- data/config/locales/zh-CN.yml +0 -29
- data/config/locales/zh-TW.yml +2 -28
- data/lib/decidim/debates/component.rb +4 -88
- data/lib/decidim/debates/engine.rb +29 -7
- data/lib/decidim/debates/seeds.rb +104 -0
- data/lib/decidim/debates/test/factories.rb +3 -1
- data/lib/decidim/debates/version.rb +1 -1
- metadata +27 -28
- data/app/cells/decidim/debates/debate_m/data.erb +0 -10
- data/app/cells/decidim/debates/debate_m/footer.erb +0 -10
- data/app/cells/decidim/debates/debate_m/multiple_dates.erb +0 -17
- data/app/cells/decidim/debates/debate_m/open_date.erb +0 -7
- data/app/cells/decidim/debates/debate_m/single_date.erb +0 -9
- data/app/cells/decidim/debates/debate_m/tags.erb +0 -1
- data/app/cells/decidim/debates/debate_m_cell.rb +0 -86
- data/app/controllers/decidim/debates/widgets_controller.rb +0 -19
- data/app/views/decidim/debates/debates/_count.html.erb +0 -1
- data/app/views/decidim/debates/debates/_filters.html.erb +0 -34
- data/app/views/decidim/debates/debates/_filters_small_view.html.erb +0 -18
- data/config/environment.rb +0 -3
@@ -1,135 +1,132 @@
|
|
1
1
|
<% add_decidim_meta_tags({
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
}) %>
|
2
|
+
description: translated_attribute(debate.description),
|
3
|
+
title: present(debate).title,
|
4
|
+
url: debate_url(debate.id)
|
5
|
+
}) %>
|
6
6
|
|
7
7
|
<%
|
8
8
|
edit_link(
|
9
9
|
resource_locator(debate).edit,
|
10
10
|
:update,
|
11
11
|
:debate,
|
12
|
-
debate:
|
12
|
+
debate:
|
13
13
|
)
|
14
14
|
%>
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
</div>
|
23
|
-
|
24
|
-
<h2 class="heading3">
|
25
|
-
<%== present(debate).title(links: true, html_escape: true) %>
|
26
|
-
</h2>
|
27
|
-
|
28
|
-
<% debate_presenter = Decidim::Debates::DebatePresenter.new(debate) %>
|
29
|
-
<%= cell "decidim/author", debate_presenter.author, from: debate, context: { extra_classes: ["author-data--small"] } %>
|
30
|
-
</div>
|
31
|
-
<div class="row">
|
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="dialog" 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 %>
|
46
|
-
<div class="card extra">
|
47
|
-
<div class="card__content">
|
48
|
-
<%= cell("decidim/date_range", { start: debate.start_time, end: debate.end_time }) %>
|
49
|
-
|
50
|
-
<% if endorsements_enabled? && allowed_to?(:endorse, :debate, debate: debate) %>
|
51
|
-
<div class="row collapse buttons__row">
|
52
|
-
<div class="column small-12 collapse">
|
53
|
-
<%= endorsement_buttons_cell(debate) %>
|
54
|
-
</div>
|
55
|
-
</div>
|
56
|
-
<% end %>
|
57
|
-
<%= follow_button_for(debate) %>
|
58
|
-
</div>
|
59
|
-
</div>
|
60
|
-
<div class="card extra">
|
61
|
-
<div class="definition-data">
|
62
|
-
<div class="definition-data__item definition-data__item">
|
63
|
-
<span class="definition-data__title">
|
64
|
-
<%= t ".last_comment_by" %>
|
65
|
-
</span>
|
66
|
-
<span class="definition-data__text">
|
67
|
-
<% if debate_presenter.last_comment_by %>
|
68
|
-
<%= cell "decidim/author", debate_presenter.last_comment_by, context: { extra_classes: ["author-data--small"] } %>
|
69
|
-
<% else %>
|
70
|
-
<%= t ".no_comments_yet" %>
|
71
|
-
<% end %>
|
72
|
-
</span>
|
73
|
-
</div>
|
16
|
+
<%=
|
17
|
+
render partial: "close_debate_modal", locals: {
|
18
|
+
debate:,
|
19
|
+
form: close_debate_form
|
20
|
+
}
|
21
|
+
%>
|
74
22
|
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
</div>
|
23
|
+
<%= render layout: "layouts/decidim/shared/layout_item", locals: { back_path: debates_path, commentable: debate } do %>
|
24
|
+
<section class="layout-main__section layout-main__heading">
|
25
|
+
<h1 class="h2 decorator">
|
26
|
+
<%== present(debate).title(links: true, html_escape: true) %>
|
27
|
+
</h1>
|
81
28
|
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
</span>
|
86
|
-
<span class="definition-data__number"><%= debate_presenter.groups_count %></span>
|
87
|
-
</div>
|
88
|
-
</div>
|
89
|
-
</div>
|
90
|
-
<%= resource_reference(debate) %>
|
91
|
-
<%= resource_version(debate_presenter, versions_path: debate_versions_path(debate)) %>
|
92
|
-
<%= render partial: "decidim/shared/share_modal" %>
|
93
|
-
<%= embed_modal_for debate_widget_url(debate, format: :js) %>
|
94
|
-
</div>
|
95
|
-
<div class="columns mediumlarge-8 mediumlarge-pull-4">
|
96
|
-
<div class="section">
|
29
|
+
<% debate_presenter = Decidim::Debates::DebatePresenter.new(debate) %>
|
30
|
+
<div class="layout-author">
|
31
|
+
<%= cell "decidim/author", debate_presenter.author, skip_profile_link: true %>
|
97
32
|
<% if debate.closed? %>
|
98
33
|
<span class="success label proposal-status">
|
99
|
-
<%= t("
|
34
|
+
<%= t("debate_closed", scope: "decidim.debates.debates.show") %>
|
100
35
|
</span>
|
101
36
|
<% end %>
|
37
|
+
</div>
|
38
|
+
</section>
|
102
39
|
|
40
|
+
<section class="layout-main__section">
|
41
|
+
<div class="editor-content">
|
103
42
|
<%= render_debate_description(debate) %>
|
43
|
+
</div>
|
44
|
+
</section>
|
104
45
|
|
105
|
-
|
106
|
-
|
107
|
-
|
46
|
+
<% if debate.closed? || translated_attribute(debate.instructions).present? || translated_attribute(debate.information_updates).present? %>
|
47
|
+
<section class="layout-main__section">
|
48
|
+
<%= cell("decidim/announcement", { title: t("debate_conclusions_are", scope: "decidim.debates.debates.show", date: l(debate.closed_at, format: :decidim_short)), body: simple_format(translated_attribute(debate.conclusions)) }, callout_class: "success") if debate.closed? %>
|
108
49
|
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
50
|
+
<%= cell("decidim/announcement", decidim_sanitize_editor_admin(simple_format(translated_attribute(debate.instructions), {}, sanitize: false))) if translated_attribute(debate.instructions).present? %>
|
51
|
+
|
52
|
+
<%= cell("decidim/announcement", decidim_sanitize_editor_admin(simple_format(translated_attribute(debate.information_updates), {}, sanitize: false)), callout_class: "success") if translated_attribute(debate.information_updates).present? %>
|
53
|
+
</section>
|
54
|
+
<% end %>
|
55
|
+
|
56
|
+
<section class="layout-main__section layout-main__buttons" data-buttons>
|
57
|
+
<% if endorsements_enabled? && allowed_to?(:endorse, :debate, debate: debate) %>
|
58
|
+
<%= endorsement_buttons_cell(debate) %>
|
59
|
+
<% end %>
|
60
|
+
<%= cell "decidim/comments_button", nil %>
|
61
|
+
|
62
|
+
<div class="ml-auto">
|
63
|
+
<%= render partial: "decidim/shared/tags", locals: { resource: debate } %>
|
64
|
+
</div>
|
65
|
+
</section>
|
66
|
+
<%= cell "decidim/endorsers_list", debate, layout: :full %>
|
67
|
+
|
68
|
+
<% content_for :aside do %>
|
69
|
+
<% if allowed_to?(:edit, :debate, debate: debate) || admin_allowed_to?(:update, :debate, debate: debate) || allowed_to?(:close, :debate, debate: debate) || admin_allowed_to?(:close, :debate, debate: debate) %>
|
70
|
+
<section class="layout-aside__section layout-aside__buttons">
|
71
|
+
<% if allowed_to?(:edit, :debate, debate: debate) %>
|
72
|
+
<%= link_to t("edit_debate", scope: "decidim.debates.debates.show"), edit_debate_path(debate), class: "button button__secondary button__xl w-full mb-4" %>
|
73
|
+
<% elsif admin_allowed_to?(:update, :debate, debate: debate) %>
|
74
|
+
<%= link_to t("edit_debate", scope: "decidim.debates.debates.show"), resource_locator(debate).edit, class: "button button__secondary button__xl w-full mb-4" %>
|
113
75
|
<% end %>
|
114
|
-
<%
|
115
|
-
|
116
|
-
|
117
|
-
|
76
|
+
<% close_debate_action_text = (debate.closed? ? "decidim.debates.debates.show.edit_conclusions" : "decidim.debates.debates.show.close_debate" ) %>
|
77
|
+
<% if allowed_to?(:close, :debate, debate: debate) %>
|
78
|
+
<button type="button" data-dialog-open="close-debate" title="<%= t(close_debate_action_text) %>" aria-controls="closeDebateModal" aria-haspopup="dialog" tabindex="0" class="button button__secondary button__xl w-full mb-4">
|
79
|
+
<%= t(close_debate_action_text) %>
|
80
|
+
</button>
|
81
|
+
<% elsif admin_allowed_to?(:close, :debate, debate: debate) %>
|
82
|
+
<%= 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 button__secondary button__xl w-full mb-4" %>
|
118
83
|
<% end %>
|
84
|
+
</section>
|
85
|
+
<% end %>
|
86
|
+
<section class="layout-aside__section">
|
87
|
+
<div class="rounded p-4 bg-background mb-4 divide-y divide-gray-3 [&>*]:py-4 first:[&>*]:pt-0 last:[&>*]:pb-0">
|
88
|
+
<div class="text-gray-2 space-y-1.5">
|
89
|
+
<div class="text-sm flex items-center gap-1">
|
90
|
+
<%= icon "calendar-line", class: "inline-block" %>
|
91
|
+
<span class="text-gray-2 space-y-1.5"><%= t("start", scope: "decidim.debates.models.debate.fields") %> - <%= t("end", scope: "decidim.debates.models.debate.fields") %></span>
|
92
|
+
</div>
|
119
93
|
|
120
|
-
|
121
|
-
|
122
|
-
|
94
|
+
<div class="text-md font-semibold [&>svg]:inline-block">
|
95
|
+
<%= format_date_range(debate.start_time, debate.end_time) || t("open", scope: "decidim.debates.debates.show") %>
|
96
|
+
</div>
|
97
|
+
</div>
|
98
|
+
<div class="text-gray-2 space-y-1.5">
|
99
|
+
<div class="text-sm grid grid-cols-2 gap-1">
|
100
|
+
<div>
|
101
|
+
<span class="block text-center mb-2">
|
102
|
+
<%= t("participants_count", scope: "decidim.debates.debates.show") %>
|
103
|
+
</span>
|
104
|
+
<span class="text-4xl font-bold block text-center"><%= debate_presenter.participants_count %></span>
|
105
|
+
</div>
|
106
|
+
<div>
|
107
|
+
<span class="block text-center mb-2">
|
108
|
+
<%= t("groups_count", scope: "decidim.debates.debates.show") %>
|
109
|
+
</span>
|
110
|
+
<span class="text-4xl font-bold block text-center"><%= debate_presenter.groups_count %></span>
|
111
|
+
</div>
|
112
|
+
</div>
|
113
|
+
</div>
|
123
114
|
</div>
|
124
|
-
</
|
125
|
-
|
115
|
+
</section>
|
116
|
+
<section class="layout-aside__section actions__secondary">
|
117
|
+
<%= follow_button_for(debate) %>
|
118
|
+
<%= cell "decidim/share_button", nil %>
|
119
|
+
<%= cell "decidim/report_button", debate %>
|
120
|
+
</section>
|
126
121
|
|
127
|
-
|
122
|
+
<% end %>
|
128
123
|
|
129
|
-
|
130
|
-
<%=
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
%>
|
124
|
+
<% content_for :item_footer do %>
|
125
|
+
<%= comments_for debate %>
|
126
|
+
<ul class="metadata__container layout-main__section" data-metadata-footer>
|
127
|
+
<%= content_tag :li, resource_reference(debate), class: "metadata__item" %>
|
128
|
+
<%= content_tag :li, resource_version(debate, versions_path: debate_version_path(debate, debate.versions.count)), class: "metadata__item" %>
|
129
|
+
</ul>
|
130
|
+
<% end %>
|
131
|
+
|
132
|
+
<% end %>
|
@@ -1,10 +1,19 @@
|
|
1
|
-
|
1
|
+
<% content_for :aside do %>
|
2
|
+
<%= cell(
|
3
|
+
"decidim/versions_list",
|
4
|
+
versioned_resource,
|
5
|
+
version_path: proc { |version_index| url_for(action: :show, id: version_index) },
|
6
|
+
i18n_scope: "decidim.debates.debates.versions_list"
|
7
|
+
) %>
|
8
|
+
<% end %>
|
9
|
+
|
10
|
+
<%= render layout: "layouts/decidim/shared/layout_item", locals: { back_path: debate_path(versioned_resource) } do %>
|
2
11
|
<%= cell(
|
3
12
|
"decidim/version",
|
4
13
|
current_version,
|
5
14
|
index: params[:id],
|
6
|
-
versioned_resource
|
7
|
-
|
8
|
-
|
15
|
+
versioned_resource:,
|
16
|
+
path: proc { |extra_params| url_for(action: :show, id: params[:id], **extra_params) },
|
17
|
+
versions_path: proc { url_for(action: :index) }
|
9
18
|
) %>
|
10
|
-
|
19
|
+
<% end %>
|
data/config/locales/ar.yml
CHANGED
@@ -43,7 +43,6 @@ ar:
|
|
43
43
|
confirm_destroy: هل أنت واثق؟
|
44
44
|
destroy: حذف
|
45
45
|
edit: تعديل
|
46
|
-
new: جديد %{name}
|
47
46
|
title: أفعال
|
48
47
|
admin:
|
49
48
|
debates:
|
@@ -63,9 +62,6 @@ ar:
|
|
63
62
|
update:
|
64
63
|
invalid: كانت هناك مشكلة في تحديث هذا النقاش.
|
65
64
|
success: تم تحديث المناقشة بنجاح.
|
66
|
-
models:
|
67
|
-
debate:
|
68
|
-
name: النقاش
|
69
65
|
admin_log:
|
70
66
|
debate:
|
71
67
|
create: "%{user_name} خلق النقاش %{resource_name} على الفضاء %{space_name}"
|
@@ -82,8 +78,6 @@ ar:
|
|
82
78
|
create:
|
83
79
|
invalid: كانت هناك مشكلة في خلق النقاش.
|
84
80
|
success: تم إنشاء النقاش بنجاح.
|
85
|
-
debate:
|
86
|
-
participate: مشاركة
|
87
81
|
filters:
|
88
82
|
activity: نشاطي
|
89
83
|
all: الكل
|
@@ -94,12 +88,6 @@ ar:
|
|
94
88
|
origin: الأصل
|
95
89
|
participants: المشاركون
|
96
90
|
search: بحث
|
97
|
-
user_groups: الفِرَق
|
98
|
-
filters_small_view:
|
99
|
-
close_modal: إغلاق مشروط
|
100
|
-
filter: منقي
|
101
|
-
filter_by: مصنف بواسطة
|
102
|
-
unfold: كشف
|
103
91
|
form:
|
104
92
|
select_a_category: الرجاء تحديد الفئة
|
105
93
|
index:
|
@@ -109,11 +97,8 @@ ar:
|
|
109
97
|
create: إنشاء
|
110
98
|
title: نقاش جديد
|
111
99
|
show:
|
112
|
-
date: التاريخ
|
113
100
|
groups_count: الفِرَق
|
114
101
|
participants_count: المشاركون
|
115
|
-
last_activity:
|
116
|
-
new_debate_at_html: "<span>مناقشة جديدة في %{link}</span>"
|
117
102
|
models:
|
118
103
|
debate:
|
119
104
|
fields:
|
@@ -147,7 +132,6 @@ ar:
|
|
147
132
|
email_intro: 'يمكنك الآن بدء مناقشات جديدة في %{participatory_space_title}! ابدأ المشاركة في هذه الصفحة:'
|
148
133
|
email_outro: لقد تلقيت هذا الإشعار لأنك تتابع %{participatory_space_title}. يمكنك إيقاف تلقي الإخطارات باتباع الرابط السابق.
|
149
134
|
email_subject: المناقشات المتاحة الآن في %{participatory_space_title}
|
150
|
-
notification_title: يمكنك الآن بدء <a href="%{resource_path}">مناقشات جديدة</a> في <a href="%{participatory_space_url}">%{participatory_space_title}</a>
|
151
135
|
gamification:
|
152
136
|
badges:
|
153
137
|
commented_debates:
|
@@ -159,7 +143,6 @@ ar:
|
|
159
143
|
name: المناقشات
|
160
144
|
next_level_in: شارك في %{score} مناقشات أخرى للوصول إلى المستوى التالي!
|
161
145
|
unearned_another: هذا المشارك لم يشارك بعد في أي نقاش.
|
162
|
-
unearned_own: لم تشارك في أي مناقشات حتى الآن.
|
163
146
|
metrics:
|
164
147
|
debates:
|
165
148
|
description: عدد المناقشات التي تم إنشاؤها
|
data/config/locales/bg.yml
CHANGED
data/config/locales/ca.yml
CHANGED
@@ -52,7 +52,7 @@ ca:
|
|
52
52
|
confirm_destroy: Segur?
|
53
53
|
destroy: Suprimeix
|
54
54
|
edit: Edita
|
55
|
-
new:
|
55
|
+
new: Afegir debat
|
56
56
|
title: Accions
|
57
57
|
admin:
|
58
58
|
debate_closes:
|
@@ -82,9 +82,6 @@ ca:
|
|
82
82
|
success: Debate actualizado correctament.
|
83
83
|
exports:
|
84
84
|
comments: Comentaris
|
85
|
-
models:
|
86
|
-
debate:
|
87
|
-
name: Debat
|
88
85
|
admin_log:
|
89
86
|
debate:
|
90
87
|
close: "La participant %{user_name} ha tancat el debat %{resource_name} a l'espai %{space_name}"
|
@@ -97,10 +94,9 @@ ca:
|
|
97
94
|
invalid: S'ha produït un error en tancar el debat.
|
98
95
|
success: Debat tancat correctament.
|
99
96
|
close_debate_modal:
|
100
|
-
|
97
|
+
cancel: Cancel·lar
|
101
98
|
description: Quin és el resum o conclusions d'aquest debat?
|
102
99
|
send: Tancar el debat
|
103
|
-
closed: Tancat
|
104
100
|
count:
|
105
101
|
debates_count:
|
106
102
|
one: "%{count} debat"
|
@@ -108,8 +104,6 @@ ca:
|
|
108
104
|
create:
|
109
105
|
invalid: S'ha produït un error en crear el debat.
|
110
106
|
success: Debat creat correctament.
|
111
|
-
debate:
|
112
|
-
participate: Participa
|
113
107
|
debates:
|
114
108
|
empty: Encara no hi ha cap debat.
|
115
109
|
empty_filters: No hi ha cap debat amb aquest criteri.
|
@@ -127,18 +121,12 @@ ca:
|
|
127
121
|
official: Oficial
|
128
122
|
origin: Origen
|
129
123
|
participants: Participants
|
130
|
-
scope: Àmbit
|
131
124
|
search: Cerca
|
132
125
|
state: Estat
|
133
126
|
state_values:
|
134
127
|
closed: Tancat
|
135
128
|
open: Obert
|
136
|
-
|
137
|
-
filters_small_view:
|
138
|
-
close_modal: Tancar finestra
|
139
|
-
filter: Filtra
|
140
|
-
filter_by: Filtra per
|
141
|
-
unfold: Desplega
|
129
|
+
user_group: Grups
|
142
130
|
form:
|
143
131
|
select_a_category: Si us plau, selecciona una categoria
|
144
132
|
index:
|
@@ -154,36 +142,27 @@ ca:
|
|
154
142
|
recent: Més recents
|
155
143
|
updated: Recentment actualitzats
|
156
144
|
show:
|
157
|
-
back: Torna al llistat
|
158
145
|
close_debate: Tancar el debat
|
159
|
-
date: Data
|
160
146
|
debate_closed: Tancat
|
161
147
|
debate_conclusions_are: 'El debat es va tancar el %{date} amb aquestes conclusions:'
|
162
148
|
edit_conclusions: Editar conclusions
|
163
149
|
edit_debate: Editar debat
|
164
150
|
groups_count: Grups
|
165
|
-
last_comment_by: Darrer comentari de
|
166
|
-
no_comments_yet: Encara no hi ha comentaris
|
167
151
|
open: Debat obert
|
168
152
|
participants_count: Participants
|
169
153
|
update:
|
170
154
|
invalid: S'ha produït un error en actualitzar aquest debat.
|
171
155
|
success: Debat actualitzat correctament.
|
172
|
-
versions:
|
173
|
-
debates:
|
174
|
-
back_to_resource: Tornar al debat
|
175
|
-
index:
|
176
|
-
title: Versions
|
177
|
-
versions_list:
|
178
|
-
back_to_resource: Tornar al debat
|
179
156
|
last_activity:
|
180
|
-
|
181
|
-
|
157
|
+
debate_updated: 'Debat actualitzat:'
|
158
|
+
new_debate: 'Nou debat:'
|
182
159
|
models:
|
183
160
|
debate:
|
184
161
|
fields:
|
162
|
+
end: Finalitza
|
185
163
|
end_time: Data de finalització
|
186
164
|
official_debate: Debat oficial
|
165
|
+
start: Comença
|
187
166
|
start_time: Data d'inici
|
188
167
|
title: Títol
|
189
168
|
events:
|
@@ -212,7 +191,7 @@ ca:
|
|
212
191
|
email_intro: 'Ja pots crear nous debats a %{participatory_space_title}! Comença a participar en aquesta pàgina:'
|
213
192
|
email_outro: Has rebut aquesta notificació perquè estàs seguint %{participatory_space_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
|
214
193
|
email_subject: Els debats ja estan disponibles a %{participatory_space_title}
|
215
|
-
notification_title:
|
194
|
+
notification_title: Ara pots començar <a href="%{resource_path}">nous debats</a> a <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
216
195
|
debate_closed:
|
217
196
|
affected_user:
|
218
197
|
email_intro: 'El debat "%{resource_title}" s''ha tancat. Podeu llegir-ne les conclusions a la seva pàgina:'
|
data/config/locales/cs.yml
CHANGED
@@ -54,7 +54,7 @@ cs:
|
|
54
54
|
confirm_destroy: Jste si jisti?
|
55
55
|
destroy: Odstranit
|
56
56
|
edit: Upravit
|
57
|
-
new:
|
57
|
+
new: Nová debata
|
58
58
|
title: Akce
|
59
59
|
admin:
|
60
60
|
debate_closes:
|
@@ -84,9 +84,6 @@ cs:
|
|
84
84
|
success: Debata byla úspěšně aktualizována.
|
85
85
|
exports:
|
86
86
|
comments: Komentáře
|
87
|
-
models:
|
88
|
-
debate:
|
89
|
-
name: Debata
|
90
87
|
admin_log:
|
91
88
|
debate:
|
92
89
|
close: "%{user_name} ukončil debatu %{resource_name} ve skupině %{space_name}"
|
@@ -99,10 +96,9 @@ cs:
|
|
99
96
|
invalid: Při uzavírání debaty došlo k chybě.
|
100
97
|
success: Debata byla úspěšně uzavřena.
|
101
98
|
close_debate_modal:
|
102
|
-
|
99
|
+
cancel: Zrušit
|
103
100
|
description: Jaké je shrnutí nebo závěr této debaty?
|
104
101
|
send: Ukončit debatu
|
105
|
-
closed: Uzavřeno
|
106
102
|
count:
|
107
103
|
debates_count:
|
108
104
|
one: "%{count} debata"
|
@@ -112,8 +108,6 @@ cs:
|
|
112
108
|
create:
|
113
109
|
invalid: Při vytváření debaty došlo k chybě.
|
114
110
|
success: Debata byla úspěšně vytvořena.
|
115
|
-
debate:
|
116
|
-
participate: Účastnit se
|
117
111
|
debates:
|
118
112
|
empty: Zatím nejsou žádné diskuse.
|
119
113
|
empty_filters: S těmito kritérii nejsou žádné diskuse.
|
@@ -131,18 +125,12 @@ cs:
|
|
131
125
|
official: Oficiální
|
132
126
|
origin: Původ
|
133
127
|
participants: Účastníci
|
134
|
-
scope: Oblast působnosti
|
135
128
|
search: Hledat
|
136
129
|
state: Stav
|
137
130
|
state_values:
|
138
131
|
closed: Uzavřeno
|
139
132
|
open: Otevřeno
|
140
|
-
|
141
|
-
filters_small_view:
|
142
|
-
close_modal: Zavřít okno
|
143
|
-
filter: Filtr
|
144
|
-
filter_by: Filtrovat podle
|
145
|
-
unfold: Rozbalit
|
133
|
+
user_group: Skupiny
|
146
134
|
form:
|
147
135
|
select_a_category: Vyberte kategorii
|
148
136
|
index:
|
@@ -158,36 +146,27 @@ cs:
|
|
158
146
|
recent: Nejnovější
|
159
147
|
updated: Naposledy aktualizované
|
160
148
|
show:
|
161
|
-
back: Zpět na seznam
|
162
149
|
close_debate: Ukončit debatu
|
163
|
-
date: Datum
|
164
150
|
debate_closed: Uzavřeno
|
165
151
|
debate_conclusions_are: 'Debata byla uzavřena dne %{date} těmito závěry:'
|
166
152
|
edit_conclusions: Upravit závěry
|
167
153
|
edit_debate: Upravit debatu
|
168
154
|
groups_count: Skupiny
|
169
|
-
last_comment_by: Poslední komentář od
|
170
|
-
no_comments_yet: Zatím žádné komentáře
|
171
155
|
open: Otevřená diskuse
|
172
156
|
participants_count: Účastníci
|
173
157
|
update:
|
174
158
|
invalid: Při aktualizaci rozpravy došlo k chybě.
|
175
159
|
success: Debata byla úspěšně aktualizována.
|
176
|
-
versions:
|
177
|
-
debates:
|
178
|
-
back_to_resource: Přejít zpět k debatě
|
179
|
-
index:
|
180
|
-
title: Verze
|
181
|
-
versions_list:
|
182
|
-
back_to_resource: Přejít zpět k debatě
|
183
160
|
last_activity:
|
184
|
-
|
185
|
-
|
161
|
+
debate_updated: 'Debata aktualizována:'
|
162
|
+
new_debate: 'Nová debata:'
|
186
163
|
models:
|
187
164
|
debate:
|
188
165
|
fields:
|
166
|
+
end: Konec
|
189
167
|
end_time: Datum ukončení
|
190
168
|
official_debate: Oficiální debata
|
169
|
+
start: Začátek
|
191
170
|
start_time: Datum zahájení
|
192
171
|
title: Titul
|
193
172
|
events:
|
@@ -216,7 +195,7 @@ cs:
|
|
216
195
|
email_intro: 'Nyní můžete začít debaty v %{participatory_space_title}! Začněte se účastnit této stránky:'
|
217
196
|
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í.
|
218
197
|
email_subject: Debaty jsou nyní k dispozici v %{participatory_space_title}
|
219
|
-
notification_title: Nyní můžete začít <a href="%{resource_path}">novou debatu</a> v <a href="%{participatory_space_url}">%{participatory_space_title}</a
|
198
|
+
notification_title: Nyní můžete začít <a href="%{resource_path}">novou debatu</a> v <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
220
199
|
debate_closed:
|
221
200
|
affected_user:
|
222
201
|
email_intro: 'Debata "%{resource_title}" byla ukončena. Závěry si můžete přečíst z její stránky:'
|