decidim-sortitions 0.21.0 → 0.23.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/decidim/sortitions/icon.svg +1 -3
- data/app/assets/stylesheets/decidim/sortitions/_sortitions.scss +1 -1
- data/app/cells/decidim/sortitions/sortition_m/data.erb +3 -3
- data/app/cells/decidim/sortitions/sortition_m/footer.erb +1 -1
- data/app/controllers/decidim/sortitions/{sortition_widgets_controller.rb → widgets_controller.rb} +2 -2
- data/app/helpers/decidim/sortitions/sortitions_helper.rb +1 -0
- data/app/models/decidim/sortitions/sortition.rb +3 -0
- data/app/presenters/decidim/sortitions/admin_log/sortition_presenter.rb +2 -2
- data/app/queries/decidim/sortitions/admin/participatory_space_proposals.rb +5 -1
- data/app/services/decidim/sortitions/sortition_search.rb +1 -18
- data/app/views/decidim/sortitions/admin/sortitions/_form.html.erb +1 -1
- data/app/views/decidim/sortitions/admin/sortitions/confirm_destroy.html.erb +1 -1
- data/app/views/decidim/sortitions/admin/sortitions/edit.html.erb +1 -1
- data/app/views/decidim/sortitions/admin/sortitions/index.html.erb +1 -1
- data/app/views/decidim/sortitions/admin/sortitions/show.html.erb +1 -1
- data/app/views/decidim/sortitions/sortition_widgets/show.html.erb +1 -1
- data/app/views/decidim/sortitions/sortitions/_filters.html.erb +16 -8
- data/app/views/decidim/sortitions/sortitions/_linked_sortitions.html.erb +1 -1
- data/app/views/decidim/sortitions/sortitions/index.html.erb +4 -4
- data/app/views/decidim/sortitions/sortitions/show.html.erb +11 -3
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/bg-BG.yml +7 -0
- data/config/locales/bg.yml +7 -0
- data/config/locales/ca.yml +2 -0
- data/config/locales/cs.yml +65 -63
- data/config/locales/da-DK.yml +1 -0
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +7 -5
- data/config/locales/el.yml +151 -0
- data/config/locales/en.yml +2 -0
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +2 -0
- data/config/locales/es-PY.yml +2 -0
- data/config/locales/es.yml +2 -0
- data/config/locales/et-EE.yml +1 -0
- data/config/locales/et.yml +1 -0
- data/config/locales/fi-plain.yml +2 -0
- data/config/locales/fi.yml +5 -3
- data/config/locales/fr-CA.yml +153 -0
- data/config/locales/fr.yml +2 -0
- data/config/locales/ga-IE.yml +1 -0
- data/config/locales/gl.yml +2 -0
- data/config/locales/hr-HR.yml +1 -0
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +1 -0
- data/config/locales/is.yml +122 -0
- data/config/locales/it.yml +26 -24
- data/config/locales/ja-JP.yml +147 -0
- data/config/locales/ja.yml +147 -0
- data/config/locales/ko-KR.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lt-LT.yml +1 -0
- data/config/locales/lt.yml +1 -0
- data/config/locales/lv.yml +158 -0
- data/config/locales/mt-MT.yml +1 -0
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +2 -0
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +78 -76
- data/config/locales/pt-BR.yml +1 -1
- data/config/locales/pt.yml +55 -53
- data/config/locales/ro-RO.yml +159 -0
- data/config/locales/si-LK.yml +1 -0
- data/config/locales/sk-SK.yml +164 -0
- data/config/locales/sk.yml +164 -0
- data/config/locales/sl.yml +5 -0
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sr-CS.yml +6 -0
- data/config/locales/sv.yml +3 -1
- data/config/locales/sw-KE.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +41 -39
- data/config/locales/vi-VN.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +147 -0
- data/config/locales/zh-TW.yml +1 -0
- data/db/migrate/20200320105926_index_foreign_keys_in_decidim_sortitions_sortitions.rb +7 -0
- data/db/migrate/20200827154036_add_commentable_counter_cache_to_sortitions.rb +9 -0
- data/lib/decidim/sortitions/component.rb +1 -0
- data/lib/decidim/sortitions/engine.rb +1 -1
- data/lib/decidim/sortitions/version.rb +1 -1
- metadata +56 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43f24822ad3374dc9237326eb809dd209fbee00cddf1818f26eef2e3f3bcc2a1
|
4
|
+
data.tar.gz: 86ca16613d1da13cf13106904626530c7a8c5eba32ee41eccefadabe1c69f677
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60fb04371dc092f49ab2e18501673bfd5bd0d298f6c893de19eb2a7b5314ad3b9fc850e6287f65dadaa1686fb81043d69310e11cb2cfbafd7904768746b15cdc
|
7
|
+
data.tar.gz: 8d15f88dd6809d99aa3d7ef174e224e009c550f2ef5429c186aeca15bce5eb46bea536df259ae16215435c770c8f5f3d06aa3fefceddcf90cb69d09e1ade61f1
|
@@ -1,3 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
2
|
-
<path d="M17 0c9.389 0 17 7.611 17 17s-7.611 17-17 17S0 26.389 0 17 7.611 0 17 0zm0 1.889C8.654 1.889 1.889 8.654 1.889 17S8.654 32.111 17 32.111 32.111 25.346 32.111 17 25.346 1.889 17 1.889zm11.865 10.74a3.15 3.15 0 1 1-6.3 0 3.15 3.15 0 0 1 6.3 0zm-1.89 0a1.26 1.26 0 1 0-2.521 0 1.26 1.26 0 0 0 2.522 0zM15.25 19.136a.944.944 0 0 1 1.89 0v1.792a5.71 5.71 0 1 1-11.423 0v-1.792a.944.944 0 0 1 1.89 0v1.792a3.822 3.822 0 1 0 7.643 0v-1.792zm5.841-6.974l.018.019a.941.941 0 0 1-.02 1.335l-2.514 2.44a.944.944 0 0 1-1.316-1.355l.843-.818a6.237 6.237 0 0 0-6.177 6.23.944.944 0 0 1-1.889 0c0-4.492 3.653-8.12 8.12-8.12h.041l-.958-.986a.944.944 0 0 1 1.355-1.316l2.497 2.571a.941.941 0 0 0-.66-.268h-2.234z"/>
|
3
|
-
</svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" data-icon="aperture" version="1.1" viewBox="0 0 34 34"><path d="M17 0c9.389 0 17 7.611 17 17s-7.611 17-17 17S0 26.389 0 17 7.611 0 17 0zm0 1.889C8.654 1.889 1.889 8.654 1.889 17S8.654 32.111 17 32.111 32.111 25.346 32.111 17 25.346 1.889 17 1.889zm11.865 10.74a3.15 3.15 0 1 1-6.3 0 3.15 3.15 0 0 1 6.3 0zm-1.89 0a1.26 1.26 0 1 0-2.521 0 1.26 1.26 0 0 0 2.522 0zM15.25 19.136a.944.944 0 0 1 1.89 0v1.792a5.71 5.71 0 1 1-11.423 0v-1.792a.944.944 0 0 1 1.89 0v1.792a3.822 3.822 0 1 0 7.643 0v-1.792zm5.841-6.974l.018.019a.941.941 0 0 1-.02 1.335l-2.514 2.44a.944.944 0 0 1-1.316-1.355l.843-.818a6.237 6.237 0 0 0-6.177 6.23.944.944 0 0 1-1.889 0c0-4.492 3.653-8.12 8.12-8.12h.041l-.958-.986a.944.944 0 0 1 1.355-1.316l2.497 2.571a.941.941 0 0 0-.66-.268h-2.234z"/></svg>
|
@@ -1,14 +1,14 @@
|
|
1
1
|
<div class="card__icondata">
|
2
2
|
<ul class="card-data">
|
3
3
|
<li class="card-data__item">
|
4
|
-
<%= icon "random-seed", class: "icon--big" %>
|
4
|
+
<%= icon "random-seed", class: "icon--big", aria_label: t("decidim.sortitions.sortitions.sortition.random_seed"), role: "img" %>
|
5
5
|
</li>
|
6
6
|
<li class="card-data__item">
|
7
|
-
<div class="text-left
|
7
|
+
<div class="text-left">
|
8
8
|
<strong class="heading4">
|
9
9
|
<%= model.seed %>
|
10
10
|
</strong>
|
11
|
-
<small><%= t("decidim.sortitions.sortitions.sortition.random_seed") %></small>
|
11
|
+
<small aria-hidden="true"><%= t("decidim.sortitions.sortitions.sortition.random_seed") %></small>
|
12
12
|
</div>
|
13
13
|
</li>
|
14
14
|
</ul>
|
data/app/controllers/decidim/sortitions/{sortition_widgets_controller.rb → widgets_controller.rb}
RENAMED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
module Decidim
|
4
4
|
module Sortitions
|
5
|
-
class
|
5
|
+
class WidgetsController < Decidim::WidgetsController
|
6
6
|
helper Decidim::SanitizeHelper
|
7
7
|
helper Sortitions::SortitionsHelper
|
8
8
|
|
@@ -13,7 +13,7 @@ module Decidim
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def iframe_url
|
16
|
-
@iframe_url ||=
|
16
|
+
@iframe_url ||= sortition_widget_url(model)
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
@@ -13,9 +13,12 @@ module Decidim
|
|
13
13
|
include Decidim::Loggable
|
14
14
|
include Decidim::Comments::Commentable
|
15
15
|
include Decidim::Randomable
|
16
|
+
include Decidim::TranslatableResource
|
16
17
|
|
17
18
|
component_manifest_name "sortitions"
|
18
19
|
|
20
|
+
translatable_fields :title, :witnesses, :additional_info, :cancel_reason
|
21
|
+
|
19
22
|
belongs_to :decidim_proposals_component,
|
20
23
|
foreign_key: "decidim_proposals_component_id",
|
21
24
|
class_name: "Decidim::Component"
|
@@ -26,7 +26,9 @@ module Decidim
|
|
26
26
|
return Decidim::Proposals::Proposal
|
27
27
|
.except_withdrawn
|
28
28
|
.except_drafts
|
29
|
-
.
|
29
|
+
.except_rejected
|
30
|
+
.not_hidden
|
31
|
+
.where("decidim_proposals_proposals.created_at < ?", request_timestamp)
|
30
32
|
.where(component: sortition.decidim_proposals_component)
|
31
33
|
.order(id: :asc)
|
32
34
|
end
|
@@ -36,6 +38,8 @@ module Decidim
|
|
36
38
|
.joins(:categorization)
|
37
39
|
.except_withdrawn
|
38
40
|
.except_drafts
|
41
|
+
.except_rejected
|
42
|
+
.not_hidden
|
39
43
|
.where(component: sortition.decidim_proposals_component)
|
40
44
|
.where("decidim_proposals_proposals.created_at < ?", request_timestamp)
|
41
45
|
.where("decidim_categorizations.decidim_category_id = ?", category.id)
|
@@ -5,6 +5,7 @@ module Decidim
|
|
5
5
|
# A service to encapsualte all the logic when searching and filtering
|
6
6
|
# sortitions in a participatory process.
|
7
7
|
class SortitionSearch < ResourceSearch
|
8
|
+
text_search_fields :title, :additional_info, :witnesses
|
8
9
|
# Public: Initializes the service.
|
9
10
|
# component - A Decidim::Component to get the proposals from.
|
10
11
|
# page - The page number to paginate the results.
|
@@ -13,18 +14,6 @@ module Decidim
|
|
13
14
|
super(Sortition.all, options)
|
14
15
|
end
|
15
16
|
|
16
|
-
# Handle the search_text filter
|
17
|
-
def search_search_text
|
18
|
-
query
|
19
|
-
.where("title->>'#{current_locale}' ILIKE ?", "%#{search_text}%")
|
20
|
-
.or(
|
21
|
-
query.where("additional_info->>'#{current_locale}' ILIKE ?", "%#{search_text}%")
|
22
|
-
)
|
23
|
-
.or(
|
24
|
-
query.where("witnesses->>'#{current_locale}' ILIKE ?", "%#{search_text}%")
|
25
|
-
)
|
26
|
-
end
|
27
|
-
|
28
17
|
# Handle the state filter
|
29
18
|
def search_state
|
30
19
|
case state
|
@@ -36,12 +25,6 @@ module Decidim
|
|
36
25
|
query
|
37
26
|
end
|
38
27
|
end
|
39
|
-
|
40
|
-
private
|
41
|
-
|
42
|
-
def current_locale
|
43
|
-
I18n.locale.to_s
|
44
|
-
end
|
45
28
|
end
|
46
29
|
end
|
47
30
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<%= decidim_form_for(@form, html: { class: "form confirm_destroy_sortition" }, method: :delete) do |form| %>
|
4
4
|
<div class="card">
|
5
5
|
<div class="card-divider">
|
6
|
-
<h2 class="card-title"><%= translated_attribute
|
6
|
+
<h2 class="card-title"><%= decidim_html_escape(translated_attribute(sortition.title)) %></h2>
|
7
7
|
</div>
|
8
8
|
|
9
9
|
<div class="card-section">
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<% sortitions.each do |sortition| %>
|
26
26
|
<tr>
|
27
27
|
<td><%= sortition.reference %></td>
|
28
|
-
<td><%= translated_attribute
|
28
|
+
<td><%= decidim_html_escape(translated_attribute(sortition.title)) %></td>
|
29
29
|
<td><%= l sortition.created_at, format: :short %></td>
|
30
30
|
<td class="table-list__actions">
|
31
31
|
<%= icon_link_to "eye",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<% content_for(:title, translated_attribute(model.title)) %>
|
1
|
+
<% content_for(:title, decidim_html_escape(translated_attribute(model.title))) %>
|
2
2
|
<p>
|
3
3
|
<%= decidim_sanitize html_truncate(translated_attribute(model.additional_info), length: 100, separator: "...") %>
|
4
4
|
</p>
|
@@ -1,11 +1,13 @@
|
|
1
|
+
<%= render partial: "decidim/shared/filter_form_help", locals: { skip_to_id: "sortitions" } %>
|
2
|
+
|
1
3
|
<%= filter_form_for filter do |form| %>
|
2
4
|
<div class="filters__section">
|
3
5
|
<div class="filters__search">
|
4
6
|
<div class="input-group">
|
5
|
-
<%= form.search_field :search_text, label: false, class: "input-group-field", placeholder: t(".search") %>
|
7
|
+
<%= form.search_field :search_text, label: false, class: "input-group-field", placeholder: t(".search"), title: t(".search"), data: { disable_dynamic_change: true } %>
|
6
8
|
<div class="input-group-button">
|
7
|
-
<button type="submit" class="button
|
8
|
-
<%= icon "magnifying-glass", aria_label: t(".search") %>
|
9
|
+
<button type="submit" class="button" aria-controls="sortitions">
|
10
|
+
<%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %>
|
9
11
|
</button>
|
10
12
|
</div>
|
11
13
|
</div>
|
@@ -15,17 +17,23 @@
|
|
15
17
|
<% if current_participatory_space.categories.any? %>
|
16
18
|
<%= form.categories_select :category_id,
|
17
19
|
current_participatory_space.categories,
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
20
|
+
{
|
21
|
+
legend_title: t(".category"),
|
22
|
+
disable_parents: false,
|
23
|
+
label: "",
|
24
|
+
include_blank: t(".category_prompt"),
|
25
|
+
aria_label: t(".category")
|
26
|
+
},
|
27
|
+
"aria-label": t(".category"),
|
28
|
+
"aria-controls": "sortitions" %>
|
22
29
|
<% end %>
|
23
30
|
|
24
31
|
<%= form.collection_radio_buttons :state,
|
25
32
|
[["all", t(".all")], ["active", t(".active")], ["cancelled", t(".cancelled")]],
|
26
33
|
:first,
|
27
34
|
:last,
|
28
|
-
legend_title: t(".state")
|
35
|
+
{ legend_title: t(".state") },
|
36
|
+
"aria-controls": "sortitions" %>
|
29
37
|
|
30
38
|
<%= hidden_field_tag :order, order, id: nil, class: "order_filter" %>
|
31
39
|
<% end %>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<% end %>
|
8
8
|
<div>
|
9
9
|
<%= link_to resource_locator(sortition).path, class: "card__link" do %>
|
10
|
-
<h5 class="card--list__heading"><%= translated_attribute
|
10
|
+
<h5 class="card--list__heading"><%= decidim_html_escape(translated_attribute(sortition.title)) %></h5>
|
11
11
|
<% end %>
|
12
12
|
<div class="author">
|
13
13
|
<span class="author__avatar">
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<div class="row columns">
|
2
2
|
<div class="title-action">
|
3
|
-
<
|
3
|
+
<h3 id="sortitions-count" class="title-action__title section-heading">
|
4
4
|
<%= render partial: "sortitions_count" %>
|
5
|
-
</
|
5
|
+
</h3>
|
6
6
|
</div>
|
7
7
|
</div>
|
8
8
|
<div class="row">
|
@@ -12,10 +12,10 @@
|
|
12
12
|
<%= render partial: "filters" %>
|
13
13
|
</div>
|
14
14
|
</div>
|
15
|
-
<div id="sortitions" class="columns mediumlarge-8 large-9">
|
15
|
+
<div id="sortitions" class="columns mediumlarge-8 large-9" aria-live="polite">
|
16
16
|
<%= render partial: "sortitions" %>
|
17
17
|
</div>
|
18
18
|
</div>
|
19
19
|
|
20
20
|
<%= javascript_include_tag("decidim/filters") %>
|
21
|
-
<%= javascript_include_tag "decidim/
|
21
|
+
<%= javascript_include_tag "decidim/results_listing" %>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<% add_decidim_meta_tags({
|
2
2
|
description: decidim_sanitize(translated_attribute(sortition.additional_info)),
|
3
|
-
title: translated_attribute(sortition.title),
|
3
|
+
title: decidim_html_escape(translated_attribute(sortition.title)),
|
4
4
|
url: sortition_url(sortition.to_param)
|
5
5
|
}) %>
|
6
6
|
|
@@ -11,7 +11,15 @@
|
|
11
11
|
</div>
|
12
12
|
|
13
13
|
<div class="row column view-header">
|
14
|
-
|
14
|
+
|
15
|
+
<div class="m-bottom">
|
16
|
+
<%= link_to :sortitions, class: "small hollow" do %>
|
17
|
+
<%= icon "chevron-left", class: "icon--small", role: "img", "aria-hidden": true %>
|
18
|
+
<%= t(".back") %>
|
19
|
+
<% end %>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
<h2 class="heading2"><%= decidim_html_escape(translated_attribute(sortition.title)) %></h2>
|
15
23
|
<div class="author-data">
|
16
24
|
<%= render partial: "sortition_author", locals: { sortition: sortition } %>
|
17
25
|
</div>
|
@@ -26,7 +34,7 @@
|
|
26
34
|
</div>
|
27
35
|
<%= resource_reference(sortition) %>
|
28
36
|
<%= render partial: "decidim/shared/share_modal" %>
|
29
|
-
<%= embed_modal_for
|
37
|
+
<%= embed_modal_for sortition_widget_url(sortition, format: :js) %>
|
30
38
|
</div>
|
31
39
|
|
32
40
|
<div class="columns mediumlarge-8 mediumlarge-pull-4">
|
@@ -0,0 +1 @@
|
|
1
|
+
am:
|
data/config/locales/ca.yml
CHANGED
@@ -23,6 +23,7 @@ ca:
|
|
23
23
|
settings:
|
24
24
|
global:
|
25
25
|
comments_enabled: Comentaris habilitats
|
26
|
+
comments_max_length: Longitud màxima dels comentaris (deixa 0 si vols mantenir la configuració per defecte)
|
26
27
|
events:
|
27
28
|
sortitions:
|
28
29
|
sortition_created:
|
@@ -124,6 +125,7 @@ ca:
|
|
124
125
|
show:
|
125
126
|
algorithm: Codi d'algoritme del sorteig
|
126
127
|
any_category: de totes les categories
|
128
|
+
back: Torna al llistat
|
127
129
|
cancelled: Sorteig cancel·lat
|
128
130
|
candidate_proposal_ids: Ordre i IDs de les propostes del sorteig
|
129
131
|
candidate_proposals_info: 'La resolució es va dur a terme entre les següents propostes (%{category_label}), amb les següents IDs (en negreta, les propostes seleccionades) '
|
data/config/locales/cs.yml
CHANGED
@@ -2,127 +2,128 @@ cs:
|
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
4
|
sortition:
|
5
|
-
additional_info: Informace o
|
5
|
+
additional_info: Informace o volbě losem
|
6
6
|
decidim_category_id: Kategorie sady návrhů, ve kterých chcete použít remízu
|
7
7
|
decidim_proposals_component_id: Návrhy jsou nastaveny
|
8
|
-
dice: Výsledek
|
8
|
+
dice: Výsledek hodu kostkou. Hoďte šestistrannou kostkou nebo najděte jiný náhodný způsob, jak získat číslo od 1 do 6, a výsledné číslo sem před svědky vložte. To přispěje ke kvalitě a zaručí nahodilost výsledku
|
9
9
|
target_items: Počet návrhů, které mají být vybrány (udává počet návrhů, které chcete vybrat, čerpáním ze skupiny návrhů, které jste předtím vybrali)
|
10
10
|
title: Titul
|
11
11
|
witnesses: Svědkové
|
12
12
|
models:
|
13
|
-
decidim/sortitions/create_sortition_event:
|
13
|
+
decidim/sortitions/create_sortition_event: Losování
|
14
14
|
activerecord:
|
15
15
|
models:
|
16
16
|
decidim/sortitions/sortition:
|
17
17
|
one: Sortiment
|
18
18
|
few: Sortitions
|
19
19
|
many: Sortitions
|
20
|
-
other:
|
20
|
+
other: Losování
|
21
21
|
decidim:
|
22
22
|
components:
|
23
23
|
sortitions:
|
24
|
-
name:
|
24
|
+
name: Losování
|
25
25
|
settings:
|
26
26
|
global:
|
27
27
|
comments_enabled: Komentáře povoleny
|
28
|
+
comments_max_length: Maximální délka komentáře (ponechte 0 pro výchozí hodnotu)
|
28
29
|
events:
|
29
30
|
sortitions:
|
30
31
|
sortition_created:
|
31
|
-
email_intro:
|
32
|
-
email_outro: Toto oznámení jste obdrželi, protože
|
33
|
-
email_subject:
|
34
|
-
notification_title:
|
32
|
+
email_intro: Losování "%{resource_title}" bylo přidáno k "%{participatory_space_title}", který sledujete.
|
33
|
+
email_outro: Toto oznámení jste obdrželi, protože sledujete "%{participatory_space_title}". Můžete sledování odhlásit na předchozím odkazu.
|
34
|
+
email_subject: Nové losování bylo přidáno k %{participatory_space_title}
|
35
|
+
notification_title: Losování <a href="%{resource_path}">%{resource_title}</a> bylo přidáno k %{participatory_space_title}
|
35
36
|
pages:
|
36
37
|
home:
|
37
38
|
statistics:
|
38
|
-
sortitions_count:
|
39
|
+
sortitions_count: Losování
|
39
40
|
participatory_processes:
|
40
41
|
statistics:
|
41
|
-
sortitions_count:
|
42
|
+
sortitions_count: Losování
|
42
43
|
sortitions:
|
43
44
|
admin:
|
44
45
|
actions:
|
45
|
-
destroy: Zrušit
|
46
|
+
destroy: Zrušit losování
|
46
47
|
edit: Upravit
|
47
|
-
new: Nové
|
48
|
-
show:
|
48
|
+
new: Nové losování
|
49
|
+
show: Detaily losování
|
49
50
|
models:
|
50
51
|
sortition:
|
51
52
|
fields:
|
52
53
|
category: Kategorie
|
53
|
-
created_at: Datum
|
54
|
+
created_at: Datum vytvoření
|
54
55
|
decidim_proposals_component: Součást návrhů
|
55
56
|
dice: Kostky
|
56
57
|
reference: Odkaz
|
57
|
-
request_timestamp:
|
58
|
-
seed:
|
59
|
-
target_items: Položky
|
60
|
-
title:
|
58
|
+
request_timestamp: Čas vržení kostek
|
59
|
+
seed: Založení
|
60
|
+
target_items: Položky k výběru
|
61
|
+
title: Název
|
61
62
|
name:
|
62
|
-
one:
|
63
|
-
few:
|
63
|
+
one: Třídění
|
64
|
+
few: Třídění
|
64
65
|
many: Sortitions
|
65
|
-
other:
|
66
|
+
other: Losování
|
66
67
|
sortitions:
|
67
68
|
confirm_destroy:
|
68
|
-
confirm_destroy: Opravdu chcete
|
69
|
-
destroy: Zrušit
|
70
|
-
title: Zrušení
|
69
|
+
confirm_destroy: Opravdu chcete zrušit toto losování?
|
70
|
+
destroy: Zrušit losování
|
71
|
+
title: Zrušení losování
|
71
72
|
create:
|
72
|
-
error: Při vytváření nového
|
73
|
-
success:
|
73
|
+
error: Při vytváření nového losování došlo k chybě.
|
74
|
+
success: Losování bylo úspěšně vytvořeno
|
74
75
|
destroy:
|
75
|
-
error:
|
76
|
-
success:
|
76
|
+
error: Nelze zrušit losování.
|
77
|
+
success: Losování bylo úspěšně zrušeno
|
77
78
|
edit:
|
78
|
-
title:
|
79
|
+
title: Aktualizovat informace o volbě losem
|
79
80
|
update: Aktualizace
|
80
81
|
form:
|
81
82
|
all_categories: Všechny kategorie
|
82
|
-
select_proposal_component: Vyberte
|
83
|
-
title: Nové
|
83
|
+
select_proposal_component: Vyberte sadu návrhů
|
84
|
+
title: Nové losování pro návrhy
|
84
85
|
index:
|
85
|
-
title:
|
86
|
+
title: Losování
|
86
87
|
new:
|
87
|
-
confirm: Stisknutím dalšího tlačítka Decidim
|
88
|
+
confirm: Stisknutím dalšího tlačítka Decidim zaznamená datum a čas (s přesností sekund) a spolu s vržením kostkou tyto informace budou použity k vytvoření náhodného výběru. Akce bude nevratná, po kliknutí na tlačítko bude výsledek tohoto vrhu publikován, spolu s údaji zadanými v tomto formuláři a nelze je změnit, pečlivě zkontrolujte obsah
|
88
89
|
create: Vytvořit
|
89
|
-
title: Nové
|
90
|
+
title: Nové losování
|
90
91
|
show:
|
91
|
-
selected_proposals: Návrhy vybrané pro
|
92
|
+
selected_proposals: Návrhy vybrané pro losování
|
92
93
|
update:
|
93
|
-
error: Při aktualizaci
|
94
|
-
success:
|
94
|
+
error: Při aktualizaci losování došlo k chybě.
|
95
|
+
success: Losování úspěšně aktualizováno
|
95
96
|
admin_log:
|
96
97
|
sortition:
|
97
98
|
create: "%{user_name} vytvořil %{resource_name} sortit v %{space_name}"
|
98
|
-
delete: "%{user_name} zrušil %{resource_name}
|
99
|
-
update: "%{user_name} aktualizoval %{resource_name}
|
99
|
+
delete: "%{user_name} zrušil losování %{resource_name} v %{space_name}"
|
100
|
+
update: "%{user_name} aktualizoval losování %{resource_name} v %{space_name}"
|
100
101
|
sortitions:
|
101
102
|
count:
|
102
103
|
proposals_count:
|
103
|
-
one:
|
104
|
+
one: návrh
|
104
105
|
few: "%{count} návrhů"
|
105
106
|
many: "%{count} návrhů"
|
106
107
|
other: "%{count} návrhů"
|
107
108
|
filters:
|
108
109
|
active: Aktivní
|
109
|
-
all:
|
110
|
+
all: Vše
|
110
111
|
cancelled: Zrušeno
|
111
112
|
category: Kategorie
|
112
113
|
category_prompt: Vyberte kategorii
|
113
114
|
search: Vyhledávání
|
114
|
-
state:
|
115
|
+
state: Stav
|
115
116
|
filters_small_view:
|
116
|
-
close_modal: Zavřít
|
117
|
+
close_modal: Zavřít okno
|
117
118
|
filter: Filtr
|
118
119
|
filter_by: Filtrovat podle
|
119
|
-
unfold:
|
120
|
+
unfold: Rozbalit
|
120
121
|
linked_sortitions:
|
121
122
|
selected_proposals: Vybrané návrhy
|
122
123
|
orders:
|
123
|
-
label: '
|
124
|
-
random:
|
125
|
-
recent:
|
124
|
+
label: 'Řazení losování podle:'
|
125
|
+
random: Náhodně
|
126
|
+
recent: Nedávné
|
126
127
|
results_count:
|
127
128
|
count:
|
128
129
|
one: vybraný návrh
|
@@ -130,34 +131,35 @@ cs:
|
|
130
131
|
many: vybrané návrhy
|
131
132
|
other: vybrané návrhy
|
132
133
|
show:
|
133
|
-
algorithm: Kód algoritmu
|
134
|
+
algorithm: Kód algoritmu losování
|
134
135
|
any_category: ze všech kategorií
|
135
|
-
|
136
|
-
|
137
|
-
|
136
|
+
back: Zpět na seznam
|
137
|
+
cancelled: Zrušené losování
|
138
|
+
candidate_proposal_ids: Pořadí a ID návrhů k losování
|
139
|
+
candidate_proposals_info: 'Losování bylo provedeno mezi následujícími návrhy (%{category_label}), s následujícími ID (označené tučně vybrané návrhy) '
|
138
140
|
category: z kategorie %{category}
|
139
|
-
dice_result: "(1) Výsledek
|
140
|
-
introduction: 'Tato stránka obsahuje výsledky
|
141
|
+
dice_result: "(1) Výsledek hodu kostkou"
|
142
|
+
introduction: 'Tato stránka obsahuje výsledky losování %{reference}. Prostřednictvím tohoto losování bylo vybráno %{target_items} počet výsledků náhodně a se stejným rozdělením pravděpodobnosti ze souboru návrhů zobrazených níže. Spolu s výsledky informace zobrazené na této stránce poskytují všechny informace potřebné pro maximalizaci záruk a reprodukci výsledků. Klíčem ke kvalitě tohoto losování je dvojitá náhodnost, kterou poskytuje hod kostkou (ověřený svědky) a přesný čas výběru, který poskytuje vstup pro algoritmus, který generuje náhodný výběr. Časový základ pro losování je tak přesný(sekundy), že není možné ovládat lidi, a tak lze poskytnout dvojitý "nekontrolovatelný" vstup, který zaručí spravedlivý výsledek. '
|
141
143
|
mathematical_result: Výsledek (1) x (2)
|
142
|
-
proposals_selected_by_sortition: Návrhy vybrané
|
143
|
-
sortition_reproducibility_details:
|
144
|
-
time_seed: "(2)
|
145
|
-
witnesses:
|
144
|
+
proposals_selected_by_sortition: Návrhy vybrané losováním
|
145
|
+
sortition_reproducibility_details: Detaily reprodukovatelnosti losování
|
146
|
+
time_seed: "(2) Časový základ"
|
147
|
+
witnesses: Svědci
|
146
148
|
sortition:
|
147
|
-
random_seed:
|
149
|
+
random_seed: Náhodný časový základ
|
148
150
|
selected_proposals:
|
149
151
|
one: vybraný návrh
|
150
152
|
few: vybraných návrhů
|
151
153
|
many: vybraných návrhů
|
152
154
|
other: vybraných návrhů
|
153
|
-
view:
|
155
|
+
view: Zobrazit
|
154
156
|
sortition_author:
|
155
|
-
deleted:
|
157
|
+
deleted: Odstraněný uživatel
|
156
158
|
sortition_cancel_author:
|
157
|
-
deleted:
|
159
|
+
deleted: Odstraněný uživatel
|
158
160
|
sortitions_count:
|
159
161
|
count:
|
160
162
|
one: 1 sortie
|
161
163
|
few: "%{count} sortitions"
|
162
164
|
many: "%{count} sortitions"
|
163
|
-
other: "%{count}
|
165
|
+
other: "%{count} losování"
|