decidim-admin 0.27.0.rc2 → 0.27.1

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.

Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/decidim/admin/organization_controller.rb +1 -0
  3. data/app/forms/decidim/admin/participatory_space_private_user_csv_import_form.rb +3 -1
  4. data/app/forms/decidim/admin/user_group_csv_verification_form.rb +10 -0
  5. data/app/packs/stylesheets/decidim/admin/extra/_quill.scss +7 -0
  6. data/app/packs/stylesheets/decidim/admin/modules/_modules.scss +0 -1
  7. data/app/permissions/decidim/admin/permissions.rb +15 -2
  8. data/app/views/decidim/admin/dashboard/show.html.erb +1 -1
  9. data/app/views/decidim/admin/imports/new.html.erb +1 -1
  10. data/app/views/decidim/admin/moderations/index.html.erb +8 -4
  11. data/app/views/decidim/admin/moderations/reports/index.html.erb +5 -1
  12. data/config/locales/ar.yml +1 -2
  13. data/config/locales/ca.yml +11 -2
  14. data/config/locales/cs.yml +23 -15
  15. data/config/locales/de.yml +0 -1
  16. data/config/locales/el.yml +0 -1
  17. data/config/locales/en.yml +10 -1
  18. data/config/locales/es-MX.yml +11 -2
  19. data/config/locales/es-PY.yml +11 -2
  20. data/config/locales/es.yml +11 -2
  21. data/config/locales/eu.yml +10 -2
  22. data/config/locales/fi-plain.yml +11 -2
  23. data/config/locales/fi.yml +11 -2
  24. data/config/locales/fr-CA.yml +11 -2
  25. data/config/locales/fr.yml +11 -2
  26. data/config/locales/gl.yml +0 -1
  27. data/config/locales/gn-PY.yml +1 -0
  28. data/config/locales/hu.yml +13 -5
  29. data/config/locales/id-ID.yml +3 -0
  30. data/config/locales/it.yml +0 -1
  31. data/config/locales/ja.yml +9 -1
  32. data/config/locales/lb.yml +0 -1
  33. data/config/locales/lo-LA.yml +1 -0
  34. data/config/locales/lt.yml +1 -2
  35. data/config/locales/nl.yml +0 -1
  36. data/config/locales/no.yml +0 -1
  37. data/config/locales/oc-FR.yml +1 -0
  38. data/config/locales/pl.yml +1 -1
  39. data/config/locales/pt-BR.yml +0 -1
  40. data/config/locales/pt.yml +0 -1
  41. data/config/locales/ro-RO.yml +27 -1
  42. data/config/locales/sv.yml +0 -1
  43. data/config/locales/tr-TR.yml +0 -1
  44. data/lib/decidim/admin/engine.rb +11 -1
  45. data/lib/decidim/admin/test/manage_moderations_examples.rb +72 -0
  46. data/lib/decidim/admin/version.rb +1 -1
  47. metadata +13 -11
  48. 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: a5ed15c6f0a16e84e95cb02c129c2b52cb40bccf9c8b90b85c8bc1c7012e1412
4
- data.tar.gz: 46b07fc0bf82a571a725d3f3e8eca721bac6fd37faa09876a17cbaa5a565d36b
3
+ metadata.gz: 399cc5589db0458cee2bf851d0d1f0c29457ac3f93561ff225c56338f2b6ca45
4
+ data.tar.gz: 648fe82cd00d83ed89aa09465ea446692fc8233c1149b02314ee343ef9cc9909
5
5
  SHA512:
