decidim-admin 0.26.2 → 0.26.4

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.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/decidim/admin/organization_controller.rb +4 -3
  3. data/app/controllers/decidim/admin/resource_permissions_controller.rb +1 -1
  4. data/app/helpers/decidim/admin/settings_helper.rb +57 -11
  5. data/app/packs/entrypoints/decidim_admin.js +5 -1
  6. data/app/packs/src/decidim/admin/choose_language.js +11 -9
  7. data/app/packs/src/decidim/admin/dynamic_fields.component.js +1 -0
  8. data/app/packs/stylesheets/decidim/admin/modules/_forms.scss +6 -0
  9. data/app/packs/stylesheets/decidim/admin/modules/_modules.scss +0 -1
  10. data/app/permissions/decidim/admin/permissions.rb +15 -2
  11. data/app/views/decidim/admin/dashboard/show.html.erb +1 -1
  12. data/app/views/decidim/admin/imports/new.html.erb +1 -1
  13. data/app/views/decidim/admin/moderations/index.html.erb +8 -4
  14. data/app/views/decidim/admin/moderations/reports/index.html.erb +5 -1
  15. data/app/views/decidim/admin/resource_permissions/edit.html.erb +1 -1
  16. data/config/locales/ar.yml +1 -2
  17. data/config/locales/ca.yml +3 -2
  18. data/config/locales/cs.yml +15 -15
  19. data/config/locales/de.yml +0 -1
  20. data/config/locales/el.yml +0 -1
  21. data/config/locales/en.yml +2 -1
  22. data/config/locales/es-MX.yml +3 -2
  23. data/config/locales/es-PY.yml +3 -2
  24. data/config/locales/es.yml +3 -2
  25. data/config/locales/eu.yml +2 -2
  26. data/config/locales/fi-plain.yml +3 -2
  27. data/config/locales/fi.yml +3 -2
  28. data/config/locales/fr-CA.yml +3 -2
  29. data/config/locales/fr.yml +17 -16
  30. data/config/locales/gl.yml +0 -1
  31. data/config/locales/gn-PY.yml +1 -0
  32. data/config/locales/hu.yml +186 -3
  33. data/config/locales/id-ID.yml +3 -0
  34. data/config/locales/it.yml +0 -1
  35. data/config/locales/ja.yml +1 -1
  36. data/config/locales/lb.yml +0 -1
  37. data/config/locales/lo-LA.yml +1 -0
  38. data/config/locales/lt.yml +973 -0
  39. data/config/locales/nl.yml +61 -2
  40. data/config/locales/no.yml +5 -1
  41. data/config/locales/oc-FR.yml +1 -0
  42. data/config/locales/pl.yml +60 -3
  43. data/config/locales/pt-BR.yml +0 -1
  44. data/config/locales/pt.yml +0 -1
  45. data/config/locales/ro-RO.yml +6 -1
  46. data/config/locales/sv.yml +1 -1
  47. data/config/locales/tr-TR.yml +0 -1
  48. data/lib/decidim/admin/engine.rb +11 -1
  49. data/lib/decidim/admin/test/manage_moderations_examples.rb +72 -0
  50. data/lib/decidim/admin/version.rb +1 -1
  51. metadata +11 -9
  52. data/app/packs/stylesheets/decidim/admin/modules/_import_result.scss +0 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97fdadb0f95fb35e376ce50f1993b01bacd1e48cd38c26833f3c05363dbe92dd
4
- data.tar.gz: 84c37c9fd8a1324d726a51a825226525b649f48662fc2a2aea1db4a94b113712
3
+ metadata.gz: 13ac5896fea1ac7be17c42b018f1d49ae8cf4e4da64e71f656673a98802e853f
4
+ data.tar.gz: b2b3fd631d4cf7a420edb6fc2a323dd648bfa99d099c06d02c0f899faa383177
5
5
  SHA512:
