decidim-admin 0.26.5 → 0.27.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/cells/decidim/admin/attachments_privacy_warning/show.erb +3 -0
- data/app/cells/decidim/admin/attachments_privacy_warning_cell.rb +19 -0
- data/app/commands/decidim/admin/block_user.rb +1 -1
- data/app/commands/decidim/admin/close_session_managed_user.rb +1 -1
- data/app/commands/decidim/admin/create_area.rb +1 -1
- data/app/commands/decidim/admin/create_area_type.rb +6 -3
- data/app/commands/decidim/admin/create_attachment.rb +14 -6
- data/app/commands/decidim/admin/create_attachment_collection.rb +13 -4
- data/app/commands/decidim/admin/create_category.rb +6 -4
- data/app/commands/decidim/admin/create_component.rb +1 -1
- data/app/commands/decidim/admin/create_import.rb +4 -5
- data/app/commands/decidim/admin/create_import_example.rb +1 -1
- data/app/commands/decidim/admin/create_newsletter.rb +1 -1
- data/app/commands/decidim/admin/create_participatory_space_private_user.rb +1 -1
- data/app/commands/decidim/admin/create_scope.rb +1 -1
- data/app/commands/decidim/admin/create_scope_type.rb +6 -3
- data/app/commands/decidim/admin/create_static_page.rb +1 -1
- data/app/commands/decidim/admin/create_static_page_topic.rb +1 -1
- data/app/commands/decidim/admin/deliver_newsletter.rb +6 -6
- data/app/commands/decidim/admin/destroy_area.rb +1 -1
- data/app/commands/decidim/admin/destroy_category.rb +6 -3
- data/app/commands/decidim/admin/destroy_component.rb +1 -1
- data/app/commands/decidim/admin/destroy_newsletter.rb +1 -1
- data/app/commands/decidim/admin/destroy_participatory_space_private_user.rb +1 -1
- data/app/commands/decidim/admin/destroy_scope.rb +1 -1
- data/app/commands/decidim/admin/destroy_share_token.rb +1 -1
- data/app/commands/decidim/admin/destroy_static_page.rb +1 -1
- data/app/commands/decidim/admin/destroy_static_page_topic.rb +1 -1
- data/app/commands/decidim/admin/hide_resource.rb +2 -2
- data/app/commands/decidim/admin/impersonate_user.rb +1 -1
- data/app/commands/decidim/admin/invite_admin.rb +1 -1
- data/app/commands/decidim/admin/officialize_user.rb +1 -1
- data/app/commands/decidim/admin/process_participatory_space_private_user_import_csv.rb +7 -3
- data/app/commands/decidim/admin/process_user_group_verification_csv.rb +8 -4
- data/app/commands/decidim/admin/promote_managed_user.rb +1 -1
- data/app/commands/decidim/admin/publish_component.rb +1 -1
- data/app/commands/decidim/admin/reject_user_group.rb +1 -1
- data/app/commands/decidim/admin/remove_admin.rb +1 -1
- data/app/commands/decidim/admin/reorder_content_blocks.rb +1 -1
- data/app/commands/decidim/admin/transfer_user.rb +1 -1
- data/app/commands/decidim/admin/unblock_user.rb +2 -2
- data/app/commands/decidim/admin/unhide_resource.rb +1 -1
- data/app/commands/decidim/admin/unofficialize_user.rb +1 -1
- data/app/commands/decidim/admin/unpublish_component.rb +1 -1
- data/app/commands/decidim/admin/unreport_resource.rb +1 -1
- data/app/commands/decidim/admin/unreport_user.rb +1 -1
- data/app/commands/decidim/admin/update_area.rb +1 -1
- data/app/commands/decidim/admin/update_area_type.rb +8 -3
- data/app/commands/decidim/admin/update_attachment.rb +4 -3
- data/app/commands/decidim/admin/update_attachment_collection.rb +8 -3
- data/app/commands/decidim/admin/update_category.rb +9 -5
- data/app/commands/decidim/admin/update_component.rb +8 -5
- data/app/commands/decidim/admin/update_component_permissions.rb +9 -6
- data/app/commands/decidim/admin/update_content_block.rb +1 -1
- data/app/commands/decidim/admin/update_external_domain_whitelist.rb +6 -3
- data/app/commands/decidim/admin/update_help_sections.rb +17 -3
- data/app/commands/decidim/admin/update_newsletter.rb +1 -1
- data/app/commands/decidim/admin/update_organization.rb +1 -1
- data/app/commands/decidim/admin/update_organization_appearance.rb +1 -1
- data/app/commands/decidim/admin/update_organization_tos_version.rb +1 -1
- data/app/commands/decidim/admin/update_resource_permissions.rb +2 -2
- data/app/commands/decidim/admin/update_scope.rb +1 -1
- data/app/commands/decidim/admin/update_scope_type.rb +8 -3
- data/app/commands/decidim/admin/update_static_page.rb +1 -1
- data/app/commands/decidim/admin/update_static_page_topic.rb +1 -1
- data/app/commands/decidim/admin/update_user_groups.rb +1 -1
- data/app/commands/decidim/admin/verify_user_group.rb +1 -1
- data/app/controllers/concerns/decidim/admin/filterable.rb +1 -1
- data/app/controllers/concerns/decidim/admin/participatory_space_export.rb +3 -1
- data/app/controllers/decidim/admin/application_controller.rb +1 -0
- data/app/controllers/decidim/admin/area_types_controller.rb +6 -3
- data/app/controllers/decidim/admin/block_user_controller.rb +3 -3
- data/app/controllers/decidim/admin/categories_controller.rb +3 -3
- data/app/controllers/decidim/admin/component_permissions_controller.rb +1 -1
- data/app/controllers/decidim/admin/components/base_controller.rb +1 -0
- data/app/controllers/decidim/admin/components_controller.rb +1 -1
- data/app/controllers/decidim/admin/concerns/has_attachment_collections.rb +6 -3
- data/app/controllers/decidim/admin/concerns/has_attachments.rb +6 -3
- data/app/controllers/decidim/admin/concerns/has_private_users_csv_import.rb +7 -0
- data/app/controllers/decidim/admin/dashboard_controller.rb +4 -3
- data/app/controllers/decidim/admin/exports_controller.rb +4 -1
- data/app/controllers/decidim/admin/help_sections_controller.rb +1 -1
- data/app/controllers/decidim/admin/metrics_controller.rb +2 -1
- data/app/controllers/decidim/admin/moderations_controller.rb +9 -7
- data/app/controllers/decidim/admin/newsletter_templates_controller.rb +1 -1
- data/app/controllers/decidim/admin/newsletters_controller.rb +1 -1
- data/app/controllers/decidim/admin/organization_controller.rb +3 -4
- data/app/controllers/decidim/admin/organization_external_domain_whitelist_controller.rb +1 -1
- data/app/controllers/decidim/admin/reminders_controller.rb +61 -0
- data/app/controllers/decidim/admin/resource_permissions_controller.rb +3 -3
- data/app/controllers/decidim/admin/scope_types_controller.rb +6 -3
- data/app/controllers/decidim/admin/static_pages_controller.rb +1 -7
- data/app/forms/decidim/admin/block_user_form.rb +2 -2
- data/app/forms/decidim/admin/category_form.rb +1 -2
- data/app/forms/decidim/admin/component_form.rb +16 -7
- data/app/forms/decidim/admin/import_example_form.rb +1 -5
- data/app/forms/decidim/admin/import_form.rb +7 -10
- data/app/forms/decidim/admin/managed_user_promotion_form.rb +1 -1
- data/app/forms/decidim/admin/participatory_space_private_user_csv_import_form.rb +7 -4
- data/app/forms/decidim/admin/permission_form.rb +9 -8
- data/app/forms/decidim/admin/permissions_form.rb +1 -10
- data/app/forms/decidim/admin/user_group_csv_verification_form.rb +2 -2
- data/app/helpers/decidim/admin/bulk_actions_helper.rb +6 -5
- data/app/helpers/decidim/admin/moderations/reports_helper.rb +11 -2
- data/app/helpers/decidim/admin/reminders_helper.rb +12 -0
- data/app/helpers/decidim/admin/settings_helper.rb +11 -57
- data/app/models/decidim/admin/fake_newsletter.rb +0 -20
- data/app/packs/entrypoints/decidim_admin.js +3 -6
- data/app/packs/src/decidim/admin/admin_autocomplete.js +82 -0
- data/app/packs/src/decidim/admin/application.js +0 -16
- data/app/packs/src/decidim/admin/choose_language.js +9 -11
- data/app/packs/src/decidim/admin/dynamic_fields.component.js +0 -1
- data/app/packs/stylesheets/decidim/admin/_decidim.scss +0 -1
- data/app/packs/stylesheets/decidim/admin/modules/_autocomplete.scss +5 -0
- data/app/packs/stylesheets/decidim/admin/modules/_forms.scss +0 -6
- data/app/packs/stylesheets/decidim/admin/modules/_import_result.scss +10 -0
- data/app/packs/stylesheets/decidim/admin/modules/_modules.scss +3 -0
- data/app/packs/stylesheets/decidim/admin/modules/_upload_modal.scss +42 -0
- data/app/permissions/decidim/admin/permissions.rb +3 -32
- data/app/presenters/decidim/admin/dashboard_metric_charts_presenter.rb +3 -1
- data/app/queries/decidim/admin/active_users_counter.rb +1 -1
- data/app/queries/decidim/admin/newsletter_recipients.rb +2 -2
- data/app/queries/decidim/admin/user_filter.rb +1 -1
- data/app/queries/decidim/admin/user_groups_evaluation.rb +1 -1
- data/app/views/decidim/admin/attachments/index.html.erb +1 -0
- data/app/views/decidim/admin/categories/_form.html.erb +0 -4
- data/app/views/decidim/admin/categories/show.html.erb +1 -2
- data/app/views/decidim/admin/dashboard/show.html.erb +1 -1
- data/app/views/decidim/admin/imports/new.html.erb +1 -1
- data/app/views/decidim/admin/moderated_users/index.html.erb +1 -1
- data/app/views/decidim/admin/moderations/index.html.erb +4 -8
- data/app/views/decidim/admin/moderations/reports/index.html.erb +1 -5
- data/app/views/decidim/admin/organization_appearance/form/_images.html.erb +5 -4
- data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +1 -1
- data/app/views/decidim/admin/participatory_space_private_users_csv_imports/new.html.erb +20 -1
- data/app/views/decidim/admin/reminders/new.html.erb +21 -0
- data/app/views/decidim/admin/resource_permissions/edit.html.erb +1 -1
- data/app/views/decidim/admin/shared/_gallery.html.erb +6 -1
- data/app/views/decidim/admin/shared/_js-callout.html.erb +6 -0
- data/app/views/decidim/admin/users_statistics/_users_count.html.erb +2 -2
- data/app/views/layouts/decidim/admin/_application.html.erb +2 -0
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/ar.yml +28 -21
- data/config/locales/bg.yml +1 -0
- data/config/locales/ca.yml +27 -21
- data/config/locales/cs.yml +41 -33
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +23 -18
- data/config/locales/el.yml +2 -5
- data/config/locales/en.yml +22 -17
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +25 -19
- data/config/locales/es-PY.yml +25 -19
- data/config/locales/es.yml +27 -21
- data/config/locales/et.yml +1 -0
- data/config/locales/eu.yml +12 -35
- data/config/locales/fi-plain.yml +26 -20
- data/config/locales/fi.yml +28 -22
- data/config/locales/fr-CA.yml +25 -19
- data/config/locales/fr.yml +39 -33
- data/config/locales/ga-IE.yml +1 -0
- data/config/locales/gl.yml +17 -4
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +16 -188
- data/config/locales/id-ID.yml +2 -7
- data/config/locales/is-IS.yml +3 -8
- data/config/locales/it.yml +8 -6
- data/config/locales/ja.yml +23 -18
- data/config/locales/ko.yml +1 -0
- data/config/locales/lb.yml +2 -5
- data/config/locales/lt.yml +13 -141
- data/config/locales/lv.yml +2 -4
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +4 -67
- data/config/locales/no.yml +13 -10
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +21 -6
- data/config/locales/pt-BR.yml +4 -7
- data/config/locales/pt.yml +2 -5
- data/config/locales/ro-RO.yml +12 -27
- data/config/locales/ru.yml +2 -7
- data/config/locales/si-LK.yml +1 -0
- data/config/locales/sk.yml +2 -4
- data/config/locales/sl.yml +1 -0
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sr-CS.yml +1 -10
- data/config/locales/sv.yml +24 -18
- data/config/locales/sw-KE.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +2 -5
- data/config/locales/uk.yml +2 -6
- data/config/locales/val-ES.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +2 -4
- data/config/locales/zh-TW.yml +1 -0
- data/lib/decidim/admin/engine.rb +1 -12
- data/lib/decidim/admin/import/importer.rb +9 -7
- data/lib/decidim/admin/import/readers/json.rb +1 -1
- data/lib/decidim/admin/test/commands/create_attachment_collection_examples.rb +15 -2
- data/lib/decidim/admin/test/commands/create_category_examples.rb +16 -6
- data/lib/decidim/admin/test/commands/destroy_category_examples.rb +29 -1
- data/lib/decidim/admin/test/commands/update_attachment_collection_examples.rb +15 -2
- data/lib/decidim/admin/test/commands/update_category_examples.rb +16 -6
- data/lib/decidim/admin/test/filters_participatory_space_user_roles_examples.rb +4 -4
- data/lib/decidim/admin/test/filters_participatory_space_users_examples.rb +4 -4
- data/lib/decidim/admin/test/forms/category_form_examples.rb +1 -21
- data/lib/decidim/admin/test/manage_attachments_examples.rb +9 -2
- data/lib/decidim/admin/test/manage_categories_examples.rb +0 -10
- data/lib/decidim/admin/test/manage_component_permissions_examples.rb +0 -2
- data/lib/decidim/admin/test/manage_moderations_examples.rb +27 -79
- data/lib/decidim/admin/version.rb +1 -1
- metadata +22 -19
- data/app/packs/src/decidim/admin/autocomplete.component.js +0 -146
- data/app/packs/src/decidim/admin/autocomplete.component.test.js +0 -19
- data/app/packs/stylesheets/decidim/admin/components/_autocomplete_select.component.scss +0 -19
- data/config/locales/gn-PY.yml +0 -1
- data/config/locales/ka-GE.yml +0 -1
- data/config/locales/lo-LA.yml +0 -1
- data/config/locales/oc-FR.yml +0 -1
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<legend>
|
|
35
35
|
<%= t(".file_legend", valid_mime_types: mime_types.values.join(", ")).html_safe %>
|
|
36
36
|
<div class="guidance">
|
|
37
|
-
<%= import_manifest.message(:help, self)
|
|
37
|
+
<%= import_manifest.message(:help, self) %>
|
|
38
38
|
</div>
|
|
39
39
|
</legend>
|
|
40
40
|
<div class="row column">
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
</td>
|
|
61
61
|
|
|
62
62
|
<td class="actions">
|
|
63
|
-
<% if
|
|
63
|
+
<% if allowed_to?(:unreport, :moderate_users) %>
|
|
64
64
|
<%= icon_link_to "action-undo", ignore_moderated_user_path(id: moderation), t(".actions.unreport"), class: "action-icon--unreport", method: :put %>
|
|
65
65
|
<% end %>
|
|
66
66
|
<% if allowed_to?(:block, :moderate_users) %>
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<tr data-id="<%= moderation.id %>">
|
|
38
38
|
<td><%= moderation.reportable.id %></td>
|
|
39
39
|
<td>
|
|
40
|
-
<%= moderation.reportable.class.
|
|
40
|
+
<%= moderation.reportable.class.name.demodulize %>
|
|
41
41
|
</td>
|
|
42
42
|
<% if !respond_to?(:current_participatory_space) %>
|
|
43
43
|
<td>
|
|
@@ -48,13 +48,9 @@
|
|
|
48
48
|
<%= moderation.report_count %>
|
|
49
49
|
</td>
|
|
50
50
|
<td>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
%>
|
|
55
|
-
<% else %>
|
|
56
|
-
<%= t("models.moderation.fields.deleted_resource", scope: "decidim.moderations") %>
|
|
57
|
-
<% end %>
|
|
51
|
+
<%=
|
|
52
|
+
link_to t("models.moderation.fields.visit_url", scope: "decidim.moderations"), moderation.reportable.reported_content_url, data: { tooltip: true }, title: strip_tags(reported_content_excerpt_for(moderation.reportable, limit: 250))
|
|
53
|
+
%>
|
|
58
54
|
</td>
|
|
59
55
|
<td>
|
|
60
56
|
<% reports = moderation.reports.map { |report| render "report", report: report } %>
|
|
@@ -12,11 +12,7 @@
|
|
|
12
12
|
</div>
|
|
13
13
|
<dl>
|
|
14
14
|
<dt><%= t("models.moderation.fields.reported_content_url", scope: "decidim.moderations") %></dt>
|
|
15
|
-
|
|
16
|
-
<dd><%= link_to moderation.reportable.reported_content_url, reportable_url, target: "_blank" %></dd>
|
|
17
|
-
<% else %>
|
|
18
|
-
<dd><%= t("models.moderation.fields.deleted_resource", scope: "decidim.moderations") %></dd>
|
|
19
|
-
<% end %>
|
|
15
|
+
<dd><%= link_to moderation.reportable.reported_content_url, moderation.reportable.reported_content_url, target: "_blank" %></dd>
|
|
20
16
|
|
|
21
17
|
<dt><%= t("models.moderation.fields.reportable_id", scope: "decidim.moderations") %></dt>
|
|
22
18
|
<dd><%= moderation.reportable.id %></dd>
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
<%= form.upload(
|
|
15
15
|
:favicon,
|
|
16
16
|
dimensions_info: current_organization.attached_uploader(:favicon).dimensions_info,
|
|
17
|
-
extension_allowlist: current_organization.attached_uploader(:favicon).extension_allowlist
|
|
17
|
+
extension_allowlist: current_organization.attached_uploader(:favicon).extension_allowlist,
|
|
18
|
+
help_i18n_scope: "decidim.forms.file_help.icon"
|
|
18
19
|
) %>
|
|
19
20
|
</div>
|
|
20
21
|
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
<%= form.upload(
|
|
23
24
|
:logo,
|
|
24
25
|
dimensions_info: current_organization.attached_uploader(:logo).dimensions_info,
|
|
25
|
-
extension_allowlist: current_organization.attached_uploader(:
|
|
26
|
+
extension_allowlist: current_organization.attached_uploader(:logo).extension_allowlist
|
|
26
27
|
) %>
|
|
27
28
|
</div>
|
|
28
29
|
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
<%= form.upload(
|
|
31
32
|
:official_img_header,
|
|
32
33
|
dimensions_info: current_organization.attached_uploader(:official_img_header).dimensions_info,
|
|
33
|
-
extension_allowlist: current_organization.attached_uploader(:
|
|
34
|
+
extension_allowlist: current_organization.attached_uploader(:official_img_header).extension_allowlist
|
|
34
35
|
) %>
|
|
35
36
|
</div>
|
|
36
37
|
|
|
@@ -38,7 +39,7 @@
|
|
|
38
39
|
<%= form.upload(
|
|
39
40
|
:official_img_footer,
|
|
40
41
|
dimensions_info: current_organization.attached_uploader(:official_img_footer).dimensions_info,
|
|
41
|
-
extension_allowlist: current_organization.attached_uploader(:
|
|
42
|
+
extension_allowlist: current_organization.attached_uploader(:official_img_footer).extension_allowlist
|
|
42
43
|
) %>
|
|
43
44
|
</div>
|
|
44
45
|
</div>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<h2 class="card-title">
|
|
4
4
|
<%= t(".title") %>
|
|
5
5
|
<% if allowed_to? :create, :space_private_user %>
|
|
6
|
-
<%= link_to t(".import_via_csv"),
|
|
6
|
+
<%= link_to t(".import_via_csv"), new_participatory_space_private_users_csv_imports_path, class: "button tiny button--title import" %>
|
|
7
7
|
<%= link_to t("actions.participatory_space_private_user.new", scope: "decidim.admin"), url_for(action: :new), class: "button tiny button--title new" %>
|
|
8
8
|
<% end %>
|
|
9
9
|
</h2>
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
<div class="card">
|
|
2
|
+
<div class="card-divider">
|
|
3
|
+
<h2 class="card-title">
|
|
4
|
+
<%= t(".destroy.title") %>
|
|
5
|
+
</h2>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="card-section">
|
|
8
|
+
<% if @count != 0 %>
|
|
9
|
+
<p><%= t(".destroy.explanation", count: @count) %></p>
|
|
10
|
+
<%= link_to t(".destroy.button"),
|
|
11
|
+
destroy_all_participatory_space_private_users_csv_imports_path,
|
|
12
|
+
method: :delete,
|
|
13
|
+
class: "button alert",
|
|
14
|
+
data: { confirm: t(".destroy.confirm") } %>
|
|
15
|
+
<% else %>
|
|
16
|
+
<p><%= t(".destroy.empty") %></p>
|
|
17
|
+
<% end %>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
1
20
|
<div class="card" id='user-groups'>
|
|
2
21
|
<div class="card-divider">
|
|
3
22
|
<h2 class="card-title">
|
|
@@ -5,7 +24,7 @@
|
|
|
5
24
|
</h2>
|
|
6
25
|
</div>
|
|
7
26
|
<div class="card-section">
|
|
8
|
-
<%= decidim_form_for(@form, url:
|
|
27
|
+
<%= decidim_form_for(@form, url: participatory_space_private_users_csv_imports_path, html: { class: "form" }) do |form| %>
|
|
9
28
|
<p><%= t(".explanation") %></p>
|
|
10
29
|
<div class="row column">
|
|
11
30
|
<%= form.upload :file, optional: false %>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<%= decidim_form_for(@form, url: component_reminders_path(name: reminder_manifest.name), class: "form grid-container") do |form| %>
|
|
2
|
+
<div class="card">
|
|
3
|
+
<div class="card-divider">
|
|
4
|
+
<h2 class="card-title flex--sbc">
|
|
5
|
+
<%= reminder_manifest.message(:title, count: @form.try(:reminder_amount)) %>
|
|
6
|
+
</h2>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="card-section">
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div class="columns small-12">
|
|
11
|
+
<p><%= reminder_manifest.message(:description) %></p>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="row">
|
|
15
|
+
<div class="columns small-12 text-center">
|
|
16
|
+
<%= form.submit t(".submit") %>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
<% end %>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<% if @component %>
|
|
22
22
|
<div class="card-divider"><%= t("#{@component.manifest.name}.actions.#{action}", scope: "decidim.components") %></div>
|
|
23
23
|
<% else %>
|
|
24
|
-
<div class="card-divider"><%= t("#{resource.
|
|
24
|
+
<div class="card-divider"><%= t("#{resource.manifest.name}.actions.#{action}", scope: "decidim.resources") %></div>
|
|
25
25
|
<% end %>
|
|
26
26
|
|
|
27
27
|
<div class="card-section">
|
|
@@ -15,7 +15,12 @@
|
|
|
15
15
|
<% end %>
|
|
16
16
|
|
|
17
17
|
<div class="row column">
|
|
18
|
-
<%= form.
|
|
18
|
+
<%= form.attachment :photos,
|
|
19
|
+
multiple: true,
|
|
20
|
+
label: t(".add_images"),
|
|
21
|
+
button_label: t(".add_images"),
|
|
22
|
+
button_edit_label: t(".edit_images"),
|
|
23
|
+
help_i18n_scope: "decidim.forms.file_help.image" %>
|
|
19
24
|
</div>
|
|
20
25
|
</fieldset>
|
|
21
26
|
</div>
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
<td class="title"><%= t(".participants") %></td>
|
|
25
25
|
<td><%= result[:total_participants_last_month] %></td>
|
|
26
26
|
<td><%= result[:total_participants_last_week] %></td>
|
|
27
|
-
<td><%= result[:
|
|
27
|
+
<td><%= result[:total_participants_last_day] %></td>
|
|
28
28
|
</tr>
|
|
29
29
|
<tr>
|
|
30
30
|
<td class="title"><%= t(".admins") %></td>
|
|
31
31
|
<td><%= result[:total_admins_last_month] %></td>
|
|
32
32
|
<td><%= result[:total_admins_last_week] %></td>
|
|
33
|
-
<td><%= result[:
|
|
33
|
+
<td><%= result[:total_admins_last_day] %></td>
|
|
34
34
|
</tr>
|
|
35
35
|
</tbody>
|
|
36
36
|
</table>
|
data/config/locales/am-ET.yml
CHANGED
data/config/locales/ar.yml
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
---
|
|
1
2
|
ar:
|
|
2
3
|
activemodel:
|
|
3
4
|
attributes:
|
|
@@ -10,41 +11,34 @@ ar:
|
|
|
10
11
|
organization: المنظمة
|
|
11
12
|
plural: صيغة الجمع
|
|
12
13
|
attachment:
|
|
13
|
-
attachment_collection_id:
|
|
14
|
+
attachment_collection_id: المجلد
|
|
14
15
|
description: الوصف
|
|
15
16
|
file: ملف
|
|
16
17
|
title: المُرفق أو اسم الصورة
|
|
17
|
-
weight: موضع الطلب
|
|
18
18
|
attachment_collection:
|
|
19
19
|
description: الوصف
|
|
20
20
|
name: اسم
|
|
21
|
-
weight: موضع الطلب
|
|
22
21
|
category:
|
|
23
22
|
description: الوصف
|
|
24
23
|
name: اسم
|
|
25
|
-
parent_id:
|
|
26
|
-
weight: موضع الطلب
|
|
24
|
+
parent_id: الأبوين
|
|
27
25
|
component:
|
|
28
26
|
name: اسم
|
|
29
|
-
published_at:
|
|
27
|
+
published_at: نشرت في
|
|
30
28
|
weight: موضع الطلب
|
|
31
|
-
|
|
32
|
-
value: القيمة
|
|
33
|
-
help_section:
|
|
34
|
-
content: المحتوى
|
|
35
|
-
id: المعرف ID
|
|
29
|
+
id: هوية شخصية
|
|
36
30
|
import:
|
|
37
|
-
user_group_id: إنشاء
|
|
31
|
+
user_group_id: إنشاء واردات ك
|
|
38
32
|
newsletter:
|
|
39
|
-
body:
|
|
33
|
+
body: المحتوى
|
|
40
34
|
subject: الموضوع
|
|
41
35
|
organization:
|
|
42
36
|
admin_terms_of_use_body: نص شروط الاستخدام للمدير
|
|
43
37
|
alert_color: تنبيه
|
|
44
38
|
available_authorizations: التراخيص المتاحة
|
|
45
39
|
badges_enabled: تمكين الشارات
|
|
46
|
-
comments_max_length: الحد الأقصى لطول التعليقات (اترك 0 لاستعمال
|
|
47
|
-
cta_button_path:
|
|
40
|
+
comments_max_length: الحد الأقصى لطول التعليقات (اترك 0 لاستعمال للقيمة الافتراضية)
|
|
41
|
+
cta_button_path: دعوة إلى العمل مسار زر
|
|
48
42
|
cta_button_text: نص زر Call To Action
|
|
49
43
|
customize_welcome_notification: تخصيص إشعار الترحيب
|
|
50
44
|
default_locale: اللغة الافتراضية
|
|
@@ -160,12 +154,13 @@ ar:
|
|
|
160
154
|
reject: رفض
|
|
161
155
|
share: مشاركة
|
|
162
156
|
user:
|
|
163
|
-
new:
|
|
157
|
+
new: مدير جديد
|
|
164
158
|
verify: التحقق
|
|
165
159
|
admin_terms_of_use:
|
|
166
160
|
accept:
|
|
167
161
|
success: رائع! لقد قمت بالموافقة على شروط الإستخدام للمدير.
|
|
168
162
|
actions:
|
|
163
|
+
accept: أوافق على شروط الإستخدام التالية
|
|
169
164
|
refuse: ارفض شروط المدير
|
|
170
165
|
title: وافق على شروط وأحكام الإستخدام
|
|
171
166
|
required_review:
|
|
@@ -316,7 +311,7 @@ ar:
|
|
|
316
311
|
dashboard:
|
|
317
312
|
show:
|
|
318
313
|
view_more_logs: عرض المزيد من السجلات
|
|
319
|
-
welcome:
|
|
314
|
+
welcome: أهلا بك على اللوح الإداري.
|
|
320
315
|
domain_whitelist:
|
|
321
316
|
form:
|
|
322
317
|
domain_too_short: نطاق الدومين قصير جداً
|
|
@@ -748,10 +743,19 @@ ar:
|
|
|
748
743
|
title: مشارك جديد الفضاء الخاص المشارك.
|
|
749
744
|
participatory_space_private_users_csv_imports:
|
|
750
745
|
create:
|
|
751
|
-
invalid: حدثت مشكلة
|
|
746
|
+
invalid: حدثت مشكلة أثناء قراءة ملف CSV.
|
|
752
747
|
new:
|
|
748
|
+
destroy:
|
|
749
|
+
button: حذف جميع المشاركين الخاصين
|
|
750
|
+
confirm: هل أنت متأكد من أنك تريد حذف جميع المشاركين الخاصين؟ لا يمكن التراجع عن هذا الإجراء، ولن تتمكن من استرجاعهم.
|
|
751
|
+
empty: ليس لديك أي مشاركين خاصين.
|
|
752
|
+
explanation: لديك %{count} مشاركين خاصين.
|
|
753
|
+
title: حذف جميع المشاركين الخاصين
|
|
753
754
|
title: حمّل ملف CSV الخاص بك
|
|
754
755
|
upload: حمّل
|
|
756
|
+
reminders:
|
|
757
|
+
new:
|
|
758
|
+
submit: إرسال
|
|
755
759
|
resource_permissions:
|
|
756
760
|
edit:
|
|
757
761
|
submit: خضع
|
|
@@ -796,6 +800,7 @@ ar:
|
|
|
796
800
|
shared:
|
|
797
801
|
gallery:
|
|
798
802
|
delete_image: احذف الصورة
|
|
803
|
+
edit_images: تعديل الصورة
|
|
799
804
|
static_page_topics:
|
|
800
805
|
create:
|
|
801
806
|
error: كانت هناك مشكلة في إنشاء موضوع جديد.
|
|
@@ -853,7 +858,7 @@ ar:
|
|
|
853
858
|
static_pages: صفحات
|
|
854
859
|
statistics: النشاط
|
|
855
860
|
user_groups: المجموعات
|
|
856
|
-
users:
|
|
861
|
+
users: المدراء
|
|
857
862
|
user_group:
|
|
858
863
|
csv_verify:
|
|
859
864
|
invalid: حدثت مشكلة في قراءة ملف CSV.
|
|
@@ -889,7 +894,7 @@ ar:
|
|
|
889
894
|
role: وظيفة
|
|
890
895
|
new:
|
|
891
896
|
create: دعا
|
|
892
|
-
title: دعوة
|
|
897
|
+
title: دعوة مدير جديد
|
|
893
898
|
users_statistics:
|
|
894
899
|
users_count:
|
|
895
900
|
admins: المدراء
|
|
@@ -935,7 +940,7 @@ ar:
|
|
|
935
940
|
report_count: عد
|
|
936
941
|
reportable_type: النوع
|
|
937
942
|
reported_content_url: تم الإبلاغ عن عنوان URL للمحتوى
|
|
938
|
-
reports:
|
|
943
|
+
reports: تقارير
|
|
939
944
|
visit_url: زيارة العنوان الشبكي
|
|
940
945
|
report:
|
|
941
946
|
fields:
|
|
@@ -948,6 +953,8 @@ ar:
|
|
|
948
953
|
layouts:
|
|
949
954
|
decidim:
|
|
950
955
|
admin:
|
|
956
|
+
global_moderations:
|
|
957
|
+
title: مُشرف عام
|
|
951
958
|
newsletters:
|
|
952
959
|
title: النشرات الإخبارية
|
|
953
960
|
settings:
|
data/config/locales/bg.yml
CHANGED
data/config/locales/ca.yml
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
---
|
|
1
2
|
ca:
|
|
2
3
|
activemodel:
|
|
3
4
|
attributes:
|
|
@@ -14,24 +15,17 @@ ca:
|
|
|
14
15
|
description: Descripció
|
|
15
16
|
file: Arxiu
|
|
16
17
|
title: Nom de l'adjunt o imatge
|
|
17
|
-
weight: Ordre de posició
|
|
18
18
|
attachment_collection:
|
|
19
19
|
description: Descripció
|
|
20
20
|
name: Nom
|
|
21
|
-
weight: Ordre de posició
|
|
22
21
|
category:
|
|
23
22
|
description: Descripció
|
|
24
23
|
name: Nom
|
|
25
24
|
parent_id: Pare
|
|
26
|
-
weight: Ordre de posició
|
|
27
25
|
component:
|
|
28
26
|
name: Nom
|
|
29
27
|
published_at: Publicat el
|
|
30
28
|
weight: Ordre de posició
|
|
31
|
-
external_domain:
|
|
32
|
-
value: Valor
|
|
33
|
-
help_section:
|
|
34
|
-
content: Contingut
|
|
35
29
|
id: ID
|
|
36
30
|
import:
|
|
37
31
|
user_group_id: Importar com
|
|
@@ -84,7 +78,7 @@ ca:
|
|
|
84
78
|
organization_admin_name: Nom de l'administradora de l'organització
|
|
85
79
|
organization_locales: Idiomes de l'organització
|
|
86
80
|
primary_color: Primària
|
|
87
|
-
reference_prefix:
|
|
81
|
+
reference_prefix: prefix de referència
|
|
88
82
|
rich_text_editor_in_public_views: Habilitar l'editor de text enriquit
|
|
89
83
|
secondary_color: Secundari
|
|
90
84
|
secondary_hosts: Hosts secundaris
|
|
@@ -99,9 +93,6 @@ ca:
|
|
|
99
93
|
welcome_notification_body: Cos de la notificació de benvinguda
|
|
100
94
|
welcome_notification_subject: Assumpte de la notificació de benvinguda
|
|
101
95
|
youtube_handler: Nom d'usuària de YouTube
|
|
102
|
-
participatory_space_private_user:
|
|
103
|
-
email: Correu electrònic
|
|
104
|
-
name: Nom
|
|
105
96
|
scope:
|
|
106
97
|
code: Codi
|
|
107
98
|
name: Nom
|
|
@@ -123,7 +114,6 @@ ca:
|
|
|
123
114
|
show_in_footer: Mostra al peu de pàgina
|
|
124
115
|
slug: Nom curt d'URL
|
|
125
116
|
title: Títol
|
|
126
|
-
topic_id: Assumpte
|
|
127
117
|
weight: Ordre de posició
|
|
128
118
|
static_page_topic:
|
|
129
119
|
description: Descripció
|
|
@@ -188,14 +178,14 @@ ca:
|
|
|
188
178
|
reject: Rebutjar
|
|
189
179
|
share: Compartir
|
|
190
180
|
user:
|
|
191
|
-
new:
|
|
181
|
+
new: Nova administradora
|
|
192
182
|
verify: Verificar
|
|
193
183
|
admin_terms_of_use:
|
|
194
184
|
accept:
|
|
195
185
|
error: S'ha produït un error en acceptar els Termes i Condicions dell panell d'administració.
|
|
196
186
|
success: Genial! Has acceptat els Termes i Condicions del panell d'administració.
|
|
197
187
|
actions:
|
|
198
|
-
accept: Estic d'acord amb els termes
|
|
188
|
+
accept: Estic d'acord amb els termes següents
|
|
199
189
|
are_you_sure: Segur que vols rebutjar els termes i condicions del panell d'administració?
|
|
200
190
|
refuse: Rebutjar els termes
|
|
201
191
|
title: Accepto els Termes i Condicions d'Administració
|
|
@@ -271,6 +261,8 @@ ca:
|
|
|
271
261
|
update:
|
|
272
262
|
error: S'ha produït un error en actualitzar aquest adjunt.
|
|
273
263
|
success: Adjunt actualitzat correctament.
|
|
264
|
+
attachments_privacy_warning:
|
|
265
|
+
message: Tingues cura quan treballis amb adjunts en un espai privat. Qualsevol participant pot compartir aquest document amb tercers.
|
|
274
266
|
autocomplete:
|
|
275
267
|
no_results: No s'han trobat resultats
|
|
276
268
|
search_prompt: Escriu com a mínim tres caràcters per cercar
|
|
@@ -353,7 +345,7 @@ ca:
|
|
|
353
345
|
dashboard:
|
|
354
346
|
show:
|
|
355
347
|
view_more_logs: Veure més registres
|
|
356
|
-
welcome: Benvinguda al
|
|
348
|
+
welcome: Benvinguda al Tauler d'Aministració.
|
|
357
349
|
domain_whitelist:
|
|
358
350
|
form:
|
|
359
351
|
domain_too_short: El domini és massa curt
|
|
@@ -715,7 +707,7 @@ ca:
|
|
|
715
707
|
select_recipients_to_deliver:
|
|
716
708
|
all_spaces: Totes
|
|
717
709
|
all_users_help: Envia el butlletí a tots els usuaris confimats.
|
|
718
|
-
confirm_deliver:
|
|
710
|
+
confirm_deliver: Estàs segura que vols enviar aquest butlletí? Aquesta acció no es pot desfer.
|
|
719
711
|
deliver: Enviar butlletí
|
|
720
712
|
followers_help: Envia el butlletí a tots els usuaris confirmats que segueixin qualsevol dels espais participatius seleccionats a la llista.
|
|
721
713
|
none: Cap
|
|
@@ -827,7 +819,7 @@ ca:
|
|
|
827
819
|
inactive_content_blocks: Blocs de contingut inactiu
|
|
828
820
|
organization_homepage_content_blocks:
|
|
829
821
|
edit:
|
|
830
|
-
update:
|
|
822
|
+
update: Actualitza
|
|
831
823
|
participatory_space_private_users:
|
|
832
824
|
create:
|
|
833
825
|
error: S'ha produït un error en afegir una participant privada a aquest espai de participació.
|
|
@@ -846,9 +838,23 @@ ca:
|
|
|
846
838
|
invalid: S'ha produït un error en llegir el fitxer CSV.
|
|
847
839
|
success: Arxiu CSV carregat correctament, s'està enviant un missatge de correu electrònic d'invitació als participants. Pot tardar una mica.
|
|
848
840
|
new:
|
|
841
|
+
destroy:
|
|
842
|
+
button: Esborrar totes les participants privades
|
|
843
|
+
confirm: Estàs segura que vols esborrar totes les participants privades? Aquesta acció no es pot desfer, no podràs recuperar-les.
|
|
844
|
+
empty: No hi ha participants privades.
|
|
845
|
+
explanation: Hi ha %{count} participant/s privada/ades.
|
|
846
|
+
title: Esborrar les participants privades
|
|
849
847
|
explanation: 'Carrega el teu arxiu CSV. Ha de tenir dues columnes amb l''adreça de correu electrònic a la primera columna i el nom a la segona (adreça electrònica, nom) dels usuaris que vulguis afegir a l''espai de participació, sense capçaleres. Evita emprar caràcter invàlids com `<>?%&^*#@()[]=+:;"{}\|` al nom d''usuari.'
|
|
850
848
|
title: Puja el fitxer CSV
|
|
851
849
|
upload: Carrega
|
|
850
|
+
reminders:
|
|
851
|
+
create:
|
|
852
|
+
error: Hi ha hagut un problema en crear els recordatoris.
|
|
853
|
+
success:
|
|
854
|
+
one: "Es recordarà a %{count} usuària."
|
|
855
|
+
other: "Es recordarà a %{count} usuàries."
|
|
856
|
+
new:
|
|
857
|
+
submit: Envia
|
|
852
858
|
resource_permissions:
|
|
853
859
|
edit:
|
|
854
860
|
submit: Enviar
|
|
@@ -906,6 +912,7 @@ ca:
|
|
|
906
912
|
gallery:
|
|
907
913
|
add_images: Afegir imatges
|
|
908
914
|
delete_image: Esborrar la imatge
|
|
915
|
+
edit_images: Editar imatges
|
|
909
916
|
gallery_legend: Afegir una galeria d'imatges (opcional)
|
|
910
917
|
static_page_topics:
|
|
911
918
|
create:
|
|
@@ -966,7 +973,7 @@ ca:
|
|
|
966
973
|
static_pages: Pàgines
|
|
967
974
|
statistics: Activitat
|
|
968
975
|
user_groups: Grups
|
|
969
|
-
users:
|
|
976
|
+
users: Administradores
|
|
970
977
|
user_group:
|
|
971
978
|
csv_verify:
|
|
972
979
|
invalid: S'ha produït un error en llegir el fitxer CSV.
|
|
@@ -1002,7 +1009,7 @@ ca:
|
|
|
1002
1009
|
role: Rol
|
|
1003
1010
|
new:
|
|
1004
1011
|
create: Convidar
|
|
1005
|
-
title: Convidar una
|
|
1012
|
+
title: Convidar una nova administradora
|
|
1006
1013
|
users_statistics:
|
|
1007
1014
|
users_count:
|
|
1008
1015
|
admins: Administradores
|
|
@@ -1050,14 +1057,13 @@ ca:
|
|
|
1050
1057
|
moderation:
|
|
1051
1058
|
fields:
|
|
1052
1059
|
created_at: Data de creació
|
|
1053
|
-
deleted_resource: Recurs eliminat
|
|
1054
1060
|
hidden_at: Data d'ocultació
|
|
1055
1061
|
participatory_space: Espai de participació
|
|
1056
1062
|
report_count: Recompte
|
|
1057
1063
|
reportable_id: ID
|
|
1058
1064
|
reportable_type: Tipus
|
|
1059
1065
|
reported_content_url: URL contingut del contingut reportat
|
|
1060
|
-
reports:
|
|
1066
|
+
reports: Denúncies
|
|
1061
1067
|
visit_url: Visiteu l'URL
|
|
1062
1068
|
report:
|
|
1063
1069
|
fields:
|