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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c7f119345553a42277ecd759abce84846286be069279f1aa4cf930602eec53d
4
- data.tar.gz: ab8fb1409504c435bd928db173f8ce71df1c99897a6fbef28fe29f37b49ceda9
3
+ metadata.gz: 522e8fe786af04bb61ca09ed907d3aa950debc4e5ef479c73ea760e996bb707a
4
+ data.tar.gz: 5b1e2037cd8b8dfbd57de6049f8b222a5c46d2e50ed676bfbd96f9fa0919882b
5
5
  SHA512:
6
- metadata.gz: 36d37ce0ffe689df346ca52ebf7fd5d0ad6ff76821fd473bebc0bdfb5e28ea82f85697eaa26f61b5d793b300bd28f5ed65ce5e51fc2620cc514a861b421eba23
7
- data.tar.gz: 523d00c19429cb6cadde02af6391e819f2dd8863c84cbd59ea5d2f5945b11a170619c5dd96180a4a10653dae671619c619e4d080d7ba7854e64bdccc85a7aabf
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}"] == "1"
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
@@ -19,7 +19,7 @@ module Decidim
19
19
  #
20
20
  # Returns nothing.
21
21
  def call
22
- return broadcast(:invalid) unless @reportable.reported?
22
+ return broadcast(:invalid) unless @reportable.reported? || @reportable.user_moderation
23
23
 
24
24
  unreport!
25
25
  broadcast(:ok, @reportable)
@@ -192,7 +192,6 @@ ar:
192
192
  </ul>
193
193
  يمكنك استعادة العنصر إذا غيرت رأيك لاحقاً.
194
194
  export: تصدير الكل
195
- export-selection: تصدير الإختيار
196
195
  import: استيراد
197
196
  manage: تدبير
198
197
  newsletter:
@@ -185,7 +185,6 @@ bg:
185
185
  new: Нова прикачена папка
186
186
  browse: Разглеждане
187
187
  export: Експорт на всички
188
- export-selection: Експорт на селекцията
189
188
  import: Импортиране
190
189
  manage: Управление
191
190
  newsletter:
@@ -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:
@@ -197,7 +197,6 @@ de:
197
197
  </ul>
198
198
  Wenn Sie Ihre Meinung ändern, können Sie es später wiederherstellen.
199
199
  export: Alles exportieren
200
- export-selection: Auswahl exportieren
201
200
  import: Importieren
202
201
  manage: Verwalten
203
202
  newsletter:
@@ -181,7 +181,6 @@ el:
181
181
  new: Νέος φάκελος συνημμένων
182
182
  browse: Αναζήτηση
183
183
  export: Εξαγωγή όλων
184
- export-selection: Εξαγωγή επιλογής
185
184
  import: Εισαγωγή
186
185
  manage: Διαχείριση
187
186
  newsletter:
@@ -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: Esportatu hautaketa
200
+ export-selection: Hautapena esportatu
201
201
  import: Inportatu
202
202
  manage: Kudeatu
203
203
  newsletter:
@@ -197,7 +197,6 @@ fi-pl:
197
197
  </ul>
198
198
  Mikäli muutat mieltäsi, voit palauttaa tuloksen myöhemmin.
199
199
  export: Vie kaikki
200
- export-selection: Vie valitut
201
200
  import: Tuo
202
201
  manage: Hallitse
203
202
  newsletter:
@@ -197,7 +197,6 @@ fi:
197
197
  </ul>
198
198
  Mikäli muutat mieltäsi, voit palauttaa tuloksen myöhemmin.
199
199
  export: Vie kaikki
200
- export-selection: Vie valitut
201
200
  import: Tuo
202
201
  manage: Hallitse
203
202
  newsletter:
@@ -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.
@@ -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.
@@ -151,7 +151,6 @@ gl:
151
151
  new: Novo anexo
152
152
  browse: Buscar
153
153
  export: Exportar todo
154
- export-selection: Exportar selección
155
154
  import: Importar
156
155
  manage: Xestionar
157
156
  newsletter:
@@ -185,7 +185,6 @@ hu:
185
185
  new: Új csatolmány mappa
186
186
  browse: Böngészés
187
187
  export: Összes exportálása
188
- export-selection: Kiválasztottak exportálása
189
188
  import: Import
190
189
  manage: Kezelés
191
190
  newsletter:
@@ -192,7 +192,6 @@ it:
192
192
  </ul>
193
193
  Se cambi idea, puoi ripristinarlo più tardi.
194
194
  export: Esporta tutto
195
- export-selection: Esporta selezione
196
195
  import: Importazione
197
196
  manage: Gestisci
198
197
  newsletter:
@@ -154,7 +154,6 @@ ko:
154
154
  new: 새 첨부 폴더
155
155
  browse: 찾아보기
156
156
  export: 모두 내보내기