6
- metadata.gz: c1c93d628c2ad30b4638744ff0719df7272af2e86c4e69da2e0b06ce3d1618bb93a9cd0c55929ae412b5a2564f335e9256bd5828b043e86fbc87eec318005173
7
- data.tar.gz: 1d5dac5589f5e83dafab2850cf35daf48af6de7183ae9ce4a1e80c249afe29038091f643e1b31f7c868a92463a840f16314b3e859b3a9f6fb4324511f21f8c36
6
+ metadata.gz: a4a6d78053cd549ccfb1351e3b74c5a06e646662383d1a1cd20e2cfd2a27c5f1e0010b813f12951f64bae5dc935ad75e87d261e475c2ffbf0b23b91a2d41c015
7
+ data.tar.gz: 9b2c0737a3b1256f27d0263196307eaf377a9313fcecd2f3aa87c3df13a900580273e9e247365d7b9e97dedb34844617cd98ad4a1cee6d4d0a53fbec018390fb
@@ -15,6 +15,7 @@ module Decidim
15
15
  def update
16
16
  enforce_permission_to :update, :organization, organization: current_organization
17
17
  @form = form(OrganizationForm).from_params(params)
18
+ @form.id = current_organization.id
18
19
 
19
20
  UpdateOrganization.call(current_organization, @form) do
20
21
  on(:ok) do
@@ -30,11 +31,11 @@ module Decidim
30
31
  end
31
32
 
32
33
  def users
33
- search(current_organization.users)
34
+ search(current_organization.users.available)
34
35
  end
35
36
 
36
37
  def user_entities
37
- search(current_organization.user_entities)
38
+ search(current_organization.user_entities.available)
38
39
  end
39
40
 
40
41
  private
@@ -51,7 +52,7 @@ module Decidim
51
52
  query.where("email ILIKE ?", "%#{term}%")
52
53
  )
53
54
  end
54
- render json: query.all.collect { |u| { value: u.id, label: "#{u.name} (@#{u.nickname}) #{u.email}" } }
55
+ render json: query.all.collect { |u| { value: u.id, label: "#{u.name} (@#{u.nickname})" } }
55
56
  else
56
57
  render json: []
57
58
  end
@@ -83,7 +83,7 @@ module Decidim
83
83
  end
84
84
 
85
85
  def manifest_name
86
- @manifest_name ||= resource.manifest.name
86
+ @manifest_name ||= resource.resource_manifest.name
87
87
  end
88
88
 
89
89
  def permissions
@@ -18,16 +18,19 @@ module Decidim
18
18
  time: :datetime_field
19
19
  }.freeze
20
20
 
21
- # Public: Renders a form field that matches a settings attribute's
22
- # type.
21
+ # Renders a form field that matches a settings attribute's type.
22
+ # Besides the field itself, it also renders all the metadata (like the labels and help texts)
23
23
  #
24
- # form - The form in which to render the field.
25
- # attribute - The Settings::Attribute instance with the
26
- # description of the attribute.
27
- # name - The name of the field.
28
- # options - Extra options to be passed to the field helper.
29
- #
30
- # Returns a rendered form field.
24
+ # @param form [Decidim::Admin::FormBuilder] The form in which to render the field
25
+ # @param attribute [Decidim::SettingsManifest::Attribute] The Settings::Attribute instance with the
26
+ # description of the attribute.
27
+ # @param name [Symbol] The name of the field.
28
+ # @param i18n_scope [String] The scope where it'll find all the texts for the internationalization (locales)
29
+ # @param options [Hash] Extra options to be passed to the field helper.
30
+ # @option options [String] :tabs_prefix The type of the setting.
31
+ # It can be "global-settings" or "step-N-settings", where N is the number of the step.
32
+ # @option options [nil, Boolean] :readonly True if the input is readonly.
33
+ # @return [ActiveSupport::SafeBuffer] Rendered form field.
31
34
  def settings_attribute_input(form, attribute, name, i18n_scope, options = {})
32
35
  form_method = form_method_for_attribute(attribute)
33
36
 
@@ -62,6 +65,18 @@ module Decidim
62
65
 
63
66
  private
64
67
 
68
+ # Renders a select field collection input for the given attribute
69
+ #
70
+ # @param form (see #settings_attribute_input)
71
+ # @param attribute (see #settings_attribute_input)
72
+ # @param name (see #settings_attribute_input)
73
+ # @param i18n_scope (see #settings_attribute_input)
74
+ # @param options (see #settings_attribute_input)
75
+ # @option :tabs_prefix (see #settings_attribute_input)
76
+ # @option :readonly (see #settings_attribute_input)
77
+ # @option options [String] :label The label that this field has
78
+ # @option options [String] :help_text The help text shown after the input field
79
+ # @return (see #settings_attribute_input)
65
80
  def render_select_form_field(form, attribute, name, i18n_scope, options)
