decidim-admin 0.27.0 → 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.
- checksums.yaml +4 -4
- data/app/controllers/decidim/admin/organization_controller.rb +1 -0
- data/app/forms/decidim/admin/participatory_space_private_user_csv_import_form.rb +3 -1
- data/app/forms/decidim/admin/user_group_csv_verification_form.rb +10 -0
- data/app/packs/stylesheets/decidim/admin/extra/_quill.scss +7 -0
- data/app/packs/stylesheets/decidim/admin/modules/_modules.scss +0 -1
- data/app/permissions/decidim/admin/permissions.rb +15 -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/moderations/index.html.erb +8 -4
- data/app/views/decidim/admin/moderations/reports/index.html.erb +5 -1
- data/config/locales/ar.yml +1 -2
- data/config/locales/ca.yml +11 -2
- data/config/locales/cs.yml +9 -1
- data/config/locales/de.yml +0 -1
- data/config/locales/el.yml +0 -1
- data/config/locales/en.yml +10 -1
- data/config/locales/es-MX.yml +11 -2
- data/config/locales/es-PY.yml +11 -2
- data/config/locales/es.yml +11 -2
- data/config/locales/eu.yml +10 -2
- data/config/locales/fi-plain.yml +11 -2
- data/config/locales/fi.yml +11 -2
- data/config/locales/fr-CA.yml +11 -2
- data/config/locales/fr.yml +11 -2
- data/config/locales/gl.yml +0 -1
- data/config/locales/gn-PY.yml +1 -0
- data/config/locales/hu.yml +2 -2
- data/config/locales/id-ID.yml +3 -0
- data/config/locales/it.yml +0 -1
- data/config/locales/ja.yml +9 -1
- data/config/locales/lb.yml +0 -1
- data/config/locales/lo-LA.yml +1 -0
- data/config/locales/lt.yml +1 -2
- data/config/locales/nl.yml +0 -1
- data/config/locales/no.yml +0 -1
- data/config/locales/pl.yml +1 -1
- data/config/locales/pt-BR.yml +0 -1
- data/config/locales/pt.yml +0 -1
- data/config/locales/ro-RO.yml +27 -1
- data/config/locales/sv.yml +0 -1
- data/config/locales/tr-TR.yml +0 -1
- data/lib/decidim/admin/engine.rb +11 -1
- data/lib/decidim/admin/test/manage_moderations_examples.rb +72 -0
- data/lib/decidim/admin/version.rb +1 -1
- metadata +10 -9
- 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 399cc5589db0458cee2bf851d0d1f0c29457ac3f93561ff225c56338f2b6ca45
|
4
|
+
data.tar.gz: 648fe82cd00d83ed89aa09465ea446692fc8233c1149b02314ee343ef9cc9909
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
@@ -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
|
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
|
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.
|
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
|
-
|
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
|
-
|
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>
|
data/config/locales/ar.yml
CHANGED
@@ -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: حدثت مشكلة
|
745
|
+
invalid: حدثت مشكلة في قراءة ملف CSV.
|
747
746
|
new:
|
748
747
|
destroy:
|
749
748
|
button: حذف جميع المشاركين الخاصين
|
data/config/locales/ca.yml
CHANGED
@@ -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:
|
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
|
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
|
data/config/locales/cs.yml
CHANGED
@@ -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,7 +193,6 @@ 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
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í
|
@@ -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
|
data/config/locales/de.yml
CHANGED
@@ -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
|
data/config/locales/el.yml
CHANGED
@@ -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: Αποδοχή των όρων και των προϋποθέσεων χρήσης
|
data/config/locales/en.yml
CHANGED
@@ -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
|
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
|
data/config/locales/es-MX.yml
CHANGED
@@ -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
|
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
|
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
|
data/config/locales/es-PY.yml
CHANGED
@@ -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
|
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
|
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
|
data/config/locales/es.yml
CHANGED
@@ -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
|
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
|
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
|
data/config/locales/eu.yml
CHANGED
@@ -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
|
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:
|
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: `<>?%&^*#@()[]=+:;"{}\|`.'
|
data/config/locales/fi-plain.yml
CHANGED
@@ -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
|
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-
|
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ä
|
data/config/locales/fi.yml
CHANGED
@@ -134,6 +134,14 @@ fi:
|
|
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:
|
|
185
193
|
error: Hallintakäyttäjän ehtojen hyväksyminen epäonnistui.
|
186
194
|
success: Hienoa! Olet hyväksynyt hallintakäyttäjän ehdot.
|
187
195
|
actions:
|
188
|
-
accept: Hyväksyn
|
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:
|
|
835
843
|
title: Uusi osallistumistilan yksityinen käyttäjä.
|
836
844
|
participatory_space_private_users_csv_imports:
|
837
845
|
create:
|
838
|
-
invalid: CSV-
|
846
|
+
invalid: CSV-tiedoston käsittely epäonnistui.
|
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:
|
|
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ä
|
data/config/locales/fr-CA.yml
CHANGED
@@ -134,6 +134,14 @@ fr-CA:
|
|
134
134
|
allowed_file_content_types: Fichier image invalide
|
135
135
|
official_img_header:
|
136
136
|
allowed_file_content_types: Fichier image invalide
|
137
|
+
participatory_space_private_user_csv_import:
|
138
|
+
attributes:
|
139
|
+
file:
|
140
|
+
malformed: Fichier d'importation mal formé, veuillez lire attentivement les instructions et assurez-vous que le fichier est encodé en UTF-8.
|
141
|
+
user_group_csv_verification:
|
142
|
+
attributes:
|
143
|
+
file:
|
144
|
+
malformed: Fichier d'importation mal formé, veuillez lire attentivement les instructions et assurez-vous que le fichier est encodé en UTF-8.
|
137
145
|
new_import:
|
138
146
|
attributes:
|
139
147
|
file:
|
@@ -185,7 +193,7 @@ fr-CA:
|
|
185
193
|
error: Une erreur s'est produite lorsque vous avez accepté les conditions d'utilisation administrateur.
|
186
194
|
success: Super! Vous avez accepté les conditions d'utilisation administrateur.
|
187
195
|
actions:
|
188
|
-
accept: J'accepte les conditions d'utilisation
|
196
|
+
accept: J'accepte les conditions d'utilisation
|
189
197
|
are_you_sure: Êtes-vous sûr de vouloir refuser les conditions d'utilisation de l'administrateur?
|
190
198
|
refuse: Refuser les conditions d'utilisation administrateur
|
191
199
|
title: Accepter les conditions d'utilisation
|
@@ -835,7 +843,7 @@ fr-CA:
|
|
835
843
|
title: Nouvel utilisateur privé de l'espace participatif.
|
836
844
|
participatory_space_private_users_csv_imports:
|
837
845
|
create:
|
838
|
-
invalid:
|
846
|
+
invalid: Une erreur s'est produite lors de la lecture du fichier CSV.
|
839
847
|
success: Fichier CSV a été transféré avec succès, nous envoyons un courriel d'invitation aux participants. Cela peut prendre un certain temps.
|
840
848
|
new:
|
841
849
|
destroy:
|
@@ -1057,6 +1065,7 @@ fr-CA:
|
|
1057
1065
|
moderation:
|
1058
1066
|
fields:
|
1059
1067
|
created_at: Date de création
|
1068
|
+
deleted_resource: Ressource supprimée
|
1060
1069
|
hidden_at: Masqué le
|
1061
1070
|
participatory_space: Espace participatif
|
1062
1071
|
report_count: Compteur
|
data/config/locales/fr.yml
CHANGED
@@ -134,6 +134,14 @@ fr:
|
|
134
134
|
allowed_file_content_types: Fichier image invalide
|
135
135
|
official_img_header:
|
136
136
|
allowed_file_content_types: Fichier image invalide
|
137
|
+
participatory_space_private_user_csv_import:
|
138
|
+
attributes:
|
139
|
+
file:
|
140
|
+
malformed: Fichier d'importation mal formé, veuillez lire attentivement les instructions et assurez-vous que le fichier est encodé en UTF-8.
|
141
|
+
user_group_csv_verification:
|
142
|
+
attributes:
|
143
|
+
file:
|
144
|
+
malformed: Fichier d'importation mal formé, veuillez lire attentivement les instructions et assurez-vous que le fichier est encodé en UTF-8.
|
137
145
|
new_import:
|
138
146
|
attributes:
|
139
147
|
file:
|
@@ -185,7 +193,7 @@ fr:
|
|
185
193
|
error: Une erreur s'est produite lorsque vous avez accepté les conditions d'utilisation administrateur.
|
186
194
|
success: Super! Vous avez accepté les conditions d'utilisation administrateur.
|
187
195
|
actions:
|
188
|
-
accept: J'accepte les conditions d'utilisation
|
196
|
+
accept: J'accepte les conditions d'utilisation
|
189
197
|
are_you_sure: Êtes-vous sûr de vouloir refuser les conditions d'utilisation de l'administrateur ?
|
190
198
|
refuse: Refuser les conditions d'utilisation administrateur
|
191
199
|
title: Accepter les conditions d'utilisation
|
@@ -835,7 +843,7 @@ fr:
|
|
835
843
|
title: Nouvel utilisateur privé de l'espace participatif.
|
836
844
|
participatory_space_private_users_csv_imports:
|
837
845
|
create:
|
838
|
-
invalid:
|
846
|
+
invalid: Une erreur s'est produite lors de la lecture du fichier CSV.
|
839
847
|
success: Fichier CSV a été transféré avec succès, nous envoyons un courriel d'invitation aux participants. Cela peut prendre un certain temps.
|
840
848
|
new:
|
841
849
|
destroy:
|
@@ -1057,6 +1065,7 @@ fr:
|
|
1057
1065
|
moderation:
|
1058
1066
|
fields:
|
1059
1067
|
created_at: Date de création
|
1068
|
+
deleted_resource: Ressource supprimée
|
1060
1069
|
hidden_at: Masqué le
|
1061
1070
|
participatory_space: Espace participatif
|
1062
1071
|
report_count: Compteur
|
data/config/locales/gl.yml
CHANGED
@@ -180,7 +180,6 @@ gl:
|
|
180
180
|
error: Produciuse un erro ao aceptar os termos de uso do panel de administración.
|
181
181
|
success: Xenial! Aceptaches os termos de uso do panel de administración.
|
182
182
|
actions:
|
183
|
-
accept: Concordo con seguintes termos
|
184
183
|
refuse: Rexeitar os termos de uso
|
185
184
|
title: Concordo cos termos e condicións de uso
|
186
185
|
required_review:
|
@@ -0,0 +1 @@
|
|
1
|
+
gn:
|
data/config/locales/hu.yml
CHANGED
@@ -185,7 +185,6 @@ hu:
|
|
185
185
|
error: Hiba történt az adminra vonatkozó általános szerződési feltételek elfogadása során.
|
186
186
|
success: Nagyszerű! Elfogadtad az admin felhasználási feltételeket.
|
187
187
|
actions:
|
188
|
-
accept: Elfogadom a következő feltételeket
|
189
188
|
are_you_sure: Biztosan visszautasítod az adminokra vonatkozó feltételek elfogadását?
|
190
189
|
refuse: Admin feltételek elutasítása
|
191
190
|
title: Elfogadom a felhasználási feltételeket
|
@@ -832,7 +831,7 @@ hu:
|
|
832
831
|
title: Új részvételi tér privát felhasználója.
|
833
832
|
participatory_space_private_users_csv_imports:
|
834
833
|
create:
|
835
|
-
invalid: Hiba történt a CSV fájl
|
834
|
+
invalid: Hiba történt a CSV fájl olvasásában.
|
836
835
|
success: A CSV-fájl sikeresen feltöltődött, meghívó e-mailt küldünk a résztvevőknek. Ez eltarthat egy ideig.
|
837
836
|
new:
|
838
837
|
destroy:
|
@@ -1054,6 +1053,7 @@ hu:
|
|
1054
1053
|
moderation:
|
1055
1054
|
fields:
|
1056
1055
|
created_at: Létrehozás dátuma
|
1056
|
+
deleted_resource: Törölt erőforrás
|
1057
1057
|
hidden_at: 'Rejtett itt:'
|
1058
1058
|
participatory_space: Részvételi tér
|
1059
1059
|
report_count: Számol
|
data/config/locales/id-ID.yml
CHANGED
@@ -502,6 +502,9 @@ id:
|
|
502
502
|
new:
|
503
503
|
create: Membuat
|
504
504
|
title: Pengguna Pribadi Ruang Partisipatif Baru.
|
505
|
+
participatory_space_private_users_csv_imports:
|
506
|
+
create:
|
507
|
+
invalid: Ada kesalahan saat membaca file CSV.
|
505
508
|
resource_permissions:
|
506
509
|
edit:
|
507
510
|
submit: Menyerahkan
|
data/config/locales/it.yml
CHANGED
@@ -178,7 +178,6 @@ it:
|
|
178
178
|
error: Si è verificato un errore durante l'accettazione dei termini di utilizzo da parte dell'amministratore.
|
179
179
|
success: Ottimo! Hai accettato i termini d'uso dell'amministratrice/tore.
|
180
180
|
actions:
|
181
|
-
accept: Sono d'accordo con i seguenti termini
|
182
181
|
are_you_sure: Sei sicuro di voler rifiutare i termini di utilizzo dell'amministratore?
|
183
182
|
refuse: Rifiuta i termini di amministrazione
|
184
183
|
title: Accetta i termini e le condizioni di utilizzo
|
data/config/locales/ja.yml
CHANGED
@@ -134,6 +134,14 @@ ja:
|
|
134
134
|
allowed_file_content_types: 無効な画像ファイル
|
135
135
|
official_img_header:
|
136
136
|
allowed_file_content_types: 無効な画像ファイル
|
137
|
+
participatory_space_private_user_csv_import:
|
138
|
+
attributes:
|
139
|
+
file:
|
140
|
+
malformed: インポートファイルの形式が正しくありません。手順を見直して、ファイルがUTF-8でエンコードされていることを確認してください。
|
141
|
+
user_group_csv_verification:
|
142
|
+
attributes:
|
143
|
+
file:
|
144
|
+
malformed: インポートファイルの形式が正しくありません。手順を見直して、ファイルがUTF-8でエンコードされていることを確認してください。
|
137
145
|
new_import:
|
138
146
|
attributes:
|
139
147
|
file:
|
@@ -185,7 +193,6 @@ ja:
|
|
185
193
|
error: 管理者向け利用規約に同意中にエラーが発生しました。
|
186
194
|
success: ありがとうございます、管理者向け利用規約に同意しました。
|
187
195
|
actions:
|
188
|
-
accept: 次の規約に同意します
|
189
196
|
are_you_sure: 管理者向け利用規約を削除してもよろしいですか?
|
190
197
|
refuse: 同意しない
|
191
198
|
title: 利用規約に同意する
|
@@ -1052,6 +1059,7 @@ ja:
|
|
1052
1059
|
moderation:
|
1053
1060
|
fields:
|
1054
1061
|
created_at: 作成日
|
1062
|
+
deleted_resource: 削除されたリソース
|
1055
1063
|
hidden_at: '非表示:'
|
1056
1064
|
participatory_space: 参加型スペース
|
1057
1065
|
report_count: カウント
|
data/config/locales/lb.yml
CHANGED
@@ -178,7 +178,6 @@ lb:
|
|
178
178
|
error: Beim Akzeptieren der Nutzungsbedingungen ist ein Fehler aufgetreten.
|
179
179
|
success: Super! Sie haben die Admin-Nutzungsbedingungen akzeptiert.
|
180
180
|
actions:
|
181
|
-
accept: Ich stimme den folgenden Bedingungen zu
|
182
181
|
are_you_sure: Sidd Dir sécher datt Dir d'Admin Benotzungsconditioune wëllt refuséieren? Sidd Dir sécher datt Dir d'Admin Notzungsbedéngunge refuséiere wëllt?
|
183
182
|
refuse: Die Admin-Nutzungsbedingungen ablehnen
|
184
183
|
title: Den Admin-Nutzungsbedingungen zustimmen
|
@@ -0,0 +1 @@
|
|
1
|
+
lo:
|
data/config/locales/lt.yml
CHANGED
@@ -185,7 +185,6 @@ lt:
|
|
185
185
|
error: Sutinkant su administratoriaus naudojimosi sąlygomis įvyko klaida.
|
186
186
|
success: Puiku! Jūs sutikote su administratoriaus naudojimosi sąlygomis.
|
187
187
|
actions:
|
188
|
-
accept: Sutinku su šiomis nuostatomis
|
189
188
|
are_you_sure: Ar tikrai norite nesutikti su administratoriaus naudojimosi sąlygomis?
|
190
189
|
refuse: Nesutikti su administratoriaus nustatytomis sąlygomis
|
191
190
|
title: Sutikti su naudojimosi sąlygomis
|
@@ -843,7 +842,7 @@ lt:
|
|
843
842
|
title: Naujas dalyvaujamosios erdvės privatus dalyvis.
|
844
843
|
participatory_space_private_users_csv_imports:
|
845
844
|
create:
|
846
|
-
invalid: Skaitant CSV
|
845
|
+
invalid: Skaitant CSV rinkmeną iškilo problema.
|
847
846
|
success: CSV dokumentas įkeltas sėkmingai, dalyviai kviečiami e. laišku - tai gali užtrukti.
|
848
847
|
new:
|
849
848
|
destroy:
|
data/config/locales/nl.yml
CHANGED
@@ -185,7 +185,6 @@ nl:
|
|
185
185
|
error: Er is een fout opgetreden bij het accepteren van de admin gebruiksvoorwaarden.
|
186
186
|
success: Geweldig! Je hebt de admin gebruiksvoorwaarden geaccepteerd.
|
187
187
|
actions:
|
188
|
-
accept: Ik ga akkoord met de volgende voorwaarden
|
189
188
|
are_you_sure: Weet je zeker dat je de Admin gebruiksvoorwaarden wil resetten?
|
190
189
|
refuse: Weiger de admin gebruiksvoorwaarden
|
191
190
|
title: Ga akkoord met de gebruiksvoorwaarden
|
data/config/locales/no.yml
CHANGED
@@ -185,7 +185,6 @@
|
|
185
185
|
error: Det oppstod et problem med å godkjenne administrator vilkårene.
|
186
186
|
success: Flott! Du har godtatt administratorenes vilkår for bruk.
|
187
187
|
actions:
|
188
|
-
accept: Jeg godtar følgende vilkår
|
189
188
|
are_you_sure: Er du sikker på at du vil avslå administratorvilkårene for bruk?
|
190
189
|
refuse: Avslå administratorvilkårene
|
191
190
|
title: Godta vilkårene for bruk
|
data/config/locales/pl.yml
CHANGED
@@ -185,7 +185,6 @@ pl:
|
|
185
185
|
error: Wystąpił błąd podczas akceptowania warunków użytkowania dla administratorów.
|
186
186
|
success: Świetnie! Zaakceptowano warunki użytkowania dla administratorów.
|
187
187
|
actions:
|
188
|
-
accept: Zgadzam się z warunkami użytkowania
|
189
188
|
are_you_sure: Czy na pewno nie wyrażasz zgody na warunki użytkowania dla administratorów?
|
190
189
|
refuse: Nie akceptuję warunków dla administratorów
|
191
190
|
title: Akceptuję warunki użytkowania
|
@@ -1061,6 +1060,7 @@ pl:
|
|
1061
1060
|
moderation:
|
1062
1061
|
fields:
|
1063
1062
|
created_at: Data utworzenia
|
1063
|
+
deleted_resource: Usunięty zasób
|
1064
1064
|
hidden_at: Ukryto
|
1065
1065
|
participatory_space: Przestrzeń partycypacyjna
|
1066
1066
|
report_count: Liczba
|
data/config/locales/pt-BR.yml
CHANGED
@@ -177,7 +177,6 @@ pt-BR:
|
|
177
177
|
error: Ocorreu um erro ao aceitar os termos de uso do administrador.
|
178
178
|
success: Ótimo! Você aceitou os termos de uso do administrador.
|
179
179
|
actions:
|
180
|
-
accept: Concordo com os seguintes termos
|
181
180
|
refuse: Recusar os termos do admin
|
182
181
|
title: Concorde com os termos e condições de uso
|
183
182
|
required_review:
|
data/config/locales/pt.yml
CHANGED
@@ -178,7 +178,6 @@ pt:
|
|
178
178
|
error: Ocorreu um erro ao aceitar os termos de utilização de administrador.
|
179
179
|
success: Excelente! Aceitou os termos de utilização de administrador.
|
180
180
|
actions:
|
181
|
-
accept: Concordo com os seguintes termos
|
182
181
|
are_you_sure: Tem a certeza que quer rejeitar os termos de utilização de administrador?
|
183
182
|
refuse: Recusar os termos de administrador
|
184
183
|
title: Concordar com os termos e condições de utilização
|
data/config/locales/ro-RO.yml
CHANGED
@@ -124,12 +124,24 @@ ro:
|
|
124
124
|
file: Fişier
|
125
125
|
errors:
|
126
126
|
models:
|
127
|
+
newsletter:
|
128
|
+
attributes:
|
129
|
+
base:
|
130
|
+
at_least_one_space: Selectează cel puțin un spațiu participativ
|
127
131
|
organization:
|
128
132
|
attributes:
|
129
133
|
official_img_footer:
|
130
134
|
allowed_file_content_types: Fișier invalid
|
131
135
|
official_img_header:
|
132
136
|
allowed_file_content_types: Fișier invalid
|
137
|
+
participatory_space_private_user_csv_import:
|
138
|
+
attributes:
|
139
|
+
file:
|
140
|
+
malformed: Fişier de import malformat, vă rugăm să citiţi instrucţiunile cu atenţie şi asiguraţi-vă că fişierul este codificat UTF-8.
|
141
|
+
user_group_csv_verification:
|
142
|
+
attributes:
|
143
|
+
file:
|
144
|
+
malformed: Fişier de import malformat, vă rugăm să citiţi instrucţiunile cu atenţie şi asiguraţi-vă că fişierul este codificat UTF-8.
|
133
145
|
new_import:
|
134
146
|
attributes:
|
135
147
|
file:
|
@@ -173,13 +185,15 @@ ro:
|
|
173
185
|
permissions: Drepturi
|
174
186
|
reject: Respinge
|
175
187
|
share: Distribuie
|
188
|
+
user:
|
189
|
+
new: Administrator nou
|
176
190
|
verify: Verifică
|
177
191
|
admin_terms_of_use:
|
178
192
|
accept:
|
179
193
|
error: A apărut o eroare la acceptarea termenilor de utilizare ai administratorului.
|
180
194
|
success: Super! Ai acceptat termenii de utilizare ai administratorului.
|
181
195
|
actions:
|
182
|
-
accept: Sunt de acord cu
|
196
|
+
accept: Sunt de acord cu acești termeni și condiţii
|
183
197
|
are_you_sure: Sigur dorești să refuzi termenii de utilizare ai adiminstratorului?
|
184
198
|
refuse: Refuz termenii
|
185
199
|
title: Acceptă termenii și condițiile de utilizare
|
@@ -836,10 +850,18 @@ ro:
|
|
836
850
|
invalid: A apărut o problemă la citirea fișierului CSV.
|
837
851
|
success: Fișier-ul CSV a fost încărcat cu succes, trimitem un e-mail de invitație participanților. Acest lucru ar putea dura puțin timp.
|
838
852
|
new:
|
853
|
+
destroy:
|
854
|
+
button: Șterge toți participanții privați
|
855
|
+
confirm: Sunteți sigur că doriți să ștergeți toți participanții privați? Această acțiune nu poate fi anulată, și nu îi veți putea recupera.
|
856
|
+
empty: Nu aveți niciun participant privat.
|
857
|
+
explanation: Aveți %{count} participanți privați.
|
858
|
+
title: Ștergere participanți privați
|
839
859
|
explanation: 'Încărcă fişierul tău CSV. Trebuie să aibă două coloane cu e-mail în prima coloană a fișierului și numele în ultima coloană (e-mail, numele) pentru utilizatorii pe care doriţi să îi adăugaţi în spaţiul participativ, fără antet. Evită folosirea caracterelor invalide, cum ar fi `<>?%&^*#@()[]=+:;"{}\<unk> ` în numele utilizatorului.'
|
840
860
|
title: Încarcă fișierul tău CSV
|
841
861
|
upload: Încarcă
|
842
862
|
reminders:
|
863
|
+
create:
|
864
|
+
error: A apărut o eroare la crearea de memento-uri.
|
843
865
|
new:
|
844
866
|
submit: Trimite
|
845
867
|
resource_permissions:
|
@@ -899,6 +921,7 @@ ro:
|
|
899
921
|
gallery:
|
900
922
|
add_images: Adaugă imagini
|
901
923
|
delete_image: Șterge imaginea
|
924
|
+
edit_images: Editare imagini
|
902
925
|
gallery_legend: Adaugă o galerie de imagini (opțional)
|
903
926
|
static_page_topics:
|
904
927
|
create:
|
@@ -959,6 +982,7 @@ ro:
|
|
959
982
|
static_pages: Pagini
|
960
983
|
statistics: Activitate
|
961
984
|
user_groups: Grupuri
|
985
|
+
users: Administratori
|
962
986
|
user_group:
|
963
987
|
csv_verify:
|
964
988
|
invalid: A apărut o problemă la citirea fișierului CSV.
|
@@ -994,6 +1018,7 @@ ro:
|
|
994
1018
|
role: Rol
|
995
1019
|
new:
|
996
1020
|
create: Invită
|
1021
|
+
title: Invită un administrator nou
|
997
1022
|
users_statistics:
|
998
1023
|
users_count:
|
999
1024
|
admins: Administratori
|
@@ -1041,6 +1066,7 @@ ro:
|
|
1041
1066
|
moderation:
|
1042
1067
|
fields:
|
1043
1068
|
created_at: Data creării
|
1069
|
+
deleted_resource: Resursă ștersă
|
1044
1070
|
hidden_at: Ascuns la
|
1045
1071
|
participatory_space: Spațiu participativ
|
1046
1072
|
report_count: Număr
|
data/config/locales/sv.yml
CHANGED
@@ -185,7 +185,6 @@ sv:
|
|
185
185
|
error: Ett fel inträffade när användarvillkoren för administratörer skulle godkännas.
|
186
186
|
success: Du har godkänt användarvillkoren för administratörer.
|
187
187
|
actions:
|
188
|
-
accept: Jag godkänner villkoren
|
189
188
|
are_you_sure: Är du säker på att du vill avvisa administratörsvillkoren?
|
190
189
|
refuse: Avvisa villkoren för administratörer
|
191
190
|
title: Godkänn användarvillkoren
|
data/config/locales/tr-TR.yml
CHANGED
@@ -144,7 +144,6 @@ tr:
|
|
144
144
|
error: Yönetici kullanım şartlarını kabul ederken bir hata oluştu.
|
145
145
|
success: Harika! Yönetici kullanım şartlarını kabul ettiniz.
|
146
146
|
actions:
|
147
|
-
accept: Aşağıdaki şartları kabul ediyorum
|
148
147
|
refuse: Yönetici şartlarını reddedin
|
149
148
|
title: Kullanım şartlarını ve koşullarını kabul edin
|
150
149
|
required_review:
|
data/lib/decidim/admin/engine.rb
CHANGED
@@ -173,7 +173,10 @@ module Decidim
|
|
173
173
|
decidim_admin.root_path,
|
174
174
|
icon_name: "dashboard",
|
175
175
|
position: 1,
|
176
|
-
active: [
|
176
|
+
active: [%w(
|
177
|
+
decidim/admin/dashboard
|
178
|
+
decidim/admin/metrics
|
179
|
+
), []]
|
177
180
|
|
178
181
|
menu.add_item :moderations,
|
179
182
|
I18n.t("menu.moderation", scope: "decidim.admin"),
|
@@ -208,10 +211,15 @@ module Decidim
|
|
208
211
|
decidim/admin/user_groups_csv_verifications
|
209
212
|
decidim/admin/officializations
|
210
213
|
decidim/admin/impersonatable_users
|
214
|
+
decidim/admin/conflicts
|
211
215
|
decidim/admin/moderated_users
|
212
216
|
decidim/admin/managed_users/impersonation_logs
|
213
217
|
decidim/admin/managed_users/promotions
|
214
218
|
decidim/admin/authorization_workflows
|
219
|
+
decidim/verifications/id_documents/admin/pending_authorizations
|
220
|
+
decidim/verifications/id_documents/admin/config
|
221
|
+
decidim/verifications/postal_letter/admin/pending_authorizations
|
222
|
+
decidim/verifications/csv_census/admin/census
|
215
223
|
), []],
|
216
224
|
if: allowed_to?(:read, :admin_user) || allowed_to?(:read, :managed_user)
|
217
225
|
|
@@ -238,6 +246,8 @@ module Decidim
|
|
238
246
|
decidim/admin/scopes
|
239
247
|
decidim/admin/scope_types
|
240
248
|
decidim/admin/areas decidim/admin/area_types
|
249
|
+
decidim/admin/help_sections
|
250
|
+
decidim/admin/organization_external_domain_whitelist
|
241
251
|
),
|
242
252
|
[]
|
243
253
|
],
|
@@ -136,6 +136,39 @@ shared_examples "manage moderations" do
|
|
136
136
|
expect(page).to have_no_selector("tr[data-id=\"#{moderation.id}\"]")
|
137
137
|
end
|
138
138
|
end
|
139
|
+
|
140
|
+
context "when the user changes language" do
|
141
|
+
around do |example|
|
142
|
+
previous_backend = I18n.backend
|
143
|
+
I18n.backend = I18n::Backend::Simple.new
|
144
|
+
example.run
|
145
|
+
I18n.backend = previous_backend
|
146
|
+
end
|
147
|
+
|
148
|
+
before do
|
149
|
+
I18n.backend.store_translations(
|
150
|
+
:ca,
|
151
|
+
activerecord: {
|
152
|
+
models: {
|
153
|
+
moderation.reportable.class.name.underscore.to_sym => {
|
154
|
+
one: "Objecte informable",
|
155
|
+
other: "Objectes informables"
|
156
|
+
}
|
157
|
+
}
|
158
|
+
}
|
159
|
+
)
|
160
|
+
|
161
|
+
within_language_menu do
|
162
|
+
click_link "Català"
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
it "renders the reportable types in the selected language" do
|
167
|
+
within "tr[data-id=\"#{moderation.id}\"]" do
|
168
|
+
expect(page).to have_content("Objecte informable")
|
169
|
+
end
|
170
|
+
end
|
171
|
+
end
|
139
172
|
end
|
140
173
|
|
141
174
|
context "when listing hidden resources" do
|
@@ -151,4 +184,43 @@ shared_examples "manage moderations" do
|
|
151
184
|
end
|
152
185
|
end
|
153
186
|
end
|
187
|
+
|
188
|
+
context "when listing comments for deleted resources" do
|
189
|
+
let(:comments) do
|
190
|
+
reportables.first(reportables.length - 1).map do |resource|
|
191
|
+
create(:comment, commentable: resource)
|
192
|
+
end
|
193
|
+
end
|
194
|
+
let!(:moderations) do
|
195
|
+
comments.map do |reportable|
|
196
|
+
space = reportable.is_a?(Decidim::Participable) ? reportable : reportable.participatory_space
|
197
|
+
moderation = create(:moderation, reportable: reportable, report_count: 1, participatory_space: space, reported_content: reportable.reported_searchable_content_text)
|
198
|
+
create(:report, moderation: moderation)
|
199
|
+
|
200
|
+
reportable.root_commentable.destroy!
|
201
|
+
reportable.reload
|
202
|
+
|
203
|
+
moderation
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
207
|
+
it "user can review them" do
|
208
|
+
moderations.each do |moderation|
|
209
|
+
within "tr[data-id=\"#{moderation.id}\"]" do
|
210
|
+
expect(page).to have_content "Deleted resource"
|
211
|
+
expect(page).to have_content "Spam"
|
212
|
+
end
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
it "user can hide them" do
|
217
|
+
moderation_id = moderations.first.id
|
218
|
+
within "tr[data-id=\"#{moderation_id}\"]" do
|
219
|
+
click_link "Hide"
|
220
|
+
end
|
221
|
+
|
222
|
+
expect(page).to have_admin_callout("Resource successfully hidden")
|
223
|
+
expect(page).not_to have_selector("tr[data-id=\"#{moderation_id}\"]")
|
224
|
+
end
|
225
|
+
end
|
154
226
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.27.
|
4
|
+
version: 0.27.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-
|
13
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: active_link_to
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.27.
|
35
|
+
version: 0.27.1
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.27.
|
42
|
+
version: 0.27.1
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: devise
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,28 +88,28 @@ dependencies:
|
|
88
88
|
requirements:
|
89
89
|
- - '='
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.27.
|
91
|
+
version: 0.27.1
|
92
92
|
type: :development
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - '='
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.27.
|
98
|
+
version: 0.27.1
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
100
|
name: decidim-participatory_processes
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
103
|
- - '='
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.27.
|
105
|
+
version: 0.27.1
|
106
106
|
type: :development
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
110
|
- - '='
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: 0.27.
|
112
|
+
version: 0.27.1
|
113
113
|
description: Organization administration to manage a single organization.
|
114
114
|
email:
|
115
115
|
- josepjaume@gmail.com
|
@@ -387,7 +387,6 @@ files:
|
|
387
387
|
- app/packs/stylesheets/decidim/admin/modules/_filters.scss
|
388
388
|
- app/packs/stylesheets/decidim/admin/modules/_forms.scss
|
389
389
|
- app/packs/stylesheets/decidim/admin/modules/_icons.scss
|
390
|
-
- app/packs/stylesheets/decidim/admin/modules/_import_result.scss
|
391
390
|
- app/packs/stylesheets/decidim/admin/modules/_layout.scss
|
392
391
|
- app/packs/stylesheets/decidim/admin/modules/_loading-spinner.scss
|
393
392
|
- app/packs/stylesheets/decidim/admin/modules/_main-nav.scss
|
@@ -612,6 +611,7 @@ files:
|
|
612
611
|
- config/locales/fr.yml
|
613
612
|
- config/locales/ga-IE.yml
|
614
613
|
- config/locales/gl.yml
|
614
|
+
- config/locales/gn-PY.yml
|
615
615
|
- config/locales/hr-HR.yml
|
616
616
|
- config/locales/hr.yml
|
617
617
|
- config/locales/hu.yml
|
@@ -624,6 +624,7 @@ files:
|
|
624
624
|
- config/locales/ko.yml
|
625
625
|
- config/locales/lb-LU.yml
|
626
626
|
- config/locales/lb.yml
|
627
|
+
- config/locales/lo-LA.yml
|
627
628
|
- config/locales/lt-LT.yml
|
628
629
|
- config/locales/lt.yml
|
629
630
|
- config/locales/lv.yml
|