decidim-proposals 0.26.0.rc2 → 0.26.2
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/collaborative_draft_cell.rb +1 -1
- data/app/cells/decidim/proposals/participatory_text_proposal_cell.rb +1 -1
- data/app/cells/decidim/proposals/proposal_cell.rb +1 -1
- data/app/cells/decidim/proposals/proposal_m_cell.rb +3 -1
- data/app/cells/decidim/proposals/proposals_picker_cell.rb +1 -0
- data/app/commands/decidim/proposals/admin/answer_proposal.rb +7 -2
- data/app/commands/decidim/proposals/admin/create_proposal.rb +1 -1
- data/app/commands/decidim/proposals/admin/update_proposal.rb +1 -1
- data/app/commands/decidim/proposals/hashtags_methods.rb +1 -1
- data/app/events/decidim/proposals/admin/proposal_note_created_event.rb +1 -1
- data/app/events/decidim/proposals/collaborative_draft_withdrawn_event.rb +5 -1
- data/app/forms/decidim/proposals/admin/proposal_answer_form.rb +1 -1
- data/app/forms/decidim/proposals/admin/proposal_base_form.rb +1 -1
- data/app/helpers/decidim/proposals/application_helper.rb +1 -1
- data/app/models/decidim/proposals/proposal.rb +6 -0
- data/app/permissions/decidim/proposals/admin/permissions.rb +3 -0
- data/app/views/decidim/proposals/admin/proposal_answers/_form.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/_proposal_similar.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/index.html.erb +2 -2
- data/app/views/decidim/proposals/proposals/show.html.erb +3 -3
- data/config/locales/ar.yml +6 -13
- data/config/locales/bg.yml +0 -12
- data/config/locales/ca.yml +14 -12
- data/config/locales/cs.yml +14 -12
- data/config/locales/de.yml +1 -14
- data/config/locales/el.yml +1 -13
- data/config/locales/en.yml +15 -13
- data/config/locales/es-MX.yml +14 -12
- data/config/locales/es-PY.yml +14 -12
- data/config/locales/es.yml +15 -13
- data/config/locales/eu.yml +0 -13
- data/config/locales/fi-plain.yml +14 -12
- data/config/locales/fi.yml +16 -14
- data/config/locales/fr-CA.yml +13 -12
- data/config/locales/fr.yml +28 -27
- data/config/locales/gl.yml +2 -13
- data/config/locales/hu.yml +3 -13
- data/config/locales/id-ID.yml +0 -13
- data/config/locales/is-IS.yml +0 -1
- data/config/locales/it.yml +0 -13
- data/config/locales/ja.yml +16 -14
- data/config/locales/lv.yml +1 -13
- data/config/locales/nl.yml +0 -13
- data/config/locales/no.yml +133 -13
- data/config/locales/pl.yml +0 -13
- data/config/locales/pt-BR.yml +0 -13
- data/config/locales/pt.yml +0 -13
- data/config/locales/ro-RO.yml +2 -13
- data/config/locales/ru.yml +0 -1
- data/config/locales/sk.yml +1 -13
- data/config/locales/sr-CS.yml +2 -0
- data/config/locales/sv.yml +4 -15
- data/config/locales/tr-TR.yml +0 -13
- data/config/locales/uk.yml +0 -1
- data/config/locales/zh-CN.yml +0 -12
- data/lib/decidim/content_parsers/proposal_parser.rb +7 -63
- data/lib/decidim/content_renderers/proposal_renderer.rb +3 -19
- data/lib/decidim/proposals/component.rb +9 -8
- data/lib/decidim/proposals/import/proposal_creator.rb +4 -1
- data/lib/decidim/proposals/version.rb +1 -1
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9316d8a84eaa9ab617ea9f953ecf52b05246f697da8fc598c4a8995d8d5900c
|
4
|
+
data.tar.gz: 1e66d935e6c4e58181bb395483d8f1f7d4cd89ee5fe09412367f608fd809408b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3644baab02f8d01130733c7db392f765e58a5a1674eddce50e3be2a6ecb44483a08cf0a96cdd725c467d0e46fa8b7467f2bb2cf6722c11b75a37f925eae4bdb2
|
7
|
+
data.tar.gz: 6c43f7c39bed8f2ebf8fea345f0e82f2a4b451e9c38896c6c736b76338a2184be45137f8a9ee09d59e4583ba92b38f0eff4175811378ae1ac4d3324f5ca3fab0
|
@@ -122,7 +122,7 @@ module Decidim
|
|
122
122
|
end
|
123
123
|
|
124
124
|
def resource_image_path
|
125
|
-
@resource_image_path ||= has_image? ? model.attachments.find_by("content_type like '%image%'").
|
125
|
+
@resource_image_path ||= has_image? ? model.attachments.find_by("content_type like '%image%'").thumbnail_url : nil
|
126
126
|
end
|
127
127
|
|
128
128
|
def cache_hash
|
@@ -143,6 +143,8 @@ module Decidim
|
|
143
143
|
hash << Digest::MD5.hexdigest(model.authors.map(&:cache_key_with_version).to_s)
|
144
144
|
hash << (model.must_render_translation?(model.organization) ? 1 : 0) if model.respond_to?(:must_render_translation?)
|
145
145
|
hash << model.component.participatory_space.active_step.id if model.component.participatory_space.try(:active_step)
|
146
|
+
hash << has_footer?
|
147
|
+
hash << has_actions?
|
146
148
|
|
147
149
|
hash.join(Decidim.cache_key_separator)
|
148
150
|
end
|
@@ -46,13 +46,18 @@ module Decidim
|
|
46
46
|
attributes = {
|
47
47
|
state: form.state,
|
48
48
|
answer: form.answer,
|
49
|
-
answered_at: Time.current,
|
50
49
|
cost: form.cost,
|
51
50
|
cost_report: form.cost_report,
|
52
51
|
execution_period: form.execution_period
|
53
52
|
}
|
54
53
|
|
55
|
-
|
54
|
+
if form.state == "not_answered"
|
55
|
+
attributes[:answered_at] = nil
|
56
|
+
attributes[:state_published_at] = nil
|
57
|
+
else
|
58
|
+
attributes[:answered_at] = Time.current
|
59
|
+
attributes[:state_published_at] = Time.current if !initial_has_state_published && form.publish_answer?
|
60
|
+
end
|
56
61
|
|
57
62
|
proposal.update!(attributes)
|
58
63
|
end
|
@@ -61,7 +61,7 @@ module Decidim
|
|
61
61
|
|
62
62
|
def attributes
|
63
63
|
parsed_title = Decidim::ContentProcessor.parse_with_processor(:hashtag, form.title, current_organization: form.current_organization).rewrite
|
64
|
-
parsed_body = Decidim::ContentProcessor.
|
64
|
+
parsed_body = Decidim::ContentProcessor.parse(form.body, current_organization: form.current_organization).rewrite
|
65
65
|
{
|
66
66
|
title: parsed_title,
|
67
67
|
body: parsed_body,
|
@@ -59,7 +59,7 @@ module Decidim
|
|
59
59
|
|
60
60
|
def update_proposal
|
61
61
|
parsed_title = Decidim::ContentProcessor.parse_with_processor(:hashtag, form.title, current_organization: form.current_organization).rewrite
|
62
|
-
parsed_body = Decidim::ContentProcessor.
|
62
|
+
parsed_body = Decidim::ContentProcessor.parse(form.body, current_organization: form.current_organization).rewrite
|
63
63
|
Decidim.traceability.update!(
|
64
64
|
proposal,
|
65
65
|
form.current_user,
|
@@ -13,7 +13,7 @@ module Decidim
|
|
13
13
|
|
14
14
|
def body_with_hashtags
|
15
15
|
@body_with_hashtags ||= begin
|
16
|
-
ret = Decidim::ContentProcessor.
|
16
|
+
ret = Decidim::ContentProcessor.parse(form.body, current_organization: form.current_organization).rewrite.strip
|
17
17
|
ret += "\n#{body_extra_hashtags.strip}" unless body_extra_hashtags.empty?
|
18
18
|
ret
|
19
19
|
end
|
@@ -13,7 +13,7 @@ module Decidim
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def admin_proposal_info_url
|
16
|
-
|
16
|
+
send(resource.component.mounted_admin_engine).proposal_url(resource, resource.component.mounted_params)
|
17
17
|
end
|
18
18
|
|
19
19
|
private
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Decidim
|
4
4
|
module Proposals
|
5
5
|
class CollaborativeDraftWithdrawnEvent < Decidim::Events::SimpleEvent
|
6
|
-
i18n_attributes :author_nickname, :author_name, :author_path
|
6
|
+
i18n_attributes :author_nickname, :author_name, :author_path, :author_url
|
7
7
|
|
8
8
|
delegate :nickname, :name, to: :author, prefix: true
|
9
9
|
|
@@ -15,6 +15,10 @@ module Decidim
|
|
15
15
|
author.profile_path
|
16
16
|
end
|
17
17
|
|
18
|
+
def author_url
|
19
|
+
author.profile_url
|
20
|
+
end
|
21
|
+
|
18
22
|
private
|
19
23
|
|
20
24
|
def author
|
@@ -14,7 +14,7 @@ module Decidim
|
|
14
14
|
attribute :cost, Float
|
15
15
|
attribute :internal_state, String
|
16
16
|
|
17
|
-
validates :internal_state, presence: true, inclusion: { in: %w(accepted rejected evaluating) }
|
17
|
+
validates :internal_state, presence: true, inclusion: { in: %w(not_answered accepted rejected evaluating) }
|
18
18
|
validates :answer, translatable_presence: true, if: ->(form) { form.state == "rejected" }
|
19
19
|
|
20
20
|
with_options if: :costs_required? do
|
@@ -82,7 +82,7 @@ module Decidim
|
|
82
82
|
# Finds the Meetings of the current participatory space
|
83
83
|
def meetings
|
84
84
|
@meetings ||= Decidim.find_resource_manifest(:meetings).try(:resource_scope, current_component)
|
85
|
-
|
85
|
+
&.published&.order(title: :asc)
|
86
86
|
end
|
87
87
|
|
88
88
|
# Return the meeting as author
|
@@ -102,7 +102,7 @@ module Decidim
|
|
102
102
|
|
103
103
|
# If the content is safe, HTML tags are sanitized, otherwise, they are stripped.
|
104
104
|
def render_proposal_body(proposal)
|
105
|
-
render_sanitized_content(proposal, :body)
|
105
|
+
Decidim::ContentProcessor.render(render_sanitized_content(proposal, :body), "div")
|
106
106
|
end
|
107
107
|
|
108
108
|
# Returns :text_area or :editor based on the organization' settings.
|
@@ -229,6 +229,12 @@ module Decidim
|
|
229
229
|
ResourceLocatorPresenter.new(self).url
|
230
230
|
end
|
231
231
|
|
232
|
+
# Returns the presenter for this author, to be used in the views.
|
233
|
+
# Required by ResourceRenderer.
|
234
|
+
def presenter
|
235
|
+
Decidim::Proposals::ProposalPresenter.new(self)
|
236
|
+
end
|
237
|
+
|
232
238
|
# Public: Overrides the `reported_attributes` Reportable concern method.
|
233
239
|
def reported_attributes
|
234
240
|
[:title, :body]
|
@@ -120,7 +120,10 @@ module Decidim
|
|
120
120
|
|
121
121
|
# Proposals can only be created from the admin when the
|
122
122
|
# corresponding setting is enabled.
|
123
|
+
# This setting is incompatible with participatory texts.
|
123
124
|
def can_create_proposal_from_admin?
|
125
|
+
return disallow! if participatory_texts_are_enabled? && permission_action.subject == :proposal
|
126
|
+
|
124
127
|
toggle_allow(admin_creation_is_enabled?) if permission_action.subject == :proposal
|
125
128
|
end
|
126
129
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
<div class="card-section">
|
8
8
|
<div class="row column">
|
9
|
-
<%= f.collection_radio_buttons :internal_state, [["accepted", t(".accepted")], ["rejected", t(".rejected")], ["evaluating", t(".evaluating")]], :first, :last, prompt: true %>
|
9
|
+
<%= f.collection_radio_buttons :internal_state, [["not_answered", t(".not_answered")], ["accepted", t(".accepted")], ["rejected", t(".rejected")], ["evaluating", t(".evaluating")]], :first, :last, prompt: true %>
|
10
10
|
</div>
|
11
11
|
|
12
12
|
<div class="row column">
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
<%== cell("decidim/proposals/proposal_m", proposal).badge %>
|
17
17
|
|
18
|
-
<p><%=
|
18
|
+
<p><%= strip_tags(render_proposal_body(proposal)).truncate(100) %></p>
|
19
19
|
<%= cell "decidim/tags", proposal, context: { extra_classes: ["tags--proposal"] } %>
|
20
20
|
</div>
|
21
21
|
</div>
|
@@ -28,9 +28,9 @@
|
|
28
28
|
<%= render partial: "voting_rules" %>
|
29
29
|
<div class="row columns">
|
30
30
|
<div class="title-action">
|
31
|
-
<
|
31
|
+
<h2 id="proposals-count" class="title-action__title section-heading">
|
32
32
|
<%= render partial: "count" %>
|
33
|
-
</
|
33
|
+
</h2>
|
34
34
|
<% if current_settings.creation_enabled && current_component.participatory_space.can_participate?(current_user) %>
|
35
35
|
<%= action_authorized_link_to :create, new_proposal_path, class: "title-action__action button small", data: { "redirect_url" => new_proposal_path } do %>
|
36
36
|
<%= t(".new_proposal") %>
|
@@ -35,16 +35,16 @@ extra_admin_link(
|
|
35
35
|
<div class="row column view-header">
|
36
36
|
|
37
37
|
<div class="m-bottom">
|
38
|
-
<%= link_to proposals_path
|
38
|
+
<%= link_to proposals_path, class: "small hollow js-back-to-list" do %>
|
39
39
|
<%= icon "chevron-left", class: "icon--small", role: "img", "aria-hidden": true %>
|
40
40
|
<%= t(".back_to_list") %>
|
41
41
|
<% end %>
|
42
42
|
</div>
|
43
43
|
|
44
44
|
<% if @proposal.emendation? %>
|
45
|
-
<
|
45
|
+
<h2 class="heading3"><%= t(".changes_at_title", title: present(@proposal.amendable).title(links: true, html_escape: true)) %></h2>
|
46
46
|
<% else %>
|
47
|
-
<
|
47
|
+
<h2 class="heading3"><%= present(@proposal).title(links: true, html_escape: true) %></h2>
|
48
48
|
<% end %>
|
49
49
|
<% unless component_settings.participatory_texts_enabled? %>
|
50
50
|
<%= cell("decidim/coauthorships", @proposal, has_actions: true, size: 3, context: { current_user: current_user }) %>
|
data/config/locales/ar.yml
CHANGED
@@ -94,6 +94,8 @@ ar:
|
|
94
94
|
admin:
|
95
95
|
filters:
|
96
96
|
proposals:
|
97
|
+
category_id_eq:
|
98
|
+
label: الفئة
|
97
99
|
valuator_role_ids_has:
|
98
100
|
label: تم إسناده إلى مُقيِّم
|
99
101
|
components:
|
@@ -146,33 +148,21 @@ ar:
|
|
146
148
|
events:
|
147
149
|
proposals:
|
148
150
|
collaborative_draft_access_accepted:
|
149
|
-
email_intro: 'تم قبول %{requester_name} للوصول كمساهم في المسودة التعاونية <a href="%{resource_path}">%{resource_title}</a>.'
|
150
|
-
email_outro: لقد تلقيت هذا الإشعار لأنك متعاون مع <a href="%{resource_path}">%{resource_title}</a>.
|
151
151
|
email_subject: "تم قبول %{requester_name} للوصول كمساهم في %{resource_title}."
|
152
152
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> كان <strong>مقبولة للوصول كمساهم</strong> من <a href="%{resource_path}">%{resource_title}</a> مشروع تعاوني.
|
153
153
|
collaborative_draft_access_rejected:
|
154
|
-
email_intro: 'تم رفض %{requester_name} للوصول كمساهم في المسودة التعاونية <a href="%{resource_path}">%{resource_title}</a>.'
|
155
|
-
email_outro: لقد تلقيت هذا الإشعار لأنك متعاون مع <a href="%{resource_path}">%{resource_title}</a>.
|
156
154
|
email_subject: "تم رفض %{requester_name} للوصول كمساهم في المسودة التعاونية %{resource_title}."
|
157
155
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> تم رفض الوصول إلى <strong>كمساهم</strong> في المسودة التعاونية <a href="%{resource_path}">%{resource_title}</a>.
|
158
156
|
collaborative_draft_access_requested:
|
159
|
-
email_intro: '%{requester_name} طلب الوصول كمساهم. يمكنك <strong>قبول أو رفض طلب</strong> من <a href="%{resource_path}">%{resource_title}</a> مشروع الصفحة التعاونية.'
|
160
|
-
email_outro: لقد تلقيت هذا الإشعار لأنك متعاون مع <a href="%{resource_path}">%{resource_title}</a>.
|
161
157
|
email_subject: "%{requester_name} طلب الوصول للمساهمة في %{resource_title}."
|
162
158
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> طلب الوصول للمساهمة في المسودة التعاونية <a href="%{resource_path}">%{resource_title}</a> . يرجى <strong>قبول أو رفض الطلب</strong>.
|
163
159
|
collaborative_draft_access_requester_accepted:
|
164
|
-
email_intro: لقد تم قبولك للدخول كمساهم في المسودة التعاونية <a href="%{resource_path}">%{resource_title}</a>.
|
165
|
-
email_outro: لقد تلقيت هذا الإشعار لأنك طلبت أن تصبح متعاونًا مع <a href="%{resource_path}">%{resource_title}</a>.
|
166
160
|
email_subject: تم قبولك كمساهم بـ %{resource_title}.
|
167
161
|
notification_title: لقد تم قبول <strong>للدخول كمساهم</strong> في المسودة التعاونية <a href="%{resource_path}">%{resource_title}</a>.
|
168
162
|
collaborative_draft_access_requester_rejected:
|
169
|
-
email_intro: لقد تم رفض وصولك كمساهم في المسودة التعاونية <a href="%{resource_path}">%{resource_title}</a>.
|
170
|
-
email_outro: لقد تلقيت هذا الإشعار لأنك طلبت أن تصبح متعاونًا مع <a href="%{resource_path}">%{resource_title}</a>.
|
171
163
|
email_subject: لقد تم رفضك كمساهم بـ %{resource_title}.
|
172
164
|
notification_title: لقد تم رفض دخولك <strong>كمساهم</strong> في المسودة التعاونية <a href="%{resource_path}">%{resource_title}</a>.
|
173
165
|
collaborative_draft_withdrawn:
|
174
|
-
email_intro: <a href="%{author_path}">%{author_name} %{author_nickname}</a> سحبت المسودة التعاونية <a href="%{resource_path}">%{resource_title}</a>.
|
175
|
-
email_outro: لقد تلقيت هذا الإشعار لأنك متعاون مع <a href="%{resource_path}">%{resource_title}</a>.
|
176
166
|
email_subject: "%{author_name} %{author_nickname} سحب المشروع %{resource_title} التعاوني."
|
177
167
|
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> <strong>سحبت</strong> مشروع <a href="%{resource_path}">%{resource_title}</a> التعاوني.
|
178
168
|
creation_enabled:
|
@@ -620,8 +610,12 @@ ar:
|
|
620
610
|
many: "%{count} مقترحات"
|
621
611
|
other: "%{count} مقترحات"
|
622
612
|
edit:
|
613
|
+
add_documents: المستندات
|
614
|
+
add_images: ملف
|
623
615
|
attachment_legend: "(اختياري) إضافة مرفق"
|
624
616
|
back: الى الخلف
|
617
|
+
delete_document: حذف المستند
|
618
|
+
delete_image: حذف الصورة
|
625
619
|
select_a_category: الرجاء تحديد الفئة
|
626
620
|
send: إرسال
|
627
621
|
title: تعديل الاقتراح
|
@@ -663,7 +657,6 @@ ar:
|
|
663
657
|
other: الدعم
|
664
658
|
new:
|
665
659
|
send: استمر
|
666
|
-
title: إنشاء اقتراحك
|
667
660
|
orders:
|
668
661
|
label: 'ترتيب المقترحات حسب:'
|
669
662
|
most_commented: الأكثر تعليقًا عليها
|
data/config/locales/bg.yml
CHANGED
@@ -155,33 +155,21 @@ bg:
|
|
155
155
|
email_subject: Някой е направил бележка в предложението %{resource_title}.
|
156
156
|
notification_title: Някой е направил бележка в предложението <a href="%{resource_path}">%{resource_title}</a>. Вижте я в <a href="%{admin_proposal_info_path}">администраторския панел</a>
|
157
157
|
collaborative_draft_access_accepted:
|
158
|
-
email_intro: '%{requester_name} получи достъп като сътрудник в съвместната чернова <a href="%{resource_path}">%{resource_title}</a>.'
|
159
|
-
email_outro: Получихте известие, защото сте сътрудник в <a href="%{resource_path}">%{resource_title}</a>.
|
160
158
|
email_subject: "%{requester_name} получи достъп като сътрудник в %{resource_title}."
|
161
159
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> <strong>получи достъп като сътрудник</strong> в съвместната чернова <a href="%{resource_path}">%{resource_title}</a>.
|
162
160
|
collaborative_draft_access_rejected:
|
163
|
-
email_intro: '%{requester_name} е отхвърлен като сътрудник в съвместната чернова <a href="%{resource_path}">%{resource_title}</a>.'
|
164
|
-
email_outro: Получихте известие, защото сте сътрудник в <a href="%{resource_path}">%{resource_title}</a>.
|
165
161
|
email_subject: "%{requester_name} е отхвърлен като сътрудник в съвместната чернова %{resource_title}."
|
166
162
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> <strong>е отхвърлен като сътрудник</strong> в съвместната чернова <a href="%{resource_path}">%{resource_title}</a>.
|
167
163
|
collaborative_draft_access_requested:
|
168
|
-
email_intro: '%{requester_name} заяви достъп като сътрудник. Можете да <strong>приемете или отхвърлите</strong> от сраницата на колективната чернова <a href="%{resource_path}">%{resource_title}</a>.'
|
169
|
-
email_outro: Получихте известие, защото сте сътрудник в <a href="%{resource_path}">%{resource_title}</a>.
|
170
164
|
email_subject: "%{requester_name} заяви достъп като сътрудник в %{resource_title}."
|
171
165
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> заяви достъп като сътрудник в колективната чернова <a href="%{resource_path}">%{resource_title}</a>. Моля, <strong>приемете или отхвърлете заявката</strong>.
|
172
166
|
collaborative_draft_access_requester_accepted:
|
173
|
-
email_intro: Получихте достъп като сътрудник в колективната чернова <a href="%{resource_path}">%{resource_title}</a>.
|
174
|
-
email_outro: Получихте известие, защото заявихте да бъдете сътрудник в <a href="%{resource_path}">%{resource_title}</a>.
|
175
167
|
email_subject: Приет сте като сътрудник в %{resource_title}.
|
176
168
|
notification_title: <strong>Получихте достъп като сътрудник</strong> в колективната чернова <a href="%{resource_path}">%{resource_title}</a>.
|
177
169
|
collaborative_draft_access_requester_rejected:
|
178
|
-
email_intro: Отказан Ви е достъп като сътрудник в колективната чернова <a href="%{resource_path}">%{resource_title}</a>.
|
179
|
-
email_outro: Получихте известие, защото заявихте да бъдете сътрудник в <a href="%{resource_path}">%{resource_title}</a>.
|
180
170
|
email_subject: Отхвърлен сте като сътрудник в %{resource_title}.
|
181
171
|
notification_title: <strong>Отказан Ви е достъп като сътрудник</strong> в колективната чернова <a href="%{resource_path}">%{resource_title}</a>.
|
182
172
|
collaborative_draft_withdrawn:
|
183
|
-
email_intro: <a href="%{author_path}">%{author_name} %{author_nickname}</a> оттегли колективната чернова <a href="%{resource_path}">%{resource_title}</a>.
|
184
|
-
email_outro: Получихте известие, защото сте сътрудник в <a href="%{resource_path}">%{resource_title}</a>.
|
185
173
|
email_subject: "%{author_name} %{author_nickname} оттегли колективната чернова %{resource_title}."
|
186
174
|
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> <strong>оттегли</strong> колективната чернова <a href="%{resource_path}">%{resource_title}</a>.
|
187
175
|
creation_enabled:
|
data/config/locales/ca.yml
CHANGED
@@ -197,6 +197,7 @@ ca:
|
|
197
197
|
automatic_hashtags: Hashtags afegits a totes les propostes
|
198
198
|
comments_blocked: Comentaris bloquejats
|
199
199
|
creation_enabled: Les participants poden crear propostes
|
200
|
+
creation_enabled_readonly: Aquesta opció es desactiva quan actives la funcionalitat de Textos Participatius. Per a pujar propostes com a text participatiu fes clic al botó de Textos Participatius i segueix les instruccions.
|
200
201
|
default_sort_order: Ordre per defecte de propostes
|
201
202
|
default_sort_order_help: '''Per defecte'' vol dir que si els suports estan habilitats, les propostes es mostraran aleatòriament, i si els suports estan bloquejats, aleshores es mostraran de més a menys suports.'
|
202
203
|
default_sort_order_options:
|
@@ -225,33 +226,33 @@ ca:
|
|
225
226
|
email_subject: Algú ha deixat una nota a la proposta %{resource_title}.
|
226
227
|
notification_title: Algú ha deixat una nota a la proposta <a href="%{resource_path}">%{resource_title}</a>. Revisa-la ara a través del <a href="%{admin_proposal_info_path}">taulell d'admistració</a>
|
227
228
|
collaborative_draft_access_accepted:
|
228
|
-
email_intro: 'S''ha acceptat %{requester_name} per accedir com a contribuidora de l''esborrany col·laboratiu <a href="%{
|
229
|
-
email_outro: Has rebut aquesta notificació perquè ets
|
229
|
+
email_intro: 'S''ha acceptat %{requester_name} per accedir com a contribuidora de l''esborrany col·laboratiu <a href="%{resource_url}">%{resource_title}</a>.'
|
230
|
+
email_outro: Has rebut aquesta notificació perquè ets una contribuïdora de <a href="%{resource_url}">%{resource_title}</a>.
|
230
231
|
email_subject: "S'ha acceptat %{requester_name} per accedir com a contribuidora del %{resource_title}."
|
231
232
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> ha estat <strong>acceptat per accedir com a contribuidora</strong> de l'esborrany col·laboratiu <a href="%{resource_path}">%{resource_title}</a>.
|
232
233
|
collaborative_draft_access_rejected:
|
233
|
-
email_intro: 'S''ha rebutjat %{requester_name}
|
234
|
-
email_outro: Has rebut aquesta notificació perquè ets
|
234
|
+
email_intro: 'S''ha rebutjat que %{requester_name} accedeixi com a contribuidora de l''esborrany col·laboratiu <a href="%{resource_url}">%{resource_title}</a>.'
|
235
|
+
email_outro: Has rebut aquesta notificació perquè ets una contribuïdora de <a href="%{resource_url}">%{resource_title}</a>.
|
235
236
|
email_subject: "S'ha rebutjat %{requester_name} per accedir com a contribuïdora de l'esborrany col·laboratiu %{resource_title}."
|
236
237
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a><strong> ha estat rebutjat per accedir com a contribuïdora</strong> de l'esborrany col·laboratiu <a href="%{resource_path}">%{resource_title}</a>.
|
237
238
|
collaborative_draft_access_requested:
|
238
|
-
email_intro: '%{requester_name} ha sol·licitat accés com a contribuïdora. Pots <strong>acceptar o rebutjar la sol·licitud</strong> de l''esborrany col·laboratiu <a href="%{
|
239
|
-
email_outro: Has rebut aquesta notificació perquè ets contribuïdora de <a href="%{
|
239
|
+
email_intro: '%{requester_name} ha sol·licitat accés com a contribuïdora. Pots <strong>acceptar o rebutjar la sol·licitud</strong> de l''esborrany col·laboratiu <a href="%{resource_url}">%{resource_title}</a>.'
|
240
|
+
email_outro: Has rebut aquesta notificació perquè ets contribuïdora de <a href="%{resource_url}">%{resource_title}</a>.
|
240
241
|
email_subject: "%{requester_name} ha demanat accés per contribuir a %{resource_title}."
|
241
242
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> ha sol·licitat accés per contribuir a l'esborrany col·laboratiu de <a href="%{resource_path}">%{resource_title}</a>. Si us plau, <strong>accepta o rebutja la sol·licitud</strong>.
|
242
243
|
collaborative_draft_access_requester_accepted:
|
243
|
-
email_intro: Has estat acceptada com a contribuïdora de l'esborrany col·laboratiu <a href="%{
|
244
|
-
email_outro: Has rebut aquesta notificació perquè has sol·licitat ser contribuïdora de <a href="%{
|
244
|
+
email_intro: Has estat acceptada com a contribuïdora de l'esborrany col·laboratiu <a href="%{resource_url}">%{resource_title}</a>.
|
245
|
+
email_outro: Has rebut aquesta notificació perquè has sol·licitat ser contribuïdora de <a href="%{resource_url}">%{resource_title}</a>.
|
245
246
|
email_subject: Has estat acceptada com a contribuïdora de %{resource_title}.
|
246
247
|
notification_title: Has estat acceptada <strong>com a contribuïdora</strong> de l'esborrany col·laboratiu <a href="%{resource_path}">%{resource_title}</a>.
|
247
248
|
collaborative_draft_access_requester_rejected:
|
248
|
-
email_intro: Has estat rebutjada per accedir com a contribuïdora de l'esborrany col·laboratiu <a href="%{
|
249
|
-
email_outro: Has rebut aquesta notificació perquè has sol·licitat ser contribuïdora de <a href="%{
|
249
|
+
email_intro: Has estat rebutjada per accedir com a contribuïdora de l'esborrany col·laboratiu <a href="%{resource_url}">%{resource_title}</a>.
|
250
|
+
email_outro: Has rebut aquesta notificació perquè has sol·licitat ser contribuïdora de <a href="%{resource_url}">%{resource_title}</a>.
|
250
251
|
email_subject: Has estat rebutjada com a contribuïdora de %{resource_title}.
|
251
252
|
notification_title: Has estat rebutjada <strong>per accedir com a contribuïdora</strong> de l'esborrany col·laboratiu <a href="%{resource_path}">%{resource_title}</a>.
|
252
253
|
collaborative_draft_withdrawn:
|
253
|
-
email_intro: <a href="%{
|
254
|
-
email_outro: Has rebut aquesta notificació perquè ets
|
254
|
+
email_intro: <a href="%{author_url}">%{author_name} %{author_nickname}</a> ha retirat l'esborrany col·laboratiu <a href="%{resource_url}">%{resource_title}</a>.
|
255
|
+
email_outro: Has rebut aquesta notificació perquè ets contribuïdora de <a href="%{resource_url}">%{resource_title}</a>.
|
255
256
|
email_subject: "%{author_name} %{author_nickname} ha retirat l'esborrany col·laboratiu %{resource_title}."
|
256
257
|
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> <strong>ha retirat</strong> l'esborrany col·laboratiu <a href="%{resource_path}">%{resource_title}</a>.
|
257
258
|
creation_enabled:
|
@@ -455,6 +456,7 @@ ca:
|
|
455
456
|
accepted: Acceptades
|
456
457
|
answer_proposal: Resposta
|
457
458
|
evaluating: En avaluació
|
459
|
+
not_answered: No resposta
|
458
460
|
rejected: Rebutjada
|
459
461
|
title: Respondre a la proposta %{title}
|
460
462
|
proposal_notes:
|
data/config/locales/cs.yml
CHANGED
@@ -205,6 +205,7 @@ cs:
|
|
205
205
|
automatic_hashtags: Do všech návrhů byly přidány značky Hashtags
|
206
206
|
comments_blocked: Komentáře byly blokovány
|
207
207
|
creation_enabled: Účastníci mohou vytvářet návrhy
|
208
|
+
creation_enabled_readonly: Toto nastavení je zakázáno, pokud aktivujete funkci účastnických textů. Chcete-li nahrát návrhy jako participativní text, klikněte na tlačítko Participatory Texts a postupujte podle pokynů.
|
208
209
|
default_sort_order: Výchozí řazení návrhu
|
209
210
|
default_sort_order_help: Výchozí znamená, že pokud jsou podporované funkce povoleny, budou návrhy zobrazeny náhodně, a pokud jsou opory blokovány, pak budou seřazeny podle nejpodporovanější.
|
210
211
|
default_sort_order_options:
|
@@ -233,33 +234,33 @@ cs:
|
|
233
234
|
email_subject: Někdo zanechal poznámku na návrh %{resource_title}.
|
234
235
|
notification_title: Někdo zanechal poznámku k návrhu <a href="%{resource_path}">%{resource_title}</a>. Podívejte se na <a href="%{admin_proposal_info_path}">admin panel</a>
|
235
236
|
collaborative_draft_access_accepted:
|
236
|
-
email_intro: '%{requester_name} byl přijat k přístupu jako přispěvatel
|
237
|
-
email_outro:
|
237
|
+
email_intro: '%{requester_name} byl přijat k přístupu jako přispěvatel konceptu spolupráce <a href="%{resource_url}">%{resource_title}</a>.'
|
238
|
+
email_outro: Obdrželi jste toto oznámení, protože jste spolupracovníkem <a href="%{resource_url}">%{resource_title}</a>.
|
238
239
|
email_subject: "%{requester_name} byl přijat k přístupu jako přispěvatel %{resource_title}."
|
239
240
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> je <strong>přijat k přístupu jako přispěvatel</strong> ke společnému návrhu <a href="%{resource_path}">%{resource_title}</a>.
|
240
241
|
collaborative_draft_access_rejected:
|
241
|
-
email_intro: '%{requester_name} byl odmítnut jako
|
242
|
-
email_outro:
|
242
|
+
email_intro: '%{requester_name} byl odmítnut přístup jako přispěvatel konceptu spolupráce <a href="%{resource_url}">%{resource_title}</a>.'
|
243
|
+
email_outro: Obdrželi jste toto oznámení, protože jste spolupracovníkem <a href="%{resource_url}">%{resource_title}</a>.
|
243
244
|
email_subject: "%{requester_name} byl odmítnut pro přístup jako přispěvatel k %{resource_title} kolektivnímu návrhu."
|
244
245
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> byl <strong>odmítnut k přístupu jako přispěvatel</strong> ke společnému návrhu <a href="%{resource_path}">%{resource_title}</a>.
|
245
246
|
collaborative_draft_access_requested:
|
246
|
-
email_intro: '%{requester_name}
|
247
|
-
email_outro:
|
247
|
+
email_intro: '%{requester_name} požádal o přístup jako přispěvatel. Můžete <strong>přijmout nebo odmítnout požadavek</strong> ze stránky společného konceptu <a href="%{resource_url}">%{resource_title}</a>.'
|
248
|
+
email_outro: Obdrželi jste toto oznámení, protože jste spolupracovníkem <a href="%{resource_url}">%{resource_title}</a>.
|
248
249
|
email_subject: "%{requester_name} požádal o přístup k příspěvku na %{resource_title}."
|
249
250
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> požádal o přístup k přispění ke společnému návrhu <a href="%{resource_path}">%{resource_title}</a>. Prosím, <strong>přijměte nebo odmítněte žádost</strong>.
|
250
251
|
collaborative_draft_access_requester_accepted:
|
251
|
-
email_intro:
|
252
|
-
email_outro:
|
252
|
+
email_intro: Byl jste přijat k přístupu jako přispěvatel konceptu spolupráce <a href="%{resource_url}">%{resource_title}</a>.
|
253
|
+
email_outro: Obdrželi jste toto oznámení, protože jste požádali o spolupráci <a href="%{resource_url}">%{resource_title}</a>.
|
253
254
|
email_subject: Byli jste přijati jako přispěvatel %{resource_title}.
|
254
255
|
notification_title: Byl jsi <strong>přijal přístup jako přispěvatel</strong> na <a href="%{resource_path}">%{resource_title}</a> společném návrhu.
|
255
256
|
collaborative_draft_access_requester_rejected:
|
256
|
-
email_intro: Byl
|
257
|
-
email_outro:
|
257
|
+
email_intro: Byl vám odmítnut přístup jako přispěvatel konceptu spolupráce <a href="%{resource_url}">%{resource_title}</a>.
|
258
|
+
email_outro: Obdrželi jste toto oznámení, protože jste požádali o spolupráci <a href="%{resource_url}">%{resource_title}</a>.
|
258
259
|
email_subject: Byl jste odmítnut jako přispěvatel %{resource_title}.
|
259
260
|
notification_title: Byl jsi <strong>odmítnut přístup jako přispěvatel</strong> na <a href="%{resource_path}">%{resource_title}</a> společném návrhu.
|
260
261
|
collaborative_draft_withdrawn:
|
261
|
-
email_intro: <a href="%{
|
262
|
-
email_outro:
|
262
|
+
email_intro: <a href="%{author_url}">%{author_name} %{author_nickname}</a> stáhl <a href="%{resource_url}">%{resource_title}</a> společný koncept.
|
263
|
+
email_outro: Obdrželi jste toto oznámení, protože jste spolupracovníkem <a href="%{resource_url}">%{resource_title}</a>.
|
263
264
|
email_subject: "%{author_name} %{author_nickname} stáhl společný koncept %{resource_title}."
|
264
265
|
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> <strong>stáhl</strong> <a href="%{resource_path}">%{resource_title}</a> společný koncept.
|
265
266
|
creation_enabled:
|
@@ -467,6 +468,7 @@ cs:
|
|
467
468
|
accepted: Přijato
|
468
469
|
answer_proposal: Odpovědět
|
469
470
|
evaluating: Hodnocení
|
471
|
+
not_answered: Nezodpovězeno
|
470
472
|
rejected: Odmítnuto
|
471
473
|
title: Odpověď na návrh %{title}
|
472
474
|
proposal_notes:
|
data/config/locales/de.yml
CHANGED
@@ -192,33 +192,21 @@ de:
|
|
192
192
|
email_subject: Jemand hat eine Notiz für Vorschlag %{resource_title} erstellt.
|
193
193
|
notification_title: Jemand hat eine Notiz für den Vorschlag <a href="%{resource_path}">%{resource_title}</a>erstellt. Sie können sie über das <a href="%{admin_proposal_info_path}">Admin-Panel</a> anzeigen
|
194
194
|
collaborative_draft_access_accepted:
|
195
|
-
email_intro: '%{requester_name} wurde zur Mitwirkung am kollaborativen Entwurf <a href="%{resource_path}">%{resource_title}</a> akzeptiert.'
|
196
|
-
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie am kollaborativen Entwurf <a href="%{resource_path}">%{resource_title}</a> mitwirken.
|
197
195
|
email_subject: "%{requester_name} wurde zur Mitwirkung an %{resource_title} akzeptiert."
|
198
196
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> wurde zur Mitwirkung am kollaborativen Entwurf <a href="%{resource_path}">%{resource_title}</a> <strong>angenommen</strong>.
|
199
197
|
collaborative_draft_access_rejected:
|
200
|
-
email_intro: '%{requester_name} wurde als Mitwirkender des kollaborativen Entwurfs <a href="%{resource_path}">%{resource_title}</a> abgelehnt.'
|
201
|
-
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie am kollaborativen Entwurf <a href="%{resource_path}">%{resource_title}</a> mitwirken.
|
202
198
|
email_subject: "%{requester_name} wurde als Mitwirkender des kollaborativen Entwurfs %{resource_title} abgelehnt."
|
203
199
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> wurde als Mitwirkender beim kollaborativen Entwurf <a href="%{resource_path}">%{resource_title}</a> <strong>abgelehnt</strong>.
|
204
200
|
collaborative_draft_access_requested:
|
205
|
-
email_intro: '%{requester_name} hat um Zugriff auf Ihren kollaborativen Entwurf angefragt. Sie können den Antrag auf der Seite des kollaborativen Entwurfs <a href="%{resource_path}">%{resource_title}</a> <strong>annehmen oder ablehnen</strong>.'
|
206
|
-
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie am kollaborativen Entwurf <a href="%{resource_path}">%{resource_title}</a> mitwirken.
|
207
201
|
email_subject: "%{requester_name} hat um Zugang zur Mitwirkung bei %{resource_title} angefragt."
|
208
202
|
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> hat Zugriff beantragt, um beim kollaborativen Entwurf <a href="%{resource_path}">%{resource_title}</a> mitzuwirken. Bitte <strong>den Antrag akzeptieren oder ablehnen</strong>.
|
209
203
|
collaborative_draft_access_requester_accepted:
|
210
|
-
email_intro: Sie wurden zur Mitwirkung am kollaborativen Entwurf <a href="%{resource_path}">%{resource_title}</a> akzeptiert.
|
211
|
-
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie angefragt haben, bei <a href="%{resource_path}">%{resource_title}</a> mitzuwirken.
|
212
204
|
email_subject: Sie wurden als Mitwirkender von %{resource_title} angenommen.
|
213
205
|
notification_title: Sie wurden zur Mitwirkung am kollaborativen Entwurf <a href="%{resource_path}">%{resource_title}</a> <strong>akzeptiert</strong>.
|
214
206
|
collaborative_draft_access_requester_rejected:
|
215
|
-
email_intro: Der Zugriff auf den kollaborativen Entwurf <a href="%{resource_path}">%{resource_title}</a> wurde Ihnen verweigert.
|
216
|
-
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie angefragt haben, bei <a href="%{resource_path}">%{resource_title}</a> mitzuwirken.
|
217
207
|
email_subject: Sie wurden als Mitwirkender von %{resource_title} abgelehnt.
|
218
208
|
notification_title: Sie wurden als Mitwirkender beim kollaborativen Entwurf <a href="%{resource_path}">%{resource_title}</a> <strong>abgelehnt</strong>.
|
219
209
|
collaborative_draft_withdrawn:
|
220
|
-
email_intro: <a href="%{author_path}">%{author_name} %{author_nickname}</a> hat den kollaborativen Entwurf <a href="%{resource_path}">%{resource_title}</a> zurückgezogen.
|
221
|
-
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie bei <a href="%{resource_path}">%{resource_title}</a> mitwirken.
|
222
210
|
email_subject: "%{author_name} %{author_nickname} hat den kollaborativen Entwurf %{resource_title} zurückgezogen."
|
223
211
|
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> hat den kollaborativen Entwurf <a href="%{resource_path}">%{resource_title}</a> <strong>zurückgezogen</strong>.
|
224
212
|
creation_enabled:
|
@@ -711,7 +699,7 @@ de:
|
|
711
699
|
one: "%{count} Vorschlag"
|
712
700
|
other: "%{count} Vorschläge"
|
713
701
|
edit:
|
714
|
-
add_documents:
|
702
|
+
add_documents: Unterlagen
|
715
703
|
add_images: Datei
|
716
704
|
attachment_legend: "(Optional) Fügen Sie einen Anhang hinzu"
|
717
705
|
back: Zurück
|
@@ -755,7 +743,6 @@ de:
|
|
755
743
|
other: Stimmen
|
756
744
|
new:
|
757
745
|
send: Fortsetzen
|
758
|
-
title: Neuen Vorschlag erstellen
|
759
746
|
orders:
|
760
747
|
label: 'Vorschläge sortieren nach:'
|
761
748
|
most_commented: Am meisten kommentiert
|