66
81
  html = form.select(
67
82
  name,
@@ -73,6 +88,17 @@ module Decidim
73
88
  end
74
89
 
75
90
  # Returns a radio buttons collection input for the given attribute
91
+ #
92
+ # @param form (see #settings_attribute_input)
93
+ # @param attribute (see #settings_attribute_input)
94
+ # @param name (see #settings_attribute_input)
95
+ # @param i18n_scope (see #settings_attribute_input)
96
+ # @param options (see #settings_attribute_input)
97
+ # @option :tabs_prefix (see #settings_attribute_input)
98
+ # @option :readonly (see #settings_attribute_input)
99
+ # @option :label (see #render_select_form_field)
100
+ # @option :help_text (see #render_select_form_field)
101
+ # @return (see #settings_attribute_input)
76
102
  def render_enum_form_field(form, attribute, name, i18n_scope, options)
77
103
  html = label_tag(name) do
78
104
  concat options[:label]
@@ -88,13 +114,25 @@ module Decidim
88
114
  html
89
115
  end
90
116
 
117
+ # Get the translation for a given attribute
91
118
  # Returns a translation or nil. If nil, ZURB Foundation won't add the help_text.
119
+ #
120
+ # @param name (see #settings_attribute_input)
121
+ # @param suffix [String] What suffix the i18n key has
122
+ # @param i18n_scope (see #settings_attribute_input)
123
+ # @return [String, nil]
92
124
  def text_for_setting(name, suffix, i18n_scope)
125
+ html_key = "#{i18n_scope}.#{name}_#{suffix}_html"
126
+ return t(html_key) if I18n.exists?(html_key)
127
+
93
128
  key = "#{i18n_scope}.#{name}_#{suffix}"
94
129
  return t(key) if I18n.exists?(key)
95
130
  end
96
131
 
97
- # Returns the FormBuilder's method used to render
132
+ # Which form method is being used for this attribute
133
+ #
134
+ # @param attribute [Decidim::SettingsManifest::Attribute]
135
+ # @return [Symbol] The FormBuilder's method used to render
98
136
  def form_method_for_attribute(attribute)
99
137
  return :editor if attribute.type.to_sym == :text && attribute.editor?
100
138
 
@@ -102,7 +140,9 @@ module Decidim
102
140
  end
103
141
 
104
142
  # Handles special cases.
105
- # Returns an empty Hash or a Hash with extra HTML options.
143
+ #
144
+ # @param input_type [Symbol]
145
+ # @return [Hash] Empty Hash or a Hash with extra HTML options.
106
146
  def extra_options_for_type(input_type)
107
147
  case input_type
108
148
  when :text_area
@@ -113,6 +153,12 @@ module Decidim
113
153
  end
114
154
 
115
155
  # Build options for enum attributes
156
+ # Get the translation for a given attribute of type choice
157
+ #
158
+ # @param name (see #settings_attribute_input)
159
+ # @param i18n_scope (see #settings_attribute_input)
160
+ # @param choices [Array<Symbol>]
161
+ # @return [Array<Array<String>>]
116
162
  def build_enum_choices(name, i18n_scope, choices)
117
163
  choices.map do |choice|
118
164
  [t("#{name}_choices.#{choice}", scope: i18n_scope), choice]
@@ -14,7 +14,7 @@ import "jquery.autocomplete"
14
14
  import "jquery-serializejson"
15
15
 
16
16
  import "src/decidim/admin/tab_focus"
17
- import "src/decidim/admin/choose_language"
17
+ import initLanguageChangeSelect from "src/decidim/admin/choose_language"
18
18
  import "src/decidim/admin/application"
19
19
  import "src/decidim/admin/resources_permissions"
20
20
  import "src/decidim/admin/welcome_notification"
@@ -40,3 +40,7 @@ import "entrypoints/decidim_admin.scss";
40
40
 
41
41
  // This needs to be loaded after confirm dialog to bind properly
42
42
  Rails.start()
43
+
44
+ window.addEventListener("DOMContentLoaded", () => {
45
+ initLanguageChangeSelect(document.querySelectorAll("select.language-change"));
46
+ });
@@ -1,12 +1,14 @@
1
1
  /* eslint-disable no-invalid-this */
2
+ /* eslint-disable require-jsdoc */
2
3
 
3
- $(() => {
4
- $("select.language-change").change(function () {
5
- let $select = $(this);
6
- let targetTabPaneSelector = $select.val();
7
- let $tabsContent = $select.parent().parent().siblings();
4
+ export default function initLanguageChangeSelect(elements) {
5
+ elements.forEach((select) => {
6
+ select.addEventListener("change", () => {
7
+ let targetTabPaneSelector = select.value;
8
+ let tabsContent = select.parentElement.parentElement.nextElementSibling;
8
9
 
9
- $tabsContent.children(".is-active").removeClass("is-active");
10
- $tabsContent.children(targetTabPaneSelector).addClass("is-active");
11
- })
12
- });
10
+ tabsContent.querySelector(".is-active").classList.remove("is-active");
11
+ tabsContent.querySelector(targetTabPaneSelector).classList.add("is-active");
12
+ })
13
+ });
14
+ }
@@ -70,6 +70,7 @@ class DynamicFieldsComponent {
70
70
  $(this).replaceAttribute("for", placeholder, value);
71
71
  $(this).replaceAttribute("tabs_id", placeholder, value);
72
72
  $(this).replaceAttribute("href", placeholder, value);
73
+ $(this).replaceAttribute("value", placeholder, value);
73
74
 
74
75
  return this;
75
76
  }
@@ -116,6 +116,12 @@ label,
116
116
  margin-bottom: $input-margin;
117
117
  }
