decidim-admin 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-admin might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +0 -7
- data/app/assets/javascripts/decidim/admin/application.js.es6 +0 -1
- data/app/assets/stylesheets/decidim/admin/extra/_quill.scss +5 -0
- data/app/commands/decidim/admin/create_category.rb +4 -4
- data/app/commands/decidim/admin/create_feature.rb +7 -7
- data/app/commands/decidim/admin/create_managed_user.rb +0 -2
- data/app/commands/decidim/admin/update_organization.rb +1 -0
- data/app/controllers/decidim/admin/application_controller.rb +0 -2
- data/app/controllers/decidim/admin/categories_controller.rb +10 -10
- data/app/controllers/decidim/admin/exports_controller.rb +1 -2
- data/app/controllers/decidim/admin/feature_permissions_controller.rb +2 -3
- data/app/controllers/decidim/admin/features/base_controller.rb +9 -3
- data/app/controllers/decidim/admin/features_controller.rb +5 -7
- data/app/controllers/decidim/admin/moderations_controller.rb +5 -7
- data/app/controllers/decidim/admin/scopes_controller.rb +12 -10
- data/app/controllers/decidim/admin/users_controller.rb +1 -3
- data/app/forms/decidim/admin/category_form.rb +2 -2
- data/app/forms/decidim/admin/feature_form.rb +1 -18
- data/app/forms/decidim/admin/organization_form.rb +1 -0
- data/app/helpers/decidim/admin/exports_helper.rb +10 -0
- data/app/models/decidim/admin/abilities/admin_ability.rb +0 -3
- data/app/models/decidim/admin/abilities/participatory_process_admin_ability.rb +3 -3
- data/app/views/decidim/admin/attachments/edit.html.erb +1 -1
- data/app/views/decidim/admin/attachments/new.html.erb +1 -1
- data/app/views/decidim/admin/categories/edit.html.erb +2 -2
- data/app/views/decidim/admin/categories/index.html.erb +11 -11
- data/app/views/decidim/admin/categories/new.html.erb +3 -3
- data/app/views/decidim/admin/categories/show.html.erb +2 -2
- data/app/views/decidim/admin/exports/_dropdown.html.erb +1 -1
- data/app/views/decidim/admin/features/_form.html.erb +15 -15
- data/app/views/decidim/admin/features/edit.html.erb +1 -1
- data/app/views/decidim/admin/features/new.html.erb +1 -1
- data/app/views/decidim/admin/moderations/index.html.erb +2 -2
- data/app/views/decidim/admin/organization/_form.html.erb +5 -0
- data/app/views/decidim/admin/users/index.html.erb +1 -1
- data/config/locales/ca.yml +8 -195
- data/config/locales/en.yml +6 -197
- data/config/locales/es.yml +11 -198
- data/config/locales/eu.yml +95 -208
- data/config/locales/fi.yml +168 -123
- data/config/locales/fr.yml +114 -191
- data/config/locales/it.yml +150 -168
- data/config/locales/nl.yml +443 -0
- data/config/locales/pl.yml +444 -0
- data/config/locales/uk.yml +451 -0
- data/config/routes.rb +2 -46
- data/lib/decidim/admin/engine.rb +0 -14
- data/lib/decidim/admin/test/commands/create_category_examples.rb +62 -0
- data/lib/decidim/admin/test/commands/destroy_category_examples.rb +46 -0
- data/lib/decidim/admin/test/commands/update_category_examples.rb +65 -0
- data/lib/decidim/admin/test/forms/category_form_examples.rb +90 -0
- data/lib/decidim/admin/test/manage_attachments_examples.rb +2 -2
- data/lib/decidim/admin/test/manage_feature_permissions_examples.rb +41 -0
- metadata +27 -64
- data/app/assets/javascripts/decidim/admin/participatory_processes.js.es6 +0 -12
- data/app/commands/decidim/admin/activate_participatory_process_step.rb +0 -44
- data/app/commands/decidim/admin/copy_participatory_process.rb +0 -113
- data/app/commands/decidim/admin/create_participatory_process.rb +0 -78
- data/app/commands/decidim/admin/create_participatory_process_admin.rb +0 -93
- data/app/commands/decidim/admin/create_participatory_process_group.rb +0 -55
- data/app/commands/decidim/admin/create_participatory_process_step.rb +0 -47
- data/app/commands/decidim/admin/deactivate_participatory_process_step.rb +0 -36
- data/app/commands/decidim/admin/destroy_participatory_process_step.rb +0 -44
- data/app/commands/decidim/admin/publish_participatory_process.rb +0 -32
- data/app/commands/decidim/admin/reorder_participatory_process_steps.rb +0 -52
- data/app/commands/decidim/admin/unpublish_participatory_process.rb +0 -32
- data/app/commands/decidim/admin/update_participatory_process.rb +0 -74
- data/app/commands/decidim/admin/update_participatory_process_admin.rb +0 -41
- data/app/commands/decidim/admin/update_participatory_process_group.rb +0 -58
- data/app/commands/decidim/admin/update_participatory_process_step.rb +0 -49
- data/app/controllers/decidim/admin/concerns/participatory_process_admin.rb +0 -20
- data/app/controllers/decidim/admin/participatory_process_attachments_controller.rb +0 -25
- data/app/controllers/decidim/admin/participatory_process_copies_controller.rb +0 -33
- data/app/controllers/decidim/admin/participatory_process_groups_controller.rb +0 -86
- data/app/controllers/decidim/admin/participatory_process_publications_controller.rb +0 -43
- data/app/controllers/decidim/admin/participatory_process_step_activations_controller.rb +0 -37
- data/app/controllers/decidim/admin/participatory_process_step_ordering_controller.rb +0 -27
- data/app/controllers/decidim/admin/participatory_process_steps_controller.rb +0 -89
- data/app/controllers/decidim/admin/participatory_process_user_roles_controller.rb +0 -97
- data/app/controllers/decidim/admin/participatory_processes_controller.rb +0 -96
- data/app/forms/decidim/admin/participatory_process_copy_form.rb +0 -33
- data/app/forms/decidim/admin/participatory_process_form.rb +0 -69
- data/app/forms/decidim/admin/participatory_process_group_form.rb +0 -24
- data/app/forms/decidim/admin/participatory_process_step_form.rb +0 -35
- data/app/forms/decidim/admin/participatory_process_user_role_form.rb +0 -29
- data/app/helpers/decidim/admin/process_groups_for_select_helper.rb +0 -21
- data/app/helpers/decidim/admin/processes_for_select_helper.rb +0 -23
- data/app/queries/decidim/admin/process_admins.rb +0 -44
- data/app/views/decidim/admin/participatory_process_copies/_form.html.erb +0 -38
- data/app/views/decidim/admin/participatory_process_copies/new.html.erb +0 -7
- data/app/views/decidim/admin/participatory_process_groups/_form.html.erb +0 -17
- data/app/views/decidim/admin/participatory_process_groups/edit.html.erb +0 -19
- data/app/views/decidim/admin/participatory_process_groups/index.html.erb +0 -44
- data/app/views/decidim/admin/participatory_process_groups/new.html.erb +0 -13
- data/app/views/decidim/admin/participatory_process_groups/show.html.erb +0 -23
- data/app/views/decidim/admin/participatory_process_steps/_form.html.erb +0 -25
- data/app/views/decidim/admin/participatory_process_steps/edit.html.erb +0 -8
- data/app/views/decidim/admin/participatory_process_steps/index.html.erb +0 -63
- data/app/views/decidim/admin/participatory_process_steps/new.html.erb +0 -7
- data/app/views/decidim/admin/participatory_process_steps/show.html.erb +0 -18
- data/app/views/decidim/admin/participatory_process_user_roles/_form.html.erb +0 -22
- data/app/views/decidim/admin/participatory_process_user_roles/edit.html.erb +0 -7
- data/app/views/decidim/admin/participatory_process_user_roles/index.html.erb +0 -65
- data/app/views/decidim/admin/participatory_process_user_roles/new.html.erb +0 -7
- data/app/views/decidim/admin/participatory_processes/_form.html.erb +0 -101
- data/app/views/decidim/admin/participatory_processes/edit.html.erb +0 -19
- data/app/views/decidim/admin/participatory_processes/index.html.erb +0 -66
- data/app/views/decidim/admin/participatory_processes/new.html.erb +0 -11
- data/app/views/layouts/decidim/admin/participatory_process.html.erb +0 -64
- data/app/views/layouts/decidim/admin/participatory_process_groups.html.erb +0 -14
- data/app/views/layouts/decidim/admin/participatory_processes.html.erb +0 -14
- data/config/i18n-tasks.yml +0 -132
@@ -13,6 +13,16 @@ module Decidim
|
|
13
13
|
def export_dropdown(feature = current_feature)
|
14
14
|
render partial: "decidim/admin/exports/dropdown", locals: { feature: feature }
|
15
15
|
end
|
16
|
+
|
17
|
+
# Routes to the correct exporter for a feature.
|
18
|
+
#
|
19
|
+
# feature - The feature to be routed.
|
20
|
+
# options - Extra options that need to be passed to the route.
|
21
|
+
#
|
22
|
+
# Returns the path to the feature exporter.
|
23
|
+
def exports_path(feature, options)
|
24
|
+
EngineRouter.admin_proxy(feature.participatory_space).feature_exports_path(options.merge(feature_id: feature))
|
25
|
+
end
|
16
26
|
end
|
17
27
|
end
|
18
28
|
end
|
@@ -9,9 +9,6 @@ module Decidim
|
|
9
9
|
def define_abilities
|
10
10
|
super
|
11
11
|
|
12
|
-
can :manage, ParticipatoryProcess
|
13
|
-
can :manage, ParticipatoryProcessGroup
|
14
|
-
can :manage, ParticipatoryProcessStep
|
15
12
|
can :manage, Category
|
16
13
|
can :manage, ParticipatoryProcessUserRole
|
17
14
|
can [:create, :update, :index, :new, :read], StaticPage
|
@@ -25,11 +25,11 @@ module Decidim
|
|
25
25
|
super
|
26
26
|
|
27
27
|
can :manage, Feature do |feature|
|
28
|
-
can_manage_process?(feature.
|
28
|
+
can_manage_process?(feature.participatory_space)
|
29
29
|
end
|
30
30
|
|
31
31
|
can :manage, Category do |category|
|
32
|
-
can_manage_process?(category.
|
32
|
+
can_manage_process?(category.participatory_space)
|
33
33
|
end
|
34
34
|
|
35
35
|
can :manage, Attachment do |attachment|
|
@@ -41,7 +41,7 @@ module Decidim
|
|
41
41
|
end
|
42
42
|
|
43
43
|
can :manage, Moderation do |moderation|
|
44
|
-
can_manage_process?(moderation.
|
44
|
+
can_manage_process?(moderation.participatory_space)
|
45
45
|
end
|
46
46
|
|
47
47
|
can :manage, ParticipatoryProcessStep do |step|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<%= decidim_form_for(@form, url: url_for([@attachment.attached_to, @attachment]), html: { class: "form
|
1
|
+
<%= decidim_form_for(@form, url: url_for([@attachment.attached_to, @attachment]), html: { class: "form edit_attachment" }) do |f| %>
|
2
2
|
<%= render partial: 'decidim/admin/attachments/form', object: f, locals: { title: t(".title") } %>
|
3
3
|
|
4
4
|
<div class="button--double form-general-submit">
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<%= decidim_form_for(@form, url: url_for([attached_to, @form]), html: { class: "form
|
1
|
+
<%= decidim_form_for(@form, url: url_for([attached_to, @form]), html: { class: "form new_attachment" }) do |f| %>
|
2
2
|
<%= render partial: 'decidim/admin/attachments/form', object: f, locals: { title: t(".title") } %>
|
3
3
|
|
4
4
|
<div class="button--double form-general-submit">
|
@@ -1,7 +1,7 @@
|
|
1
|
-
<%= decidim_form_for(@form, url: category_path(@category.
|
1
|
+
<%= decidim_form_for(@form, url: category_path(@category.participatory_space, @category), html: { class: "form edit_category" }) do |f| %>
|
2
2
|
<%= render partial: 'form', object: f, locals: { title: t('.title') } %>
|
3
3
|
|
4
4
|
<div class="button--double form-general-submit">
|
5
|
-
<%= f.submit t(".update") %>
|
5
|
+
<%= f.submit t("categories.edit.update", scope: "decidim.admin") %>
|
6
6
|
</div>
|
7
7
|
<% end %>
|
@@ -1,15 +1,15 @@
|
|
1
1
|
<div class="card" id="categories">
|
2
2
|
<div class="card-divider">
|
3
3
|
<h2 class='card-title'>
|
4
|
-
<%= t(".categories_title") %>
|
4
|
+
<%= t("categories.index.categories_title", scope: "decidim.admin") %>
|
5
5
|
<% if can? :create, Decidim::Category %>
|
6
|
-
<%= link_to t("actions.new", scope: "decidim.admin", name: t("models.category.name", scope: "decidim.admin")), new_category_path(
|
6
|
+
<%= link_to t("actions.new", scope: "decidim.admin", name: t("models.category.name", scope: "decidim.admin")), new_category_path(current_participatory_space), class: 'button tiny button--title new' %>
|
7
7
|
<% end %>
|
8
8
|
</h2>
|
9
9
|
</div>
|
10
10
|
|
11
11
|
<div class="card-section">
|
12
|
-
<% if
|
12
|
+
<% if current_participatory_space.categories.any? %>
|
13
13
|
<div class="table-scroll">
|
14
14
|
<table class="table-list">
|
15
15
|
<thead>
|
@@ -19,21 +19,21 @@
|
|
19
19
|
</tr>
|
20
20
|
</thead>
|
21
21
|
<tbody>
|
22
|
-
<%
|
22
|
+
<% current_participatory_space.categories.first_class.each do |category| %>
|
23
23
|
<tr>
|
24
24
|
<td>
|
25
|
-
<%= link_to translated_attribute(category.name), edit_category_path(
|
25
|
+
<%= link_to translated_attribute(category.name), edit_category_path(current_participatory_space, category) %><br />
|
26
26
|
</td>
|
27
27
|
<td class="table-list__actions">
|
28
28
|
<% if can? :update, category %>
|
29
|
-
<%= icon_link_to "pencil", edit_category_path(
|
29
|
+
<%= icon_link_to "pencil", edit_category_path(current_participatory_space, category), t("actions.edit", scope: "decidim.admin"), class: "action-icon--edit" %>
|
30
30
|
<% end %>
|
31
31
|
|
32
32
|
<% if can? :destroy, category %>
|
33
33
|
<% if category.unused? %>
|
34
|
-
<%= icon_link_to "circle-x", category_path(
|
34
|
+
<%= icon_link_to "circle-x", category_path(current_participatory_space, category), t("actions.destroy", scope: "decidim.admin"), class: "action-icon--remove", method: :delete, data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } %>
|
35
35
|
<% else %>
|
36
|
-
<span class="action-icon" title="<%= t('.category_used') %>" data-tooltip="true" data-disable-hover="false">
|
36
|
+
<span class="action-icon" title="<%= t('categories.index.category_used', scope: "decidim.admin") %>" data-tooltip="true" data-disable-hover="false">
|
37
37
|
<%= icon "circle-x", class: "action-icon action-icon--disabled" %>
|
38
38
|
</span>
|
39
39
|
<% end %>
|
@@ -43,15 +43,15 @@
|
|
43
43
|
<% category.subcategories.each do |subcategory| %>
|
44
44
|
<tr class="extra__table-list__subcategory">
|
45
45
|
<td>
|
46
|
-
<%= link_to translated_attribute(subcategory.name), edit_category_path(
|
46
|
+
<%= link_to translated_attribute(subcategory.name), edit_category_path(current_participatory_space, subcategory) %><br />
|
47
47
|
</td>
|
48
48
|
<td class="table-list__actions">
|
49
49
|
<% if can? :update, subcategory %>
|
50
|
-
<%= icon_link_to "pencil", edit_category_path(
|
50
|
+
<%= icon_link_to "pencil", edit_category_path(current_participatory_space, subcategory), t("actions.edit", scope: "decidim.admin"), class: "action-icon--edit" %>
|
51
51
|
<% end %>
|
52
52
|
|
53
53
|
<% if can? :destroy, subcategory %>
|
54
|
-
<%= icon_link_to "circle-x", category_path(
|
54
|
+
<%= icon_link_to "circle-x", category_path(current_participatory_space, subcategory), t("actions.destroy", scope: "decidim.admin"), class: "action-icon--remove", method: :delete, data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } %>
|
55
55
|
<% end %>
|
56
56
|
</td>
|
57
57
|
</tr>
|
@@ -1,7 +1,7 @@
|
|
1
|
-
<%= decidim_form_for(@form, url: categories_path(
|
2
|
-
<%= render partial: 'form', object: f, locals: { title: t('.title') } %>
|
1
|
+
<%= decidim_form_for(@form, url: categories_path(current_participatory_space), html: { class: "form new_category" }) do |f| %>
|
2
|
+
<%= render partial: 'form', object: f, locals: { title: t('categories.new.title', scope: "decidim.admin") } %>
|
3
3
|
|
4
4
|
<div class="button--double form-general-submit">
|
5
|
-
<%= f.submit t(".create") %>
|
5
|
+
<%= f.submit t("categories.new.create", scope: "decidim.admin") %>
|
6
6
|
</div>
|
7
7
|
<% end %>
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
<div class="actions">
|
4
4
|
<hr />
|
5
|
-
<%= link_to t("decidim.admin.actions.edit"), ['edit',
|
6
|
-
<%= link_to t("decidim.admin.actions.destroy"), [
|
5
|
+
<%= link_to t("decidim.admin.actions.edit"), ['edit', participatory_space, @category] if can? :update, @category %>
|
6
|
+
<%= link_to t("decidim.admin.actions.destroy"), [participatory_space, @category], method: :delete, class: "alert button", data: { confirm: t("decidim.admin.actions.confirm_destroy") } if can? :destroy, @category %>
|
7
7
|
</div>
|
8
8
|
|
9
9
|
<dl>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<ul class="vertical menu add-features">
|
4
4
|
<% feature.manifest.export_manifests.each do |manifest| %>
|
5
5
|
<% %w{csv json}.each do |format| %>
|
6
|
-
<li class="exports--format--<%= format %> exports--<%= manifest.name %>"><%= link_to t("decidim.admin.exports.export_as", name: t("decidim.#{feature.manifest.name}.admin.exports.#{manifest.name}"), export_format: format.upcase),
|
6
|
+
<li class="exports--format--<%= format %> exports--<%= manifest.name %>"><%= link_to t("decidim.admin.exports.export_as", name: t("decidim.#{feature.manifest.name}.admin.exports.#{manifest.name}"), export_format: format.upcase), exports_path(feature, id: manifest.name, format: format), method: :post %></li>
|
7
7
|
<% end %>
|
8
8
|
<% end %>
|
9
9
|
</ul>
|
@@ -29,27 +29,27 @@
|
|
29
29
|
</fieldset>
|
30
30
|
<% end %>
|
31
31
|
|
32
|
-
<% if
|
32
|
+
<% if current_participatory_space.has_steps? %>
|
33
33
|
<fieldset class="step-settings">
|
34
34
|
<div class="card">
|
35
35
|
<div class="card-divider">
|
36
36
|
<legend><%= t ".step_settings" %></legend>
|
37
37
|
</div>
|
38
38
|
<div class="card-section">
|
39
|
-
<%
|
39
|
+
<% current_participatory_space.steps.each do |step| %>
|
40
40
|
<fieldset class="step-settings-<%= step.id %>">
|
41
41
|
<legend><%= step.position + 1 %>. <%= translated_attribute step.title %></legend>
|
42
42
|
<% step_settings = form.object.step_settings[step.id.to_s] %>
|
43
43
|
|
44
|
-
<%= form.fields_for
|
44
|
+
<%= form.fields_for :step_settings, nil do |settings_fields| %>
|
45
45
|
<%= settings_fields.fields_for step.id.to_s, step_settings do |settings_fields| %>
|
46
46
|
<%= render partial: "decidim/admin/features/settings_fields",
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
47
|
+
locals: {
|
48
|
+
form: settings_fields,
|
49
|
+
feature: feature,
|
50
|
+
settings_name: "step",
|
51
|
+
tabs_prefix: "step-#{step.id}-settings"
|
52
|
+
} %>
|
53
53
|
<% end %>
|
54
54
|
<% end %>
|
55
55
|
</fieldset>
|
@@ -66,12 +66,12 @@
|
|
66
66
|
<div class="card-section">
|
67
67
|
<%= form.fields_for :default_step_settings, form.object.default_step_settings do |settings_fields| %>
|
68
68
|
<%= render partial: "decidim/admin/features/settings_fields",
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
69
|
+
locals: {
|
70
|
+
form: settings_fields,
|
71
|
+
feature: @feature,
|
72
|
+
settings_name: "step",
|
73
|
+
tabs_prefix: "default-step-settings"
|
74
|
+
} %>
|
75
75
|
<% end %>
|
76
76
|
</div>
|
77
77
|
</div>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<%= decidim_form_for([
|
1
|
+
<%= decidim_form_for([current_participatory_space, @form], url: feature_path(current_participatory_space, @feature), method: "put", html: { class: "form edit_feature" }) do |form| %>
|
2
2
|
<%= render partial: 'form', object: form, locals: { feature: @feature, title: t(".title", name: t("#{@feature.manifest.name}.name", scope: "decidim.features"))} %>
|
3
3
|
|
4
4
|
<div class="button--double form-general-submit">
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
<%= decidim_form_for([
|
2
|
+
<%= decidim_form_for([current_participatory_space, @form], url: features_path(type: params[:type]), method: "post", html: { class: "form new_feature" }) do |form| %>
|
3
3
|
<%= render partial: 'form', object: form, locals: { feature: @feature, title: t(".title", name: t("#{manifest.name}.name", scope: "decidim.features"))} %>
|
4
4
|
|
5
5
|
<div class="button--double form-general-submit">
|
@@ -55,14 +55,14 @@
|
|
55
55
|
|
56
56
|
<% if can? :unreport, moderation %>
|
57
57
|
<%= icon_link_to "action-undo",
|
58
|
-
|
58
|
+
unreport_moderation_path(id: moderation),
|
59
59
|
t("actions.unreport", scope: "decidim.moderations"),
|
60
60
|
class: "action-icon--unreport",
|
61
61
|
method: :put %>
|
62
62
|
<% end %>
|
63
63
|
<% if !moderation.reportable.hidden? && can?(:hide, moderation) %>
|
64
64
|
<%= icon_link_to "eye",
|
65
|
-
|
65
|
+
hide_moderation_path(id: moderation),
|
66
66
|
t("actions.hide", scope: "decidim.moderations"),
|
67
67
|
class: "action-icon--hide",
|
68
68
|
method: :put %>
|
@@ -23,7 +23,7 @@
|
|
23
23
|
<tbody>
|
24
24
|
<% @users.each do |user| %>
|
25
25
|
<tr data-user-id="<%= user.id %>">
|
26
|
-
<td><%= t(user.active_role, scope: "decidim.admin
|
26
|
+
<td><%= t("models.user.fields.roles.#{user.active_role}", scope: "decidim.admin") %></td>
|
27
27
|
<td><%= user.name %></td>
|
28
28
|
<td><%= user.email %></td>
|
29
29
|
<td>
|
data/config/locales/ca.yml
CHANGED
@@ -1,6 +1,5 @@
|
|
1
|
+
---
|
1
2
|
ca:
|
2
|
-
actions:
|
3
|
-
confirm_destroy: N'estàs segur?
|
4
3
|
activemodel:
|
5
4
|
attributes:
|
6
5
|
attachment:
|
@@ -21,6 +20,7 @@ ca:
|
|
21
20
|
default_locale: Idioma per defecte
|
22
21
|
description: Descripció
|
23
22
|
favicon: Icona
|
23
|
+
header_snippets: Fragments de capçalera
|
24
24
|
homepage_image: Imatge de la portada
|
25
25
|
logo: Logotip
|
26
26
|
name: Nom
|
@@ -30,44 +30,6 @@ ca:
|
|
30
30
|
reference_prefix: Prefix de referència
|
31
31
|
show_statistics: Mostra Estadístiques
|
32
32
|
welcome_text: Text de benvinguda
|
33
|
-
participatory_process:
|
34
|
-
banner_image: Imatge de bandera
|
35
|
-
copy_categories: Copiar categories
|
36
|
-
copy_features: Copiar funcionalitats
|
37
|
-
copy_steps: Copiar fases
|
38
|
-
description: Descripció
|
39
|
-
developer_group: Grup promotor
|
40
|
-
domain: Àrees municipals
|
41
|
-
end_date: Data de finalització
|
42
|
-
hashtag: Hashtag
|
43
|
-
hero_image: Imatge de portada
|
44
|
-
local_area: Àrea municipal
|
45
|
-
meta_scope: 'Metadades: àmbit'
|
46
|
-
participatory_process_group_id: Grup de processos
|
47
|
-
participatory_scope: Àmbit participatiu
|
48
|
-
participatory_structure: Estructura participativa
|
49
|
-
promoted: Destacat
|
50
|
-
scope_id: Àmbit
|
51
|
-
short_description: Descripció breu
|
52
|
-
slug: Nom curt d'URL
|
53
|
-
subtitle: Subtítol
|
54
|
-
target: A qui va dirigit?
|
55
|
-
title: Títol
|
56
|
-
participatory_process_group:
|
57
|
-
description: Descripció
|
58
|
-
hero_image: Imatge
|
59
|
-
name: Nom
|
60
|
-
participatory_process_ids: Processos relacionats
|
61
|
-
participatory_process_step:
|
62
|
-
description: Descripció
|
63
|
-
end_date: Data de finalització
|
64
|
-
short_description: Descripció breu
|
65
|
-
start_date: Data d'inici
|
66
|
-
title: Títol
|
67
|
-
participatory_process_user_role:
|
68
|
-
email: Correu electrònic
|
69
|
-
name: Nom
|
70
|
-
role: Rol
|
71
33
|
scope:
|
72
34
|
code: Codi
|
73
35
|
name: Nom
|
@@ -82,9 +44,6 @@ ca:
|
|
82
44
|
organization: Organització
|
83
45
|
slug: Nom curt d'URL
|
84
46
|
title: Títol
|
85
|
-
errors:
|
86
|
-
messages:
|
87
|
-
invalid_json: JSON no vàlid
|
88
47
|
activerecord:
|
89
48
|
attributes:
|
90
49
|
decidim/participatory_process:
|
@@ -103,6 +62,7 @@ ca:
|
|
103
62
|
scope: Àmbit
|
104
63
|
short_description: Descripció breu
|
105
64
|
slug: Nom curt d'URL
|
65
|
+
start_date: Data d'inici
|
106
66
|
subtitle: Subtítol
|
107
67
|
target: A qui va dirigit?
|
108
68
|
title: Títol
|
@@ -119,22 +79,12 @@ ca:
|
|
119
79
|
decidim:
|
120
80
|
admin:
|
121
81
|
actions:
|
122
|
-
activate: Activar
|
123
82
|
add: Afegir
|
124
|
-
|
125
|
-
confirm_destroy: Segur que ho vols eliminar?
|
126
|
-
destroy: Eliminar
|
127
|
-
duplicate: Duplicar
|
128
|
-
edit: Editar
|
83
|
+
browse: Explorar
|
129
84
|
export: Exporta
|
130
85
|
manage: Gestionar
|
131
|
-
new: Nou/va
|
132
86
|
permissions: Permisos
|
133
|
-
preview: Previsualitzar
|
134
|
-
publish: Publicar
|
135
87
|
reject: Rebutjar
|
136
|
-
resend_invitation: Tornar a enviar invitació
|
137
|
-
unpublish: Despublicar
|
138
88
|
verify: Verificar
|
139
89
|
attachments:
|
140
90
|
create:
|
@@ -254,16 +204,6 @@ ca:
|
|
254
204
|
dashboard: Tauler de control
|
255
205
|
managed_users: Usuaris gestionats
|
256
206
|
newsletters: Butlletins
|
257
|
-
participatory_process_groups: Grups de processos
|
258
|
-
participatory_processes: Processos
|
259
|
-
participatory_processes_submenu:
|
260
|
-
attachments: Adjunts
|
261
|
-
categories: Categories
|
262
|
-
features: Funcionalitats
|
263
|
-
info: Informació
|
264
|
-
moderations: Moderacions
|
265
|
-
process_admins: Usuaris del procés
|
266
|
-
steps: Fases del procés
|
267
207
|
scope_types: Tipus d'àmbit
|
268
208
|
scopes: Àmbits
|
269
209
|
settings: Configuració
|
@@ -294,33 +234,6 @@ ca:
|
|
294
234
|
sent_at: Enviat el
|
295
235
|
subject: Assumpte
|
296
236
|
name: Butlletí
|
297
|
-
participatory_process:
|
298
|
-
fields:
|
299
|
-
created_at: Data de creació
|
300
|
-
promoted: Destacat
|
301
|
-
published: Publicat
|
302
|
-
title: Títol
|
303
|
-
name: Procés participatiu
|
304
|
-
participatory_process_group:
|
305
|
-
fields:
|
306
|
-
name: Nom
|
307
|
-
name: Grup de processos
|
308
|
-
participatory_process_step:
|
309
|
-
fields:
|
310
|
-
end_date: Data de finalització
|
311
|
-
start_date: Data d'inici
|
312
|
-
title: Títol
|
313
|
-
name: Name
|
314
|
-
participatory_process_user_role:
|
315
|
-
fields:
|
316
|
-
email: Correu electrònic
|
317
|
-
name: Nom
|
318
|
-
role: Rol
|
319
|
-
name: Usuari del procés
|
320
|
-
roles:
|
321
|
-
admin: Administrador
|
322
|
-
collaborator: Col·laborador
|
323
|
-
moderator: Moderador
|
324
237
|
scope:
|
325
238
|
fields:
|
326
239
|
name: Nom
|
@@ -337,8 +250,6 @@ ca:
|
|
337
250
|
fields:
|
338
251
|
created_at: Data de creació
|
339
252
|
email: Correu electrònic
|
340
|
-
invitation_accepted_at: Data d'acceptació de la invitació
|
341
|
-
invitation_sent_at: Data d'enviament de la invitació
|
342
253
|
last_sign_in_at: Darrera data d'identificació
|
343
254
|
name: Nom
|
344
255
|
role: Rol
|
@@ -400,6 +311,7 @@ ca:
|
|
400
311
|
current_image: Imatge actual
|
401
312
|
facebook: Facebook
|
402
313
|
github: GitHub
|
314
|
+
header_snippets_help: Utilitza aquest camp per afegir coses al head d'HTML. L'ús més habitual és integrar serveis de tercers que requereixen codi JavaScript o CSS addicional. A més, pots utilitzar-lo per afegir etiquetes meta addicionals a l'HTML. Tingues en compte que això només es mostrarà a les pàgines públiques, no a la secció d'administració.
|
403
315
|
instagram: Instagram
|
404
316
|
social_handlers: Social
|
405
317
|
twitter: Twitter
|
@@ -408,100 +320,6 @@ ca:
|
|
408
320
|
update:
|
409
321
|
error: S'ha produït un error en actualitzar aquesta organització.
|
410
322
|
success: Organització actualitzada correctament.
|
411
|
-
participatory_process_copies:
|
412
|
-
new:
|
413
|
-
copy: Còpia
|
414
|
-
select: Selecciona quines dades voleu duplicar
|
415
|
-
participatory_process_groups:
|
416
|
-
destroy:
|
417
|
-
success: Grup eliminat correctament.
|
418
|
-
edit:
|
419
|
-
title: Editar grup de procés
|
420
|
-
update: Actualitza
|
421
|
-
new:
|
422
|
-
create: Crear
|
423
|
-
title: Nou grup de processos
|
424
|
-
update:
|
425
|
-
error: Hi ha hagut un error actualitzant aquest grup de processos participatius.
|
426
|
-
success: Grup de procés participatiu actualitzat correctament.
|
427
|
-
participatory_process_publications:
|
428
|
-
create:
|
429
|
-
error: S'ha produït un error en publicar aquest procés participatiu.
|
430
|
-
success: El procés participatiu s'ha publicat correctament.
|
431
|
-
destroy:
|
432
|
-
error: S'ha produït un error en despublicar aquest procés participatiu.
|
433
|
-
success: El procés participatiu s'ha despublicat correctament.
|
434
|
-
participatory_process_step_activations:
|
435
|
-
create:
|
436
|
-
error: S'ha produït un error en activar aquesta fase de procés participatiu.
|
437
|
-
success: La fase de procés participatiu s'ha activat correctament.
|
438
|
-
participatory_process_steps:
|
439
|
-
create:
|
440
|
-
error: S'ha produït un error en crear una nova fase de procés participatiu.
|
441
|
-
success: La fase de procés participatiu s'ha creat correctament.
|
442
|
-
default_title: Introducció
|
443
|
-
destroy:
|
444
|
-
error:
|
445
|
-
active_step: No es pot eliminar la fase activa.
|
446
|
-
last_step: No es pot eliminar l'última fase d'un procés.
|
447
|
-
success: La fase de procés participatiu s'ha eliminat correctament.
|
448
|
-
edit:
|
449
|
-
title: Editar fase de procés participatiu
|
450
|
-
update: Actualitzar
|
451
|
-
index:
|
452
|
-
steps_title: Fases del procés
|
453
|
-
new:
|
454
|
-
create: Crear
|
455
|
-
title: Nova fase de procés participatiu
|
456
|
-
ordering:
|
457
|
-
error: S'ha produït un error en la reordenació de les fases d'aquest procés participatiu.
|
458
|
-
update:
|
459
|
-
error: S'ha produït un error en l'actualització d'aquesta fase de procés participatiu.
|
460
|
-
success: La fase de procés participatiu s'ha actualitzat correctament.
|
461
|
-
participatory_process_user_roles:
|
462
|
-
create:
|
463
|
-
error: Hi ha hagut un error en afegir un usuari a aquest procés participatiu.
|
464
|
-
success: Usuari creat amb èxit per a aquest procés participatiu.
|
465
|
-
destroy:
|
466
|
-
success: Usuari eliminat amb èxit per a aquest procés participatiu.
|
467
|
-
edit:
|
468
|
-
title: Editar usuari de procés participatiu.
|
469
|
-
update: Actualitzar
|
470
|
-
index:
|
471
|
-
process_admins_title: Usuaris del procés participatiu
|
472
|
-
new:
|
473
|
-
create: Crear
|
474
|
-
title: Nou usuari de procés participatiu.
|
475
|
-
update:
|
476
|
-
error: Hi ha hagut un error actualitzant l'usuari d'aquest procés participatiu.
|
477
|
-
success: Usuari actualitzat satisfactòriament per a aquest procés participatiu.
|
478
|
-
participatory_processes:
|
479
|
-
create:
|
480
|
-
error: S'ha produït un error en crear un nou procés participatiu.
|
481
|
-
success: El procés participatiu s'ha creat correctament. Continua ara amb la configuració de les fases.
|
482
|
-
destroy:
|
483
|
-
success: El procés participatiu s'ha eliminat correctament.
|
484
|
-
edit:
|
485
|
-
update: Actualitzar
|
486
|
-
form:
|
487
|
-
title: Informació general
|
488
|
-
index:
|
489
|
-
not_published: No publicat
|
490
|
-
published: Publicat
|
491
|
-
new:
|
492
|
-
create: Crear
|
493
|
-
title: Nou procés participatiu
|
494
|
-
update:
|
495
|
-
error: S'ha produït un error en l'actualització d'aquest procés participatiu.
|
496
|
-
success: El procés participatiu s'ha actualitzat correctament.
|
497
|
-
participatory_processes_copies:
|
498
|
-
create:
|
499
|
-
error: Hi ha hagut un error duplicant el procés participatiu.
|
500
|
-
success: El procés participatiu ha estat duplicat correctament.
|
501
|
-
participatory_processes_group:
|
502
|
-
create:
|
503
|
-
error: S'ha produït un error creant aquest grup de processos participatius.
|
504
|
-
success: Grup de processos participatius creat correctament.
|
505
323
|
scope_types:
|
506
324
|
create:
|
507
325
|
error: S'ha produït un error en crear un nou tipus d'àmbit.
|
@@ -554,8 +372,6 @@ ca:
|
|
554
372
|
dashboard: Tauler de control
|
555
373
|
impersonations: Suplantacions
|
556
374
|
managed_users: Usuaris gestionats
|
557
|
-
participatory_process_groups: Grups de processos participatius
|
558
|
-
participatory_processes: Processos participatius
|
559
375
|
scope_types: Tipus d'àmbit
|
560
376
|
scopes: Àmbits
|
561
377
|
static_pages: Pàgines
|
@@ -595,9 +411,6 @@ ca:
|
|
595
411
|
new:
|
596
412
|
create: Convidar
|
597
413
|
title: Convidar un usuari com a administrador
|
598
|
-
resend_invitation:
|
599
|
-
error: S'ha produït un error en intentar enviar el missatge d'invitació.
|
600
|
-
success: Invitació enviada correctament.
|
601
414
|
moderations:
|
602
415
|
actions:
|
603
416
|
hidden: Ocults
|
@@ -621,9 +434,9 @@ ca:
|
|
621
434
|
reportable: Tipus
|
622
435
|
reported_content_url: URL contingut del contingut reportat
|
623
436
|
reports: Denúncies
|
624
|
-
|
625
|
-
|
626
|
-
|
437
|
+
errors:
|
438
|
+
messages:
|
439
|
+
invalid_json: JSON no vàlid
|
627
440
|
layouts:
|
628
441
|
decidim:
|
629
442
|
admin:
|