6
- metadata.gz: 61558f5b7c81beada95e0fe404e20dae4365cd93b0119ab20d2a238cd3bb2b6509b54a5579787971793f67f22b43679aff0502a7569d037665955e26571bcf41
7
- data.tar.gz: 90e6c74f71c60251c4ebe7d7d46894db2681558f68843bb4bd5d9001a2fd32cebf63ee705951d535670e6634c5d62820d1794c2c87c053abb73cf22b9a5e0d61
6
+ metadata.gz: 876ed91ecd9d55bab82bb452e9a0d49b7598c33aa01bc6a5681725a761598664f5742471322f7a9ddaf1e9f37ba1e4086fa07d823722fc5282e793229f65c92b
7
+ data.tar.gz: 69a61b39d4b00f36a1e43fd0d5e9521e7e8bbd77ca159b49d56196a8565b4c0517e6298e4dde3acbcb4b6c6c5bac5d1f74e836c0af027d3f7e9e9a368bfde709
@@ -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
@@ -21,10 +21,12 @@ module Decidim
21
21
  return if file.blank?
22
22
 
23
23
  process_file_locally(file) do |file_path|
24
- CSV.foreach(file_path) do |_email, user_name|
24
+ CSV.foreach(file_path, encoding: "BOM|UTF-8") do |_email, user_name|
25
25
  errors.add(:user_name, :invalid) unless user_name.match?(UserBaseEntity::REGEXP_NAME)
26
26
  end
27
27
  end
28
+ rescue CSV::MalformedCSVError
29
+ errors.add(:file, :malformed)
28
30
  end
29
31
  end
30
32
  end
@@ -6,10 +6,20 @@ module Decidim
6
6
  #
7
7
  class UserGroupCsvVerificationForm < Form
8
8
  include Decidim::HasUploadValidations
9
+ include Decidim::ProcessesFileLocally
9
10
 
10
11
  attribute :file, Decidim::Attributes::Blob
11
12
 
12
13
  validates :file, presence: true, file_content_type: { allow: ["text/csv"] }
14
+ validate :validate_csv, unless: ->(f) { f.file.blank? }
15
+
16
+ def validate_csv
17
+ process_file_locally(file) do |file_path|
18
+ CSV.open(file_path, &:readline)
19
+ end
20
+ rescue CSV::MalformedCSVError
21
+ errors.add(:file, :malformed)
22
+ end
13
23
  end
14
24
  end
15
25
  end
@@ -3,3 +3,10 @@
3
3
  background: #eee;
4
4
  }
5
5
  }
6
+
7
+ .editor-container{
8
+ ul,
9
+ ol{
10
+ margin-bottom: 1rem;
11
+ }
12
+ }
@@ -30,7 +30,6 @@
30
30
  @import "stylesheets/decidim/admin/modules/agenda";
31
31
  @import "stylesheets/decidim/admin/modules/draggable-list";
32
32
  @import "stylesheets/decidim/admin/modules/loading-spinner";
33
- @import "stylesheets/decidim/admin/modules/import_result";
34
33
  @import "stylesheets/decidim/admin/modules/reveal";
35
34
  @import "stylesheets/decidim/admin/modules/upload_modal";
36
35
 
@@ -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
 
@@ -102,6 +104,11 @@ module Decidim
102
104
  end
103
105
  end
104
106
 
107
+ def read_user_statistics_action?
108
+ permission_action.subject == :users_statistics &&
109
+ permission_action.action == :read
110
+ end
111
+
105
112
  def read_metrics_action?
106
113
  permission_action.subject == :metrics &&
107
114
  permission_action.action == :read
@@ -129,6 +136,11 @@ module Decidim
129
136
  end
130
137
  end
131
138
 
139
+ def templates_action?
140
+ permission_action.subject == :templates &&
141
+ permission_action.action == :read
142
+ end
143
+
132
144
  def organization_action?
133
145
  return unless permission_action.subject == :organization
134
146
  return unless permission_action.action == :update
@@ -140,6 +152,7 @@ module Decidim
140
152
  return unless permission_action.subject == :managed_user
141
153
  return user_manager_permissions if user_manager?
142
154
  return unless user&.admin?
155
+ return unless user&.admin_terms_accepted?
143
156
 