118
118
 
119
+ .form-input-extra-before{
120
+ margin-bottom: $form-spacing * 1.5;
121
+ display: block;
122
+ margin-top: $form-spacing * -1;
123
+ }
124
+
119
125
  .custom-error{
120
126
  @extend .form-error;
121
127
  }
@@ -29,7 +29,6 @@
29
29
  @import "stylesheets/decidim/admin/modules/agenda";
30
30
  @import "stylesheets/decidim/admin/modules/draggable-list";
31
31
  @import "stylesheets/decidim/admin/modules/loading-spinner";
32
- @import "stylesheets/decidim/admin/modules/import_result";
33
32
  @import "stylesheets/decidim/admin/modules/reveal";
34
33
 
35
34
  // mentions__container
@@ -29,12 +29,14 @@ module Decidim
29
29
  read_admin_dashboard_action?
30
30
  apply_newsletter_permissions_for_admin!
31
31
 
32
- allow! if permission_action.subject == :global_moderation
32
+ allow! if permission_action.subject == :global_moderation && admin_terms_accepted?
33
33
 
34
34
  if user.admin? && admin_terms_accepted?
35
35
  allow! if read_admin_log_action?
36
+ allow! if read_user_statistics_action?
36
37
  allow! if read_metrics_action?
37
38
  allow! if static_page_action?
39
+ allow! if templates_action?
38
40
  allow! if organization_action?
39
41
  allow! if user_action?
40
42
 
@@ -101,6 +103,11 @@ module Decidim
101
103
  end
102
104
  end
103
105
 
106
+ def read_user_statistics_action?
107
+ permission_action.subject == :users_statistics &&
108
+ permission_action.action == :read
109
+ end
110
+
104
111
  def read_metrics_action?
105
112
  permission_action.subject == :metrics &&
106
113
  permission_action.action == :read
@@ -128,6 +135,11 @@ module Decidim
128
135
  end
129
136
  end
130
137
 
138
+ def templates_action?
139
+ permission_action.subject == :templates &&
140
+ permission_action.action == :read
141
+ end
142
+
131
143
  def organization_action?
132
144
  return unless permission_action.subject == :organization
133
145
  return unless permission_action.action == :update
@@ -139,6 +151,7 @@ module Decidim
139
151
  return unless permission_action.subject == :managed_user
140
152
  return user_manager_permissions if user_manager?
141
153
  return unless user&.admin?
154
+ return unless user&.admin_terms_accepted?
142
155
 
143
156
  case permission_action.action
144
157
  when :create
@@ -183,7 +196,7 @@ module Decidim
183
196
 
184
197
  def space_allows_admin_access_to_current_action?(require_admin_terms_accepted: false)
185
198
  Decidim.participatory_space_manifests.any? do |manifest|
186
- next if manifest.name != :initiatives && require_admin_terms_accepted && !admin_terms_accepted?
199
+ next if require_admin_terms_accepted && !admin_terms_accepted?
187
200
 
