decidim-admin 0.30.5 → 0.30.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/commands/decidim/admin/content_blocks/update_content_block.rb +12 -3
- data/app/commands/decidim/admin/unreport_user.rb +1 -1
- data/config/locales/ar.yml +0 -1
- data/config/locales/bg.yml +0 -1
- data/config/locales/cs.yml +7 -0
- data/config/locales/de.yml +0 -1
- data/config/locales/el.yml +0 -1
- data/config/locales/eu.yml +1 -1
- data/config/locales/fi-plain.yml +0 -1
- data/config/locales/fi.yml +0 -1
- data/config/locales/fr-CA.yml +26 -0
- data/config/locales/fr.yml +26 -0
- data/config/locales/gl.yml +0 -1
- data/config/locales/hu.yml +0 -1
- data/config/locales/it.yml +0 -1
- data/config/locales/ko.yml +0 -1
- data/config/locales/lb.yml +0 -1
- data/config/locales/lt.yml +0 -1
- data/config/locales/nl.yml +0 -1
- data/config/locales/no.yml +0 -1
- data/config/locales/pl.yml +0 -1
- data/config/locales/pt-BR.yml +6 -6
- data/config/locales/pt.yml +0 -1
- data/config/locales/ro-RO.yml +1 -2
- data/config/locales/sr-CS.yml +10 -9
- data/config/locales/sv.yml +18 -3
- data/config/locales/tr-TR.yml +0 -1
- data/config/locales/zh-TW.yml +0 -1
- data/lib/decidim/admin/test/manage_attachments_examples.rb +12 -1
- data/lib/decidim/admin/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 522e8fe786af04bb61ca09ed907d3aa950debc4e5ef479c73ea760e996bb707a
|
|
4
|
+
data.tar.gz: 5b1e2037cd8b8dfbd57de6049f8b222a5c46d2e50ed676bfbd96f9fa0919882b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12380e3fcc234b0b06c72d91bd355fac1e58e7344696de3480c5a4f519697e96d73ea7e06cb3175e41f8bbde4f0c4b23506b8ebe1ff62ed13e23bf75e08bdabc
|
|
7
|
+
data.tar.gz: 76756b59d14cb4e1e6f01e27be96bbea10f9c1e0d3c335dd1cb544c6e6ab9a4f6761c6d7959eea13870bda64aa3da72ae206a94dccc8406bc743ddf752f5c91d
|
|
@@ -6,7 +6,7 @@ module Decidim
|
|
|
6
6
|
# This command gets called when a content block is updated from the admin
|
|
7
7
|
# panel.
|
|
8
8
|
class UpdateContentBlock < Decidim::Command
|
|
9
|
-
attr_reader :form, :content_block, :scope
|
|
9
|
+
attr_reader :form, :content_block, :scope, :attachments_to_purge
|
|
10
10
|
|
|
11
11
|
# Public: Initializes the command.
|
|
12
12
|
#
|
|
@@ -17,6 +17,7 @@ module Decidim
|
|
|
17
17
|
@form = form
|
|
18
18
|
@content_block = content_block
|
|
19
19
|
@scope = scope
|
|
20
|
+
@attachments_to_purge = []
|
|
20
21
|
end
|
|
21
22
|
|
|
22
23
|
# Public: Updates the content block settings and its attachments.
|
|
@@ -55,6 +56,8 @@ module Decidim
|
|
|
55
56
|
|
|
56
57
|
return broadcast(:invalid) unless images_valid
|
|
57
58
|
|
|
59
|
+
purge_attachment
|
|
60
|
+
|
|
58
61
|
broadcast(:ok, content_block)
|
|
59
62
|
end
|
|
60
63
|
|
|
@@ -67,14 +70,20 @@ module Decidim
|
|
|
67
70
|
def update_content_block_images
|
|
68
71
|
content_block.manifest.images.each do |image_config|
|
|
69
72
|
image_name = image_config[:name]
|
|
70
|
-
|
|
71
73
|
if form.images[image_name]
|
|
72
74
|
content_block.images_container.send("#{image_name}=", form.images[image_name])
|
|
73
|
-
elsif form.images[:"remove_#{image_name}"]
|
|
75
|
+
elsif form.images[:"remove_#{image_name}"]
|
|
76
|
+
@attachments_to_purge << content_block.images_container.send(image_name.to_s)
|
|
74
77
|
content_block.images_container.send("#{image_name}=", nil)
|
|
75
78
|
end
|
|
76
79
|
end
|
|
77
80
|
end
|
|
81
|
+
|
|
82
|
+
def purge_attachment
|
|
83
|
+
attachments_to_purge.each do |attachment_to_purge|
|
|
84
|
+
attachment_to_purge.purge if attachment_to_purge.respond_to?(:purge)
|
|
85
|
+
end
|
|
86
|
+
end
|
|
78
87
|
end
|
|
79
88
|
end
|
|
80
89
|
end
|
data/config/locales/ar.yml
CHANGED
data/config/locales/bg.yml
CHANGED
data/config/locales/cs.yml
CHANGED
|
@@ -980,6 +980,9 @@ cs:
|
|
|
980
980
|
error: U tohoto participativního prostoru se vyskytl problém s aktualizací soukromého účastníka.
|
|
981
981
|
success: Soukromý účastník participativního prostoru úspěšně aktualizován
|
|
982
982
|
participatory_space_private_users_csv_imports:
|
|
983
|
+
create:
|
|
984
|
+
invalid: Při čtení souboru CSV se vyskytl problém. Ujistěte se, že jste dodrželi pokyny.
|
|
985
|
+
success: CSV soubor byl úspěšně nahrán, posíláme účastníkům e-mail s pozvánkou. To může chvíli trvat.
|
|
983
986
|
new:
|
|
984
987
|
csv_upload:
|
|
985
988
|
title: Nahrát soubor CSV
|
|
@@ -990,6 +993,10 @@ cs:
|
|
|
990
993
|
explanation: Máte %{count} soukromých účastníků.
|
|
991
994
|
title: Odstranit soukromé účastníky
|
|
992
995
|
example_file: 'Příklad souboru:'
|
|
996
|
+
explanation: 'Nahrajte soubor CSV. Musí mít dva sloupce s e-mailem v prvním sloupci souboru a jméno v posledním sloupci souboru uživatelů, které chcete přidat do participačního prostoru, bez hlaviček. Vyhněte se používání neplatných znaků jako `<>?%&^*#@()[]=+:;"{}\|` v uživatelském jméně.'
|
|
997
|
+
explanation_example: |
|
|
998
|
+
john.doe@example.org%{csv_col_sep}John Doe
|
|
999
|
+
jane.doe@example.org%{csv_col_sep}Jane Doe
|
|
993
1000
|
title: Importovat soukromé účastníky přes CSV
|
|
994
1001
|
upload: Nahrát
|
|
995
1002
|
reminders:
|
data/config/locales/de.yml
CHANGED
data/config/locales/el.yml
CHANGED
data/config/locales/eu.yml
CHANGED
|
@@ -197,7 +197,7 @@ eu:
|
|
|
197
197
|
</ul>
|
|
198
198
|
Iritziz aldatzen baduzu, geroago berreskuratu ahal izango duzu.na
|
|
199
199
|
export: Esportatu dena
|
|
200
|
-
export-selection:
|
|
200
|
+
export-selection: Hautapena esportatu
|
|
201
201
|
import: Inportatu
|
|
202
202
|
manage: Kudeatu
|
|
203
203
|
newsletter:
|
data/config/locales/fi-plain.yml
CHANGED
data/config/locales/fi.yml
CHANGED
data/config/locales/fr-CA.yml
CHANGED
|
@@ -53,6 +53,7 @@ fr-CA:
|
|
|
53
53
|
customize_welcome_notification: Personnaliser le mail de bienvenue
|
|
54
54
|
default_locale: Langue par défaut
|
|
55
55
|
description: Description
|
|
56
|
+
enable_machine_translations: Activer la traduction automatique
|
|
56
57
|
enable_omnipresent_banner: Montrer une bannière d'actualités
|
|
57
58
|
enable_participatory_space_filters: Activer les filtres d'espace participatif
|
|
58
59
|
facebook_handler: Gestionnaire Facebook
|
|
@@ -248,6 +249,7 @@ fr-CA:
|
|
|
248
249
|
create:
|
|
249
250
|
error: Une erreur s'est produite lors de la création d'une nouvelle zone d'application.
|
|
250
251
|
success: Zone d'application créée avec succès.
|
|
252
|
+
deprecated: Notez que les zones sont dépréciées et seront retirées dans les versions futures. Merci de leur préférer les taxonomies. Le seul module qui utilise les zones actuellement est le module initiatives.
|
|
251
253
|
destroy:
|
|
252
254
|
has_spaces: Cette zone a des espaces dépendants. Veuillez vous assurer qu'aucun espace participatif ne référence cette zone avant de la supprimer.
|
|
253
255
|
success: Le périmètre d'assemblée a été supprimé avec succès.
|
|
@@ -1143,12 +1145,25 @@ fr-CA:
|
|
|
1143
1145
|
edit: Modifier la taxonomie
|
|
1144
1146
|
new: Nouvelle taxonomie
|
|
1145
1147
|
count: Ressources associées
|
|
1148
|
+
create:
|
|
1149
|
+
invalid: Un problème a été rencontré lors de la création de cette taxonomie.
|
|
1150
|
+
success: La taxonomie a été créée avec succès.
|
|
1151
|
+
destroy:
|
|
1152
|
+
invalid: Un problème a été rencontré lors de la suppression de cette taxonomie.
|
|
1153
|
+
success: La taxonomie a été supprimée avec succès.
|
|
1146
1154
|
edit:
|
|
1155
|
+
back: Retour
|
|
1156
|
+
description: Les éléments dans cette taxonomie seront utilisés pour classer ou filtrer des ressources telles que des espaces participatifs ou des composants. Utilisez le glisser-déposes pour réorganiser la liste.
|
|
1157
|
+
new_item: Nouvel élément
|
|
1158
|
+
no_items: Il n'y a pas d'élément dans cette taxonomie actuellement. Créez une liste d'éléments ici pour classer ou filtrer des ressources telles que des espaces participatifs ou des composants. Les éléments peuvent être hiérarchisés jusqu'à trois niveaux.
|
|
1159
|
+
subtitle: Éléments dans "%{taxonomy_name}"
|
|
1160
|
+
title: Éditer la taxonomie "%{taxonomy_name}"
|
|
1147
1161
|
update: Mettre à jour
|
|
1148
1162
|
filters:
|
|
1149
1163
|
search_placeholder: Rechercher
|
|
1150
1164
|
index:
|
|
1151
1165
|
new_taxonomy: Nouvelle taxonomie
|
|
1166
|
+
name: Nom
|
|
1152
1167
|
total_filters: Filtres
|
|
1153
1168
|
taxonomy_filters:
|
|
1154
1169
|
breadcrumb:
|
|
@@ -1186,6 +1201,7 @@ fr-CA:
|
|
|
1186
1201
|
remove: Supprimer
|
|
1187
1202
|
taxonomies_select:
|
|
1188
1203
|
filters: Filtres
|
|
1204
|
+
select_filter: Sélectionnez un filtre
|
|
1189
1205
|
titles:
|
|
1190
1206
|
admin_log: Journal d'administration
|
|
1191
1207
|
area_types: Types de périmètre d'assemblée
|
|
@@ -1291,6 +1307,16 @@ fr-CA:
|
|
|
1291
1307
|
unreport: Annuler le signalement
|
|
1292
1308
|
admin:
|
|
1293
1309
|
reportable:
|
|
1310
|
+
bulk_action:
|
|
1311
|
+
hide:
|
|
1312
|
+
invalid: Aucune modération sélectionnée.
|
|
1313
|
+
success: Ressources cachées avec succès.
|
|
1314
|
+
ignore:
|
|
1315
|
+
invalid: Aucune modération d'utilisateur sélectionnée.
|
|
1316
|
+
unhide:
|
|
1317
|
+
invalid: Aucune modération sélectionnée.
|
|
1318
|
+
unreport:
|
|
1319
|
+
invalid: Aucune modération sélectionnée.
|
|
1294
1320
|
hide:
|
|
1295
1321
|
invalid: Il y a eu un problème au moment de masquer le contenu.
|
|
1296
1322
|
success: Contenu masqué avec succès.
|
data/config/locales/fr.yml
CHANGED
|
@@ -53,6 +53,7 @@ fr:
|
|
|
53
53
|
customize_welcome_notification: Personnaliser le mail de bienvenue
|
|
54
54
|
default_locale: Langue par défaut
|
|
55
55
|
description: Description
|
|
56
|
+
enable_machine_translations: Activer la traduction automatique
|
|
56
57
|
enable_omnipresent_banner: Activer la bannière permanente
|
|
57
58
|
enable_participatory_space_filters: Activer les filtres d'espace participatif
|
|
58
59
|
facebook_handler: Gestionnaire Facebook
|
|
@@ -248,6 +249,7 @@ fr:
|
|
|
248
249
|
create:
|
|
249
250
|
error: Une erreur s'est produite lors de la création d'un nouveau périmètre d'assemblée.
|
|
250
251
|
success: Périmètre d'assemblée créé avec succès.
|
|
252
|
+
deprecated: Notez que les zones sont dépréciées et seront retirées dans les versions futures. Merci de leur préférer les taxonomies. Le seul module qui utilise les zones actuellement est le module initiatives.
|
|
251
253
|
destroy:
|
|
252
254
|
has_spaces: Des espaces dépendent de ce périmètre d'assemblée. Veuillez vous assurer qu'aucun espace participatif n'est lié à périmètre avant de la supprimer.
|
|
253
255
|
success: Le périmètre d'assemblée a été supprimé avec succès.
|
|
@@ -1143,12 +1145,25 @@ fr:
|
|
|
1143
1145
|
edit: Modifier la taxonomie
|
|
1144
1146
|
new: Nouvelle taxonomie
|
|
1145
1147
|
count: Ressources associées
|
|
1148
|
+
create:
|
|
1149
|
+
invalid: Un problème a été rencontré lors de la création de cette taxonomie.
|
|
1150
|
+
success: La taxonomie a été créée avec succès.
|
|
1151
|
+
destroy:
|
|
1152
|
+
invalid: Un problème a été rencontré lors de la suppression de cette taxonomie.
|
|
1153
|
+
success: La taxonomie a été supprimée avec succès.
|
|
1146
1154
|
edit:
|
|
1155
|
+
back: Retour
|
|
1156
|
+
description: Les éléments dans cette taxonomie seront utilisés pour classer ou filtrer des ressources telles que des espaces participatifs ou des composants. Utilisez le glisser-déposes pour réorganiser la liste.
|
|
1157
|
+
new_item: Nouvel élément
|
|
1158
|
+
no_items: Il n'y a pas d'élément dans cette taxonomie actuellement. Créez une liste d'éléments ici pour classer ou filtrer des ressources telles que des espaces participatifs ou des composants. Les éléments peuvent être hiérarchisés jusqu'à trois niveaux.
|
|
1159
|
+
subtitle: Éléments dans "%{taxonomy_name}"
|
|
1160
|
+
title: Éditer la taxonomie "%{taxonomy_name}"
|
|
1147
1161
|
update: Mettre à jour
|
|
1148
1162
|
filters:
|
|
1149
1163
|
search_placeholder: Rechercher
|
|
1150
1164
|
index:
|
|
1151
1165
|
new_taxonomy: Nouvelle taxonomie
|
|
1166
|
+
name: Nom
|
|
1152
1167
|
total_filters: Filtres
|
|
1153
1168
|
taxonomy_filters:
|
|
1154
1169
|
breadcrumb:
|
|
@@ -1186,6 +1201,7 @@ fr:
|
|
|
1186
1201
|
remove: Supprimer
|
|
1187
1202
|
taxonomies_select:
|
|
1188
1203
|
filters: Filtres
|
|
1204
|
+
select_filter: Sélectionnez un filtre
|
|
1189
1205
|
titles:
|
|
1190
1206
|
admin_log: Journal d'administration
|
|
1191
1207
|
area_types: Types de périmètre d'assemblée
|
|
@@ -1291,6 +1307,16 @@ fr:
|
|
|
1291
1307
|
unreport: Annuler le signalement
|
|
1292
1308
|
admin:
|
|
1293
1309
|
reportable:
|
|
1310
|
+
bulk_action:
|
|
1311
|
+
hide:
|
|
1312
|
+
invalid: Aucune modération sélectionnée.
|
|
1313
|
+
success: Ressources cachées avec succès.
|
|
1314
|
+
ignore:
|
|
1315
|
+
invalid: Aucune modération d'utilisateur sélectionnée.
|
|
1316
|
+
unhide:
|
|
1317
|
+
invalid: Aucune modération sélectionnée.
|
|
1318
|
+
unreport:
|
|
1319
|
+
invalid: Aucune modération sélectionnée.
|
|
1294
1320
|
hide:
|
|
1295
1321
|
invalid: Il y a eu un problème au moment de masquer le contenu.
|
|
1296
1322
|
success: Contenu masqué avec succès.
|
data/config/locales/gl.yml
CHANGED
data/config/locales/hu.yml
CHANGED
data/config/locales/it.yml
CHANGED
data/config/locales/ko.yml
CHANGED
data/config/locales/lb.yml
CHANGED
data/config/locales/lt.yml
CHANGED
data/config/locales/nl.yml
CHANGED
data/config/locales/no.yml
CHANGED
data/config/locales/pl.yml
CHANGED
data/config/locales/pt-BR.yml
CHANGED
|
@@ -24,11 +24,11 @@ pt-BR:
|
|
|
24
24
|
description: Descrição
|
|
25
25
|
name: Nome
|
|
26
26
|
parent_id: Superior
|
|
27
|
-
weight:
|
|
27
|
+
weight: Ordem de posição
|
|
28
28
|
component:
|
|
29
29
|
name: Nome
|
|
30
30
|
published_at: Publicado em
|
|
31
|
-
weight:
|
|
31
|
+
weight: Ordem de posição
|
|
32
32
|
external_domain:
|
|
33
33
|
value: Valor
|
|
34
34
|
help_section:
|
|
@@ -197,11 +197,11 @@ pt-BR:
|
|
|
197
197
|
</ul>
|
|
198
198
|
Se você trocar de ideia, pode restaurar-lá mais tarde.
|
|
199
199
|
export: Exportar tudo
|
|
200
|
-
export-selection: Exportar
|
|
200
|
+
export-selection: Exportar seleção
|
|
201
201
|
import: Importar
|
|
202
202
|
manage: Gerenciar
|
|
203
203
|
newsletter:
|
|
204
|
-
new: Novo
|
|
204
|
+
new: Novo boletim informativo
|
|
205
205
|
participatory_space_private_user:
|
|
206
206
|
new: Novo espaço participativo de usuário privado
|
|
207
207
|
per_page: Por página
|
|
@@ -215,7 +215,7 @@ pt-BR:
|
|
|
215
215
|
user:
|
|
216
216
|
new: Novo administrador
|
|
217
217
|
verify: Verificar
|
|
218
|
-
view_deleted_components:
|
|
218
|
+
view_deleted_components: Visualizar componentes excluídos
|
|
219
219
|
admin_terms_of_service:
|
|
220
220
|
accept:
|
|
221
221
|
error: Houve um erro ao aceitar os termos de serviço de administrador.
|
|
@@ -307,7 +307,7 @@ pt-BR:
|
|
|
307
307
|
action: Bloquear conta e enviar justificativa
|
|
308
308
|
already_reported_html: Ao continuar com esta ação, você também ocultará o conteúdo de todos os participantes.
|
|
309
309
|
description: Bloquear um usuário irá tornar sua conta inutilizável. Você pode fornecer em sua justificação quaisquer diretrizes sobre como você poderia considerar desbloquear o usuário.
|
|
310
|
-
justification:
|
|
310
|
+
justification: Justificativas
|
|
311
311
|
title: Bloquear usuários
|
|
312
312
|
new:
|
|
313
313
|
action: Bloquear conta e enviar justificativa
|
data/config/locales/pt.yml
CHANGED
data/config/locales/ro-RO.yml
CHANGED
data/config/locales/sr-CS.yml
CHANGED
|
@@ -41,20 +41,20 @@ sr:
|
|
|
41
41
|
favicon: Ikona
|
|
42
42
|
github_handler: Administrator GitHub-a
|
|
43
43
|
header_snippets: Fragmenti zaglavlja
|
|
44
|
-
highlighted_content_banner_action_subtitle:
|
|
45
|
-
highlighted_content_banner_action_title:
|
|
44
|
+
highlighted_content_banner_action_subtitle: Podnaslov dugmeta akcije
|
|
45
|
+
highlighted_content_banner_action_title: Naziv dugmeta akcije
|
|
46
46
|
highlighted_content_banner_action_url: Link dugmeta akcije
|
|
47
47
|
highlighted_content_banner_enabled: Prikaži istaknut baner sadržaja
|
|
48
48
|
highlighted_content_banner_image: Slika
|
|
49
49
|
highlighted_content_banner_short_description: Kratak opis
|
|
50
|
-
highlighted_content_banner_title:
|
|
50
|
+
highlighted_content_banner_title: Naziv
|
|
51
51
|
instagram_handler: Administrator Instagram-a
|
|
52
52
|
logo: Logo
|
|
53
53
|
name: Ime
|
|
54
54
|
official_img_footer: Zvanično podnožje logoa
|
|
55
55
|
official_url: Zvaničan link organizacije
|
|
56
56
|
omnipresent_banner_short_description: Kratak opis
|
|
57
|
-
omnipresent_banner_title:
|
|
57
|
+
omnipresent_banner_title: Naziv
|
|
58
58
|
omnipresent_banner_url: Adrеsa
|
|
59
59
|
primary_color: Primarni
|
|
60
60
|
reference_prefix: Prefiks reference
|
|
@@ -91,11 +91,11 @@ sr:
|
|
|
91
91
|
organization: Organizacija
|
|
92
92
|
show_in_footer: Prikaži u podnožju
|
|
93
93
|
slug: Zadnji deo URL-a
|
|
94
|
-
title:
|
|
94
|
+
title: Naziv
|
|
95
95
|
static_page_topic:
|
|
96
96
|
description: Opis
|
|
97
97
|
show_in_footer: Prikaži u podnožju
|
|
98
|
-
title:
|
|
98
|
+
title: Naziv
|
|
99
99
|
user_group_csv_verification:
|
|
100
100
|
file: Fajl
|
|
101
101
|
errors:
|
|
@@ -109,7 +109,7 @@ sr:
|
|
|
109
109
|
decidim/static_page:
|
|
110
110
|
content: Sadržaj
|
|
111
111
|
slug: Zadnji deo URL-a
|
|
112
|
-
title:
|
|
112
|
+
title: Naziv
|
|
113
113
|
doorkeeper/application:
|
|
114
114
|
authorize_url: Autorizuj URL
|
|
115
115
|
client_id: Identitet klijenta
|
|
@@ -123,6 +123,7 @@ sr:
|
|
|
123
123
|
actions:
|
|
124
124
|
add: Dodaj
|
|
125
125
|
browse: Prеglеdaj
|
|
126
|
+
export-selection: Izvezi izabrano
|
|
126
127
|
manage: Upravljaj
|
|
127
128
|
per_page: Po stranici
|
|
128
129
|
permissions: Dozvole
|
|
@@ -334,7 +335,7 @@ sr:
|
|
|
334
335
|
collection: Fascikla
|
|
335
336
|
content_type: Tip
|
|
336
337
|
file_size: Veličina
|
|
337
|
-
title:
|
|
338
|
+
title: Naziv
|
|
338
339
|
name: Prilog
|
|
339
340
|
attachment_collection:
|
|
340
341
|
name: Fascikla
|
|
@@ -369,7 +370,7 @@ sr:
|
|
|
369
370
|
static_page:
|
|
370
371
|
fields:
|
|
371
372
|
created_at: Kreirano na
|
|
372
|
-
title:
|
|
373
|
+
title: Naziv
|
|
373
374
|
user:
|
|
374
375
|
fields:
|
|
375
376
|
created_at: Datum kreiranja
|
data/config/locales/sv.yml
CHANGED
|
@@ -53,6 +53,7 @@ sv:
|
|
|
53
53
|
customize_welcome_notification: Anpassa välkomstmeddelande
|
|
54
54
|
default_locale: Förvalt språk och region
|
|
55
55
|
description: Beskrivning
|
|
56
|
+
enable_machine_translations: Aktivera maskinöversättningar
|
|
56
57
|
enable_omnipresent_banner: Visa banner på alla sidor
|
|
57
58
|
enable_participatory_space_filters: Aktivera filter för processer
|
|
58
59
|
facebook_handler: Facebook-namn
|
|
@@ -138,7 +139,7 @@ sv:
|
|
|
138
139
|
title: Titel
|
|
139
140
|
weight: Position i listan
|
|
140
141
|
taxonomy:
|
|
141
|
-
item_name:
|
|
142
|
+
item_name: Namn
|
|
142
143
|
parent_id: Överordnad
|
|
143
144
|
user_group_csv_verification:
|
|
144
145
|
file: Fil
|
|
@@ -428,7 +429,7 @@ sv:
|
|
|
428
429
|
'true': 'Ja'
|
|
429
430
|
moderated_users:
|
|
430
431
|
reports_reason_eq:
|
|
431
|
-
label: Anledning till
|
|
432
|
+
label: Anledning till rapportering
|
|
432
433
|
values:
|
|
433
434
|
does_not_belong: Opassande
|
|
434
435
|
offensive: Stötande
|
|
@@ -736,7 +737,7 @@ sv:
|
|
|
736
737
|
update_moderation_button: Sluta dölja valda resurser
|
|
737
738
|
unreport:
|
|
738
739
|
title: Ta bort rapport
|
|
739
|
-
update_moderation_button: Avrapportera
|
|
740
|
+
update_moderation_button: Avrapportera valt innehåll
|
|
740
741
|
cancel: Avbryt
|
|
741
742
|
selected: valda
|
|
742
743
|
title: Rapporterat innehåll
|
|
@@ -952,7 +953,10 @@ sv:
|
|
|
952
953
|
title: Redigera privat deltagare i deltagarutrymme.
|
|
953
954
|
update: Uppdatera
|
|
954
955
|
index:
|
|
956
|
+
import_via_csv: Importera via CSV
|
|
957
|
+
publish_all: Publicera alla
|
|
955
958
|
title: Privat deltagare i deltagarutrymme
|
|
959
|
+
unpublish_all: Avpublicera alla
|
|
956
960
|
new:
|
|
957
961
|
create: Skapa
|
|
958
962
|
title: Ny privat deltagare i deltagarutrymme.
|
|
@@ -966,6 +970,9 @@ sv:
|
|
|
966
970
|
error: Det gick inte att uppdatera den privata deltagaren i deltagarutrymmet.
|
|
967
971
|
success: Privat deltagare i deltagarutrymmet har uppdaterats
|
|
968
972
|
participatory_space_private_users_csv_imports:
|
|
973
|
+
create:
|
|
974
|
+
invalid: Det gick inte att läsa CSV-filen. Kontrollera att du har följt instruktionerna.
|
|
975
|
+
success: CSV-filen har laddats upp och vi skickar en inbjudan med e-post till deltagarna. Det kan ta en stund.
|
|
969
976
|
new:
|
|
970
977
|
csv_upload:
|
|
971
978
|
title: Skicka CSV-fil
|
|
@@ -975,7 +982,13 @@ sv:
|
|
|
975
982
|
empty: Det finns inga privata deltagare.
|
|
976
983
|
explanation: Det finns %{count} privata deltagare.
|
|
977
984
|
title: Radera privata deltagare
|
|
985
|
+
example_file: 'Exempelfil:'
|
|
986
|
+
explanation: 'Skicka din CSV-fil. Den behöver ha två kolumner för användare som du vill lägga till, utan rubriker, med e-postadressen i den första kolumnen och namnet i den sista kolumnen. Undvik specialtecken som `<>?%&^*#@()[]=+:;"{}\|` i användarnamn.'
|
|
987
|
+
explanation_example: |
|
|
988
|
+
john.doe@example.org%{csv_col_sep}John Doe
|
|
989
|
+
jane.doe@example.org%{csv_col_sep}Jane Doe
|
|
978
990
|
title: Importera privata deltagare från en CSV-fil
|
|
991
|
+
upload: Ladda upp
|
|
979
992
|
reminders:
|
|
980
993
|
create:
|
|
981
994
|
error: Det gick inte att skapa påminnelser.
|
|
@@ -1284,11 +1297,13 @@ sv:
|
|
|
1284
1297
|
verify_via_csv: Verifiera via CSV
|
|
1285
1298
|
user_groups_csv_verifications:
|
|
1286
1299
|
new:
|
|
1300
|
+
example_file: 'Exempelfil:'
|
|
1287
1301
|
explanation: Skicka in CSV-filen. Den måste innehålla de officiella e-postadresserna till grupperna i organisationen i den första kolumnen i filen, utan kolumnrubriker. Endast grupper som har bekräftar sin e-postadress och som har en e-postadress i CSV-filen kommer att valideras.
|
|
1288
1302
|
explanation_example: |
|
|
1289
1303
|
acme@exempel.org
|
|
1290
1304
|
bubba.gump@exempel.org
|
|
1291
1305
|
title: Skicka CSV-fil
|
|
1306
|
+
upload: Ladda upp
|
|
1292
1307
|
users:
|
|
1293
1308
|
create:
|
|
1294
1309
|
error: Det gick inte att bjuda in administratören.
|
data/config/locales/tr-TR.yml
CHANGED
data/config/locales/zh-TW.yml
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
shared_examples "manage attachments examples" do
|
|
4
4
|
context "when processing attachments" do
|
|
5
5
|
let!(:attachment) { create(:attachment, attached_to:, attachment_collection:) }
|
|
6
|
+
let!(:attachment_with_link) { create(:attachment, :with_link, attached_to:, attachment_collection:) }
|
|
6
7
|
|
|
7
8
|
before do
|
|
8
9
|
visit current_path
|
|
@@ -18,7 +19,7 @@ shared_examples "manage attachments examples" do
|
|
|
18
19
|
end
|
|
19
20
|
|
|
20
21
|
it "can view an attachment details" do
|
|
21
|
-
within "
|
|
22
|
+
within "tr", text: translated(attachment.title) do
|
|
22
23
|
click_on "Edit"
|
|
23
24
|
end
|
|
24
25
|
|
|
@@ -179,6 +180,16 @@ shared_examples "manage attachments examples" do
|
|
|
179
180
|
expect(page).to have_no_content(translated(attachment.title, locale: :en))
|
|
180
181
|
end
|
|
181
182
|
|
|
183
|
+
it "can delete an attachment with a link" do
|
|
184
|
+
within "tr", text: translated(attachment_with_link.title) do
|
|
185
|
+
accept_confirm { click_on "Delete" }
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
expect(page).to have_admin_callout("Attachment destroyed successfully")
|
|
189
|
+
|
|
190
|
+
expect(page).to have_no_content(translated(attachment_with_link.title, locale: :en))
|
|
191
|
+
end
|
|
192
|
+
|
|
182
193
|
it "can update an attachment" do
|
|
183
194
|
within "#attachments" do
|
|
184
195
|
within "tr", text: translated(attachment.title) do
|
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.30.
|
|
4
|
+
version: 0.30.6
|
|
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: 2026-
|
|
13
|
+
date: 2026-02-26 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.30.
|
|
35
|
+
version: 0.30.6
|
|
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.30.
|
|
42
|
+
version: 0.30.6
|
|
43
43
|
- !ruby/object:Gem::Dependency
|
|
44
44
|
name: devise
|
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -94,28 +94,28 @@ dependencies:
|
|
|
94
94
|
requirements:
|
|
95
95
|
- - '='
|
|
96
96
|
- !ruby/object:Gem::Version
|
|
97
|
-
version: 0.30.
|
|
97
|
+
version: 0.30.6
|
|
98
98
|
type: :development
|
|
99
99
|
prerelease: false
|
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
|
101
101
|
requirements:
|
|
102
102
|
- - '='
|
|
103
103
|
- !ruby/object:Gem::Version
|
|
104
|
-
version: 0.30.
|
|
104
|
+
version: 0.30.6
|
|
105
105
|
- !ruby/object:Gem::Dependency
|
|
106
106
|
name: decidim-participatory_processes
|
|
107
107
|
requirement: !ruby/object:Gem::Requirement
|
|
108
108
|
requirements:
|
|
109
109
|
- - '='
|
|
110
110
|
- !ruby/object:Gem::Version
|
|
111
|
-
version: 0.30.
|
|
111
|
+
version: 0.30.6
|
|
112
112
|
type: :development
|
|
113
113
|
prerelease: false
|
|
114
114
|
version_requirements: !ruby/object:Gem::Requirement
|
|
115
115
|
requirements:
|
|
116
116
|
- - '='
|
|
117
117
|
- !ruby/object:Gem::Version
|
|
118
|
-
version: 0.30.
|
|
118
|
+
version: 0.30.6
|
|
119
119
|
description: Organization administration to manage a single organization.
|
|
120
120
|
email:
|
|
121
121
|
- josepjaume@gmail.com
|