decidim-proposals 0.20.1 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/decidim/proposals/admin/proposals.es6 +24 -11
- data/app/cells/decidim/proposals/cost_report/show.erb +35 -0
- data/app/cells/decidim/proposals/cost_report_cell.rb +42 -0
- data/app/cells/decidim/proposals/proposal_m_cell.rb +9 -1
- data/app/cells/decidim/proposals/proposal_tags/show.erb +12 -10
- data/app/cells/decidim/proposals/proposal_tags_cell.rb +5 -0
- data/app/commands/decidim/proposals/admin/answer_proposal.rb +24 -46
- data/app/commands/decidim/proposals/admin/assign_proposals_to_valuator.rb +61 -0
- data/app/commands/decidim/proposals/admin/create_proposal.rb +5 -0
- data/app/commands/decidim/proposals/admin/notify_proposal_answer.rb +85 -0
- data/app/commands/decidim/proposals/admin/publish_answers.rb +67 -0
- data/app/commands/decidim/proposals/admin/unassign_proposals_from_valuator.rb +62 -0
- data/app/commands/decidim/proposals/admin/update_proposal_scope.rb +75 -0
- data/app/controllers/concerns/decidim/proposals/admin/filterable.rb +82 -0
- data/app/controllers/decidim/proposals/admin/proposal_answers_controller.rb +16 -6
- data/app/controllers/decidim/proposals/admin/proposal_notes_controller.rb +8 -9
- data/app/controllers/decidim/proposals/admin/proposals_controller.rb +105 -29
- data/app/controllers/decidim/proposals/admin/valuation_assignments_controller.rb +58 -0
- data/app/controllers/decidim/proposals/collaborative_drafts_controller.rb +19 -3
- data/app/controllers/decidim/proposals/proposals_controller.rb +42 -7
- data/app/controllers/decidim/proposals/versions_controller.rb +4 -1
- data/app/events/decidim/proposals/admin/update_proposal_scope_event.rb +11 -0
- data/app/forms/decidim/proposals/admin/proposal_answer_form.rb +27 -2
- data/app/forms/decidim/proposals/admin/valuation_assignment_form.rb +37 -0
- data/app/forms/decidim/proposals/proposal_wizard_create_step_form.rb +8 -0
- data/app/helpers/decidim/proposals/admin/filterable_helper.rb +17 -0
- data/app/helpers/decidim/proposals/admin/proposal_bulk_actions_helper.rb +35 -0
- data/app/helpers/decidim/proposals/admin/proposal_rankings_helper.rb +63 -0
- data/app/helpers/decidim/proposals/admin/proposals_helper.rb +122 -0
- data/app/helpers/decidim/proposals/application_helper.rb +36 -25
- data/app/helpers/decidim/proposals/collaborative_draft_helper.rb +9 -9
- data/app/helpers/decidim/proposals/proposal_cells_helper.rb +1 -1
- data/app/helpers/decidim/proposals/proposals_helper.rb +18 -0
- data/app/models/decidim/proposals/proposal.rb +163 -16
- data/app/models/decidim/proposals/valuation_assignment.rb +24 -0
- data/app/permissions/decidim/proposals/admin/permissions.rb +77 -11
- data/app/presenters/decidim/proposals/admin_log/proposal_presenter.rb +1 -1
- data/app/presenters/decidim/proposals/admin_log/valuation_assignment_presenter.rb +51 -0
- data/app/presenters/decidim/proposals/admin_log/value_types/valuator_role_user_presenter.rb +19 -0
- data/app/presenters/decidim/proposals/collaborative_draft_presenter.rb +2 -28
- data/app/presenters/decidim/proposals/log/valuation_assignment_presenter.rb +22 -0
- data/app/presenters/decidim/proposals/proposal_presenter.rb +26 -1
- data/app/services/decidim/proposals/collaborative_draft_search.rb +18 -10
- data/app/services/decidim/proposals/proposal_search.rb +33 -40
- data/app/types/decidim/proposals/proposal_input_filter.rb +29 -0
- data/app/types/decidim/proposals/proposal_input_sort.rb +28 -0
- data/app/types/decidim/proposals/proposal_type.rb +35 -4
- data/app/types/decidim/proposals/proposals_type.rb +14 -17
- data/app/views/decidim/proposals/admin/proposal_answers/_form.html.erb +35 -0
- data/app/views/decidim/proposals/admin/proposal_notes/_form.html.erb +1 -1
- data/app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb +1 -1
- data/app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb +8 -2
- data/app/views/decidim/proposals/admin/proposals/_form.html.erb +1 -1
- data/app/views/decidim/proposals/admin/proposals/_proposal-tr.html.erb +25 -17
- data/app/views/decidim/proposals/admin/proposals/bulk_actions/_assign_to_valuator.html.erb +15 -0
- data/app/views/decidim/proposals/admin/proposals/bulk_actions/_dropdown.html.erb +21 -1
- data/app/views/decidim/proposals/admin/proposals/bulk_actions/_publish_answers.html.erb +14 -0
- data/app/views/decidim/proposals/admin/proposals/bulk_actions/_scope-change.html.erb +25 -0
- data/app/views/decidim/proposals/admin/proposals/bulk_actions/_unassign_from_valuator.html.erb +15 -0
- data/app/views/decidim/proposals/admin/proposals/index.html.erb +16 -7
- data/app/views/decidim/proposals/admin/proposals/publish_answers.js.erb +12 -0
- data/app/views/decidim/proposals/admin/proposals/show.html.erb +186 -0
- data/app/views/decidim/proposals/admin/proposals/update_category.js.erb +3 -2
- data/app/views/decidim/proposals/admin/proposals/update_scope.js.erb +27 -0
- data/app/views/decidim/proposals/collaborative_drafts/_filters.html.erb +3 -3
- data/app/views/decidim/proposals/proposals/_edit_form_fields.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/_filters.html.erb +12 -12
- data/app/views/decidim/proposals/proposals/_proposal_badge.html.erb +1 -4
- data/app/views/decidim/proposals/proposals/_proposal_preview.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/_vote_button.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/index.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/new.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/show.html.erb +17 -23
- data/config/locales/ar.yml +69 -17
- data/config/locales/ca.yml +113 -18
- data/config/locales/cs.yml +123 -31
- data/config/locales/de.yml +38 -18
- data/config/locales/el.yml +1 -0
- data/config/locales/en.yml +112 -17
- data/config/locales/es-MX.yml +112 -17
- data/config/locales/es-PY.yml +112 -17
- data/config/locales/es.yml +113 -18
- data/config/locales/eu.yml +38 -18
- data/config/locales/fi-plain.yml +113 -18
- data/config/locales/fi.yml +113 -18
- data/config/locales/fr.yml +38 -18
- data/config/locales/gl.yml +38 -18
- data/config/locales/hu.yml +112 -17
- data/config/locales/id-ID.yml +38 -18
- data/config/locales/is-IS.yml +25 -15
- data/config/locales/it.yml +38 -18
- data/config/locales/nl.yml +43 -18
- data/config/locales/no.yml +66 -18
- data/config/locales/pl.yml +38 -18
- data/config/locales/pt-BR.yml +39 -19
- data/config/locales/pt.yml +39 -19
- data/config/locales/ru.yml +25 -17
- data/config/locales/sv.yml +39 -18
- data/config/locales/tr-TR.yml +38 -18
- data/config/locales/uk.yml +25 -17
- data/db/migrate/20200203111239_add_proposal_valuation_assignments.rb +12 -0
- data/db/migrate/20200210135152_add_costs_to_proposals.rb +9 -0
- data/db/migrate/20200212120110_sync_proposals_state_with_amendments_state.rb +28 -0
- data/db/migrate/20200227175922_add_state_published_at_to_proposals.rb +7 -0
- data/db/migrate/20200306123652_publish_existing_proposals_state.rb +15 -0
- data/lib/decidim/proposals.rb +1 -0
- data/lib/decidim/proposals/admin_engine.rb +7 -3
- data/lib/decidim/proposals/component.rb +39 -19
- data/lib/decidim/proposals/engine.rb +1 -1
- data/lib/decidim/proposals/test/factories.rb +55 -0
- data/lib/decidim/proposals/valuatable.rb +21 -0
- data/lib/decidim/proposals/version.rb +1 -1
- metadata +53 -36
- data/app/views/decidim/proposals/admin/proposal_answers/edit.html.erb +0 -22
- data/app/views/decidim/proposals/admin/proposal_notes/index.html.erb +0 -3
- data/app/views/decidim/proposals/admin/shared/_info_proposal.html.erb +0 -20
- data/app/views/decidim/proposals/proposal_widgets/show.html.erb +0 -4
@@ -11,7 +11,7 @@
|
|
11
11
|
<% if flash.now[:notice].present? %>
|
12
12
|
$("<%= escape_javascript(render partial: %q{js-callout}, locals: { css: %q{success}, text: flash.now[:notice] }) %>").appendTo(".callout-wrapper");
|
13
13
|
|
14
|
-
<%
|
14
|
+
<% proposal_ids.each do |id| %>
|
15
15
|
$(".table-list [data-id='<%= id %>']")
|
16
16
|
.replaceWith("<%= escape_javascript(render partial: %q{proposal-tr}, locals: { proposal: proposal_find(id) }) %>");
|
17
17
|
<% end %>
|
@@ -19,7 +19,8 @@
|
|
19
19
|
$("#js-form-recategorize-proposals #category_id").removeClass("is-invalid-input")
|
20
20
|
$(".js-check-all").prop('checked', false);
|
21
21
|
$(".js-check-all-proposal").prop('checked', false);
|
22
|
-
window.
|
22
|
+
window.hideBulkActionsButton();
|
23
|
+
window.hideBulkActionForms();
|
23
24
|
window.showOtherActionsButtons();
|
24
25
|
window.selectedProposalsCountUpdate();
|
25
26
|
<% end %>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<% if flash.now[:error].present? %>
|
2
|
+
$("#js-form-scope-change-proposals #scope_id").addClass("is-invalid-input")
|
3
|
+
$("<%= escape_javascript(render partial: %q{js-callout}, locals: { css: %q{alert}, text: flash.now[:error] }) %>").appendTo(".callout-wrapper");
|
4
|
+
<% end %>
|
5
|
+
|
6
|
+
<% if flash.now[:alert].present? %>
|
7
|
+
$("#js-form-scope-change-proposals #scope_id").removeClass("is-invalid-input")
|
8
|
+
$("<%= escape_javascript(render partial: %q{js-callout}, locals: { css: %q{warning}, text: flash.now[:alert] }) %>").appendTo(".callout-wrapper");
|
9
|
+
<% end %>
|
10
|
+
|
11
|
+
<% if flash.now[:notice].present? %>
|
12
|
+
$("<%= escape_javascript(render partial: %q{js-callout}, locals: { css: %q{success}, text: flash.now[:notice] }) %>").appendTo(".callout-wrapper");
|
13
|
+
|
14
|
+
<% @proposal_ids.each do |id| %>
|
15
|
+
$(".table-list [data-id='<%= id %>']")
|
16
|
+
.replaceWith("<%= escape_javascript(render partial: %q{proposal-tr}, locals: { proposal: proposal_find(id) }) %>");
|
17
|
+
<% end %>
|
18
|
+
|
19
|
+
$("#js-form-scope-change-proposals #scope_id").removeClass("is-invalid-input")
|
20
|
+
$(".js-check-all").prop('checked', false);
|
21
|
+
$(".js-check-all-proposal").prop('checked', false);
|
22
|
+
|
23
|
+
window.hideBulkActionForms();
|
24
|
+
window.hideBulkActionsButton();
|
25
|
+
window.showOtherActionsButtons();
|
26
|
+
window.selectedProposalsCountUpdate();
|
27
|
+
<% end %>
|
@@ -12,18 +12,18 @@
|
|
12
12
|
</div>
|
13
13
|
</div>
|
14
14
|
|
15
|
-
<%= form.
|
15
|
+
<%= form.check_boxes_tree :state, filter_collaborative_drafts_state_values, legend_title: t(".state") %>
|
16
16
|
|
17
17
|
<% if linked_classes_for(Decidim::Proposals::CollaborativeDraft).any? %>
|
18
18
|
<%= form.collection_radio_buttons :related_to, linked_classes_filter_values_for(Decidim::Proposals::CollaborativeDraft), :first, :last, legend_title: t(".related_to") %>
|
19
19
|
<% end %>
|
20
20
|
|
21
21
|
<% if current_participatory_space.has_subscopes? %>
|
22
|
-
<%=
|
22
|
+
<%= form.check_boxes_tree :scope_id, filter_scopes_values, legend_title: t(".scope") %>
|
23
23
|
<% end %>
|
24
24
|
|
25
25
|
<% if current_component.categories.any? %>
|
26
|
-
<%= form.
|
26
|
+
<%= form.check_boxes_tree :category_id, filter_categories_values, legend_title: t(".category") %>
|
27
27
|
<% end %>
|
28
28
|
|
29
29
|
<%= hidden_field_tag :order, order, id: nil, class: "order_filter" %>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
</div>
|
4
4
|
|
5
5
|
<div class="field hashtags__container">
|
6
|
-
<%= form
|
6
|
+
<%= text_editor_for_proposal_body(form) %>
|
7
7
|
</div>
|
8
8
|
|
9
9
|
<% if @form.component_automatic_hashtags.any? %>
|
@@ -12,32 +12,32 @@
|
|
12
12
|
</div>
|
13
13
|
</div>
|
14
14
|
|
15
|
-
<% if
|
16
|
-
<%= form.
|
15
|
+
<% if component_settings.proposal_answering_enabled && current_settings.proposal_answering_enabled %>
|
16
|
+
<%= form.check_boxes_tree :state, filter_proposals_state_values, legend_title: t(".state") %>
|
17
17
|
<% end %>
|
18
18
|
|
19
|
-
<% if
|
20
|
-
<%= form.
|
19
|
+
<% if current_participatory_space.has_subscopes? %>
|
20
|
+
<%= form.check_boxes_tree :scope_id, filter_scopes_values, legend_title: t(".scope") %>
|
21
21
|
<% end %>
|
22
22
|
|
23
|
-
<% if
|
24
|
-
<%= form.
|
23
|
+
<% if current_component.categories.any? %>
|
24
|
+
<%= form.check_boxes_tree :category_id, filter_categories_values, legend_title: t(".category") %>
|
25
25
|
<% end %>
|
26
26
|
|
27
|
-
<% if
|
28
|
-
<%= form.
|
27
|
+
<% if component_settings.official_proposals_enabled %>
|
28
|
+
<%= form.check_boxes_tree :origin, filter_origin_values, legend_title: t(".origin") %>
|
29
29
|
<% end %>
|
30
30
|
|
31
31
|
<% if current_user %>
|
32
32
|
<%= form.collection_radio_buttons :activity, activity_filter_values, :first, :last, legend_title: t(".activity") %>
|
33
33
|
<% end %>
|
34
34
|
|
35
|
-
<% if
|
36
|
-
<%=
|
35
|
+
<% if @proposals.only_emendations.any? %>
|
36
|
+
<%= form.collection_radio_buttons :type, filter_type_values, :first, :last, legend_title: t(".amendment_type") %>
|
37
37
|
<% end %>
|
38
38
|
|
39
|
-
<% if
|
40
|
-
<%= form.
|
39
|
+
<% if linked_classes_for(Decidim::Proposals::Proposal).any? %>
|
40
|
+
<%= form.collection_radio_buttons :related_to, linked_classes_filter_values_for(Decidim::Proposals::Proposal), :first, :last, legend_title: t(".related_to") %>
|
41
41
|
<% end %>
|
42
42
|
|
43
43
|
<%= hidden_field_tag :order, order, id: nil, class: "order_filter" %>
|
@@ -1,6 +1,3 @@
|
|
1
|
-
<% if proposal.
|
2
|
-
<span class="<%= proposal_state_badge_css_class(proposal.state) %> label proposal-status"><%= humanize_proposal_state proposal.state %></span>
|
3
|
-
<% end %>
|
4
|
-
<% if proposal.withdrawn? %>
|
1
|
+
<% if proposal.published_state? || proposal.withdrawn? %>
|
5
2
|
<span class="<%= proposal_state_badge_css_class(proposal.state) %> label proposal-status"><%= humanize_proposal_state proposal.state %></span>
|
6
3
|
<% end %>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<% if component_settings.participatory_texts_enabled? && from_proposals_list %>
|
5
5
|
<%= render partial: "decidim/proposals/proposals/participatory_texts/proposal_vote_button", locals: { proposal: proposal, from_proposals_list: true } %>
|
6
6
|
<% else %>
|
7
|
-
<div id="proposal-<%= proposal.id %>-vote-button">
|
7
|
+
<div id="proposal-<%= proposal.id %>-vote-button" class="button--vote-button">
|
8
8
|
<% if !current_user %>
|
9
9
|
<% if current_settings.votes_blocked? %>
|
10
10
|
<%= action_authorized_button_to :vote, t("decidim.proposals.proposals.vote_button.votes_blocked"), proposal_proposal_vote_path(proposal_id: proposal, from_proposals_list: from_proposals_list), resource: proposal, class: "button #{vote_button_classes(from_proposals_list)} disabled", disabled: true %>
|
@@ -63,7 +63,7 @@
|
|
63
63
|
</div>
|
64
64
|
<div class="row">
|
65
65
|
<div class="text-right">
|
66
|
-
<%= link_to t(".see_all_withdrawn"), proposals_path("filter[state]" => "withdrawn") %>
|
66
|
+
<%= link_to t(".see_all_withdrawn"), proposals_path("filter[state][]" => "withdrawn") %>
|
67
67
|
</div>
|
68
68
|
</div>
|
69
69
|
<%= javascript_include_tag("decidim/filters") %>
|
@@ -12,7 +12,7 @@
|
|
12
12
|
</div>
|
13
13
|
|
14
14
|
<div class="field hashtags__container">
|
15
|
-
<%= form
|
15
|
+
<%= text_editor_for_proposal_body(form) %>
|
16
16
|
</div>
|
17
17
|
|
18
18
|
<% if current_organization.user_groups_enabled? && Decidim::UserGroups::ManageableUserGroups.for(current_user).verified.any? %>
|
@@ -13,6 +13,16 @@ edit_link(
|
|
13
13
|
)
|
14
14
|
%>
|
15
15
|
|
16
|
+
<%
|
17
|
+
extra_admin_link(
|
18
|
+
resource_locator(@proposal).show(anchor: "proposal-answer"),
|
19
|
+
:create,
|
20
|
+
:proposal_answer,
|
21
|
+
{ proposal: @proposal },
|
22
|
+
{ name: t(".answer"), icon: "comment-square" }
|
23
|
+
)
|
24
|
+
%>
|
25
|
+
|
16
26
|
<%= render partial: "voting_rules" %>
|
17
27
|
<% if component_settings.participatory_texts_enabled? %>
|
18
28
|
<div class="row column">
|
@@ -34,26 +44,6 @@ edit_link(
|
|
34
44
|
</div>
|
35
45
|
<div class="row">
|
36
46
|
<div class="columns section view-side mediumlarge-4 mediumlarge-push-8 large-3 large-push-9">
|
37
|
-
<% if @proposal.amendable? %>
|
38
|
-
<div class="card text-center">
|
39
|
-
<div class="card__content">
|
40
|
-
<div>
|
41
|
-
<strong class="text-large text-uppercase">
|
42
|
-
<%= t("version", scope:"decidim.proposals.collaborative_drafts.show", number: @proposal.versions_count) %>
|
43
|
-
</strong>
|
44
|
-
<small class="text-medium">
|
45
|
-
<%= t("of_versions", scope:"decidim.proposals.collaborative_drafts.show", number: @proposal.versions_count) %>
|
46
|
-
</small>
|
47
|
-
</div>
|
48
|
-
|
49
|
-
<div>
|
50
|
-
<span class="text-medium">
|
51
|
-
<%= link_to t("see_other_versions", scope:"decidim.proposals.collaborative_drafts.show"), proposal_versions_path(@proposal) %>
|
52
|
-
</span>
|
53
|
-
</div>
|
54
|
-
</div>
|
55
|
-
</div>
|
56
|
-
<% end %>
|
57
47
|
<% if @proposal.amendable? && allowed_to?(:edit, :proposal, proposal: @proposal) %>
|
58
48
|
<%= link_to t(".edit_proposal"), edit_proposal_path(@proposal), class: "button secondary hollow expanded button-sc button--icon follow-button" %>
|
59
49
|
<% else %>
|
@@ -89,6 +79,7 @@ edit_link(
|
|
89
79
|
<%= amenders_list_for(@proposal) %>
|
90
80
|
|
91
81
|
<%= resource_reference(@proposal) %>
|
82
|
+
<%= resource_version(proposal_presenter, versions_path: proposal_versions_path(@proposal)) %>
|
92
83
|
<%= cell("decidim/fingerprint", @proposal) %>
|
93
84
|
<%= render partial: "decidim/shared/share_modal" %>
|
94
85
|
<%= embed_modal_for proposal_proposal_widget_url(@proposal, format: :js) %>
|
@@ -98,18 +89,21 @@ edit_link(
|
|
98
89
|
<div class="columns mediumlarge-8 mediumlarge-pull-4">
|
99
90
|
<div class="section">
|
100
91
|
<% if @proposal.emendation? %>
|
101
|
-
<%= cell("decidim/diff",
|
92
|
+
<%= cell("decidim/diff", proposal_presenter.versions.last) %>
|
102
93
|
<% elsif not ["section","subsection"].include? @proposal.participatory_text_level %>
|
103
94
|
<%== cell("decidim/proposals/proposal_m", @proposal, full_badge: true).badge %>
|
104
|
-
<%=
|
95
|
+
<%= render_proposal_body(@proposal) %>
|
105
96
|
<% end %>
|
106
97
|
<% if component_settings.geocoding_enabled? %>
|
107
98
|
<%= render partial: "decidim/shared/static_map", locals: { icon_name: "proposals", geolocalizable: @proposal } %>
|
108
99
|
<% end %>
|
100
|
+
<% if proposal_has_costs? && current_settings.answers_with_costs? %>
|
101
|
+
<%= cell("decidim/proposals/cost_report", @proposal) %>
|
102
|
+
<% end %>
|
109
103
|
<%= cell "decidim/proposals/proposal_tags", @proposal %>
|
110
104
|
</div>
|
111
105
|
|
112
|
-
<%= cell("decidim/announcement", proposal_reason_callout_args) if @proposal.answered? %>
|
106
|
+
<%= cell("decidim/announcement", proposal_reason_callout_args) if @proposal.answered? && @proposal.published_state? %>
|
113
107
|
|
114
108
|
<%= linked_resources_for @proposal, :results, "included_proposals" %>
|
115
109
|
<%= linked_resources_for @proposal, :projects, "included_proposals" %>
|
data/config/locales/ar.yml
CHANGED
@@ -31,6 +31,9 @@ ar:
|
|
31
31
|
proposals_import:
|
32
32
|
import_proposals: مقترحات الاستيراد
|
33
33
|
keep_authors: الحفاظ على المؤلفين الأصلي
|
34
|
+
valuation_assignment:
|
35
|
+
admin_log:
|
36
|
+
valuator_role_id: اسم المُقيِّم
|
34
37
|
errors:
|
35
38
|
models:
|
36
39
|
participatory_text:
|
@@ -94,6 +97,23 @@ ar:
|
|
94
97
|
many: الدعم
|
95
98
|
other: الدعم
|
96
99
|
decidim:
|
100
|
+
admin:
|
101
|
+
filters:
|
102
|
+
is_emendation_true:
|
103
|
+
label: نوع
|
104
|
+
values:
|
105
|
+
'false': اقتراحات
|
106
|
+
'true': تعديلات
|
107
|
+
state_eq:
|
108
|
+
values:
|
109
|
+
evaluating: تقييم
|
110
|
+
withdrawn: سحب
|
111
|
+
state_null:
|
112
|
+
label: الحالة
|
113
|
+
values:
|
114
|
+
'true': بلا جواب
|
115
|
+
valuator_role_ids_has:
|
116
|
+
label: تم إسناده إلى مُقيِّم
|
97
117
|
components:
|
98
118
|
proposals:
|
99
119
|
actions:
|
@@ -105,6 +125,7 @@ ar:
|
|
105
125
|
name: اقتراحات
|
106
126
|
settings:
|
107
127
|
global:
|
128
|
+
allow_card_image: السماح بالبطاقة الصورية
|
108
129
|
amendments_enabled: تم تمكين التعديلات
|
109
130
|
announcement: إعلان
|
110
131
|
attachments_allowed: السماح للمرفقات
|
@@ -113,6 +134,7 @@ ar:
|
|
113
134
|
comments_enabled: تم تمكين التعليقات
|
114
135
|
geocoding_enabled: تم تمكين الترميز الجغرافي
|
115
136
|
minimum_votes_per_user: الحد الأدنى من الدعم لكل مستخدم
|
137
|
+
new_proposal_body_template: نموذج جديد لمحتوى المُقتَرَح
|
116
138
|
new_proposal_help_text: نص مساعدة اقتراح جديد
|
117
139
|
official_proposals_enabled: تم تمكين المقترحات الرسمية
|
118
140
|
participatory_texts_enabled: تم تمكين النصوص التشاركية
|
@@ -203,7 +225,6 @@ ar:
|
|
203
225
|
email_subject: يتم تقييم الاقتراح الخاص بك
|
204
226
|
notification_title: يتم تقييم الاقتراح الخاص بك <a href="%{resource_path}">%{resource_title}</a>.
|
205
227
|
proposal_mentioned:
|
206
|
-
email_intro: لقد تم ذكر اقتراحك "%{mentioned_proposal_title}" <a href="%{resource_path}">في هذه المساحة</a> في التعليقات.
|
207
228
|
email_outro: لقد تلقيت هذا الإشعار لأنك مؤلف "%{resource_title}".
|
208
229
|
email_subject: تم ذكر اقتراحك "%{mentioned_proposal_title}"
|
209
230
|
notification_title: لقد تم ذكر اقتراحك "%{mentioned_proposal_title}" <a href="%{resource_path}">في هذه المساحة</a> في التعليقات.
|
@@ -228,6 +249,8 @@ ar:
|
|
228
249
|
email_outro: لقد تلقيت هذا الإشعار لأنك مؤلف الاقتراح.
|
229
250
|
email_subject: تم تحديث فئة %{resource_title} اقتراح
|
230
251
|
notification_title: تم تحديث فئة اقتراح <a href="%{resource_path}">%{resource_title}</a> بواسطة مسؤول.
|
252
|
+
proposal_update_scope:
|
253
|
+
email_outro: لقد تلقيت هذا الإشعار لأنك مؤلف الاقتراح.
|
231
254
|
voting_enabled:
|
232
255
|
email_intro: 'يمكنك دعم المقترحات في %{participatory_space_title}! ابدأ المشاركة في هذه الصفحة:'
|
233
256
|
email_outro: لقد تلقيت هذا الإشعار لأنك تتابع %{participatory_space_title}. يمكنك إيقاف تلقي الإخطارات باتباع الرابط السابق.
|
@@ -294,12 +317,11 @@ ar:
|
|
294
317
|
see_all: شاهد الكل (%{count})
|
295
318
|
proposals:
|
296
319
|
actions:
|
297
|
-
|
320
|
+
answer_proposal: الرد على المُقتَرَح
|
298
321
|
edit_proposal: تعديل الاقتراح
|
299
322
|
import: استيراد من مكون آخر
|
300
323
|
new: عرض جديد
|
301
324
|
participatory_texts: النصوص التشاركية
|
302
|
-
private_notes: ملاحظات خاصة
|
303
325
|
title: أفعال
|
304
326
|
admin:
|
305
327
|
actions:
|
@@ -343,7 +365,7 @@ ar:
|
|
343
365
|
update:
|
344
366
|
success: تم تحديث النص التشاركي بنجاح.
|
345
367
|
proposal_answers:
|
346
|
-
|
368
|
+
form:
|
347
369
|
accepted: وافقت
|
348
370
|
answer_proposal: إجابة
|
349
371
|
evaluating: تقييم
|
@@ -377,24 +399,48 @@ ar:
|
|
377
399
|
select_a_meeting: اختيار اجتماع
|
378
400
|
index:
|
379
401
|
actions: أفعال
|
402
|
+
assign_to_valuator: أسنِده إلى مُقيِّم
|
380
403
|
cancel: إلغاء
|
381
404
|
change_category: تغيير الفئة
|
382
405
|
merge: دمج في واحدة جديدة
|
383
406
|
merge_button: دمج
|
407
|
+
publish: نشر
|
384
408
|
select_component: حدد المكون
|
385
409
|
selected: المحدد
|
386
410
|
split: تقسيم المقترحات
|
387
411
|
split_button: انشق، مزق
|
388
412
|
title: اقتراحات
|
413
|
+
unassign_from_valuator: إلغاء الإسناد مِن المُقيِّم
|
414
|
+
unassign_from_valuator_button: إلغاء الإسناد
|
389
415
|
update: تحديث
|
390
416
|
new:
|
391
417
|
create: إنشاء
|
392
418
|
title: إنشاء اقتراح
|
419
|
+
publish_answers:
|
420
|
+
select_a_proposal: يرجى اختيار الاقتراح
|
421
|
+
show:
|
422
|
+
amendments_count: تعداد التعديلات
|
423
|
+
authors: المؤلفون
|
424
|
+
body: الجسم
|
425
|
+
comments_count: تعداد التعليقات
|
426
|
+
comments_negative_count: ضد
|
427
|
+
comments_neutral_count: محايد
|
428
|
+
comments_positive_count: مع
|
429
|
+
created_at: تاريخ الإنشاء
|
430
|
+
documents: المستندات
|
431
|
+
link: الرابط
|
432
|
+
photos: الصور
|
433
|
+
proposals: اقتراحات
|
434
|
+
ranking: "%{ranking} مِن %{total}"
|
435
|
+
related_meetings: ملتقيات ذات صلة
|
436
|
+
valuators: المُقيِّمون
|
437
|
+
votes_count: يدعم العد
|
438
|
+
votes_ranking: ترتيب حسب الدّعم المتلقّى
|
393
439
|
update_category:
|
394
|
-
invalid: 'هذه المقترحات لديها بالفعل فئة %{category} : %{proposals}.'
|
395
440
|
select_a_category: الرجاء تحديد الفئة
|
396
441
|
select_a_proposal: يرجى اختيار الاقتراح
|
397
|
-
|
442
|
+
update_scope:
|
443
|
+
select_a_proposal: يرجى اختيار الاقتراح
|
398
444
|
proposals_imports:
|
399
445
|
create:
|
400
446
|
invalid: كانت هناك مشكلة في استيراد المقترحات
|
@@ -412,12 +458,9 @@ ar:
|
|
412
458
|
create:
|
413
459
|
invalid: كانت هناك مشكلة في تقسيم المقترحات المحددة.
|
414
460
|
success: تم تقسيم المقترحات بنجاح إلى مقترحات جديدة.
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
created_at: تاريخ الإنشاء
|
419
|
-
proposal_votes_count: يدعم العد
|
420
|
-
proposals: اقتراحات
|
461
|
+
valuation_assignments:
|
462
|
+
create:
|
463
|
+
success: لقد تم إسناد المُقتَرحات إلى مُقيِّم بنجاح
|
421
464
|
admin_log:
|
422
465
|
proposal:
|
423
466
|
answer: "%{user_name} أجاب على الاقتراح %{resource_name} على %{space_name} الفضاء"
|
@@ -432,16 +475,21 @@ ar:
|
|
432
475
|
rejected: مرفوض
|
433
476
|
withdrawn: سحب
|
434
477
|
application_helper:
|
478
|
+
filter_category_values:
|
479
|
+
all: الكل
|
435
480
|
filter_origin_values:
|
436
481
|
all: الكل
|
437
482
|
citizens: المواطنون
|
438
483
|
meetings: اجتماعات
|
439
484
|
official: الرسمية
|
440
485
|
user_groups: المجموعات
|
486
|
+
filter_scope_values:
|
487
|
+
all: الكل
|
441
488
|
filter_state_values:
|
442
489
|
accepted: وافقت
|
443
490
|
all: الكل
|
444
491
|
evaluating: تقييم
|
492
|
+
not_answered: بلا جواب
|
445
493
|
rejected: مرفوض
|
446
494
|
filter_type_values:
|
447
495
|
all: الكل
|
@@ -494,10 +542,10 @@ ar:
|
|
494
542
|
all: الكل
|
495
543
|
amendment: تعديلات
|
496
544
|
category: الفئة
|
497
|
-
category_prompt: الفئة موجه
|
498
545
|
open: افتح
|
499
546
|
published: نشرت
|
500
547
|
related_to: متعلق ب
|
548
|
+
scope: نطاق
|
501
549
|
search: بحث
|
502
550
|
state: الحالة
|
503
551
|
withdrawn: سحب
|
@@ -595,6 +643,8 @@ ar:
|
|
595
643
|
scope: نطاق
|
596
644
|
state: الحالة
|
597
645
|
title: عنوان
|
646
|
+
valuator: مُقيِّم
|
647
|
+
valuators: المُقيِّمون
|
598
648
|
votes: الأصوات
|
599
649
|
new:
|
600
650
|
limit_reached: لا يمكنك إنشاء مقترحات جديدة لأنك تجاوزت الحد.
|
@@ -656,12 +706,13 @@ ar:
|
|
656
706
|
all: الكل
|
657
707
|
amendment_type: نوع
|
658
708
|
category: الفئة
|
659
|
-
category_prompt: اختر تصنيف
|
660
709
|
my_proposals: اقتراحاتي
|
661
710
|
origin: الأصل
|
662
711
|
related_to: متعلق ب
|
712
|
+
scope: نطاق
|
663
713
|
search: بحث
|
664
714
|
state: الحالة
|
715
|
+
type: نوع
|
665
716
|
voted: أيد
|
666
717
|
filters_small_view:
|
667
718
|
close_modal: إغلاق مشروط
|
@@ -712,10 +763,12 @@ ar:
|
|
712
763
|
creation_date: 'الإنشاء: %{date}'
|
713
764
|
view_proposal: عرض الاقتراح
|
714
765
|
show:
|
766
|
+
answer: إجابة
|
715
767
|
back_to: ارجع الى
|
716
768
|
changes_at_title: تعديل على "%{title}"
|
717
769
|
edit_proposal: تعديل الاقتراح
|
718
770
|
endorsements_list: قائمة المصادقة
|
771
|
+
estimated_cost: التكلفة التقديرية
|
719
772
|
hidden_endorsers_count:
|
720
773
|
zero: و %{count} المزيد من الناس
|
721
774
|
one: و %{count} شخص آخر
|
@@ -729,13 +782,12 @@ ar:
|
|
729
782
|
proposal_accepted_reason: 'تم قبول هذا الاقتراح بسبب:'
|
730
783
|
proposal_in_evaluation_reason: هذا الاقتراح قيد التقييم
|
731
784
|
proposal_rejected_reason: 'تم رفض هذا الاقتراح بسبب:'
|
785
|
+
read_less: اقرأ أقل
|
786
|
+
read_more: اقرأ المزيد
|
732
787
|
report: أبلغ عن
|
733
788
|
withdraw_btn_hint: يمكنك سحب اقتراحك إذا غيرت رأيك ، طالما أنك لم تتلق أي دعم. لم يتم حذف الاقتراح ، وسوف يظهر في قائمة المقترحات المسحوبة.
|
734
789
|
withdraw_confirmation: هل أنت متأكد أنك تريد سحب هذا الاقتراح؟
|
735
790
|
withdraw_proposal: سحب الاقتراح
|
736
|
-
tags:
|
737
|
-
changed_from: "(تم التغيير من <u>%{previous_category}</u> بواسطة مسؤول)"
|
738
|
-
filed_as: قدم كما
|
739
791
|
vote_button:
|
740
792
|
already_voted: معتمد بالفعل
|
741
793
|
already_voted_hover: سحب الدعم
|