decidim-surveys 0.25.0 → 0.26.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/packs/stylesheets/decidim/surveys/_surveys.scss +17 -0
- data/config/locales/fr-CA.yml +2 -0
- data/config/locales/fr.yml +5 -3
- data/config/locales/lb-LU.yml +67 -0
- data/config/locales/pt-BR.yml +1 -1
- data/config/locales/ro-RO.yml +26 -26
- data/config/locales/val-ES.yml +1 -0
- data/lib/decidim/surveys/component.rb +1 -1
- data/lib/decidim/surveys/engine.rb +4 -0
- data/lib/decidim/surveys/version.rb +1 -1
- metadata +21 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13677cf58c38a2700d2aea7527cc6c17febe24435aaeba0aa3e2349242ea7fb1
|
4
|
+
data.tar.gz: 839ab2ca8f423f19bb5b02e39a92a723f4c5173657c98a6d7d7490cb7a903781
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46c81c562f90d8b6f499db65cce90eb1e7f54859ee8827cd37a37b39134febbb7c4f8214f10554a8e0e9f0b9f4187288f2b79fd5b52fc060a18494678ce58506
|
7
|
+
data.tar.gz: 1289d596ba37dbd21caf17690d246609bac8f5982c26d2f158ffeeaca0a8abf0ef1b6988ab6e301c71a301d69a66a97d8bf98e943b8fea12965714519b8675c5
|
@@ -25,6 +25,23 @@
|
|
25
25
|
margin-bottom: .3em;
|
26
26
|
}
|
27
27
|
|
28
|
+
.questionnaire-title_and_description{
|
29
|
+
font-size: 2rem;
|
30
|
+
font-weight: 600;
|
31
|
+
padding-left: 1rem;
|
32
|
+
line-height: 1.4;
|
33
|
+
margin-bottom: .3em;
|
34
|
+
}
|
35
|
+
|
36
|
+
.help-title_and_description{
|
37
|
+
padding-left: 1rem;
|
38
|
+
margin-bottom: 2rem;
|
39
|
+
|
40
|
+
.ql-video{
|
41
|
+
margin: .5em auto;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
28
45
|
.help-text{
|
29
46
|
margin-top: .5em;
|
30
47
|
|
data/config/locales/fr-CA.yml
CHANGED
data/config/locales/fr.yml
CHANGED
@@ -37,11 +37,11 @@ fr:
|
|
37
37
|
survey_closed:
|
38
38
|
email_intro: L'enquête %{resource_title} proposée dans %{participatory_space_title} est maintenant terminée.
|
39
39
|
email_outro: Vous venez de recevoir une notification venant de %{participatory_space_title}. Vous pouvez à tout moment arrêter de recevoir des notifications en suivant le lien précédent.
|
40
|
-
email_subject: L'enquête de
|
40
|
+
email_subject: L'enquête de la concertation %{participatory_space_title} est terminée
|
41
41
|
notification_title: L'enquête <a href="%{resource_path}">%{resource_title}</a> ouverte dans <a href="%{participatory_space_url}">%{participatory_space_title}</a> est terminée.
|
42
42
|
survey_opened:
|
43
|
-
email_intro: 'L''enquête %{resource_title} est désormais ouverte dans
|
44
|
-
email_outro: Vous avez reçu cette notification car vous suivez
|
43
|
+
email_intro: 'L''enquête %{resource_title} est désormais ouverte dans la concertation %{participatory_space_title}. Vous pouvez y participer depuis la page suivante :'
|
44
|
+
email_outro: Vous avez reçu cette notification car vous suivez la concertation %{participatory_space_title}. Vous pouvez arrêter de recevoir ces notifications à partir du lien précédent.
|
45
45
|
email_subject: Une nouvelle enquête a été créée dans %{participatory_space_title}
|
46
46
|
notification_title: 'L''enquête <a href="%{resource_path}">%{resource_title}</a> est ouverte. Vous pouvez y participer en vous rendant sur le lien suivant : <a href="%{participatory_space_url}">%{participatory_space_title}</a>.'
|
47
47
|
metrics:
|
@@ -49,6 +49,8 @@ fr:
|
|
49
49
|
description: Nombre d'enquêtes auxquelles ont répondu les utilisateurs
|
50
50
|
object: réponses aux enquêtes
|
51
51
|
title: Réponses aux enquêtes
|
52
|
+
statistics:
|
53
|
+
answers_count: Réponses
|
52
54
|
surveys:
|
53
55
|
admin:
|
54
56
|
exports:
|
data/config/locales/lb-LU.yml
CHANGED
@@ -1 +1,68 @@
|
|
1
1
|
lb:
|
2
|
+
activemodel:
|
3
|
+
models:
|
4
|
+
decidim/surveys/closed_survey_event: Umfrage beendet
|
5
|
+
decidim/surveys/opened_survey_event: Umfrage gestartet
|
6
|
+
activerecord:
|
7
|
+
models:
|
8
|
+
decidim/surveys/survey:
|
9
|
+
one: Emfro
|
10
|
+
other: Emfroen
|
11
|
+
decidim/surveys/survey_answer:
|
12
|
+
one: Äntwerten
|
13
|
+
other: Äntwerten
|
14
|
+
decidim:
|
15
|
+
components:
|
16
|
+
surveys:
|
17
|
+
actions:
|
18
|
+
answer: Äntwert
|
19
|
+
name: Emfro
|
20
|
+
settings:
|
21
|
+
global:
|
22
|
+
announcement: Ukënnegung
|
23
|
+
clean_after_publish: Antworten bei Veröffentlichung des Fragebogens löschen
|
24
|
+
ends_at: Antworten akzeptiert bis
|
25
|
+
ends_at_help: Leer lassen für kein bestimmtes Datum
|
26
|
+
scope_id: Beräich
|
27
|
+
scopes_enabled: Beräicher aktivéiert
|
28
|
+
starts_at: Äntwerten akzeptéiert vun
|
29
|
+
starts_at_help: Leer lassen für kein bestimmtes Datum
|
30
|
+
step:
|
31
|
+
allow_answers: Äntwerten erlaben
|
32
|
+
allow_unregistered: Nicht registrierten Benutzern die Beantwortung des Fragebogens erlauben
|
33
|
+
allow_unregistered_help: Wenn diese Option aktiviert ist, muss man nicht angemeldet sein, um den Fragebogen zu beantworten. Das kann zu schlechten oder unzuverlässigen Daten führen und ist mehr anfällig für automatisierte Angriffe. Verwenden Sie dies mit Bedacht!
|
34
|
+
announcement: Ukënnegung
|
35
|
+
events:
|
36
|
+
surveys:
|
37
|
+
survey_closed:
|
38
|
+
email_intro: Die Umfrage %{resource_title} in %{participatory_space_title} wurde geschlossen.
|
39
|
+
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie %{participatory_space_title} folgen. Falls Sie keine solchen Benachrichtigungen mehr erhalten möchten, besuchen Sie den obigen Link.
|
40
|
+
email_subject: Eine Umfrage ist in %{participatory_space_title}
|
41
|
+
notification_title: Die Umfrage <a href="%{resource_path}">%{resource_title}</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a> ist beendet.
|
42
|
+
survey_opened:
|
43
|
+
email_intro: 'Die Umfrage %{resource_title} in %{participatory_space_title} ist jetzt geöffnet. Sie können auf dieser Seite teilnehmen:'
|
44
|
+
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie %{participatory_space_title} folgen. Falls Sie keine solchen Benachrichtigungen mehr erhalten möchten, besuchen Sie den obigen Link.
|
45
|
+
email_subject: Eine neue Umfrage in %{participatory_space_title}
|
46
|
+
notification_title: Die Umfrage <a href="%{resource_path}">%{resource_title}</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a> ist jetzt geöffnet.
|
47
|
+
metrics:
|
48
|
+
survey_answers:
|
49
|
+
description: Anzahl der Umfragen, die von den Benutzern beantwortet wurden
|
50
|
+
object: Antworten auf Umfragen
|
51
|
+
title: Antworten zu Umfragen
|
52
|
+
statistics:
|
53
|
+
answers_count: Äntwerten
|
54
|
+
surveys:
|
55
|
+
admin:
|
56
|
+
exports:
|
57
|
+
survey_user_answers: Umfrage Benutzer Antworten
|
58
|
+
surveys:
|
59
|
+
update:
|
60
|
+
invalid: Beim Speichern der Umfrage sind Fehler aufgetreten.
|
61
|
+
success: Umfrage wurde erfolgreich gespeichert.
|
62
|
+
last_activity:
|
63
|
+
new_survey_at_html: "<span>Neue Umfrage bei %{link}</span>"
|
64
|
+
surveys:
|
65
|
+
answer:
|
66
|
+
invalid: Bei der Beantwortung der Umfrage sind Fehler aufgetreten.
|
67
|
+
spam_detected: Bei der Beantwortung des Fragebogens sind Fehler aufgetreten. Möglicherweise waren Sie zu schnell. Versuchen Sie es vielleicht erneut.
|
68
|
+
success: Umfrage erfolgreich beantwortet.
|
data/config/locales/pt-BR.yml
CHANGED
data/config/locales/ro-RO.yml
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
ro:
|
2
2
|
activemodel:
|
3
3
|
models:
|
4
|
-
decidim/surveys/closed_survey_event:
|
5
|
-
decidim/surveys/opened_survey_event:
|
4
|
+
decidim/surveys/closed_survey_event: Sondajul s-a încheiat
|
5
|
+
decidim/surveys/opened_survey_event: Sondajul a început
|
6
6
|
activerecord:
|
7
7
|
models:
|
8
8
|
decidim/surveys/survey:
|
9
9
|
one: Sondaj
|
10
|
-
few:
|
11
|
-
other:
|
10
|
+
few: Sondaje
|
11
|
+
other: Sondaje
|
12
12
|
decidim/surveys/survey_answer:
|
13
13
|
one: Răspuns
|
14
14
|
few: Răspunsuri
|
@@ -17,54 +17,54 @@ ro:
|
|
17
17
|
components:
|
18
18
|
surveys:
|
19
19
|
actions:
|
20
|
-
answer:
|
20
|
+
answer: Răspunde
|
21
21
|
name: Sondaj
|
22
22
|
settings:
|
23
23
|
global:
|
24
24
|
announcement: Anunţ
|
25
|
-
clean_after_publish:
|
26
|
-
ends_at: Răspunsuri acceptate până la
|
27
|
-
ends_at_help:
|
25
|
+
clean_after_publish: Șterge răspunsurile odată cu publicarea sondajului
|
26
|
+
ends_at: Răspunsuri sunt acceptate până la
|
27
|
+
ends_at_help: Lasă necompletat pentru nicio dată specifică
|
28
28
|
scope_id: Domeniu de interes
|
29
|
-
scopes_enabled: Domenii
|
29
|
+
scopes_enabled: Domenii activate
|
30
30
|
starts_at: Răspunsuri acceptate de la
|
31
|
-
starts_at_help:
|
31
|
+
starts_at_help: Lasă necompletat pentru nicio dată specifică
|
32
32
|
step:
|
33
33
|
allow_answers: Permite răspunsuri
|
34
|
-
allow_unregistered: Permite utilizatorilor neînregistrați să răspundă la
|
35
|
-
allow_unregistered_help: Dacă este activ, nu va fi necesară
|
34
|
+
allow_unregistered: Permite utilizatorilor neînregistrați să răspundă la sondaj
|
35
|
+
allow_unregistered_help: Dacă este activ, nu va fi necesară autentificarea pentru a răspunde la sondaj. Acest lucru poate duce la date slabe sau nefiabile și un grad mai mare de vulnerabilitate la atacuri automate. Utilizează cu prudență!
|
36
36
|
announcement: Anunţ
|
37
37
|
events:
|
38
38
|
surveys:
|
39
39
|
survey_closed:
|
40
40
|
email_intro: Sondajul %{resource_title} din %{participatory_space_title} a fost închis.
|
41
|
-
email_outro:
|
42
|
-
email_subject:
|
43
|
-
notification_title: Sondajul <a href="%{resource_path}">%{resource_title}</a>
|
41
|
+
email_outro: Ai primit această notificare deoarece urmărești „%{participatory_space_title}”. Poți anula aceste notificări de la link-ul anterior.
|
42
|
+
email_subject: În %{participatory_space_title} s-a încheiat un sondaj
|
43
|
+
notification_title: Sondajul <a href="%{resource_path}">%{resource_title}</a> din <a href="%{participatory_space_url}">%{participatory_space_title}</a> s-a încheiat.
|
44
44
|
survey_opened:
|
45
|
-
email_intro: 'Sondajul %{resource_title}
|
46
|
-
email_outro:
|
47
|
-
email_subject: Un nou
|
48
|
-
notification_title: Sondajul <a href="%{resource_path}">%{resource_title}</a>
|
45
|
+
email_intro: 'Sondajul %{resource_title} din %{participatory_space_title} este acum deschis. Poți participa la acesta din această pagină:'
|
46
|
+
email_outro: Ai primit această notificare deoarece urmărești „%{participatory_space_title}”. Poți anula aceste notificări de la link-ul anterior.
|
47
|
+
email_subject: Un nou sondaj în %{participatory_space_title}
|
48
|
+
notification_title: Sondajul <a href="%{resource_path}">%{resource_title}</a> din <a href="%{participatory_space_url}">%{participatory_space_title}</a> este acum deschis.
|
49
49
|
metrics:
|
50
50
|
survey_answers:
|
51
51
|
description: Numărul de sondaje la care au răspuns participanții
|
52
52
|
object: răspunsuri la sondaje
|
53
|
-
title: Răspunsuri la
|
53
|
+
title: Răspunsuri la sondaje
|
54
54
|
statistics:
|
55
55
|
answers_count: Răspunsuri
|
56
56
|
surveys:
|
57
57
|
admin:
|
58
58
|
exports:
|
59
|
-
survey_user_answers:
|
59
|
+
survey_user_answers: Răspunsuri ale participantului la sondaj
|
60
60
|
surveys:
|
61
61
|
update:
|
62
62
|
invalid: A apărut o eroare la salvarea sondajului.
|
63
|
-
success:
|
63
|
+
success: Sondajul a fost salvat cu succes.
|
64
64
|
last_activity:
|
65
|
-
new_survey_at_html: "<span>
|
65
|
+
new_survey_at_html: "<span>Sondaj nou la %{link}</span>"
|
66
66
|
surveys:
|
67
67
|
answer:
|
68
|
-
invalid: A apărut o problemă în
|
69
|
-
spam_detected: A apărut o problemă
|
70
|
-
success:
|
68
|
+
invalid: A apărut o problemă în timpul răspunsului pentru sondaj.
|
69
|
+
spam_detected: A apărut o problemă în timpul răspunsului pentru sondaj. Poate ai fost prea rapid, poţi încerca din nou?
|
70
|
+
success: Răspunsul pentru sondaj a fost înregistrat cu succes.
|
@@ -0,0 +1 @@
|
|
1
|
+
val:
|
@@ -5,7 +5,7 @@ require "decidim/components/namer"
|
|
5
5
|
Decidim.register_component(:surveys) do |component|
|
6
6
|
component.engine = Decidim::Surveys::Engine
|
7
7
|
component.admin_engine = Decidim::Surveys::AdminEngine
|
8
|
-
component.icon = "decidim_surveys.svg"
|
8
|
+
component.icon = "media/images/decidim_surveys.svg"
|
9
9
|
component.stylesheet = "decidim/surveys/surveys"
|
10
10
|
component.permissions_class_name = "Decidim::Surveys::Permissions"
|
11
11
|
component.serializes_specific_data = true
|
@@ -45,6 +45,10 @@ module Decidim
|
|
45
45
|
metric_operation.manager_class = "Decidim::Surveys::Metrics::SurveyParticipantsMetricMeasure"
|
46
46
|
end
|
47
47
|
end
|
48
|
+
|
49
|
+
initializer "decidim_surveys.webpacker.assets_path" do
|
50
|
+
Decidim.register_assets_path File.expand_path("app/packs", root)
|
51
|
+
end
|
48
52
|
end
|
49
53
|
end
|
50
54
|
end
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-surveys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
8
8
|
- Marc Riera Casals
|
9
9
|
- Oriol Gual Oliva
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2022-02-02 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.
|
21
|
+
version: 0.26.0.rc2
|
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.
|
28
|
+
version: 0.26.0.rc2
|
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.
|
35
|
+
version: 0.26.0.rc2
|
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.
|
42
|
+
version: 0.26.0.rc2
|
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.
|
49
|
+
version: 0.26.0.rc2
|
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.
|
56
|
+
version: 0.26.0.rc2
|
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.
|
63
|
+
version: 0.26.0.rc2
|
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.
|
70
|
+
version: 0.26.0.rc2
|
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.
|
77
|
+
version: 0.26.0.rc2
|
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.
|
84
|
+
version: 0.26.0.rc2
|
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.
|
91
|
+
version: 0.26.0.rc2
|
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.
|
98
|
+
version: 0.26.0.rc2
|
99
99
|
description: A surveys component for decidim's participatory spaces.
|
100
100
|
email:
|
101
101
|
- josepjaume@gmail.com
|
@@ -195,6 +195,7 @@ files:
|
|
195
195
|
- config/locales/ti-ER.yml
|
196
196
|
- config/locales/tr-TR.yml
|
197
197
|
- config/locales/uk.yml
|
198
|
+
- config/locales/val-ES.yml
|
198
199
|
- config/locales/vi-VN.yml
|
199
200
|
- config/locales/vi.yml
|
200
201
|
- config/locales/zh-CN.yml
|
@@ -236,7 +237,7 @@ homepage: https://github.com/decidim/decidim
|
|
236
237
|
licenses:
|
237
238
|
- AGPL-3.0
|
238
239
|
metadata: {}
|
239
|
-
post_install_message:
|
240
|
+
post_install_message:
|
240
241
|
rdoc_options: []
|
241
242
|
require_paths:
|
242
243
|
- lib
|
@@ -247,12 +248,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
247
248
|
version: '2.7'
|
248
249
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
250
|
requirements:
|
250
|
-
- - "
|
251
|
+
- - ">"
|
251
252
|
- !ruby/object:Gem::Version
|
252
|
-
version:
|
253
|
+
version: 1.3.1
|
253
254
|
requirements: []
|
254
|
-
rubygems_version: 3.1.
|
255
|
-
signing_key:
|
255
|
+
rubygems_version: 3.1.6
|
256
|
+
signing_key:
|
256
257
|
specification_version: 4
|
257
258
|
summary: Decidim surveys module
|
258
259
|
test_files: []
|