decidim-admin 0.27.0.rc2 → 0.27.1
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.
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 +23 -15
- 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 +13 -5
- 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/oc-FR.yml +1 -0
- 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 +13 -11
- data/app/packs/stylesheets/decidim/admin/modules/_import_result.scss +0 -10
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
@@ -25,7 +25,7 @@ hu:
|
|
25
25
|
component:
|
26
26
|
name: Név
|
27
27
|
published_at: Publikálva
|
28
|
-
weight:
|
28
|
+
weight: Pozíció sorrend
|
29
29
|
id: ID
|
30
30
|
import:
|
31
31
|
user_group_id: Az importáltak létrehozása mint
|
@@ -105,7 +105,7 @@ hu:
|
|
105
105
|
organization: Szervezet
|
106
106
|
plural: Plurális
|
107
107
|
settings:
|
108
|
-
scope_id:
|
108
|
+
scope_id: Hatókör
|
109
109
|
static_page:
|
110
110
|
allow_public_access: Hozzáférés engedélyezése authentikáció nélkül
|
111
111
|
changed_notably: Észrevehető változások történtek.
|
@@ -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
|
@@ -214,7 +213,7 @@ hu:
|
|
214
213
|
error: Hiba történt az új terület létrehozásakor.
|
215
214
|
success: Terület létrehozása sikeres.
|
216
215
|
destroy:
|
217
|
-
has_spaces: Ez a terület mással összefüggő terekkel rendelkezik. Kérjük, győződjön meg róla, hogy egyetlen
|
216
|
+
has_spaces: Ez a terület mással összefüggő terekkel rendelkezik. Kérjük, győződjön meg róla, hogy egyetlen részvételi tér sem hivatkozik erre a területre, mielőtt törölné.
|
218
217
|
success: Terület eltávolítása sikeres
|
219
218
|
edit:
|
220
219
|
title: Terület szerkesztése
|
@@ -482,11 +481,18 @@ hu:
|
|
482
481
|
invalid_indexes:
|
483
482
|
lines:
|
484
483
|
detail: Ellenőrizze a sorok helyes formázását, valamint hogy érvényes rekordokat tartalmaznak.
|
484
|
+
message:
|
485
|
+
one: Hibát találtam az import fájlban a következő sorban %{indexes}.
|
486
|
+
other: Hibát találtam az import fájlban a következő sorokban %{indexes}.
|
485
487
|
records:
|
486
488
|
detail: Ellenőrizze a sorok helyes formázását, valamint hogy érvényes rekordokat tartalmaznak.
|
489
|
+
message:
|
490
|
+
one: Hibát találtam az importfájlban a rendelésszámmal rendelkező rekordnál %{indexes}.
|
491
|
+
other: Hibát találtam az importfájlban a rendelésszámmal rendelkező rekordoknál %{indexes}.
|
487
492
|
missing_headers:
|
488
493
|
detail: Kérjük, ellenőrizze, hogy a fájl tartalmazza-e a szükséges oszlopokat.
|
489
494
|
error: Hiba történt az importálás során
|
495
|
+
example_error: Nem sikerült példát létrehozni a megadott típusra
|
490
496
|
new:
|
491
497
|
accepted_mime_types:
|
492
498
|
csv: csv
|
@@ -496,6 +502,7 @@ hu:
|
|
496
502
|
back: Vissza
|
497
503
|
download_example: Példa letöltése
|
498
504
|
download_example_format: Példa mint %{name}
|
505
|
+
file_legend: Adjon hozzá egy importált fájlt, amelyet elemezni fog.
|
499
506
|
import: Import
|
500
507
|
notice: "%{count} %{resource_name} sikeresen importálva"
|
501
508
|
logs:
|
@@ -824,7 +831,7 @@ hu:
|
|
824
831
|
title: Új részvételi tér privát felhasználója.
|
825
832
|
participatory_space_private_users_csv_imports:
|
826
833
|
create:
|
827
|
-
invalid: Hiba történt a CSV fájl
|
834
|
+
invalid: Hiba történt a CSV fájl olvasásában.
|
828
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.
|
829
836
|
new:
|
830
837
|
destroy:
|
@@ -1046,6 +1053,7 @@ hu:
|
|
1046
1053
|
moderation:
|
1047
1054
|
fields:
|
1048
1055
|
created_at: Létrehozás dátuma
|
1056
|
+
deleted_resource: Törölt erőforrás
|
1049
1057
|
hidden_at: 'Rejtett itt:'
|
1050
1058
|
participatory_space: Részvételi tér
|
1051
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
|
@@ -0,0 +1 @@
|
|
1
|
+
oc:
|
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
|