188
201
  new_permission_action = Decidim::PermissionAction.new(
189
202
  action: permission_action.action,
@@ -12,7 +12,7 @@
12
12
  <% end %>
13
13
 
14
14
  <div class="grid-x grid-margin-x">
15
- <% if current_user.admin? && current_user.organization&.id == current_organization.id %>
15
+ <% if allowed_to? :read, :users_statistics %>
16
16
  <div class="cell small-12 medium-6 large-4">
17
17
  <%= render(
18
18
  partial: "decidim/admin/users_statistics/users_count",
@@ -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).html_safe %>
38
38
  </div>
39
39
  </legend>
40
40
  <div class="row column">
@@ -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.name.demodulize %>
40
+ <%= moderation.reportable.class.model_name.human %>
41
41
  </td>
42
42
  <% if !respond_to?(:current_participatory_space) %>
43
43
  <td>
@@ -48,9 +48,13 @@
48
48
  <%= moderation.report_count %>
49
49
  </td>
50
50
  <td>
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
- %>
51
+ <% if (reportable_url = moderation.reportable.reported_content_url) %>
52
+ <%=
53
+ link_to t("models.moderation.fields.visit_url", scope: "decidim.moderations"), reportable_url, data: { tooltip: true }, title: strip_tags(reported_content_excerpt_for(moderation.reportable, limit: 250))
54
+ %>
55
+ <% else %>
56
+ <%= t("models.moderation.fields.deleted_resource", scope: "decidim.moderations") %>
57
+ <% end %>
54
58
  </td>
55
59
  <td>
56
60
  <% reports = moderation.reports.map { |report| render "report", report: report } %>
@@ -12,7 +12,11 @@
12
12
  </div>
13
13
  <dl>
14
14
  <dt><%= t("models.moderation.fields.reported_content_url", scope: "decidim.moderations") %></dt>
15
- <dd><%= link_to moderation.reportable.reported_content_url, moderation.reportable.reported_content_url, target: "_blank" %></dd>
15
+ <% if (reportable_url = moderation.reportable.reported_content_url) %>
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 %>
16
20
 
17
21
  <dt><%= t("models.moderation.fields.reportable_id", scope: "decidim.moderations") %></dt>
18
22
  <dd><%= moderation.reportable.id %></dd>
@@ -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.manifest.name}.actions.#{action}", scope: "decidim.resources") %></div>
24
+ <div class="card-divider"><%= t("#{resource.resource_manifest.name}.actions.#{action}", scope: "decidim.resources") %></div>
25
25
  <% end %>
26
26
 
27
27
  <div class="card-section">
@@ -159,7 +159,6 @@ ar:
159
159
  accept:
160
160
  success: رائع! لقد قمت بالموافقة على شروط الإستخدام للمدير.
161
161
  actions:
162
- accept: أوافق على شروط الإستخدام التالية
163
162
  refuse: ارفض شروط المدير
164
163
  title: وافق على شروط وأحكام الإستخدام
165
164
  required_review:
@@ -742,7 +741,7 @@ ar:
742
741
  title: مشارك جديد الفضاء الخاص المشارك.
743
742
  participatory_space_private_users_csv_imports:
744
743
  create:
745
- invalid: حدثت مشكلة أثناء قراءة ملف CSV.
744
+ invalid: حدثت مشكلة في قراءة ملف CSV.
746
745
  new:
747
746
  title: حمّل ملف CSV الخاص بك
748
747
  upload: حمّل
@@ -77,7 +77,7 @@ ca:
77
77
  organization_admin_name: Nom de l'administradora de l'organització
78
78
  organization_locales: Idiomes de l'organització
79
79
  primary_color: Primària
80
- reference_prefix: prefix de referència
80
+ reference_prefix: Prefix de referència
81
81
  rich_text_editor_in_public_views: Habilitar l'editor de text enriquit
82
82
  secondary_color: Secundari
83
83
  secondary_hosts: Hosts secundaris
@@ -184,7 +184,7 @@ ca:
184
184
  error: S'ha produït un error en acceptar els Termes i Condicions dell panell d'administració.
185
185
  success: Genial! Has acceptat els Termes i Condicions del panell d'administració.
186
186
  actions:
187
- accept: Estic d'acord amb els termes següents
187
+ accept: Estic d'acord amb els termes
188
188
  are_you_sure: Segur que vols rebutjar els termes i condicions del panell d'administració?
