decidim-surveys 0.26.7 → 0.26.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/decidim/surveys/admin/component/_actions.html.erb +43 -0
- data/config/environment.rb +3 -0
- data/config/locales/ca.yml +3 -0
- data/config/locales/cs.yml +3 -0
- data/config/locales/de.yml +3 -0
- data/config/locales/el.yml +10 -0
- data/config/locales/en.yml +3 -0
- data/config/locales/es-MX.yml +3 -0
- data/config/locales/es-PY.yml +3 -0
- data/config/locales/es.yml +3 -0
- data/config/locales/eu.yml +23 -19
- data/config/locales/fi-plain.yml +3 -0
- data/config/locales/fi.yml +3 -0
- data/config/locales/fr-CA.yml +3 -0
- data/config/locales/fr.yml +3 -0
- data/config/locales/ja.yml +3 -0
- data/config/locales/pt-BR.yml +1 -0
- data/config/locales/sq-AL.yml +1 -0
- data/config/locales/th-TH.yml +1 -0
- data/lib/decidim/surveys/version.rb +1 -1
- metadata +18 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb8aebb7c4ad3352161584158c6d57150813bc89e662e872e04f9ce8a45802b9
|
4
|
+
data.tar.gz: e15acc0062d9773525b6051348ceb063dbee067ddcf861564a7f8346958342c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ae8e42902a160fa29cccbb123dda1ce108782329de01df7e05e3bbb97313cecbc24b324841fd94660418d10d66fccac17247cb178d615f673fb7394f1a6adbb
|
7
|
+
data.tar.gz: 65760d28c59c8c2fb512076bc2d2afd2f81b6f8c59c41084bcfbd0acef469bebb06f11aa9ed0ec2bdedd540f874b78e692bc77a428f677e446e352e78383d8e0
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<% if component.manifest.admin_engine %>
|
2
|
+
<%= icon_link_to "pencil", manage_component_path(component), t("actions.manage", scope: "decidim.admin"), class: "action-icon--manage" %>
|
3
|
+
<% else %>
|
4
|
+
<span class="action-space icon"></span>
|
5
|
+
<% end %>
|
6
|
+
|
7
|
+
<% if allowed_to?(:update, :component, component: component) %>
|
8
|
+
<% if component.published? %>
|
9
|
+
<%= icon_link_to "x", url_for(action: :unpublish, id: component, controller: "components"), t("actions.unpublish", scope: "decidim.admin"), class: "action-icon--unpublish", method: :put %>
|
10
|
+
<% else %>
|
11
|
+
<%= icon_link_to "check", url_for(action: :publish, id: component, controller: "components"), t("actions.publish", scope: "decidim.admin"), class: "action-icon--publish", method: :put, data: { confirm: t(".answers_alert") } %>
|
12
|
+
<% end %>
|
13
|
+
<% else %>
|
14
|
+
<span class="action-space icon"></span>
|
15
|
+
<% end %>
|
16
|
+
|
17
|
+
<% if allowed_to? :update, :component, component: component %>
|
18
|
+
<%= icon_link_to "cog", url_for(action: :edit, id: component, controller: "components"), t("actions.configure", scope: "decidim.admin"), class: "action-icon--configure" %>
|
19
|
+
<% else %>
|
20
|
+
<span class="action-space icon"></span>
|
21
|
+
<% end %>
|
22
|
+
|
23
|
+
<% if allowed_to? :update, :component, component: component %>
|
24
|
+
<% if component.manifest.actions.empty? %>
|
25
|
+
<%= icon "key", class: "action-icon action-icon--disabled" %>
|
26
|
+
<% else %>
|
27
|
+
<%= icon_link_to "key", url_for(action: :edit, component_id: component, controller: "component_permissions"), t("actions.permissions", scope: "decidim.admin"), class: "action-icon--permissions" %>
|
28
|
+
<% end %>
|
29
|
+
<% else %>
|
30
|
+
<span class="action-space icon"></span>
|
31
|
+
<% end %>
|
32
|
+
|
33
|
+
<% if allowed_to? :share, :component, component: component %>
|
34
|
+
<%= icon_link_to "share", url_for(action: :share, id: component, controller: "components"), t("actions.share", scope: "decidim.admin"), class: "action-icon--share", target: "_blank" %>
|
35
|
+
<% else %>
|
36
|
+
<span class="action-space icon"></span>
|
37
|
+
<% end %>
|
38
|
+
|
39
|
+
<% if allowed_to? :destroy, :component, component: component %>
|
40
|
+
<%= icon_link_to "circle-x", url_for(action: :destroy, id: component, controller: "components"), t("actions.destroy", scope: "decidim.admin"), class: "action-icon--remove", method: :delete %>
|
41
|
+
<% else %>
|
42
|
+
<span class="action-space icon"></span>
|
43
|
+
<% end %>
|
data/config/locales/ca.yml
CHANGED
data/config/locales/cs.yml
CHANGED
data/config/locales/de.yml
CHANGED
data/config/locales/el.yml
CHANGED
@@ -20,9 +20,17 @@ el:
|
|
20
20
|
settings:
|
21
21
|
global:
|
22
22
|
announcement: Ανακοίνωση
|
23
|
+
clean_after_publish: Διαγραφή απαντήσεων κατά τη δημοσίευση της έρευνας
|
24
|
+
ends_at: Απαντήσεις αποδεκτές μέχρι
|
25
|
+
ends_at_help: Αφήστε κενό για καμία συγκεκριμένη ημερομηνία
|
26
|
+
scope_id: Πεδίο εφαρμογής
|
27
|
+
scopes_enabled: Ενεργοποιημένα πεδία εφαρμογών
|
28
|
+
starts_at: Αποδεκτές απαντήσεις από
|
29
|
+
starts_at_help: Αφήστε κενό για καμία συγκεκριμένη ημερομηνία
|
23
30
|
step:
|
24
31
|
allow_answers: Να επιτρέπονται απαντήσεις
|
25
32
|
allow_unregistered: Να επιτρέπεται σε μη εγγεγραμμένους χρήστες να απαντήσουν στην έρευνα
|
33
|
+
allow_unregistered_help: Εάν είναι ενεργό, δεν θα απαιτείται σύνδεση για να απαντήσετε στην έρευνα. Αυτό μπορεί να οδηγήσει σε κακά ή αναξιόπιστα δεδομένα και θα είναι πιο ευάλωτο σε αυτοματοποιημένες επιθέσεις. Χρησιμοποιήστε με προσοχή! Λάβετε υπόψη ότι ένας συμμετέχων θα μπορούσε να απαντήσει στην ίδια έρευνα πολλές φορές, χρησιμοποιώντας διαφορετικά προγράμματα περιήγησης ή το χαρακτηριστικό "ιδιωτικό πρόγραμμα περιήγησης" του προγράμματος περιήγησης ιστού.
|
26
34
|
announcement: Ανακοίνωση
|
27
35
|
events:
|
28
36
|
surveys:
|
@@ -41,6 +49,8 @@ el:
|
|
41
49
|
description: Αριθμός ερευνών που απαντήθηκαν από συμμετέχοντες
|
42
50
|
object: απαντήσεις σε έρευνες
|
43
51
|
title: Απαντήσεις σε έρευνες
|
52
|
+
statistics:
|
53
|
+
answers_count: Απαντήσεις
|
44
54
|
surveys:
|
45
55
|
admin:
|
46
56
|
exports:
|
data/config/locales/en.yml
CHANGED
data/config/locales/es-MX.yml
CHANGED
data/config/locales/es-PY.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/eu.yml
CHANGED
@@ -2,7 +2,7 @@ eu:
|
|
2
2
|
activemodel:
|
3
3
|
models:
|
4
4
|
decidim/surveys/closed_survey_event: Inkesta amaitu da
|
5
|
-
decidim/surveys/opened_survey_event: Inkesta hasi
|
5
|
+
decidim/surveys/opened_survey_event: Inkesta hasi da
|
6
6
|
activerecord:
|
7
7
|
models:
|
8
8
|
decidim/surveys/survey:
|
@@ -19,49 +19,53 @@ eu:
|
|
19
19
|
name: Inkesta
|
20
20
|
settings:
|
21
21
|
global:
|
22
|
-
announcement:
|
22
|
+
announcement: Oharra
|
23
23
|
clean_after_publish: Ezabatu erantzuna galdetegia argitaratzean
|
24
24
|
ends_at: Erantzunak noiz arte onartuko
|
25
25
|
ends_at_help: Utzi zuriz data zehatzik ez badago
|
26
|
-
scope_id:
|
27
|
-
scopes_enabled:
|
26
|
+
scope_id: Esparrua
|
27
|
+
scopes_enabled: Esparru gaituak
|
28
28
|
starts_at: Honen erantzunak onartuak
|
29
29
|
starts_at_help: Utzi zuriz data zehatzik ez badago
|
30
30
|
step:
|
31
31
|
allow_answers: Baimendu erantzunak
|
32
32
|
allow_unregistered: Baimendu erregistratu gabe dauden erabiltzaileei galdetegia erantzutea
|
33
|
-
|
33
|
+
allow_unregistered_help: Aktibatuta badago ez da beharrezkoa saioa hastea inkesta erantzuteko. Honen ondorioz datu eskas edo fidagarritasun gutxikoak bildu litezke. Kontuz erabili! Izan ere, parte-hartzaile berak hainbat aldiz erantzun litzake nabigatzaile desberdinetatik edo nabigazio pribatuaren aukera erabiliz.
|
34
|
+
announcement: Oharra
|
34
35
|
events:
|
35
36
|
surveys:
|
36
37
|
survey_closed:
|
37
38
|
email_intro: '%{resource_title} inkesta %{participatory_space_title} itxi egin da.'
|
38
|
-
email_outro:
|
39
|
-
email_subject:
|
40
|
-
notification_title:
|
39
|
+
email_outro: Jakinarazpen hau jaso duzu %{participatory_space_title} jarraitzen ari zarelako. Aurreko estekan sartuz jakinarazpenak jasotzeari utzi ahal diozu.
|
40
|
+
email_subject: Inkesta bat itxi da %{participatory_space_title} espazioan
|
41
|
+
notification_title: <a href="%{resource_path}">%{resource_title}</a> inkesta <a href="%{participatory_space_url}">%{participatory_space_title}</a> espazioan amaitu da.
|
41
42
|
survey_opened:
|
42
|
-
email_intro: '%{resource_title}
|
43
|
-
email_outro:
|
44
|
-
email_subject:
|
45
|
-
notification_title: <a href="%{resource_path}">%{resource_title}</a>
|
43
|
+
email_intro: '%{resource_title} inkesta ireki da %{participatory_space_title} espazioan. Orri honetan parte har dezakezu:'
|
44
|
+
email_outro: Jakinarazpen hau jaso duzu %{participatory_space_title} jarraitzen ari zarelako. Aurreko estekan sartuz jakinarazpenak jasotzeari utzi ahal diozu.
|
45
|
+
email_subject: Beste inkesta bat %{participatory_space_title} izeneko espazioan
|
46
|
+
notification_title: <a href="%{resource_path}">%{resource_title}</a> inkesta <a href="%{participatory_space_url}">%{participatory_space_title}</a> espazioan irekita dago.
|
46
47
|
metrics:
|
47
48
|
survey_answers:
|
48
|
-
description:
|
49
|
-
object:
|
50
|
-
title:
|
49
|
+
description: Parte-hartzaileek erantzundako inkesta kopurua
|
50
|
+
object: inkesten erantzunak
|
51
|
+
title: Inkestei erantzunak
|
51
52
|
statistics:
|
52
53
|
answers_count: Erantzunak
|
53
54
|
surveys:
|
54
55
|
admin:
|
56
|
+
component:
|
57
|
+
actions:
|
58
|
+
answers_alert: Osagaia argitaratuz gero, emaitza guztiak kenduko dira.
|
55
59
|
exports:
|
56
|
-
survey_user_answers:
|
60
|
+
survey_user_answers: Inkestako parte-hartzaileen erantzunak
|
57
61
|
surveys:
|
58
62
|
update:
|
59
|
-
invalid:
|
63
|
+
invalid: Arazo bat egon da inkesta gordetzean.
|
60
64
|
success: Inkesta ondo gorde da.
|
61
65
|
last_activity:
|
62
|
-
new_survey_at_html: "<span>Inkesta
|
66
|
+
new_survey_at_html: "<span>Inkesta berria hemen: %{link}</span>"
|
63
67
|
surveys:
|
64
68
|
answer:
|
65
|
-
invalid:
|
69
|
+
invalid: Arazo bat egon da inkesta erantzutean.
|
66
70
|
spam_detected: Arazo bat izan da galdetegia erantzutean. Agian azkarregi joan zara, berriro egin dezakezu?
|
67
71
|
success: Inkesta ondo bete da.
|
data/config/locales/fi-plain.yml
CHANGED
data/config/locales/fi.yml
CHANGED
data/config/locales/fr-CA.yml
CHANGED
@@ -53,6 +53,9 @@ fr-CA:
|
|
53
53
|
answers_count: Réponses
|
54
54
|
surveys:
|
55
55
|
admin:
|
56
|
+
component:
|
57
|
+
actions:
|
58
|
+
answers_alert: Si vous publiez la fonctionnalité, toutes les réponses existantes seront supprimées.
|
56
59
|
exports:
|
57
60
|
survey_user_answers: Réponses des participants à l'enquête
|
58
61
|
surveys:
|
data/config/locales/fr.yml
CHANGED
@@ -53,6 +53,9 @@ fr:
|
|
53
53
|
answers_count: Réponses
|
54
54
|
surveys:
|
55
55
|
admin:
|
56
|
+
component:
|
57
|
+
actions:
|
58
|
+
answers_alert: Si vous publiez la fonctionnalité, toutes les réponses existantes seront supprimées.
|
56
59
|
exports:
|
57
60
|
survey_user_answers: Réponses des participants à l'enquête
|
58
61
|
surveys:
|
data/config/locales/ja.yml
CHANGED
data/config/locales/pt-BR.yml
CHANGED
@@ -30,6 +30,7 @@ pt-BR:
|
|
30
30
|
step:
|
31
31
|
allow_answers: Permitir respostas
|
32
32
|
allow_unregistered: Permitir que usuários não registrados respondam à pesquisa
|
33
|
+
allow_unregistered_help: Se ativo, nenhum login será necessário para responder a pesquisa. Isso pode levar a dados ruins ou não confiáveis e será mais vulnerável a ataques automatizados. Usar com cuidado! Lembre-se de que um usuário pode responder à mesma pesquisa várias vezes, usando navegadores diferentes ou a função "navegação privada" de seu navegador.
|
33
34
|
announcement: Anúncio
|
34
35
|
events:
|
35
36
|
surveys:
|
@@ -0,0 +1 @@
|
|
1
|
+
sq:
|
@@ -0,0 +1 @@
|
|
1
|
+
th:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-surveys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.26.
|
4
|
+
version: 0.26.9
|
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: 2023-
|
13
|
+
date: 2023-12-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-core
|
@@ -18,84 +18,84 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.26.
|
21
|
+
version: 0.26.9
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.26.
|
28
|
+
version: 0.26.9
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: decidim-forms
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.26.
|
35
|
+
version: 0.26.9
|
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.26.
|
42
|
+
version: 0.26.9
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: decidim-templates
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.26.
|
49
|
+
version: 0.26.9
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.26.
|
56
|
+
version: 0.26.9
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: decidim-admin
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - '='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.26.
|
63
|
+
version: 0.26.9
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - '='
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.26.
|
70
|
+
version: 0.26.9
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: decidim-dev
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - '='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.26.
|
77
|
+
version: 0.26.9
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - '='
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: 0.26.
|
84
|
+
version: 0.26.9
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: decidim-participatory_processes
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - '='
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.26.
|
91
|
+
version: 0.26.9
|
92
92
|
type: :development
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - '='
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.26.
|
98
|
+
version: 0.26.9
|
99
99
|
description: A surveys component for decidim's participatory spaces.
|
100
100
|
email:
|
101
101
|
- josepjaume@gmail.com
|
@@ -127,8 +127,10 @@ files:
|
|
127
127
|
- app/queries/decidim/surveys/metrics/survey_participants_metric_measure.rb
|
128
128
|
- app/serializers/decidim/surveys/data_importer.rb
|
129
129
|
- app/serializers/decidim/surveys/data_serializer.rb
|
130
|
+
- app/views/decidim/surveys/admin/component/_actions.html.erb
|
130
131
|
- app/views/decidim/surveys/surveys/no_permission.html.erb
|
131
132
|
- config/assets.rb
|
133
|
+
- config/environment.rb
|
132
134
|
- config/locales/am-ET.yml
|
133
135
|
- config/locales/ar-SA.yml
|
134
136
|
- config/locales/ar.yml
|
@@ -195,9 +197,11 @@ files:
|
|
195
197
|
- config/locales/sk.yml
|
196
198
|
- config/locales/sl.yml
|
197
199
|
- config/locales/so-SO.yml
|
200
|
+
- config/locales/sq-AL.yml
|
198
201
|
- config/locales/sr-CS.yml
|
199
202
|
- config/locales/sv.yml
|
200
203
|
- config/locales/sw-KE.yml
|
204
|
+
- config/locales/th-TH.yml
|
201
205
|
- config/locales/ti-ER.yml
|
202
206
|
- config/locales/tr-TR.yml
|
203
207
|
- config/locales/uk.yml
|