decidim-participatory_processes 0.25.1 → 0.26.0
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/participatory_process_groups/content_blocks/highlighted_participatory_processes/filters_small_view.erb +3 -3
- data/app/cells/decidim/participatory_process_groups/content_blocks/title/show.erb +1 -1
- data/app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/single_process.erb +1 -1
- data/app/commands/decidim/participatory_processes/admin/copy_participatory_process.rb +2 -1
- data/app/commands/decidim/participatory_processes/admin/create_participatory_process.rb +25 -20
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_groups_controller.rb +2 -7
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_user_roles_controller.rb +12 -4
- data/app/controllers/decidim/participatory_processes/participatory_process_groups_controller.rb +1 -1
- data/app/controllers/decidim/participatory_processes/participatory_processes_controller.rb +4 -4
- data/app/models/decidim/participatory_process_user_role.rb +20 -0
- data/app/permissions/decidim/participatory_processes/permissions.rb +0 -8
- data/app/queries/decidim/participatory_processes/group_participatory_processes.rb +1 -1
- data/app/queries/decidim/participatory_processes/organization_promoted_participatory_process_groups.rb +16 -0
- data/app/services/decidim/participatory_processes/participatory_process_search.rb +1 -1
- data/app/views/decidim/participatory_processes/admin/participatory_process_groups/index.html.erb +1 -1
- data/app/views/decidim/participatory_processes/admin/participatory_process_user_roles/index.html.erb +7 -7
- data/app/views/decidim/participatory_processes/admin/participatory_processes/index.html.erb +1 -1
- data/app/views/decidim/participatory_processes/participatory_processes/_promoted_process.html.erb +1 -1
- data/app/views/decidim/participatory_processes/participatory_processes/_promoted_process_group.html.erb +2 -2
- data/app/views/decidim/participatory_processes/participatory_processes/show.html.erb +3 -3
- data/config/locales/fi.yml +1 -1
- data/config/locales/fr-CA.yml +3 -0
- data/config/locales/fr.yml +19 -16
- data/config/locales/ja.yml +4 -4
- data/config/locales/lb-LU.yml +108 -0
- data/config/locales/no.yml +67 -1
- data/config/locales/pt-BR.yml +1 -1
- data/config/locales/ro-RO.yml +142 -142
- data/config/locales/val-ES.yml +1 -0
- data/lib/decidim/participatory_processes/admin_engine.rb +3 -1
- data/lib/decidim/participatory_processes/engine.rb +1 -1
- data/lib/decidim/participatory_processes/version.rb +1 -1
- metadata +16 -15
- data/app/views/decidim/participatory_processes/admin/participatory_process_groups/show.html.erb +0 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b584299fe506cf5fbe816436f5aca359c381a3d5c04d72c1fc3c0610008e6ef7
|
4
|
+
data.tar.gz: 06417b81d43ac7cdd15d6ead9e2104aafe7c7bc7b82d0362b5613e0ae067e5ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a7a2c126c59b61626d5def83cc6e10d09b1acd9a2e207464d62780b9187a0ff244d748c154d8b08bc6f3f1caad2602594b530aeb70373341df125a034d9f7c7
|
7
|
+
data.tar.gz: 77c543550fbed67249af85507b0fc971776b7443f63ea487d0edb6b127506d5f2579aa33f8fd1ed00da8f65525b168d0d5685917ce00927ecd9d9ae829985023
|
@@ -1,13 +1,13 @@
|
|
1
1
|
<div class="filters-controls hide-for-mediumlarge">
|
2
|
-
<button data-open="filter-box" class="filters-controls__trigger">
|
2
|
+
<button data-open="filter-box" class="filters-controls__trigger" aria-controls="filter-box" aria-haspopup="dialog">
|
3
3
|
<%= t("filter", scope: "decidim.searches.filters_small_view") %>
|
4
4
|
<%= icon "caret-bottom", class: "icon--small float-right", aria_label: t("unfold", scope: "decidim.searches.filters_small_view"), role: "img" %>
|
5
5
|
</button>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div class="reveal" id="filter-box" data-reveal>
|
8
|
+
<div class="reveal" id="filter-box" data-reveal role="dialog" aria-modal="true" aria-labelledby="filter-box-label">
|
9
9
|
<div class="reveal__header">
|
10
|
-
<h3 class="reveal__title"><%= t("filter_by", scope: "decidim.searches.filters_small_view") %>:</h3>
|
10
|
+
<h3 id="filter-box-label" class="reveal__title"><%= t("filter_by", scope: "decidim.searches.filters_small_view") %>:</h3>
|
11
11
|
<button class="close-button" data-close aria-label="<%= 't("close_modal", scope: "decidim.searches.filters_small_view")' %>" type="button">
|
12
12
|
<span aria-hidden="true">×</span>
|
13
13
|
</button>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<h2 class="heading2"><%= translated_attribute(participatory_process_group.title) %></h2>
|
3
3
|
<div class="row">
|
4
4
|
<div class="columns medium-9">
|
5
|
-
<%=
|
5
|
+
<%= decidim_sanitize_editor translated_attribute(participatory_process_group.description) %>
|
6
6
|
<div class="row">
|
7
7
|
<div class="column medium-2 text-muted">
|
8
8
|
<%= icon "grid-three-up", role: "img", "aria-hidden": true, class: "mr-xs" %>
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<%= link_to decidim_participatory_processes.participatory_process_path(process), class: "card__link" do %>
|
15
15
|
<h2 class="card__title" id="<%= title_id %>"><%= decidim_html_escape(translated_attribute(process.title)) %></h2>
|
16
16
|
<% end %>
|
17
|
-
<%=
|
17
|
+
<%= decidim_sanitize_editor translated_attribute(process.short_description) %>
|
18
18
|
<%= link_to decidim_participatory_processes.participatory_process_path(process), class: "button small hollow" do %>
|
19
19
|
<span class="show-for-sr"><%= decidim_html_escape(translated_attribute(process.title)) %></span>
|
20
20
|
<%= t("more_information", scope: i18n_scope) %>
|
@@ -116,7 +116,8 @@ module Decidim
|
|
116
116
|
name: component.name,
|
117
117
|
participatory_space: @copied_process,
|
118
118
|
settings: component.settings,
|
119
|
-
step_settings: copied_step_settings
|
119
|
+
step_settings: copied_step_settings,
|
120
|
+
weight: component.weight
|
120
121
|
)
|
121
122
|
component.manifest.run_hooks(:copy, new_component: new_component, old_component: component)
|
122
123
|
end
|
@@ -40,7 +40,30 @@ module Decidim
|
|
40
40
|
attr_reader :form, :process
|
41
41
|
|
42
42
|
def create_participatory_process
|
43
|
-
@process = ParticipatoryProcess.new
|
43
|
+
@process = ParticipatoryProcess.new
|
44
|
+
@process.assign_attributes(attributes)
|
45
|
+
|
46
|
+
return process unless process.valid?
|
47
|
+
|
48
|
+
transaction do
|
49
|
+
process.save!
|
50
|
+
|
51
|
+
log_process_creation(process)
|
52
|
+
|
53
|
+
process.steps.create!(
|
54
|
+
title: TranslationsHelper.multi_translation(
|
55
|
+
"decidim.admin.participatory_process_steps.default_title",
|
56
|
+
form.current_organization.available_locales
|
57
|
+
),
|
58
|
+
active: true
|
59
|
+
)
|
60
|
+
|
61
|
+
process
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
def attributes
|
66
|
+
{
|
44
67
|
organization: form.current_organization,
|
45
68
|
title: form.title,
|
46
69
|
subtitle: form.subtitle,
|
@@ -66,25 +89,7 @@ module Decidim
|
|
66
89
|
start_date: form.start_date,
|
67
90
|
end_date: form.end_date,
|
68
91
|
participatory_process_group: form.participatory_process_group
|
69
|
-
|
70
|
-
|
71
|
-
return process unless process.valid?
|
72
|
-
|
73
|
-
transaction do
|
74
|
-
process.save!
|
75
|
-
|
76
|
-
log_process_creation(process)
|
77
|
-
|
78
|
-
process.steps.create!(
|
79
|
-
title: TranslationsHelper.multi_translation(
|
80
|
-
"decidim.admin.participatory_process_steps.default_title",
|
81
|
-
form.current_organization.available_locales
|
82
|
-
),
|
83
|
-
active: true
|
84
|
-
)
|
85
|
-
|
86
|
-
process
|
87
|
-
end
|
92
|
+
}
|
88
93
|
end
|
89
94
|
|
90
95
|
def log_process_creation(process)
|
@@ -14,11 +14,6 @@ module Decidim
|
|
14
14
|
enforce_permission_to :read, :process_group
|
15
15
|
end
|
16
16
|
|
17
|
-
def show
|
18
|
-
enforce_permission_to :read, :process_group, process_group: participatory_process_group
|
19
|
-
render layout: "decidim/admin/participatory_process_group"
|
20
|
-
end
|
21
|
-
|
22
17
|
def new
|
23
18
|
enforce_permission_to :create, :process_group
|
24
19
|
@form = form(ParticipatoryProcessGroupForm).instance
|
@@ -31,7 +26,7 @@ module Decidim
|
|
31
26
|
CreateParticipatoryProcessGroup.call(@form) do
|
32
27
|
on(:ok) do |participatory_process_group|
|
33
28
|
flash[:notice] = I18n.t("participatory_processes_group.create.success", scope: "decidim.admin")
|
34
|
-
redirect_to
|
29
|
+
redirect_to edit_participatory_process_group_path(participatory_process_group)
|
35
30
|
end
|
36
31
|
|
37
32
|
on(:invalid) do
|
@@ -56,7 +51,7 @@ module Decidim
|
|
56
51
|
UpdateParticipatoryProcessGroup.call(@participatory_process_group, @form) do
|
57
52
|
on(:ok) do |participatory_process_group|
|
58
53
|
flash[:notice] = I18n.t("participatory_process_groups.update.success", scope: "decidim.admin")
|
59
|
-
redirect_to
|
54
|
+
redirect_to edit_participatory_process_group_path(participatory_process_group)
|
60
55
|
end
|
61
56
|
|
62
57
|
on(:invalid) do
|
@@ -7,10 +7,11 @@ module Decidim
|
|
7
7
|
#
|
8
8
|
class ParticipatoryProcessUserRolesController < Decidim::Admin::ApplicationController
|
9
9
|
include Concerns::ParticipatoryProcessAdmin
|
10
|
+
include Decidim::Admin::Officializations::Filterable
|
10
11
|
|
11
12
|
def index
|
12
13
|
enforce_permission_to :read, :process_user_role
|
13
|
-
@participatory_process_user_roles =
|
14
|
+
@participatory_process_user_roles = filtered_collection
|
14
15
|
end
|
15
16
|
|
16
17
|
def new
|
@@ -90,11 +91,18 @@ module Decidim
|
|
90
91
|
|
91
92
|
private
|
92
93
|
|
94
|
+
def search_field_predicate
|
95
|
+
:name_or_nickname_or_email_cont
|
96
|
+
end
|
97
|
+
|
98
|
+
def filters
|
99
|
+
[:invitation_accepted_at_present, :last_sign_in_at_present]
|
100
|
+
end
|
101
|
+
|
93
102
|
def collection
|
94
103
|
@collection ||= Decidim::ParticipatoryProcessUserRole
|
95
|
-
.
|
96
|
-
.where(participatory_process: current_participatory_process)
|
97
|
-
.order(:role, "decidim_users.name")
|
104
|
+
.joins(:user)
|
105
|
+
.where(participatory_process: current_participatory_process) # .order(:role, "decidim_users.name")
|
98
106
|
end
|
99
107
|
end
|
100
108
|
end
|
@@ -73,7 +73,7 @@ module Decidim
|
|
73
73
|
end
|
74
74
|
|
75
75
|
def promoted_participatory_process_groups
|
76
|
-
@promoted_participatory_process_groups ||=
|
76
|
+
@promoted_participatory_process_groups ||= OrganizationPromotedParticipatoryProcessGroups.new(current_organization)
|
77
77
|
end
|
78
78
|
|
79
79
|
def promoted_collection
|
@@ -89,12 +89,12 @@ module Decidim
|
|
89
89
|
end
|
90
90
|
|
91
91
|
def participatory_processes
|
92
|
-
@participatory_processes ||= filtered_processes.groupless
|
92
|
+
@participatory_processes ||= filtered_processes.groupless.includes(attachments: :file_attachment)
|
93
93
|
end
|
94
94
|
|
95
95
|
def participatory_process_groups
|
96
|
-
@participatory_process_groups ||=
|
97
|
-
|
96
|
+
@participatory_process_groups ||= OrganizationParticipatoryProcessGroups.new(current_organization).query
|
97
|
+
.where(id: filtered_processes.grouped.group_ids)
|
98
98
|
end
|
99
99
|
|
100
100
|
def stats
|
@@ -20,6 +20,26 @@ module Decidim
|
|
20
20
|
Decidim::ParticipatoryProcesses::AdminLog::ParticipatoryProcessUserRolePresenter
|
21
21
|
end
|
22
22
|
|
23
|
+
ransacker :name do
|
24
|
+
Arel.sql(%{("decidim_users"."name")::text})
|
25
|
+
end
|
26
|
+
|
27
|
+
ransacker :nickname do
|
28
|
+
Arel.sql(%{("decidim_users"."nickname")::text})
|
29
|
+
end
|
30
|
+
|
31
|
+
ransacker :email do
|
32
|
+
Arel.sql(%{("decidim_users"."email")::text})
|
33
|
+
end
|
34
|
+
|
35
|
+
ransacker :invitation_accepted_at do
|
36
|
+
Arel.sql(%{("decidim_users"."invitation_accepted_at")::text})
|
37
|
+
end
|
38
|
+
|
39
|
+
ransacker :last_sign_in_at do
|
40
|
+
Arel.sql(%{("decidim_users"."last_sign_in_at")::text})
|
41
|
+
end
|
42
|
+
|
23
43
|
private
|
24
44
|
|
25
45
|
# Private: check if the process and the user have the same organization
|
@@ -19,7 +19,6 @@ module Decidim
|
|
19
19
|
public_list_process_groups_action?
|
20
20
|
public_read_process_group_action?
|
21
21
|
public_read_process_action?
|
22
|
-
public_report_content_action?
|
23
22
|
return permission_action
|
24
23
|
end
|
25
24
|
|
@@ -119,13 +118,6 @@ module Decidim
|
|
119
118
|
user.admin || process.users.include?(user)
|
120
119
|
end
|
121
120
|
|
122
|
-
def public_report_content_action?
|
123
|
-
return unless permission_action.action == :create &&
|
124
|
-
permission_action.subject == :moderation
|
125
|
-
|
126
|
-
allow!
|
127
|
-
end
|
128
|
-
|
129
121
|
# Only organization admins can enter the process groups space area.
|
130
122
|
def user_can_enter_process_groups_space_area?
|
131
123
|
return unless permission_action.action == :enter &&
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Decidim
|
4
|
+
module ParticipatoryProcesses
|
5
|
+
# This query class filters participatory process groups given an organization.
|
6
|
+
class OrganizationPromotedParticipatoryProcessGroups < Rectify::Query
|
7
|
+
def initialize(organization)
|
8
|
+
@organization = organization
|
9
|
+
end
|
10
|
+
|
11
|
+
def query
|
12
|
+
PromotedParticipatoryProcessGroups.new.query.where(organization: @organization)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -19,7 +19,7 @@ module Decidim
|
|
19
19
|
query.upcoming.order(start_date: :asc)
|
20
20
|
else # Assume 'all'
|
21
21
|
timezone = ActiveSupport::TimeZone.find_tzinfo(Time.zone.name).identifier
|
22
|
-
query.order(Arel.sql("ABS(start_date - (CURRENT_DATE at time zone '#{timezone}')::date)"))
|
22
|
+
query.order(Arel.sql("ABS(start_date - (CURRENT_DATE at time zone '#{timezone}')::date)").to_s)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
data/app/views/decidim/participatory_processes/admin/participatory_process_groups/index.html.erb
CHANGED
@@ -29,7 +29,7 @@
|
|
29
29
|
<tr>
|
30
30
|
<td>
|
31
31
|
<% if group.promoted? %>
|
32
|
-
<span data-tooltip class="icon-state icon-highlight"
|
32
|
+
<span data-tooltip class="icon-state icon-highlight" data-disable-hover="false" title="<%= t("models.participatory_process.fields.promoted", scope: "decidim.admin") %>">
|
33
33
|
<%= icon "star" %>
|
34
34
|
</span>
|
35
35
|
<% end %>
|
data/app/views/decidim/participatory_processes/admin/participatory_process_user_roles/index.html.erb
CHANGED
@@ -9,17 +9,17 @@
|
|
9
9
|
<% end %>
|
10
10
|
</h2>
|
11
11
|
</div>
|
12
|
-
|
12
|
+
<%= admin_filter_selector %>
|
13
13
|
<div class="card-section">
|
14
14
|
<div class="table-scroll">
|
15
|
-
<table class="stack">
|
15
|
+
<table class="stack table-list">
|
16
16
|
<thead>
|
17
17
|
<tr>
|
18
|
-
<th><%= t("models.participatory_process_user_role.fields.name", scope: "decidim.admin") %></th>
|
19
|
-
<th><%= t("models.participatory_process_user_role.fields.email", scope: "decidim.admin") %></th>
|
20
|
-
<th><%= t("models.user.fields.
|
21
|
-
<th><%= t("models.user.fields.invitation_accepted_at", scope: "decidim.admin") %></th>
|
22
|
-
<th><%= t("models.participatory_process_user_role.fields.role", scope: "decidim.admin") %></th>
|
18
|
+
<th><%= sort_link(query, :name,t("models.participatory_process_user_role.fields.name", scope: "decidim.admin"), default_order: :desc) %></th>
|
19
|
+
<th><%= sort_link(query, :email, t("models.participatory_process_user_role.fields.email", scope: "decidim.admin"), default_order: :desc) %></th>
|
20
|
+
<th><%= sort_link(query, :last_sign_in_at, t("models.user.fields.last_sign_in_at", scope: "decidim.admin"), default_order: :desc) %></th>
|
21
|
+
<th><%= sort_link(query, :invitation_accepted_at, t("models.user.fields.invitation_accepted_at", scope: "decidim.admin"), default_order: :desc) %></th>
|
22
|
+
<th><%= sort_link(query, :role, t("models.participatory_process_user_role.fields.role", scope: "decidim.admin"), default_order: :desc) %></th>
|
23
23
|
<th class="actions"></th>
|
24
24
|
</tr>
|
25
25
|
</thead>
|
@@ -70,7 +70,7 @@
|
|
70
70
|
<tr>
|
71
71
|
<td>
|
72
72
|
<% if process.promoted? %>
|
73
|
-
<span data-tooltip class="icon-state icon-highlight"
|
73
|
+
<span data-tooltip class="icon-state icon-highlight" data-disable-hover="false" title="<%= t("models.participatory_process.fields.promoted", scope: "decidim.admin") %>">
|
74
74
|
<%= icon "star" %>
|
75
75
|
</span>
|
76
76
|
<% end %>
|
data/app/views/decidim/participatory_processes/participatory_processes/_promoted_process.html.erb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
<%= link_to participatory_process_path(promoted_process), class: "card__link" do %>
|
6
6
|
<h2 class="card__title"><%= decidim_html_escape(translated_attribute(promoted_process.title)).html_safe %></h2>
|
7
7
|
<% end %>
|
8
|
-
<%=
|
8
|
+
<%= decidim_sanitize_editor html_truncate(translated_attribute(promoted_process.short_description), length: 630, separator: "...") %>
|
9
9
|
<%= link_to participatory_process_path(promoted_process), class: "button small hollow card__button" do %>
|
10
10
|
<span class="show-for-sr"><%= decidim_html_escape(translated_attribute(promoted_process.title)) %></span>
|
11
11
|
<%= t("participatory_processes.promoted_process.more_info", scope: "layouts.decidim") %>
|
@@ -4,9 +4,9 @@
|
|
4
4
|
<div class="columns mediumlarge-8 large-6 card--process__column">
|
5
5
|
<div class="card__content">
|
6
6
|
<%= link_to participatory_process_group_path(promoted_process_group), class: "card__link" do %>
|
7
|
-
<h2 class="card__title"><%= decidim_html_escape(translated_attribute(promoted_process_group.title)) %></h2>
|
7
|
+
<h2 class="card__title"><%= decidim_html_escape(translated_attribute(promoted_process_group.title)).html_safe %></h2>
|
8
8
|
<% end %>
|
9
|
-
<%=
|
9
|
+
<%= decidim_sanitize_editor html_truncate(translated_attribute(promoted_process_group.description), length: 630, separator: "...") %>
|
10
10
|
<%= link_to participatory_process_group_path(promoted_process_group), class: "button small hollow card__button" do %>
|
11
11
|
<span class="show-for-sr"><%= decidim_html_escape(translated_attribute(promoted_process_group.title)) %></span>
|
12
12
|
<%= t("participatory_processes.promoted_process_group.more_info", scope: "layouts.decidim") %>
|
@@ -31,9 +31,9 @@
|
|
31
31
|
<%= render partial: "participatory_process_group" %>
|
32
32
|
<% end %>
|
33
33
|
<div class="lead">
|
34
|
-
<%=
|
34
|
+
<%= decidim_sanitize_editor translated_attribute(current_participatory_space.short_description) %>
|
35
35
|
</div>
|
36
|
-
<%=
|
36
|
+
<%= decidim_sanitize_editor translated_attribute(current_participatory_space.description) %>
|
37
37
|
</div>
|
38
38
|
<%= attachments_for current_participatory_space %>
|
39
39
|
<%= render_hook(:participatory_space_highlighted_elements) %>
|
@@ -143,7 +143,7 @@
|
|
143
143
|
</div>
|
144
144
|
|
145
145
|
<% if current_participatory_space.show_statistics? %>
|
146
|
-
|
146
|
+
<%= cell "decidim/statistics", stats.collection %>
|
147
147
|
<% end %>
|
148
148
|
|
149
149
|
<% if current_participatory_space.show_metrics? %>
|
data/config/locales/fi.yml
CHANGED
data/config/locales/fr-CA.yml
CHANGED
@@ -34,6 +34,7 @@ fr-CA:
|
|
34
34
|
subtitle: Sous-titre
|
35
35
|
target: Participants
|
36
36
|
title: Titre
|
37
|
+
weight: Rang d'affichage
|
37
38
|
participatory_process_group:
|
38
39
|
description: Description
|
39
40
|
developer_group: Groupe d'initiateurs
|
@@ -449,6 +450,8 @@ fr-CA:
|
|
449
450
|
start_date: Date de début
|
450
451
|
target: Participants
|
451
452
|
unspecified: Non précisé
|
453
|
+
statistics:
|
454
|
+
processes_count: Concertations
|
452
455
|
layouts:
|
453
456
|
decidim:
|
454
457
|
participatory_process_groups:
|
data/config/locales/fr.yml
CHANGED
@@ -20,7 +20,7 @@ fr:
|
|
20
20
|
participatory_process_group_id: Groupe de processus
|
21
21
|
participatory_scope: Objectifs
|
22
22
|
participatory_structure: Modalités de décision
|
23
|
-
promoted:
|
23
|
+
promoted: Mis en avant
|
24
24
|
published_at: Publiée à
|
25
25
|
related_process_ids: Concertations liées
|
26
26
|
scope_id: Périmètre d'application
|
@@ -34,6 +34,7 @@ fr:
|
|
34
34
|
subtitle: Sous-titre
|
35
35
|
target: Participants
|
36
36
|
title: Titre
|
37
|
+
weight: Rang d'affichage
|
37
38
|
participatory_process_group:
|
38
39
|
description: Description
|
39
40
|
developer_group: Groupe d'initiateurs
|
@@ -71,8 +72,8 @@ fr:
|
|
71
72
|
activerecord:
|
72
73
|
models:
|
73
74
|
decidim/participatory_process:
|
74
|
-
one:
|
75
|
-
other:
|
75
|
+
one: Concertation
|
76
|
+
other: Concertations
|
76
77
|
decidim/participatory_process_group:
|
77
78
|
one: Groupe de concertations
|
78
79
|
other: Groupes de concertations
|
@@ -122,7 +123,7 @@ fr:
|
|
122
123
|
fields:
|
123
124
|
created_at: Créée le
|
124
125
|
private: Privée
|
125
|
-
promoted:
|
126
|
+
promoted: Mettre en avant
|
126
127
|
published: Publiée
|
127
128
|
title: Titre
|
128
129
|
name: Concertation
|
@@ -225,13 +226,13 @@ fr:
|
|
225
226
|
destroy:
|
226
227
|
success: Utilisateur supprimé avec succès de cette concertation.
|
227
228
|
edit:
|
228
|
-
title: Mettre à jour l'administrateur
|
229
|
+
title: Mettre à jour l'administrateur de la concertation
|
229
230
|
update: Mettre à jour
|
230
231
|
index:
|
231
232
|
process_admins_title: Administrateurs de la concertation
|
232
233
|
new:
|
233
234
|
create: Créer
|
234
|
-
title: Nouvel administrateur
|
235
|
+
title: Nouvel administrateur de la concertation
|
235
236
|
update:
|
236
237
|
error: Une erreur s'est produite lors de la mise à jour d'un utilisateur pour cette concertation.
|
237
238
|
success: L'utilisateur a été mis à jour avec succès pour cette concertation.
|
@@ -288,10 +289,10 @@ fr:
|
|
288
289
|
events:
|
289
290
|
participatory_process:
|
290
291
|
role_assigned:
|
291
|
-
email_intro: Vous avez été assigné en tant que %{role} pour
|
292
|
-
email_outro: Vous avez reçu cette notification parce que vous êtes %{role}
|
292
|
+
email_intro: Vous avez été assigné en tant que %{role} pour la concertation "%{resource_title}".
|
293
|
+
email_outro: Vous avez reçu cette notification parce que vous êtes %{role} de la concertation "%{resource_title}".
|
293
294
|
email_subject: Vous avez été assigné comme %{role} pour "%{resource_title}".
|
294
|
-
notification_title: Vous avez été assigné en tant que %{role} pour
|
295
|
+
notification_title: Vous avez été assigné en tant que %{role} pour la concertation <a href="%{resource_url}">%{resource_title}</a>.
|
295
296
|
step_activated:
|
296
297
|
email_intro: 'L''étape %{resource_title} vient d''être activée pour %{participatory_space_title}. Vous pouvez désormais la consulter sur cette page :'
|
297
298
|
email_outro: Vous venez de recevoir cette notification car vous suivez %{participatory_space_title}. Vous pouvez à tout moment arrêter de recevoir ces notifications en suivant le lien précédent.
|
@@ -305,8 +306,8 @@ fr:
|
|
305
306
|
help:
|
306
307
|
participatory_spaces:
|
307
308
|
participatory_processes:
|
308
|
-
contextual: "<p>
|
309
|
-
page: "<p>
|
309
|
+
contextual: "<p>Une <strong>concertation</strong> est une séquence d'activités de participation (par exemple remplir un sondage, puis faire des propositions, les discuter en face-à-face ou en ligne, et enfin les hiérarchiser) dans le but de définir et de prendre une décision sur un sujet spécifique.</p> <p>Exemples de processus participatifs: un processus d’élection des membres du comité (où les candidatures sont d'abord présentées, puis débattues et finalement une candidature est choisie), les budgets participatifs (où les propositions sont faites, évaluées économiquement et votées selon l'argent disponible), un processus de planification stratégique, la rédaction collaborative d'un règlement ou d'une norme, la conception d'un espace urbain ou la production d'un plan de politique publique.</p>\n"
|
310
|
+
page: "<p>Une <strong>concertation</strong> est une séquence d'activités de participation (par exemple remplir un sondage, puis faire des propositions, les discuter en face-à-face ou en ligne, et enfin les hiérarchiser) dans le but de définir et de prendre une décision sur un sujet spécifique.</p> <p>Exemples de processus participatifs: un processus d’élection des membres du comité (où les candidatures sont d'abord présentées, puis débattues et finalement une candidature est choisie), les budgets participatifs (où les propositions sont faites, évaluées économiquement et votées selon l'argent disponible), un processus de planification stratégique, la rédaction collaborative d'un règlement ou d'une norme, la conception d'un espace urbain ou la production d'un plan de politique publique.</p>\n"
|
310
311
|
title: Qu'est-ce qu'une concertation ?
|
311
312
|
menu:
|
312
313
|
processes: Concertations
|
@@ -327,7 +328,7 @@ fr:
|
|
327
328
|
html_3:
|
328
329
|
name: Bloc HTML 3
|
329
330
|
metadata:
|
330
|
-
developer_group:
|
331
|
+
developer_group: Organisateur
|
331
332
|
name: Métadonnées
|
332
333
|
participatory_scope: Objectifs
|
333
334
|
participatory_structure: Modalités de décision
|
@@ -402,7 +403,7 @@ fr:
|
|
402
403
|
more_information: Plus d'informations
|
403
404
|
participate: Participer
|
404
405
|
participate_in: Participer au processus %{resource_name}
|
405
|
-
processes_button_title: Lien vers la page
|
406
|
+
processes_button_title: Lien vers la page des concertations où toutes les concertations sont affichées
|
406
407
|
see_all_processes: Voir toutes les concertations
|
407
408
|
participatory_process_steps:
|
408
409
|
index:
|
@@ -427,9 +428,9 @@ fr:
|
|
427
428
|
no_active_nor_upcoming: Aucune concertation active ni à venir
|
428
429
|
no_active_nor_upcoming_callout: Il n'y a pas de concertations actives ni à venir. Voici une liste des concertations passées.
|
429
430
|
names:
|
430
|
-
active:
|
431
|
-
all:
|
432
|
-
past:
|
431
|
+
active: Actives
|
432
|
+
all: Toutes
|
433
|
+
past: Passées
|
433
434
|
upcoming: À venir
|
434
435
|
see: Voir
|
435
436
|
index:
|
@@ -449,6 +450,8 @@ fr:
|
|
449
450
|
start_date: Date de début
|
450
451
|
target: Participants
|
451
452
|
unspecified: Non précisé
|
453
|
+
statistics:
|
454
|
+
processes_count: Concertations
|
452
455
|
layouts:
|
453
456
|
decidim:
|
454
457
|
participatory_process_groups:
|
data/config/locales/ja.yml
CHANGED
@@ -84,7 +84,7 @@ ja:
|
|
84
84
|
configure: 設定
|
85
85
|
confirm_destroy: 削除の確認
|
86
86
|
destroy: 削除
|
87
|
-
duplicate:
|
87
|
+
duplicate: 複製
|
88
88
|
edit: 編集
|
89
89
|
filter:
|
90
90
|
all_processes: すべての参加型プロセスを表示
|
@@ -142,9 +142,9 @@ ja:
|
|
142
142
|
name: 参加型プロセス管理者
|
143
143
|
roles:
|
144
144
|
admin: 管理者
|
145
|
-
collaborator:
|
145
|
+
collaborator: コラボレーター
|
146
146
|
moderator: モデレーター
|
147
|
-
valuator:
|
147
|
+
valuator: 評価者
|
148
148
|
user:
|
149
149
|
fields:
|
150
150
|
invitation_accepted_at: 招待が承認されました
|
@@ -260,7 +260,7 @@ ja:
|
|
260
260
|
success: 参加型プロセスグループを作成しました。
|
261
261
|
titles:
|
262
262
|
participatory_process_groups: 参加型プロセスグループ
|
263
|
-
participatory_processes:
|
263
|
+
participatory_processes: 参加型プロセス
|
264
264
|
users:
|
265
265
|
resend_invitation:
|
266
266
|
error: 招待状の再送信中に問題が発生しました。
|