189
189
  refuse: Rebutjar els termes
190
190
  title: Accepto els Termes i Condicions d'Administració
@@ -1039,6 +1039,7 @@ ca:
1039
1039
  moderation:
1040
1040
  fields:
1041
1041
  created_at: Data de creació
1042
+ deleted_resource: Elimina el recurs
1042
1043
  hidden_at: Data d'ocultació
1043
1044
  participatory_space: Espai de participació
1044
1045
  report_count: Recompte
@@ -184,8 +184,7 @@ cs:
184
184
  error: Při přijímání správcovských podmínek použití došlo k chybě.
185
185
  success: Skvělé! Přijali jste administrátorské podmínky použití.
186
186
  actions:
187
- accept: Souhlasím s následujícími podmínkami
188
- are_you_sure: Oravdu chcete odmítnout podmínky používání správce?
187
+ are_you_sure: Opravdu chcete odmítnout Podmínky použití pro správce?
189
188
  refuse: Odmítnout administrátorské podmínky
190
189
  title: Souhlasit s podmínkami používání
191
190
  required_review:
@@ -213,7 +212,7 @@ cs:
213
212
  error: Při vytváření nové oblasti došlo k chybě.
214
213
  success: Oblast byla úspěšně vytvořena.
215
214
  destroy:
216
- has_spaces: Tato oblast má závislé prostory. Před smazáním se prosím ujistěte, že žádný účatnický prostor neodkazuje na tuto oblast.
215
+ has_spaces: Tato oblast má závislé prostory. Před smazáním se prosím ujistěte, že žádný účastnický prostor neodkazuje na tuto oblast.
217
216
  success: Oblast úspěšně zničena
218
217
  edit:
219
218
  title: Upravit oblast
@@ -504,9 +503,9 @@ cs:
504
503
  example_error: Nelze vytvořit příklad pro daný typ
505
504
  new:
506
505
  accepted_mime_types:
507
- csv: csv
508
- json: json
509
- xlsx: xlsx
506
+ csv: CSV
507
+ json: JSON
508
+ xlsx: Excel (.xlsx)
510
509
  actions:
511
510
  back: Zpět
512
511
  download_example: Stáhnout příklad
@@ -591,11 +590,11 @@ cs:
591
590
  name: Participační prostor soukromého účastníka
592
591
  scope:
593
592
  fields:
594
- name: název
593
+ name: Název
595
594
  scope_type: Typ oblasti působnosti
596
595
  scope_type:
597
596
  fields:
598
- name: název
597
+ name: Název
599
598
  plural: Množné číslo
600
599
  share_token:
601
600
  fields:
@@ -614,7 +613,7 @@ cs:
614
613
  created_at: Datum vzniku
615
614
  email: E-mail
616
615
  last_sign_in_at: Datum posledního přihlášení
617
- name: název
616
+ name: Název
618
617
  role: Role
619
618
  roles:
620
619
  admin: Správce
@@ -625,7 +624,7 @@ cs:
625
624
  actions: Akce
626
625
  created_at: Vytvořeno v
627
626
  document_number: Číslo dokumentu
628
- name: název
627
+ name: Název
629
628
  phone: Telefon
630
629
  state: Stav
631
630
  users_count: Počet účastníků
@@ -741,15 +740,15 @@ cs:
741
740
  error: Při blokování uživatele došlo k chybě
742
741
  success: Uživatel byl úspěšně zablokován
743
742
  create:
744
- success: Uživatel úspěšně oficializován
743
+ success: Účastník úspěšně oficiálně zaregistrován
745
744
  destroy:
746
- success: Uživatel úspěšně zbaven oficializace
745
+ success: Uživatel úspěšně zbaven oficiální registrace
747
746
  index:
748
747
  actions: Akce
749
748
  badge: Odznak
750
749
  block: Zablokovat uživatele
751
750
  created_at: Vytvořeno na
752
- name: název
751
+ name: Název
753
752
  nickname: Přezdívka
754
753
  not_officialized: Neověřeno
755
754
  officialize: Ověřit
@@ -783,7 +782,7 @@ cs:
783
782
  facebook: Facebook
784
783
  github: GitHub
785
784
  instagram: Instagram