157
- export-selection: 선택한 항목 내보내기
158
157
  import: 가져오기
159
158
  newsletter:
160
159
  new: 새 뉴스레터
@@ -152,7 +152,6 @@ lb:
152
152
  new: Neuer Anhang
153
153
  browse: Durchsuchen
154
154
  export: Alles exportéieren
155
- export-selection: Export Auswiel
156
155
  import: Importieren
157
156
  manage: Verwalten
158
157
  newsletter:
@@ -181,7 +181,6 @@ lt:
181
181
  new: Naujas priedų aplankas
182
182
  browse: Naršyti
183
183
  export: Eksportuoti viską
184
- export-selection: Eksportuoti pasirinktą
185
184
  import: Importuoti
186
185
  manage: Valdyti
187
186
  newsletter:
@@ -152,7 +152,6 @@ nl:
152
152
  new: Nieuwe bijlage
153
153
  browse: Browsen
154
154
  export: Alles exporteren
155
- export-selection: Selectie exporteren
156
155
  import: Importeren
157
156
  manage: Beheer
158
157
  newsletter:
@@ -152,7 +152,6 @@
152
152
  new: Nytt vedlegg
153
153
  browse: Bla gjennom
154
154
  export: Eksporter alt
155
- export-selection: Eksporter valg
156
155
  import: Importer
157
156
  manage: Administrer
158
157
  newsletter:
@@ -186,7 +186,6 @@ pl:
186
186
  new: Nowy folder załącznika
187
187
  browse: Przeglądaj
188
188
  export: Eksportuj wszystko
189
- export-selection: Eksportuj wybrane
190
189
  import: Importuj
191
190
  manage: Zarządzanie
192
191
  newsletter:
@@ -24,11 +24,11 @@ pt-BR:
24
24
  description: Descrição
25
25
  name: Nome
26
26
  parent_id: Superior
27
- weight: Posição do pedido
27
+ weight: Ordem de posição
28
28
  component:
29
29
  name: Nome
30
30
  published_at: Publicado em
31
- weight: Posição do pedido
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 selecionado
200
+ export-selection: Exportar seleção
201
201
  import: Importar
202
202
  manage: Gerenciar
203
203
  newsletter:
204
- new: Novo Boletim Informativo
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: Ver componentes excluídos
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: Justificativa
310
+ justification: Justificativas
311
311
  title: Bloquear usuários
312
312
  new:
313
313
  action: Bloquear conta e enviar justificativa
@@ -152,7 +152,6 @@ pt:
152
152
  new: Novo anexo
153
153
  browse: Explorar
154
154
  export: Exportar tudo
155
- export-selection: Exportar selecção
156
155
  import: Importar
157
156
  manage: Gerir
158
157
  newsletter:
@@ -182,8 +182,7 @@ ro:
182
182
  attachment_collection:
183
183
  new: Foldere pentru atașamente
184
184
  browse: Caută
185
- export: Exportă tot
186
- export-selection: Exportă selecția
185
+ export: Exportaţi tot
187
186
  import: Importă
188
187
  manage: Gestionează
189
188
  newsletter:
@@ -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: Podnastlov dugmeta akcije
45
- highlighted_content_banner_action_title: Naslov dugmeta akcije
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: Naslov
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: Naslov
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: Naslov
94
+ title: Naziv
95
95
  static_page_topic:
96
96
  description: Opis
97
97
  show_in_footer: Prikaži u podnožju
98
- title: Naslov
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: Naslov
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: Naslov
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: Naslov
373
+ title: Naziv
373
374
  user:
374
375
  fields:
375
376
  created_at: Datum kreiranja
@@ -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: Objektnamn
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 anmälan
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 valda resurser
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.
@@ -192,7 +192,6 @@ tr:
192
192
  </ul>
193
193
  Fikrinizi değiştirirseniz daha sonra yeniden yükleyebilirsiniz.
194
194
  export: Tümünü dışa aktar
195
- export-selection: Seçimi dışa aktar
196
195
  import: İçe aktar
197
196
  manage: yönetme
198
197
  newsletter:
@@ -180,7 +180,6 @@ zh-TW:
180
180
  new: 新增附件資料夾
181
181
  browse: 瀏覽
182
182
  export: 全部匯出
183
- export-selection: 匯出選擇
184
183
  import: 匯入
185
184
  manage: 管理
186
185
  newsletter:
@@ -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 "#attachments table" do
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
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-admin version.
5
5
  module Admin
6
6
  def self.version
7
- "0.30.5"
7
+ "0.30.6"
8
8
  end
9
9
  end
10
10
  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.30.5
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-01-28 00:00:00.000000000 Z
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.5
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.5
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.5
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.5
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.5
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.5
118
+ version: 0.30.6
119
119
  description: Organization administration to manage a single organization.
120
120
  email:
121
121
  - josepjaume@gmail.com