decidim-proposals 0.30.4 → 0.30.5
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/cells/decidim/proposals/proposal_g/show.erb +1 -1
- data/app/cells/decidim/proposals/proposal_vote/show.erb +1 -1
- data/app/models/decidim/proposals/proposal.rb +2 -2
- data/app/presenters/decidim/proposals/proposal_presenter.rb +0 -1
- data/app/views/decidim/proposals/proposals/_votes_count.html.erb +1 -1
- data/config/locales/de.yml +2 -2
- data/config/locales/eu.yml +6 -6
- data/config/locales/it.yml +11 -0
- data/config/locales/pt-BR.yml +410 -1
- data/config/locales/ro-RO.yml +8 -0
- data/config/locales/sv.yml +37 -24
- data/lib/decidim/proposals/component.rb +12 -0
- data/lib/decidim/proposals/seeds.rb +1 -1
- data/lib/decidim/proposals/version.rb +1 -1
- metadata +20 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 21c7daea853c31656cf5e7ec36f653d575c1499a188384e5bfa27c7b55a2d9bb
|
|
4
|
+
data.tar.gz: 915c7d553955d0ad6ace8b3be5c70e92cd3e512643a79894137583c71ceccc0b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1aa5798f0f17d8c8931f12dbe9fdcd9d65c3b7741d0c8b648ae3be877d5cb1168675f05bfa18259542634f6a5e6701158b2917ad4493e68ba19346a6c723d28d
|
|
7
|
+
data.tar.gz: 234d7233d34868466eb05ed82ebda3a54f7b496bc4931933392baa4b3e5c96f761a173000ca6bfbf4bdba051b40a15fe82c6dcbd06164162226c74d6a96a4e57
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<%= link_to resource_path, class: classes[:default], id: resource_id do %>
|
|
3
3
|
<div class="<%= classes[:img] %>">
|
|
4
4
|
<% if has_image? %>
|
|
5
|
-
<%= image_tag resource_image_path, alt:
|
|
5
|
+
<%= image_tag resource_image_path, alt: "" %>
|
|
6
6
|
<% else %>
|
|
7
7
|
<%= external_icon "media/images/proposal-placeholder-card-g.svg", class: "card__proposal-placeholder-g" %>
|
|
8
8
|
<% end %>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<% if !current_settings.votes_hidden? && (current_component.participatory_space.can_participate?(current_user) || current_user
|
|
1
|
+
<% if !current_settings.votes_hidden? && (current_component.participatory_space.can_participate?(current_user) || current_user&.admin?) %>
|
|
2
2
|
<% if component_settings.participatory_texts_enabled? && from_proposals_list %>
|
|
3
3
|
<%= render partial: "decidim/proposals/proposals/participatory_texts/proposal_votes_count", locals: { proposal: resource, from_proposals_list: true } %>
|
|
4
4
|
<% else %>
|
|
@@ -174,8 +174,8 @@ module Decidim
|
|
|
174
174
|
A: :title,
|
|
175
175
|
datetime: :published_at
|
|
176
176
|
},
|
|
177
|
-
index_on_create: ->(proposal) { proposal.
|
|
178
|
-
index_on_update: ->(proposal) { proposal.visible? })
|
|
177
|
+
index_on_create: ->(proposal) { proposal.visible? && proposal.component&.published? },
|
|
178
|
+
index_on_update: ->(proposal) { proposal.visible? && proposal.component&.published? })
|
|
179
179
|
|
|
180
180
|
def self.log_presenter_class_for(_log)
|
|
181
181
|
Decidim::Proposals::AdminLog::ProposalPresenter
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<% if !current_settings.votes_hidden? && (current_component.participatory_space.can_participate?(current_user) || current_user
|
|
1
|
+
<% if !current_settings.votes_hidden? && (current_component.participatory_space.can_participate?(current_user) || current_user&.admin?) %>
|
|
2
2
|
<% if component_settings.participatory_texts_enabled? && from_proposals_list %>
|
|
3
3
|
<%= render partial: "decidim/proposals/proposals/participatory_texts/proposal_votes_count", locals: { proposal:, from_proposals_list: true } %>
|
|
4
4
|
<% else %>
|
data/config/locales/de.yml
CHANGED
data/config/locales/eu.yml
CHANGED
|
@@ -385,7 +385,7 @@ eu:
|
|
|
385
385
|
badges:
|
|
386
386
|
accepted_proposals:
|
|
387
387
|
conditions:
|
|
388
|
-
- Aukeratu zure intereseko partaidetza
|
|
388
|
+
- Aukeratu zure intereseko partaidetza-espazioa proposamenak bidaltzeko
|
|
389
389
|
- Egin daitezkeen proposamenak egiten saiatu. Horrela onartuak izateko aukera gehiago dute.
|
|
390
390
|
description: Garaikur hau proposamen berriekin aktiboki parte hartzen duzunean eta horiek onartzen direnean ematen da
|
|
391
391
|
description_another: Parte-hartzaile honek %{score} proposamen onartu ditu.
|
|
@@ -407,7 +407,7 @@ eu:
|
|
|
407
407
|
unearned_own: Oraindik ez duzu proposamenik bozkatu.
|
|
408
408
|
proposals:
|
|
409
409
|
conditions:
|
|
410
|
-
- Aukeratu zure interesekoa den
|
|
410
|
+
- Aukeratu zure interesekoa den partaidetza-espazioa, gaitutako proposamenak aurkeztuta
|
|
411
411
|
- Sortu beste proposamen bat
|
|
412
412
|
description: Garaikur hau proposamen berriekin modu aktiboan parte hartzen duzunean ematen da.
|
|
413
413
|
description_another: Parte-hartzaile honek %{score} proposamen sortu ditu.
|
|
@@ -609,7 +609,7 @@ eu:
|
|
|
609
609
|
destroy:
|
|
610
610
|
success: Egoera behar bezala ezabatua
|
|
611
611
|
edit:
|
|
612
|
-
title:
|
|
612
|
+
title: Egoera editatu
|
|
613
613
|
update: Eguneratu
|
|
614
614
|
form:
|
|
615
615
|
preview: Aurrebistaratu
|
|
@@ -732,7 +732,7 @@ eu:
|
|
|
732
732
|
accepted: Onartuta
|
|
733
733
|
evaluating: Ebaluatzen
|
|
734
734
|
not_answered: Erantzun gabe
|
|
735
|
-
rejected:
|
|
735
|
+
rejected: Bazteruta
|
|
736
736
|
withdrawn: Kendu
|
|
737
737
|
application_helper:
|
|
738
738
|
filter_origin_values:
|
|
@@ -1012,7 +1012,7 @@ eu:
|
|
|
1012
1012
|
already_voted_hover: Kendu babesa
|
|
1013
1013
|
maximum_votes_reached: Babesen muga lortua
|
|
1014
1014
|
no_votes_remaining: Ez da gelditzen babesik
|
|
1015
|
-
vote:
|
|
1015
|
+
vote: Babesa eman
|
|
1016
1016
|
votes_blocked: Eman botoa
|
|
1017
1017
|
votes_count:
|
|
1018
1018
|
count:
|
|
@@ -1035,7 +1035,7 @@ eu:
|
|
|
1035
1035
|
title: Parte hartzeko arauak
|
|
1036
1036
|
vote_limit:
|
|
1037
1037
|
description: '%{limit} proposameni eman ahal diozu babesa.'
|
|
1038
|
-
votes:
|
|
1038
|
+
votes: '%{number} boto emateke'
|
|
1039
1039
|
wizard_aside:
|
|
1040
1040
|
back: Atzera
|
|
1041
1041
|
back_from_step_1: Itzuli proposamenetara
|
data/config/locales/it.yml
CHANGED
|
@@ -55,10 +55,12 @@ it:
|
|
|
55
55
|
attributes:
|
|
56
56
|
base:
|
|
57
57
|
not_official: Non sono ufficiali
|
|
58
|
+
voted: Hanno ricevuto supporto o appoggi
|
|
58
59
|
proposals_split:
|
|
59
60
|
attributes:
|
|
60
61
|
base:
|
|
61
62
|
not_official: Non sono ufficiali
|
|
63
|
+
voted: Hanno ricevuto supporto o appoggi
|
|
62
64
|
models:
|
|
63
65
|
decidim/proposals/creation_enabled_event: Creazione della proposta abilitata
|
|
64
66
|
decidim/proposals/endorsing_enabled_event: Approvazione della proposta abilitata
|
|
@@ -194,6 +196,7 @@ it:
|
|
|
194
196
|
email_intro: 'Puoi sostenere proposte in %{participatory_space_title}! Inizia a partecipare a questa pagina:'
|
|
195
197
|
email_outro: Hai ricevuto questa notifica perché stai seguendo %{participatory_space_title}. È possibile interrompere la ricezione di notifiche facendo click su pulsante Smetti di seguire nella pagina del processo che stai seguendo.
|
|
196
198
|
email_subject: L'approvazione delle proposte è iniziata per %{participatory_space_title}
|
|
199
|
+
notification_title: Da adesso puoi iniziare <a href="%{resource_path}">a sottoscrivere proposte</a> su <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
|
197
200
|
proposal_mentioned:
|
|
198
201
|
email_intro: La tua proposta%{mentioned_proposal_title}" è stata menzionata <a href="%{resource_url}">in questo spazio</a> nei commenti.
|
|
199
202
|
email_outro: Hai ricevuto questa notifica perché sei un autore di "%{resource_title}".
|
|
@@ -251,6 +254,8 @@ it:
|
|
|
251
254
|
object: proposte
|
|
252
255
|
title: Proposte
|
|
253
256
|
votes:
|
|
257
|
+
description: Numero di voti sulle proposte
|
|
258
|
+
object: voti
|
|
254
259
|
title: Voti
|
|
255
260
|
participatory_spaces:
|
|
256
261
|
highlighted_proposals:
|
|
@@ -327,6 +332,7 @@ it:
|
|
|
327
332
|
publish: Pubblica
|
|
328
333
|
publish_answers: Pubblica risposte
|
|
329
334
|
select_component: Seleziona un componente
|
|
335
|
+
select_valuators: Seleziona uno o più valutatori
|
|
330
336
|
selected: selezionato
|
|
331
337
|
split: Proposte divise
|
|
332
338
|
split_button: Diviso
|
|
@@ -362,6 +368,11 @@ it:
|
|
|
362
368
|
proposals_splits:
|
|
363
369
|
create:
|
|
364
370
|
success: Suddiviso con successo le proposte in nuove.
|
|
371
|
+
valuation_assignments:
|
|
372
|
+
create:
|
|
373
|
+
success: Proposte assegnate ad un valutatore con successo.
|
|
374
|
+
delete:
|
|
375
|
+
success: Valutatore disassegnato dalle proposte con successo.
|
|
365
376
|
admin_log:
|
|
366
377
|
proposal:
|
|
367
378
|
answer: "%{user_name} ha risposto alla proposta %{resource_name} sullo spazio %{space_name}"
|