786
- rich_text_editor_in_public_views_help: V některých textových oblastech budou účastníci moci vložit některé HTML tagy pomocí textového editoru.
785
+ rich_text_editor_in_public_views_help: V některých textových polích budou účastníci moci vložit některé HTML tagy pomocí textového editoru.
787
786
  social_handlers: Sociální
788
787
  twitter: Twitter
789
788
  url: URL
@@ -977,7 +976,7 @@ cs:
977
976
  user_groups:
978
977
  index:
979
978
  state:
980
- pending: čekající
979
+ pending: Čekající
981
980
  rejected: Odmítnuto
982
981
  verified: Ověřeno
983
982
  verify_via_csv: Ověřit pomocí CSV
@@ -1047,6 +1046,7 @@ cs:
1047
1046
  moderation:
1048
1047
  fields:
1049
1048
  created_at: Datum vytvoření
1049
+ deleted_resource: Smazaný dokument
1050
1050
  hidden_at: Skryté u
1051
1051
  participatory_space: Participativní prostor
1052
1052
  report_count: Spočítat
@@ -184,7 +184,6 @@ de:
184
184
  error: Beim Akzeptieren der Nutzungsbedingungen ist ein Fehler aufgetreten.
185
185
  success: Super! Sie haben die Admin-Nutzungsbedingungen akzeptiert.
186
186
  actions:
187
- accept: Ich stimme den folgenden Bedingungen zu
188
187
  are_you_sure: Sind Sie sicher, dass Sie die Admin-Nutzungsbedingungen ablehnen möchten?
189
188
  refuse: Die Admin-Nutzungsbedingungen ablehnen
190
189
  title: Den Admin-Nutzungsbedingungen zustimmen
@@ -179,7 +179,6 @@ el:
179
179
  error: Υπήρξε ένα σφάλμα κατά την αποδοχή των όρων χρήσης διαχειριστή.
180
180
  success: Εξαιρετικά! Αποδεχτήκατε τους όρους χρήσης διαχειριστή.
181
181
  actions:
182
- accept: Συμφωνώ με τους ακόλουθους όρους
183
182
  are_you_sure: Είστε σίγουρος ότι θέλετε να αρνηθείτε τους όρους χρήσης του διαχειριστή;
184
183
  refuse: Απόρριψη των όρων διαχειριστή
185
184
  title: Αποδοχή των όρων και των προϋποθέσεων χρήσης
@@ -185,7 +185,7 @@ en:
185
185
  error: There's been an error while accepting the admin terms of use.
186
186
  success: Great! You've accepted the admin terms of use.
187
187
  actions:
188
- accept: I agree with the following terms
188
+ accept: I agree with the terms
189
189
  are_you_sure: Are you sure you want to refuse the admin terms of use?
190
190
  refuse: Refuse the admin terms
191
191
  title: Agree to the terms and conditions of use
@@ -1040,6 +1040,7 @@ en:
1040
1040
  moderation:
1041
1041
  fields:
1042
1042
  created_at: Creation date
1043
+ deleted_resource: Deleted resource
1043
1044
  hidden_at: Hidden at
1044
1045
  participatory_space: Participatory space
1045
1046
  report_count: Count
@@ -184,7 +184,7 @@ es-MX:
184
184
  error: Ha habido un error al aceptar los Términos y Condiciones de Administración.
185
185
  success: '¡Genial! Has aceptado los Términos y Condiciones de Administración.'
186
186
  actions:
187
- accept: Estoy de acuerdo con los siguientes términos
187
+ accept: Estoy de acuerdo con los términos
188
188
  are_you_sure: '¿Seguro que deseas rechazar los términos de uso para administradoras?'
189
189
  refuse: Rechazar los Términos y Condiciones de Administración
190
190
  title: Acepto los Términos y Condiciones de Administración
@@ -832,7 +832,7 @@ es-MX:
832
832
  title: Nuevo usuario privado en el espacio participativo.
833
833
  participatory_space_private_users_csv_imports:
834
834
  create:
835
- invalid: Se ha producido un error al leer el archivo CSV.
835
+ invalid: Se produjo un error al leer el archivo CSV.
836
836
  success: Archivo CSV subido correctamente, estamos enviando un correo electrónico de invitación a las participantes. Esto puede tardar un tiempo.
837
837
  new:
