decidim-proposals 0.24.3 → 0.25.0.rc1
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/proposals/cost_report_cell.rb +1 -1
- data/app/cells/decidim/proposals/proposal_m_cell.rb +4 -0
- data/app/cells/decidim/proposals/proposals_picker/show.erb +1 -1
- data/app/commands/decidim/proposals/admin/import_proposals.rb +21 -4
- data/app/controllers/decidim/proposals/admin/proposals_controller.rb +1 -1
- data/app/controllers/decidim/proposals/collaborative_drafts_controller.rb +1 -0
- data/app/controllers/decidim/proposals/proposals_controller.rb +1 -0
- data/app/forms/decidim/proposals/admin/import_participatory_text_form.rb +1 -0
- data/app/forms/decidim/proposals/admin/proposals_import_form.rb +6 -0
- data/app/forms/decidim/proposals/proposal_form.rb +7 -4
- data/app/helpers/decidim/proposals/map_helper.rb +5 -5
- data/app/helpers/decidim/proposals/participatory_texts_helper.rb +1 -1
- data/app/helpers/decidim/proposals/proposal_wizard_helper.rb +0 -16
- data/app/models/decidim/proposals/proposal.rb +11 -1
- data/app/{assets → packs}/documents/decidim/proposals/participatory_texts/participatory_text.md +0 -0
- data/app/{assets → packs}/documents/decidim/proposals/participatory_texts/participatory_text.odt +0 -0
- data/app/packs/entrypoints/decidim_proposals.js +8 -0
- data/app/packs/entrypoints/decidim_proposals_admin.js +3 -0
- data/app/{assets/images/decidim/gamification/badges/accepted_proposals.svg → packs/images/decidim/gamification/badges/decidim_gamification_badges_accepted_proposals.svg} +0 -0
- data/app/{assets/images/decidim/gamification/badges/proposal_votes.svg → packs/images/decidim/gamification/badges/decidim_gamification_badges_proposal_votes.svg} +0 -0
- data/app/{assets/images/decidim/gamification/badges/proposals.svg → packs/images/decidim/gamification/badges/decidim_gamification_badges_proposals.svg} +0 -0
- data/app/{assets/images/decidim/proposals/icon.svg → packs/images/decidim/proposals/decidim_proposals.svg} +0 -0
- data/app/packs/src/decidim/proposals/add_proposal.js +49 -0
- data/app/packs/src/decidim/proposals/admin/proposals.js +143 -0
- data/app/{assets/javascripts/decidim/proposals/admin/proposals_form.js.es6 → packs/src/decidim/proposals/admin/proposals_form.js} +2 -2
- data/app/{assets/javascripts/decidim/proposals/admin/proposals_picker.js.es6 → packs/src/decidim/proposals/admin/proposals_picker.js} +0 -0
- data/app/{assets/javascripts/decidim/proposals/utils.js.es6 → packs/src/decidim/proposals/utils.js} +2 -2
- data/app/packs/stylesheets/decidim/proposals/_proposals.scss +1 -0
- data/app/{assets/stylesheets/decidim/proposals/proposals/_preview.css.scss → packs/stylesheets/decidim/proposals/proposals/_preview.scss} +0 -0
- data/app/queries/decidim/proposals/metrics/accepted_proposals_metric_manage.rb +1 -1
- data/app/queries/decidim/proposals/metrics/proposals_metric_manage.rb +1 -1
- data/app/queries/decidim/proposals/metrics/votes_metric_manage.rb +1 -1
- data/app/queries/decidim/proposals/similar_proposals.rb +1 -0
- data/app/services/decidim/proposals/proposal_builder.rb +4 -4
- data/app/views/decidim/proposals/admin/proposals/_form.html.erb +1 -1
- data/app/views/decidim/proposals/admin/proposals/index.html.erb +1 -1
- data/app/views/decidim/proposals/admin/proposals_imports/new.html.erb +6 -0
- data/app/views/decidim/proposals/collaborative_drafts/_filters.html.erb +1 -1
- data/app/views/decidim/proposals/collaborative_drafts/edit.html.erb +1 -1
- data/app/views/decidim/proposals/collaborative_drafts/index.html.erb +0 -2
- data/app/views/decidim/proposals/collaborative_drafts/new.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/_dynamic_map_instructions.html.erb +2 -1
- data/app/views/decidim/proposals/proposals/_edit_form_fields.html.erb +5 -1
- data/app/views/decidim/proposals/proposals/_filters.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/complete.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/edit.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/edit_draft.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/index.html.erb +4 -6
- data/app/views/decidim/proposals/proposals/new.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/preview.html.erb +7 -31
- data/config/assets.rb +10 -0
- data/config/locales/ar.yml +3 -1
- data/config/locales/bg.yml +3 -1
- data/config/locales/ca.yml +10 -4
- data/config/locales/cs.yml +12 -3
- data/config/locales/de.yml +10 -4
- data/config/locales/el.yml +3 -1
- data/config/locales/en.yml +12 -3
- data/config/locales/es-MX.yml +10 -4
- data/config/locales/es-PY.yml +10 -4
- data/config/locales/es.yml +10 -4
- data/config/locales/eu.yml +3 -1
- data/config/locales/fi-plain.yml +12 -3
- data/config/locales/fi.yml +12 -3
- data/config/locales/fr-CA.yml +8 -3
- data/config/locales/fr-LU.yml +903 -0
- data/config/locales/fr.yml +8 -3
- data/config/locales/gl.yml +11 -3
- data/config/locales/hu.yml +3 -1
- data/config/locales/id-ID.yml +3 -1
- data/config/locales/it.yml +55 -1
- data/config/locales/ja.yml +38 -1
- data/config/locales/lb-LU.yml +1 -0
- data/config/locales/lv.yml +3 -1
- data/config/locales/nl.yml +13 -2
- data/config/locales/no.yml +3 -1
- data/config/locales/pl.yml +14 -10
- data/config/locales/pt-BR.yml +199 -1
- data/config/locales/pt.yml +3 -1
- data/config/locales/ro-RO.yml +6 -1
- data/config/locales/ru.yml +3 -1
- data/config/locales/sk.yml +3 -1
- data/config/locales/sv.yml +13 -4
- data/config/locales/tr-TR.yml +3 -4
- data/config/locales/uk.yml +3 -1
- data/config/locales/zh-CN.yml +3 -1
- data/db/migrate/20201002085508_fix_proposals_data.rb +7 -8
- data/db/migrate/20210318082934_fix_counters_for_copied_proposals.rb +6 -5
- data/lib/decidim/proposals.rb +0 -1
- data/lib/decidim/proposals/admin_engine.rb +0 -4
- data/lib/decidim/proposals/commentable_proposal.rb +5 -13
- data/lib/decidim/proposals/component.rb +4 -4
- data/lib/decidim/proposals/engine.rb +14 -19
- data/lib/decidim/proposals/proposal_serializer.rb +1 -0
- data/lib/decidim/proposals/test/capybara_proposals_picker.rb +10 -0
- data/lib/decidim/proposals/test/factories.rb +3 -0
- data/lib/decidim/proposals/version.rb +1 -1
- metadata +39 -113
- data/app/assets/config/admin/decidim_proposals_manifest.js +0 -2
- data/app/assets/config/decidim_proposals_manifest.js +0 -4
- data/app/assets/javascripts/decidim/proposals/add_proposal.js.es6 +0 -31
- data/app/assets/javascripts/decidim/proposals/admin/proposals.es6 +0 -130
- data/app/assets/stylesheets/decidim/proposals/_proposals.css.scss +0 -1
- data/config/locales/ja-JP.yml +0 -865
File without changes
|
data/app/{assets/javascripts/decidim/proposals/utils.js.es6 → packs/src/decidim/proposals/utils.js}
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* eslint-disable no-invalid-this */
|
2
2
|
|
3
|
-
(() => {
|
3
|
+
$(() => {
|
4
4
|
$("#vote_button").mouseover(function () {
|
5
5
|
$(this).text($(this).data("replace"));
|
6
6
|
});
|
@@ -8,4 +8,4 @@
|
|
8
8
|
$("#vote_button").mouseout(function () {
|
9
9
|
$(this).text($(this).data("original"));
|
10
10
|
});
|
11
|
-
})
|
11
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "stylesheets/decidim/proposals/proposals/preview";
|
File without changes
|
@@ -16,7 +16,7 @@ module Decidim
|
|
16
16
|
spaces = Decidim.participatory_space_manifests.flat_map do |manifest|
|
17
17
|
manifest.participatory_spaces.call(@organization).public_spaces
|
18
18
|
end
|
19
|
-
@query = Decidim::Proposals::Proposal.where(component:
|
19
|
+
@query = Decidim::Proposals::Proposal.where(component: visible_components_from_spaces(spaces)).joins(:component)
|
20
20
|
.left_outer_joins(:category)
|
21
21
|
@query = @query.where("decidim_proposals_proposals.created_at <= ?", end_time).accepted
|
22
22
|
@query = @query.group("decidim_categorizations.id", :participatory_space_type, :participatory_space_id)
|
@@ -30,7 +30,7 @@ module Decidim
|
|
30
30
|
spaces = Decidim.participatory_space_manifests.flat_map do |manifest|
|
31
31
|
manifest.participatory_spaces.call(@organization)
|
32
32
|
end
|
33
|
-
@query = Decidim::Proposals::Proposal.where(component:
|
33
|
+
@query = Decidim::Proposals::Proposal.where(component: visible_components_from_spaces(spaces)).joins(:component)
|
34
34
|
.left_outer_joins(:category)
|
35
35
|
@query = @query.where("decidim_proposals_proposals.published_at <= ?", end_time).except_withdrawn.not_hidden
|
36
36
|
@query = @query.group("decidim_categorizations.decidim_category_id",
|
@@ -31,7 +31,7 @@ module Decidim
|
|
31
31
|
spaces = Decidim.participatory_space_manifests.flat_map do |manifest|
|
32
32
|
manifest.participatory_spaces.call(@organization).public_spaces
|
33
33
|
end
|
34
|
-
proposal_ids = Decidim::Proposals::Proposal.where(component:
|
34
|
+
proposal_ids = Decidim::Proposals::Proposal.where(component: visible_components_from_spaces(spaces)).except_withdrawn.not_hidden.pluck(:id)
|
35
35
|
@query = Decidim::Proposals::ProposalVote.joins(proposal: :component)
|
36
36
|
.left_outer_joins(proposal: :category)
|
37
37
|
.where(proposal: proposal_ids)
|
@@ -110,14 +110,14 @@ module Decidim
|
|
110
110
|
# Attached to needs to be always defined before the file is set
|
111
111
|
attached_to: proposal
|
112
112
|
}.merge(
|
113
|
-
attachment.attributes.slice("content_type", "description", "
|
113
|
+
attachment.attributes.slice("content_type", "description", "file_size", "title", "weight")
|
114
114
|
)
|
115
115
|
)
|
116
116
|
|
117
|
-
if
|
118
|
-
new_attachment.file =
|
117
|
+
if attachment.file.attached?
|
118
|
+
new_attachment.file = attachment.file.blob
|
119
119
|
else
|
120
|
-
new_attachment.
|
120
|
+
new_attachment.attached_uploader(:file).remote_url = attachment.attached_uploader(:file).url(host: original_proposal.organization.host)
|
121
121
|
end
|
122
122
|
|
123
123
|
new_attachment.save!
|
@@ -16,6 +16,12 @@
|
|
16
16
|
<div class="row column">
|
17
17
|
<%= f.check_box :keep_authors %>
|
18
18
|
</div>
|
19
|
+
<div class="row column">
|
20
|
+
<%= f.check_box :keep_answers %>
|
21
|
+
</div>
|
22
|
+
<div class="row column">
|
23
|
+
<%= scopes_picker_filter f, :scope_ids %>
|
24
|
+
</div>
|
19
25
|
<div class="row column">
|
20
26
|
<%= f.check_box :import_proposals %>
|
21
27
|
</div>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<div class="filters__section">
|
5
5
|
<div class="filters__search">
|
6
6
|
<div class="input-group">
|
7
|
-
<%= form.search_field :search_text, label: false, class: "input-group-field", placeholder: t(".search"), title: t(".search"), data: { disable_dynamic_change: true } %>
|
7
|
+
<%= form.search_field :search_text, label: false, class: "input-group-field", placeholder: t(".search"), title: t(".search"), "aria-label": t(".search"), data: { disable_dynamic_change: true } %>
|
8
8
|
<div class="input-group-button">
|
9
9
|
<button type="submit" class="button" aria-controls="collaborative_drafts">
|
10
10
|
<%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %>
|
@@ -39,6 +39,10 @@
|
|
39
39
|
|
40
40
|
<div class="field" id="address_input">
|
41
41
|
<%= form.geocoding_field :address, placeholder: t("decidim.proposals.proposals.placeholder.address") %>
|
42
|
+
<div class="map" id="address_map">
|
43
|
+
<%= render partial: "dynamic_map_instructions" %>
|
44
|
+
<%= dynamic_map_for proposal_preview_data_for_map(@proposal) %>
|
45
|
+
</div>
|
42
46
|
</div>
|
43
47
|
<% end %>
|
44
48
|
|
@@ -67,7 +71,7 @@
|
|
67
71
|
<% if @form.photos.any? %>
|
68
72
|
<% @form.photos.each do |photo| %>
|
69
73
|
<div class="callout gallery__item" id="attachment_<%= photo.id %>" data-closable>
|
70
|
-
<%= image_tag photo.thumbnail_url, class: "thumbnail", alt: photo.file.
|
74
|
+
<%= image_tag photo.thumbnail_url, class: "thumbnail", alt: photo.file.filename %>
|
71
75
|
<%= form.hidden_field :photos, multiple: true, value: photo.id, id: "photo-#{photo.id}" %>
|
72
76
|
<button class="close-button"
|
73
77
|
aria-label="<%= t("delete_image", scope: "decidim.proposals.proposals.edit") %>"
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<div class="filters__section">
|
5
5
|
<div class="filters__search">
|
6
6
|
<div class="input-group">
|
7
|
-
<%= form.search_field :search_text, label: false, class: "input-group-field", placeholder: t(".search"), title: t(".search"), data: { disable_dynamic_change: true } %>
|
7
|
+
<%= form.search_field :search_text, label: false, class: "input-group-field", placeholder: t(".search"), title: t(".search"), "aria-label": t(".search"), data: { disable_dynamic_change: true } %>
|
8
8
|
<div class="input-group-button">
|
9
9
|
<button type="submit" class="button" aria-controls="proposals">
|
10
10
|
<%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<h3>${title}</h3>
|
8
8
|
<div id="bodyContent">
|
9
9
|
<p>{{html body}}</p>
|
10
|
-
<div class="map__date-
|
10
|
+
<div class="map__date-address">
|
11
11
|
<div class="address card__extra">
|
12
12
|
<div class="address__icon">{{html icon}}</div>
|
13
13
|
<div class="address__details">
|
@@ -55,9 +55,7 @@
|
|
55
55
|
</div>
|
56
56
|
</div>
|
57
57
|
<div class="row">
|
58
|
-
<div class="text-right">
|
59
|
-
|
60
|
-
</div>
|
58
|
+
<div class="text-right">
|
59
|
+
<%= link_to t(".see_all_withdrawn"), proposals_path("filter[state][]" => "withdrawn") %>
|
60
|
+
</div>
|
61
61
|
</div>
|
62
|
-
<%= javascript_include_tag("decidim/filters") %>
|
63
|
-
<%= javascript_include_tag "decidim/results_listing" %>
|
@@ -13,46 +13,22 @@
|
|
13
13
|
<% end %>
|
14
14
|
|
15
15
|
<%= render_proposal_body(@proposal) %>
|
16
|
-
|
17
16
|
</div>
|
18
17
|
<div class="row column">
|
19
18
|
<%= cell "decidim/proposals/proposal_tags", @proposal %>
|
20
19
|
</div>
|
21
20
|
</div>
|
22
|
-
<div class="row column">
|
23
|
-
<%= attachments_for @proposal %>
|
24
|
-
</div>
|
25
|
-
|
26
21
|
<% if component_settings.geocoding_enabled? %>
|
27
22
|
<% if has_position?(@proposal) %>
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
<% end %>
|
33
|
-
<%= decidim_form_for(@form, url: update_draft_proposal_path(@form), html: { method: :patch }) do |form| %>
|
34
|
-
<%= form.hidden_field :title, value: form_presenter.title %>
|
35
|
-
<%= form.hidden_field :body, value: form_presenter.body %>
|
36
|
-
<%= form.hidden_field :address %>
|
37
|
-
<%= form.hidden_field :latitude, data: { type: "latitude" } %>
|
38
|
-
<%= form.hidden_field :longitude, data: { type: "longitude" } %>
|
39
|
-
<div class="preview--form__hidden">
|
40
|
-
<% if @form.categories&.any? %>
|
41
|
-
<%= form.categories_select :category_id, @form.categories %>
|
42
|
-
<% end %>
|
43
|
-
<% if current_participatory_space.has_subscopes? %>
|
44
|
-
<%= scopes_picker_field form, :scope_id %>
|
45
|
-
<% end %>
|
46
|
-
<% if current_user.user_groups.verified.any? %>
|
47
|
-
<%= form.select :user_group_id, current_user.user_groups.verified.map { |g| [g.name, g.id] }, prompt: current_user.name %>
|
48
|
-
<% end %>
|
49
|
-
</div>
|
50
|
-
<div class="actions">
|
51
|
-
<%= form.submit t(".update_position"), class: "button expanded", data: { disable: true } %>
|
52
|
-
</div>
|
53
|
-
<% end %>
|
23
|
+
<div class="row column">
|
24
|
+
<h3 class="section-heading"><%= t("decidim.application.geocoding.geocoded_address") %></h3>
|
25
|
+
<%= render partial: "decidim/shared/static_map", locals: { icon_name: "proposals", geolocalizable: @proposal } %>
|
26
|
+
</div>
|
54
27
|
<% end %>
|
55
28
|
<% end %>
|
29
|
+
<div class="row column">
|
30
|
+
<%= attachments_for @proposal %>
|
31
|
+
</div>
|
56
32
|
|
57
33
|
<div class="p-l">
|
58
34
|
<div class="row column flex-center">
|
data/config/assets.rb
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
base_path = File.expand_path("..", __dir__)
|
4
|
+
|
5
|
+
Decidim::Webpacker.register_path("#{base_path}/app/packs")
|
6
|
+
Decidim::Webpacker.register_entrypoints(
|
7
|
+
decidim_proposals: "#{base_path}/app/packs/entrypoints/decidim_proposals.js",
|
8
|
+
decidim_proposals_admin: "#{base_path}/app/packs/entrypoints/decidim_proposals_admin.js"
|
9
|
+
)
|
10
|
+
Decidim::Webpacker.register_stylesheet_import("stylesheets/decidim/proposals/proposals")
|
data/config/locales/ar.yml
CHANGED
@@ -42,7 +42,9 @@ ar:
|
|
42
42
|
invalid_document_type: 'نوع المستند غير صالح. التنسيقات المقبولة هي: %{valid_mime_types}'
|
43
43
|
proposal:
|
44
44
|
attributes:
|
45
|
-
|
45
|
+
add_documents:
|
46
|
+
needs_to_be_reattached: يحتاج إلى إعادة ربط
|
47
|
+
add_photos:
|
46
48
|
needs_to_be_reattached: يحتاج إلى إعادة ربط
|
47
49
|
body:
|
48
50
|
identical: لا يمكن أن يكون العنوان متطابقًا
|
data/config/locales/bg.yml
CHANGED
@@ -42,7 +42,9 @@ bg:
|
|
42
42
|
invalid_document_type: 'Невалиден тип документ. Допустимите формати са: %{valid_mime_types}'
|
43
43
|
proposal:
|
44
44
|
attributes:
|
45
|
-
|
45
|
+
add_documents:
|
46
|
+
needs_to_be_reattached: Необходимо е да се прикачи отново
|
47
|
+
add_photos:
|
46
48
|
needs_to_be_reattached: Необходимо е да се прикачи отново
|
47
49
|
body:
|
48
50
|
cant_be_equal_to_template: не може да е еднакво с шаблона
|
data/config/locales/ca.yml
CHANGED
@@ -35,6 +35,7 @@ ca:
|
|
35
35
|
origin_component_id: Component des d'on importar les propostes
|
36
36
|
proposals_import:
|
37
37
|
import_proposals: Importar propostes
|
38
|
+
keep_answers: Manté l'estat i les respostes
|
38
39
|
keep_authors: Mantenir l'autoria original
|
39
40
|
valuation_assignment:
|
40
41
|
admin_log:
|
@@ -47,7 +48,9 @@ ca:
|
|
47
48
|
invalid_document_type: 'Tipus de document no vàlid. Els formats acceptats són: %{valid_mime_types}'
|
48
49
|
proposal:
|
49
50
|
attributes:
|
50
|
-
|
51
|
+
add_documents:
|
52
|
+
needs_to_be_reattached: És necessari tornar a adjuntar l'arxiu
|
53
|
+
add_photos:
|
51
54
|
needs_to_be_reattached: És necessari tornar a adjuntar l'arxiu
|
52
55
|
body:
|
53
56
|
cant_be_equal_to_template: No pot ser igual a la plantilla
|
@@ -113,9 +116,11 @@ ca:
|
|
113
116
|
proposals:
|
114
117
|
actions:
|
115
118
|
amend: Esmena
|
119
|
+
comment: Comentar
|
116
120
|
create: Crear
|
117
121
|
endorse: Adherir-se
|
118
122
|
vote: Donar suport
|
123
|
+
vote_comment: Votar el comentari
|
119
124
|
withdraw: Retirar
|
120
125
|
name: Propostes
|
121
126
|
settings:
|
@@ -710,8 +715,6 @@ ca:
|
|
710
715
|
proposals_count:
|
711
716
|
one: "%{count} proposta"
|
712
717
|
other: "%{count} propostes"
|
713
|
-
dynamic_map_instructions:
|
714
|
-
instructions: <h3>Pots moure el punt al mapa. </h3><p>No oblidis fer clic al botó "Actualitzar posició" abans de publicar la teva proposta.</p>
|
715
718
|
edit:
|
716
719
|
add_documents: Documents
|
717
720
|
add_images: Arxiu
|
@@ -783,7 +786,6 @@ ca:
|
|
783
786
|
other: Podràs editar aquesta proposta durant els primers %{count} minuts després de la publicació de la proposta. Un cop passada aquesta finestra de temps, no podràs editar la proposta.
|
784
787
|
publish: Publica
|
785
788
|
title: Publica la teva proposta
|
786
|
-
update_position: Actualitzar posició
|
787
789
|
proposal:
|
788
790
|
creation_date: 'Data de creació: %{date}'
|
789
791
|
view_proposal: Veure proposta
|
@@ -900,3 +902,7 @@ ca:
|
|
900
902
|
included_proposals:
|
901
903
|
proposal_project: 'Proposta vinculada a aquests projectes:'
|
902
904
|
proposal_result: 'Proposta vinculada a aquests resultats:'
|
905
|
+
statistics:
|
906
|
+
proposals_accepted: Propostes acceptades
|
907
|
+
proposals_count: Propostes
|
908
|
+
supports_count: Suports
|
data/config/locales/cs.yml
CHANGED
@@ -35,6 +35,7 @@ cs:
|
|
35
35
|
origin_component_id: Komponenta pro kopírování návrhů z
|
36
36
|
proposals_import:
|
37
37
|
import_proposals: Návrhy na dovoz
|
38
|
+
keep_answers: Zachovat stav a odpovědi
|
38
39
|
keep_authors: Uchovávejte původní autory
|
39
40
|
valuation_assignment:
|
40
41
|
admin_log:
|
@@ -47,7 +48,9 @@ cs:
|
|
47
48
|
invalid_document_type: 'Neplatný typ dokumentu. Přijaté formáty jsou: %{valid_mime_types}'
|
48
49
|
proposal:
|
49
50
|
attributes:
|
50
|
-
|
51
|
+
add_documents:
|
52
|
+
needs_to_be_reattached: Potřebuje být znovu připojen
|
53
|
+
add_photos:
|
51
54
|
needs_to_be_reattached: Potřebuje být znovu připojen
|
52
55
|
body:
|
53
56
|
cant_be_equal_to_template: nelze se rovnat šabloně
|
@@ -121,9 +124,11 @@ cs:
|
|
121
124
|
proposals:
|
122
125
|
actions:
|
123
126
|
amend: Pozměnit
|
127
|
+
comment: Komentář
|
124
128
|
create: Vytvořit
|
125
129
|
endorse: Schválit
|
126
130
|
vote: Hlasování
|
131
|
+
vote_comment: Komentář hlasování
|
127
132
|
withdraw: Ustoupit
|
128
133
|
name: Návrhy
|
129
134
|
settings:
|
@@ -727,7 +732,8 @@ cs:
|
|
727
732
|
many: "%{count} návrhů"
|
728
733
|
other: "%{count} návrhů"
|
729
734
|
dynamic_map_instructions:
|
730
|
-
|
735
|
+
description: Souřadnice budou aktualizovány po kliknutí na tlačítko 'náhled'. Adresa se však nemění.
|
736
|
+
instructions: Můžete přesunout bod na mapě.
|
731
737
|
edit:
|
732
738
|
add_documents: Dokumenty
|
733
739
|
add_images: Soubor
|
@@ -803,7 +809,6 @@ cs:
|
|
803
809
|
other: Budete mít možnost upravit tento návrh během prvních %{count} minut po návrh zveřejněn. Po uplynutí tohoto časového okna nebudete moci návrh upravit.
|
804
810
|
publish: Publikovat
|
805
811
|
title: Publikujte svůj návrh
|
806
|
-
update_position: Aktualizovat pozici
|
807
812
|
proposal:
|
808
813
|
creation_date: 'Tvorba: %{date}'
|
809
814
|
view_proposal: Zobrazit návrh
|
@@ -924,3 +929,7 @@ cs:
|
|
924
929
|
included_proposals:
|
925
930
|
proposal_project: 'Návrh se objevuje v těchto projektech:'
|
926
931
|
proposal_result: 'Návrh se objeví v těchto výsledcích:'
|
932
|
+
statistics:
|
933
|
+
proposals_accepted: Přijaté návrhy
|
934
|
+
proposals_count: Návrhy
|
935
|
+
supports_count: Podpory
|
data/config/locales/de.yml
CHANGED
@@ -35,6 +35,7 @@ de:
|
|
35
35
|
origin_component_id: Komponente zum Kopieren der Vorschläge aus
|
36
36
|
proposals_import:
|
37
37
|
import_proposals: Vorschläge importieren
|
38
|
+
keep_answers: Status und Antworten behalten
|
38
39
|
keep_authors: Behalten Sie die ursprünglichen Autoren
|
39
40
|
valuation_assignment:
|
40
41
|
admin_log:
|
@@ -47,7 +48,9 @@ de:
|
|
47
48
|
invalid_document_type: 'Ungültiger Dokumenttyp Zulässige Formate sind: %{valid_mime_types}'
|
48
49
|
proposal:
|
49
50
|
attributes:
|
50
|
-
|
51
|
+
add_documents:
|
52
|
+
needs_to_be_reattached: Der Anhang muss erneut angehängt werden
|
53
|
+
add_photos:
|
51
54
|
needs_to_be_reattached: Der Anhang muss erneut angehängt werden
|
52
55
|
body:
|
53
56
|
cant_be_equal_to_template: kann nicht gleich der Vorlage sein
|
@@ -113,9 +116,11 @@ de:
|
|
113
116
|
proposals:
|
114
117
|
actions:
|
115
118
|
amend: Änderungsvorschlag
|
119
|
+
comment: Kommentieren
|
116
120
|
create: Erstellen
|
117
121
|
endorse: Unterstützung
|
118
122
|
vote: Abstimmung
|
123
|
+
vote_comment: Kommentar bewerten
|
119
124
|
withdraw: Zurückziehen
|
120
125
|
name: Vorschläge
|
121
126
|
settings:
|
@@ -710,8 +715,6 @@ de:
|
|
710
715
|
proposals_count:
|
711
716
|
one: "%{count} Vorschlag"
|
712
717
|
other: "%{count} Vorschläge"
|
713
|
-
dynamic_map_instructions:
|
714
|
-
instructions: <h3>Sie können den Punkt auf der Karte verschieben.</h3><p>Vergessen Sie nicht, vor der Veröffentlichung Ihres Vorschlags auf die Schaltfläche "Position aktualisieren" zu klicken.</p>
|
715
718
|
edit:
|
716
719
|
add_documents: Dokumente
|
717
720
|
add_images: Datei
|
@@ -783,7 +786,6 @@ de:
|
|
783
786
|
other: Sie können diesen Vorschlag in den ersten %{count} Minute nach seiner Veröffentlichung bearbeiten. Nach Ablauf dieses Zeitfensters können Sie diesen nicht mehr bearbeiten.
|
784
787
|
publish: Veröffentlichen
|
785
788
|
title: Vorschlag veröffentlichen
|
786
|
-
update_position: Position aktualisieren
|
787
789
|
proposal:
|
788
790
|
creation_date: 'Erstellt am %{date}'
|
789
791
|
view_proposal: Vorschlag anzeigen
|
@@ -900,3 +902,7 @@ de:
|
|
900
902
|
included_proposals:
|
901
903
|
proposal_project: 'Vorschlag, der in diesen Projekten erscheint:'
|
902
904
|
proposal_result: 'Vorschlag erscheint in diesen Ergebnissen:'
|
905
|
+
statistics:
|
906
|
+
proposals_accepted: Akzeptierte Vorschläge
|
907
|
+
proposals_count: Vorschläge
|
908
|
+
supports_count: Unterstützungen
|