144
157
  case permission_action.action
145
158
  when :create
@@ -184,7 +197,7 @@ module Decidim
184
197
 
185
198
  def space_allows_admin_access_to_current_action?(require_admin_terms_accepted: false)
186
199
  Decidim.participatory_space_manifests.any? do |manifest|
187
- next if manifest.name != :initiatives && require_admin_terms_accepted && !admin_terms_accepted?
200
+ next if require_admin_terms_accepted && !admin_terms_accepted?
188
201
 
189
202
  new_permission_action = Decidim::PermissionAction.new(
190
203
  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>
@@ -160,7 +160,6 @@ ar:
160
160
  accept:
161
161
  success: رائع! لقد قمت بالموافقة على شروط الإستخدام للمدير.
162
162
  actions:
163
- accept: أوافق على شروط الإستخدام التالية
164
163
  refuse: ارفض شروط المدير
165
164
  title: وافق على شروط وأحكام الإستخدام
166
165
  required_review:
@@ -743,7 +742,7 @@ ar:
743
742
  title: مشارك جديد الفضاء الخاص المشارك.
744
743
  participatory_space_private_users_csv_imports:
745
744
  create:
746
- invalid: حدثت مشكلة أثناء قراءة ملف CSV.
745
+ invalid: حدثت مشكلة في قراءة ملف CSV.
747
746
  new:
748
747
  destroy:
749
748
  button: حذف جميع المشاركين الخاصين
@@ -78,7 +78,7 @@ ca:
78
78
  organization_admin_name: Nom de l'administradora de l'organització
79
79
  organization_locales: Idiomes de l'organització
80
80
  primary_color: Primària
81
- reference_prefix: prefix de referència
81
+ reference_prefix: Prefix de referència
82
82
  rich_text_editor_in_public_views: Habilitar l'editor de text enriquit
83
83
  secondary_color: Secundari
84
84
  secondary_hosts: Hosts secundaris
@@ -134,6 +134,14 @@ ca:
134
134
  allowed_file_content_types: Fitxer d'imatge no vàlid
135
135
  official_img_header:
136
136
  allowed_file_content_types: Fitxer d'imatge no vàlid
137
+ participatory_space_private_user_csv_import:
138
+ attributes:
139
+ file:
140
+ malformed: Arxiu d'importació mal formatat, si us plau, llegeix les instruccions curosament i assegura't que l'arxiu està codificat en UTF-8.
141
+ user_group_csv_verification:
142
+ attributes:
143
+ file:
144
+ malformed: Arxiu d'importació mal formatat, si us plau, llegeix les instruccions curosament i assegura't que l'arxiu està codificat en UTF-8.
137
145
  new_import:
138
146
  attributes:
139
147
  file:
@@ -185,7 +193,7 @@ ca:
185
193
  error: S'ha produït un error en acceptar els Termes i Condicions dell panell d'administració.
186
194
  success: Genial! Has acceptat els Termes i Condicions del panell d'administració.
187
195
  actions:
188
- accept: Estic d'acord amb els termes següents
196
+ accept: Estic d'acord amb els termes
189
197
  are_you_sure: Segur que vols rebutjar els termes i condicions del panell d'administració?
190
198
  refuse: Rebutjar els termes
191
199
  title: Accepto els Termes i Condicions d'Administració
@@ -1057,6 +1065,7 @@ ca:
1057
1065
  moderation:
1058
1066
  fields:
1059
1067
  created_at: Data de creació
1068
+ deleted_resource: Elimina el recurs
1060
1069
  hidden_at: Data d'ocultació
1061
1070
  participatory_space: Espai de participació
1062
1071
  report_count: Recompte
@@ -134,6 +134,14 @@ cs:
134
134
  allowed_file_content_types: Neplatný soubor s obrázkem
135
135
  official_img_header:
136
136
  allowed_file_content_types: Neplatný soubor s obrázkem
137
+ participatory_space_private_user_csv_import:
138
+ attributes:
139
+ file:
140
+ malformed: Chybný importní soubor, přečtěte si pozorně pokyny a ujistěte se, že soubor je kódovaný UTF-8.
141
+ user_group_csv_verification:
142
+ attributes:
143
+ file:
144
+ malformed: Chybný importní soubor, přečtěte si pozorně pokyny a ujistěte se, že soubor je kódovaný UTF-8.
137
145
  new_import:
138
146
  attributes:
139
147
  file:
@@ -185,8 +193,7 @@ cs:
185
193
  error: Při přijímání správcovských podmínek použití došlo k chybě.
186
194
  success: Skvělé! Přijali jste administrátorské podmínky použití.
187
195
  actions:
188
- accept: Souhlasím s následujícími podmínkami
189
- are_you_sure: Oravdu chcete odmítnout podmínky používání správce?
196
+ are_you_sure: Opravdu chcete odmítnout Podmínky použití pro správce?
190
197
  refuse: Odmítnout administrátorské podmínky
191
198
  title: Souhlasit s podmínkami používání
192
199
  required_review:
@@ -214,7 +221,7 @@ cs:
214
221
  error: Při vytváření nové oblasti došlo k chybě.
215
222
  success: Oblast byla úspěšně vytvořena.
216
223
  destroy:
217
- 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.
224
+ 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.
218
225
  success: Oblast úspěšně zničena
219
226
  edit:
220
227
  title: Upravit oblast
@@ -507,9 +514,9 @@ cs:
507
514
  example_error: Nelze vytvořit příklad pro daný typ
508
515
  new:
509
516
  accepted_mime_types:
510
- csv: csv
511
- json: json
512
- xlsx: xlsx
517
+ csv: CSV
518
+ json: JSON
519
+ xlsx: Excel (.xlsx)
513
520
  actions:
514
521
  back: Zpět
515
522
  download_example: Stáhnout příklad
@@ -594,11 +601,11 @@ cs:
594
601
  name: Participační prostor soukromého účastníka
595
602
  scope:
596
603
  fields:
597
- name: název
604
+ name: Název
598
605
  scope_type: Typ oblasti působnosti
599
606
  scope_type:
600
607
  fields:
601
- name: název
608
+ name: Název
602
609
  plural: Množné číslo
603
610
  share_token:
604
611
  fields:
@@ -617,7 +624,7 @@ cs:
617
624
  created_at: Datum vzniku
618
625
  email: E-mail
619
626
  last_sign_in_at: Datum posledního přihlášení
620
- name: název
627
+ name: Název
621
628
  role: Role
622
629
  roles:
623
630
  admin: Správce
@@ -628,7 +635,7 @@ cs:
628
635
  actions: Akce
629
636
  created_at: Vytvořeno v
630
637
  document_number: Číslo dokumentu
631
- name: název
638
+ name: Název
632
639
  phone: Telefon
633
640
  state: Stav
634
641
  users_count: Počet účastníků
@@ -744,15 +751,15 @@ cs:
744
751
  error: Při blokování uživatele došlo k chybě
745
752
  success: Uživatel byl úspěšně zablokován
746
753
  create:
747
- success: Uživatel úspěšně oficializován
754
+ success: Účastník úspěšně oficiálně zaregistrován
748
755
  destroy:
749
- success: Uživatel úspěšně zbaven oficializace
756
+ success: Uživatel úspěšně zbaven oficiální registrace
750
757
  index:
751
758
  actions: Akce
752
759
  badge: Odznak
753
760
  block: Zablokovat uživatele
754
761
  created_at: Vytvořeno na
755
- name: název
762
+ name: Název
756
763
  nickname: Přezdívka
757
764
  not_officialized: Neověřeno
758
765
  officialize: Ověřit
@@ -786,7 +793,7 @@ cs:
786
793
  facebook: Facebook
787
794
  github: GitHub
788
795
  instagram: Instagram
789
- 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.
796
+ 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.
790
797
  social_handlers: Sociální
791
798
  twitter: Twitter
792
799
  url: URL
@@ -997,7 +1004,7 @@ cs:
997
1004
  user_groups:
998
1005
  index:
999
1006
  state:
1000
- pending: čekající
1007
+ pending: Čekající
1001
1008
  rejected: Odmítnuto
1002
1009
  verified: Ověřeno
1003
1010
  verify_via_csv: Ověřit pomocí CSV
@@ -1067,6 +1074,7 @@ cs:
1067
1074
  moderation:
1068
1075
  fields:
1069
1076
  created_at: Datum vytvoření
1077
+ deleted_resource: Smazaný dokument
1070
1078
  hidden_at: Skryté u
1071
1079
  participatory_space: Participativní prostor
1072
1080
  report_count: Spočítat
@@ -185,7 +185,6 @@ de:
185
185
  error: Beim Akzeptieren der Nutzungsbedingungen ist ein Fehler aufgetreten.
186
186
  success: Super! Sie haben die Admin-Nutzungsbedingungen akzeptiert.
187
187
  actions:
188
- accept: Ich stimme den folgenden Bedingungen zu
189
188
  are_you_sure: Sind Sie sicher, dass Sie die Admin-Nutzungsbedingungen ablehnen möchten?
190
189
  refuse: Die Admin-Nutzungsbedingungen ablehnen
191
190
  title: Den Admin-Nutzungsbedingungen zustimmen
@@ -178,7 +178,6 @@ el:
178
178
  error: Υπήρξε ένα σφάλμα κατά την αποδοχή των όρων χρήσης διαχειριστή.
179
179
  success: Εξαιρετικά! Αποδεχτήκατε τους όρους χρήσης διαχειριστή.
180
180
  actions:
181
- accept: Συμφωνώ με τους ακόλουθους όρους
182
181
  are_you_sure: Είστε σίγουρος ότι θέλετε να αρνηθείτε τους όρους χρήσης του διαχειριστή;
183
182
  refuse: Απόρριψη των όρων διαχειριστή
184
183
  title: Αποδοχή των όρων και των προϋποθέσεων χρήσης
@@ -134,6 +134,14 @@ en:
134
134
  allowed_file_content_types: Invalid image file
135
135
  official_img_header:
136
136
  allowed_file_content_types: Invalid image file
137
+ participatory_space_private_user_csv_import:
138
+ attributes:
139
+ file:
140
+ malformed: Malformed import file, please read through the instructions carefully and make sure the file is UTF-8 encoded.
141
+ user_group_csv_verification:
142
+ attributes:
143
+ file:
144
+ malformed: Malformed import file, please read through the instructions carefully and make sure the file is UTF-8 encoded.
137
145
  new_import:
138
146
  attributes:
139
147
  file:
@@ -185,7 +193,7 @@ en:
185
193
  error: There's been an error while accepting the admin terms of use.
186
194
  success: Great! You've accepted the admin terms of use.
187
195
  actions:
188
- accept: I agree with the following terms
196
+ accept: I agree with the terms
189
197
  are_you_sure: Are you sure you want to refuse the admin terms of use?
190
198
  refuse: Refuse the admin terms
191
199
  title: Agree to the terms and conditions of use
@@ -1057,6 +1065,7 @@ en:
1057
1065
  moderation:
1058
1066
  fields:
1059
1067
  created_at: Creation date
1068
+ deleted_resource: Deleted resource
1060
1069
  hidden_at: Hidden at
1061
1070
  participatory_space: Participatory space
1062
1071
  report_count: Count
@@ -134,6 +134,14 @@ es-MX:
134
134
  allowed_file_content_types: Archivo de imagen no válido
135
135
  official_img_header:
136
136
  allowed_file_content_types: Archivo de imagen no válido
137
+ participatory_space_private_user_csv_import:
138
+ attributes:
139
+ file:
140
+ malformed: Archivo de importación mal formateado, por favor lea las instrucciones cuidadosamente y asegúrese de que el archivo está codificado en UTF-8.
141
+ user_group_csv_verification:
142
+ attributes:
143
+ file:
144
+ malformed: Archivo de importación mal formateado, por favor lea las instrucciones cuidadosamente y asegúrese de que el archivo está codificado en UTF-8.
137
145
  new_import:
138
146
  attributes:
139
147
  file:
@@ -185,7 +193,7 @@ es-MX:
185
193
  error: Ha habido un error al aceptar los Términos y Condiciones de Administración.
186
194
  success: '¡Genial! Has aceptado los Términos y Condiciones de Administración.'
187
195
  actions:
188
- accept: Estoy de acuerdo con los siguientes términos
196
+ accept: Estoy de acuerdo con los términos
189
197
  are_you_sure: '¿Seguro que deseas rechazar los términos de uso para administradoras?'
190
198
  refuse: Rechazar los Términos y Condiciones de Administración
191
199
  title: Acepto los Términos y Condiciones de Administración
@@ -835,7 +843,7 @@ es-MX:
835
843
  title: Nuevo usuario privado en el espacio participativo.
836
844
  participatory_space_private_users_csv_imports:
837
845
  create:
838
- invalid: Se ha producido un error al leer el archivo CSV.
846
+ invalid: Se produjo un error al leer el archivo CSV.
839
847
  success: Archivo CSV subido correctamente, estamos enviando un correo electrónico de invitación a las participantes. Esto puede tardar un tiempo.
840
848
  new:
841
849
  destroy:
@@ -1057,6 +1065,7 @@ es-MX:
1057
1065
  moderation:
1058
1066
  fields:
1059
1067
  created_at: Fecha de creación
1068
+ deleted_resource: Eliminar recurso
1060
1069
  hidden_at: Fecha de ocultación
1061
1070
  participatory_space: Espacio participativo
1062
1071
  report_count: Recuento
@@ -134,6 +134,14 @@ es-PY:
134
134
  allowed_file_content_types: Archivo de imagen no válido
135
135
  official_img_header:
136
136
  allowed_file_content_types: Archivo de imagen no válido
137
+ participatory_space_private_user_csv_import:
138
+ attributes:
139
+ file:
140
+ malformed: Archivo de importación mal formateado, por favor lea las instrucciones cuidadosamente y asegúrese de que el archivo está codificado en UTF-8.
141
+ user_group_csv_verification:
142
+ attributes:
143
+ file:
144
+ malformed: Archivo de importación mal formateado, por favor lea las instrucciones cuidadosamente y asegúrese de que el archivo está codificado en UTF-8.
137
145
  new_import:
138
146
  attributes:
139
147
  file:
@@ -185,7 +193,7 @@ es-PY:
185
193
  error: Ha habido un error al aceptar los Términos y Condiciones de Administración.
186
194
  success: '¡Genial! Has aceptado los Términos y Condiciones de Administración.'
187
195
  actions:
188
- accept: Estoy de acuerdo con los siguientes términos
196
+ accept: Estoy de acuerdo con los términos
189
197
  are_you_sure: '¿Seguro que deseas rechazar los términos de uso para administradoras?'
190
198
  refuse: Rechazar los Términos y Condiciones de Administración
191
199
  title: Acepto los Términos y Condiciones de Administración
@@ -835,7 +843,7 @@ es-PY:
835
843
  title: Nuevo usuario privado en el espacio participativo.
836
844
  participatory_space_private_users_csv_imports:
837
845
  create:
838
- invalid: Se ha producido un error al leer el archivo CSV.
846
+ invalid: Se produjo un error al leer el archivo CSV.
839
847
  success: Archivo CSV subido correctamente, estamos enviando un correo electrónico de invitación a las participantes. Esto puede tardar un tiempo.
840
848
  new:
841
849
  destroy:
@@ -1057,6 +1065,7 @@ es-PY:
1057
1065
  moderation:
1058
1066
  fields:
1059
1067
  created_at: Fecha de creación
1068
+ deleted_resource: Eliminar recurso
1060
1069
  hidden_at: Fecha de ocultación
1061
1070
  participatory_space: Espacio participativo
1062
1071
  report_count: Recuento
@@ -134,6 +134,14 @@ es:
134
134
  allowed_file_content_types: Archivo de imagen no válido
135
135
  official_img_header:
136
136
  allowed_file_content_types: Archivo de imagen no válido
137
+ participatory_space_private_user_csv_import:
138
+ attributes:
139
+ file:
140
+ malformed: Archivo de importación mal formateado, por favor lea las instrucciones cuidadosamente y asegúrese de que el archivo está codificado en UTF-8.
141
+ user_group_csv_verification:
142
+ attributes:
143
+ file:
144
+ malformed: Archivo de importación mal formateado, por favor lea las instrucciones cuidadosamente y asegúrese de que el archivo está codificado en UTF-8.
137
145
  new_import:
138
146
  attributes:
139
147
  file:
@@ -185,7 +193,7 @@ es:
185
193
  error: Ha habido un error al aceptar los Términos y Condiciones de Administración.
186
194
  success: '¡Genial! Has aceptado los Términos y Condiciones de Administración.'
187
195
  actions:
188
- accept: Estoy de acuerdo con los siguientes términos
196
+ accept: Estoy de acuerdo con los términos
189
197
  are_you_sure: '¿Seguro que deseas rechazar los términos de uso para administradoras?'
190
198
  refuse: Rechazar los Términos y Condiciones de Administración
191
199
  title: Acepto los Términos y Condiciones de Administración
@@ -835,7 +843,7 @@ es:
835
843
  title: Nueva participante de espacio de participación privado.
836
844
  participatory_space_private_users_csv_imports:
837
845
  create:
838
- invalid: Se ha producido un error al leer el archivo CSV.
846
+ invalid: Se produjo un error al leer el archivo CSV.
839
847
  success: Archivo CSV subido correctamente, estamos enviando un correo electrónico de invitación a las participantes. Esto puede tardar un tiempo.
840
848
  new:
841
849
  destroy:
@@ -1057,6 +1065,7 @@ es:
1057
1065
  moderation:
1058
1066
  fields:
1059
1067
  created_at: Fecha de creación
1068
+ deleted_resource: Eliminar recurso
1060
1069
  hidden_at: Fecha de ocultación
1061
1070
  participatory_space: Espacio participativo
1062
1071
  report_count: Recuento
@@ -130,6 +130,14 @@ eu:
130
130
  allowed_file_content_types: Irudi fitxategi baliogabea
131
131
  official_img_header:
132
132
  allowed_file_content_types: Irudi fitxategi baliogabea
133
+ participatory_space_private_user_csv_import:
134
+ attributes:
135
+ file:
136
+ malformed: Fitxategia akastuna da. Irakurri arretaz jarraibideak eta ziurtatu fitxategia UTF-8an kodifikatuta dagoela.
137
+ user_group_csv_verification:
138
+ attributes:
139
+ file:
140
+ malformed: Fitxategia akastuna da. Irakurri arretaz jarraibideak eta ziurtatu fitxategia UTF-8an kodifikatuta dagoela.
133
141
  new_import:
134
142
  attributes:
135
143
  file:
@@ -179,7 +187,7 @@ eu:
179
187
  error: Errorea gertatu da Administrazioaren Gaiak eta Baldintzak onartzean.
180
188
  success: Ederto! Onartu dituzu Administrazioaren Gaiak eta Baldintzak.
181
189
  actions:
182
- accept: Ados nago ondoko gai hauekin
190
+ accept: Ados nago
183
191
  are_you_sure: Ziur zaude ez dituzula onartu nahi administratzaileentzako erabilera-irizpideak?
184
192
  refuse: Ez onartu Administrazio-irizpideak eta baldintzak
185
193
  title: Onartzen ditut Administrazio-irizpideak eta baldintzak
@@ -808,7 +816,7 @@ eu:
808
816
  title: Erabiltzaile pribatuaren parte hartzailea.
809
817
  participatory_space_private_users_csv_imports:
810
818
  create:
811
- invalid: Errorea gertatu da CSV artxiboa irakurtzean.
819
+ invalid: Errore bat gertatu da CSV fitxategia irakurtzean.
812
820
  success: CSV fitxategia zuzen igo da, eta parte-hartzaileei gonbidapen-mezu elektroniko bat bidaltzen ari gara. Horrek denbora behar du.
813
821
  new:
814
822
  explanation: 'Igo zure CSV fitxategia. Bi zutabe izan behar ditu, artxiboaren lehen zutabean eremu parte-hartzailera gehitu nahi dituzun erabiltzaileen posta elektronikoa, eta izena azken zutabean (posta elektronikoa, izena), goibururik gabe. Ez erabili balio ez duten karaktererik erabiltzaile-izenean, hala nola: `<>?%&^*#@()[]=+:;"{}\|`.'
@@ -134,6 +134,14 @@ fi-pl:
134
134
  allowed_file_content_types: Virheellinen kuvatiedosto
135
135
  official_img_header:
136
136
  allowed_file_content_types: Virheellinen kuvatiedosto
137
+ participatory_space_private_user_csv_import:
138
+ attributes:
139
+ file:
140
+ malformed: Virheellinen tuontitiedosto, lue ohjeet huolellisesti ja varmista, että tiedosto on UTF-8 muodossa.
141
+ user_group_csv_verification:
142
+ attributes:
143
+ file:
144
+ malformed: Virheellinen tuontitiedosto, lue ohjeet huolellisesti ja varmista, että tiedosto on UTF-8 muodossa.
137
145
  new_import:
138
146
  attributes:
139
147
  file:
@@ -185,7 +193,7 @@ fi-pl:
185
193
  error: Hallintakäyttäjän ehtojen hyväksymisessä tapahtui virhe.
186
194
  success: Hienoa! Olet hyväksynyt hallintakäyttäjän ehdot.
187
195
  actions:
188
- accept: Hyväksyn seuraavat ehdot
196
+ accept: Hyväksyn ehdot
189
197
  are_you_sure: Oletko varma, että haluat kieltäytyä hyväksymästä hallintakäyttäjien käyttöehtoja?
190
198
  refuse: Kieltäydy hyväksymästä hallintakäyttäjän ehtoja
191
199
  title: Hyväksy käyttöehdot
@@ -835,7 +843,7 @@ fi-pl:
835
843
  title: Uusi osallisuustilan yksityinen käyttäjä.
836
844
  participatory_space_private_users_csv_imports:
837
845
  create:
838
- invalid: CSV-tiedostossa on ongelma.
846
+ invalid: CSV-tiedoston käsittelyssä tapahtui virhe.
839
847
  success: CSV-tiedosto ladattu onnistuneesti. Lähetämme kutsusähköpostin osallistujille. Tämä voi kestää hetken.
840
848
  new:
841
849
  destroy:
@@ -1057,6 +1065,7 @@ fi-pl:
1057
1065
  moderation:
1058
1066
  fields:
1059
1067
  created_at: Luonnin ajankohta
1068
+ deleted_resource: Poistettu tietue
1060
1069
  hidden_at: Piilotuksen ajankohta
1061
1070
  participatory_space: Osallistumistila
1062
1071
  report_count: Määrä