838
838
  explanation: 'Sube tu archivo CSV. Debe tener dos columnas con correo electrónico en la primera columna del archivo y el nombre en la última columna del archivo (correo electrónico, nombre) de los usuarios que deseas añadir al espacio participativo, sin encabezados. Evitar usar caracteres no válidos como `<>?%&^*#@()[]=+:;"{}\|` en el nombre de usuario.'
@@ -1039,6 +1039,7 @@ es-MX:
1039
1039
  moderation:
1040
1040
  fields:
1041
1041
  created_at: Fecha de creación
1042
+ deleted_resource: Eliminar recurso
1042
1043
  hidden_at: Fecha de ocultación
1043
1044
  participatory_space: Espacio participativo
1044
1045
  report_count: Recuento
@@ -184,7 +184,7 @@ es-PY:
184
184
  error: Ha habido un error al aceptar los Términos y Condiciones de Administración.
185
185
  success: '¡Genial! Has aceptado los Términos y Condiciones de Administración.'
186
186
  actions:
187
- accept: Estoy de acuerdo con los siguientes términos
187
+ accept: Estoy de acuerdo con los términos
188
188
  are_you_sure: '¿Seguro que deseas rechazar los términos de uso para administradoras?'
189
189
  refuse: Rechazar los Términos y Condiciones de Administración
190
190
  title: Acepto los Términos y Condiciones de Administración
@@ -832,7 +832,7 @@ es-PY:
832
832
  title: Nuevo usuario privado en el espacio participativo.
833
833
  participatory_space_private_users_csv_imports:
834
834
  create:
835
- invalid: Se ha producido un error al leer el archivo CSV.
835
+ invalid: Se produjo un error al leer el archivo CSV.
836
836
  success: Archivo CSV subido correctamente, estamos enviando un correo electrónico de invitación a las participantes. Esto puede tardar un tiempo.
837
837
  new:
838
838
  explanation: 'Sube tu archivo CSV. Debe tener dos columnas con correo electrónico en la primera columna del archivo y el nombre en la última columna del archivo (correo electrónico, nombre) de los usuarios que deseas añadir al espacio participativo, sin encabezados. Evitar usar caracteres no válidos como `<>?%&^*#@()[]=+:;"{}\|` en el nombre de usuario.'
@@ -1039,6 +1039,7 @@ es-PY:
1039
1039
  moderation:
1040
1040
  fields:
1041
1041
  created_at: Fecha de creación
1042
+ deleted_resource: Eliminar recurso
1042
1043
  hidden_at: Fecha de ocultación
1043
1044
  participatory_space: Espacio participativo
1044
1045
  report_count: Recuento
@@ -184,7 +184,7 @@ es:
184
184
  error: Ha habido un error al aceptar los Términos y Condiciones de Administración.
185
185
  success: '¡Genial! Has aceptado los Términos y Condiciones de Administración.'
186
186
  actions:
187
- accept: Estoy de acuerdo con los siguientes términos
187
+ accept: Estoy de acuerdo con los términos
188
188
  are_you_sure: '¿Seguro que deseas rechazar los términos de uso para administradoras?'
189
189
  refuse: Rechazar los Términos y Condiciones de Administración
190
190
  title: Acepto los Términos y Condiciones de Administración
@@ -832,7 +832,7 @@ es:
832
832
  title: Nueva participante de espacio de participación privado.
833
833
  participatory_space_private_users_csv_imports:
834
834
  create:
835
- invalid: Se ha producido un error al leer el archivo CSV.
835
+ invalid: Se produjo un error al leer el archivo CSV.
836
836
  success: Archivo CSV subido correctamente, estamos enviando un correo electrónico de invitación a las participantes. Esto puede tardar un tiempo.
837
837
  new:
838
838
  explanation: 'Sube tu archivo CSV. Debe tener dos columnas con correo electrónico en la primera columna del archivo y el nombre en la última columna del archivo (correo electrónico, nombre) de los usuarios que deseas añadir al espacio participativo, sin encabezados. Evitar usar caracteres no válidos como `<>?%&^*#@()[]=+:;"{}\|` en el nombre de usuario.'
@@ -1039,6 +1039,7 @@ es:
1039
1039
  moderation:
1040
1040
  fields:
1041
1041
  created_at: Fecha de creación
1042
+ deleted_resource: Eliminar recurso
1042
1043
  hidden_at: Fecha de ocultación
1043
1044
  participatory_space: Espacio participativo
1044
1045
  report_count: Recuento