decidim-surveys 0.27.3 → 0.27.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb13d3fbed3df9b05e1c7620f270dcd25aaa9896fed2781568862b28613dd952
4
- data.tar.gz: d653b1d83881314af25cd88baf31f91b60d1b302fec5836507d6c676b05f2c80
3
+ metadata.gz: bba915c78ab001669fcd176cf9e3d040ccaa15d032596bb9f9eb7f7356b075f9
4
+ data.tar.gz: d6db58de496d3c22f50f19b67e03b52d069b2f2d682976ce07e42ac0a7092ca2
5
5
  SHA512:
6
- metadata.gz: 8165e5cae76a800eda4f45923d5ee30719be162189932b888561ec9d7d6cede2139f28375c1818f387028b74f1c30f9a4abee411e72adcd4e5f1d6958d4b2903
7
- data.tar.gz: 8627424a667ba8886e52520564e9e07cb967b22126212365eed34fd91bc7f052d10e4df3ec9d70c462551d97348807345ca9a9005db9d181588aa1c6ab36e1b4
6
+ metadata.gz: 68bbceb0a2f7114160ce723d619b809cc1064d7ed45b4184786b26538a62f4dd42f9b8038893d2289969e5442f735243fb9f30526c8576083000355402b000a2
7
+ data.tar.gz: 8ba83dee93117071377b7c64701fd2a279fc5db2e04caf45e2b7380d54b93ad8257894dfa646b1075cf95c2aa747761b74575787bdc3fffcc3abcaa18b9c4399
@@ -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 %>
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Empty line for playing nice with tpope/vim-rails
@@ -54,6 +54,9 @@ ca:
54
54
  answers_count: Respostes
55
55
  surveys:
56
56
  admin:
57
+ component:
58
+ actions:
59
+ answers_alert: Si publiques el component, s'eliminaran tots els resultats.
57
60
  exports:
58
61
  survey_user_answers: Respostes de les participants de l'enquesta
59
62
  surveys:
@@ -58,6 +58,9 @@ cs:
58
58
  answers_count: Odpovědi
59
59
  surveys:
60
60
  admin:
61
+ component:
62
+ actions:
63
+ answers_alert: Pokud publikujete komponentu, všechny výsledky budou odstraněny.
61
64
  exports:
62
65
  survey_user_answers: Odpovědi účastníka na průzkum
63
66
  surveys:
@@ -54,6 +54,9 @@ de:
54
54
  answers_count: Antworten
55
55
  surveys:
56
56
  admin:
57
+ component:
58
+ actions:
59
+ answers_alert: Wenn Sie die Komponente veröffentlichen, werden alle Ergebnisse entfernt.
57
60
  exports:
58
61
  survey_user_answers: Umfrage Benutzer Antworten
59
62
  surveys:
@@ -21,9 +21,17 @@ el:
21
21
  settings:
22
22
  global:
23
23
  announcement: Ανακοίνωση
24
+ clean_after_publish: Διαγραφή απαντήσεων κατά τη δημοσίευση της έρευνας
25
+ ends_at: Απαντήσεις αποδεκτές μέχρι
26
+ ends_at_help: Αφήστε κενό για καμία συγκεκριμένη ημερομηνία
27
+ scope_id: Πεδίο εφαρμογής
28
+ scopes_enabled: Ενεργοποιημένα πεδία εφαρμογών
29
+ starts_at: Αποδεκτές απαντήσεις από
30
+ starts_at_help: Αφήστε κενό για καμία συγκεκριμένη ημερομηνία
24
31
  step:
25
32
  allow_answers: Να επιτρέπονται απαντήσεις
26
33
  allow_unregistered: Να επιτρέπεται σε μη εγγεγραμμένους χρήστες να απαντήσουν στην έρευνα
34
+ allow_unregistered_help: Εάν είναι ενεργό, δεν θα απαιτείται σύνδεση για να απαντήσετε στην έρευνα. Αυτό μπορεί να οδηγήσει σε κακά ή αναξιόπιστα δεδομένα και θα είναι πιο ευάλωτο σε αυτοματοποιημένες επιθέσεις. Χρησιμοποιήστε με προσοχή! Λάβετε υπόψη ότι ένας συμμετέχων θα μπορούσε να απαντήσει στην ίδια έρευνα πολλές φορές, χρησιμοποιώντας διαφορετικά προγράμματα περιήγησης ή το χαρακτηριστικό "ιδιωτικό πρόγραμμα περιήγησης" του προγράμματος περιήγησης ιστού.
27
35
  announcement: Ανακοίνωση
28
36
  events:
29
37
  surveys:
@@ -42,6 +50,8 @@ el:
42
50
  description: Αριθμός ερευνών που απαντήθηκαν από συμμετέχοντες
43
51
  object: απαντήσεις σε έρευνες
44
52
  title: Απαντήσεις σε έρευνες
53
+ statistics:
54
+ answers_count: Απαντήσεις
45
55
  surveys:
46
56
  admin:
47
57
  exports:
@@ -54,6 +54,9 @@ en:
54
54
  answers_count: Answers
55
55
  surveys:
56
56
  admin:
57
+ component:
58
+ actions:
59
+ answers_alert: If you publish the component, all results will be removed.
57
60
  exports:
58
61
  survey_user_answers: Survey participant answers
59
62
  surveys:
@@ -54,6 +54,9 @@ es-MX:
54
54
  answers_count: Respuestas
55
55
  surveys:
56
56
  admin:
57
+ component:
58
+ actions:
59
+ answers_alert: Si publicas el componente, se eliminaran todos los resultados.
57
60
  exports:
58
61
  survey_user_answers: Respuestas de los usuarios de la encuesta
59
62
  surveys:
@@ -54,6 +54,9 @@ es-PY:
54
54
  answers_count: Respuestas
55
55
  surveys:
56
56
  admin:
57
+ component:
58
+ actions:
59
+ answers_alert: Si publicas el componente, se eliminaran todos los resultados.
57
60
  exports:
58
61
  survey_user_answers: Respuestas de los usuarios de la encuesta
59
62
  surveys:
@@ -54,6 +54,9 @@ es:
54
54
  answers_count: Respuestas
55
55
  surveys:
56
56
  admin:
57
+ component:
58
+ actions:
59
+ answers_alert: Si publicas el componente, se eliminaran todos los resultados.
57
60
  exports:
58
61
  survey_user_answers: Respuestas de las participantes de la encuesta
59
62
  surveys:
@@ -3,7 +3,7 @@ eu:
3
3
  activemodel:
4
4
  models:
5
5
  decidim/surveys/closed_survey_event: Inkesta amaitu da
6
- decidim/surveys/opened_survey_event: Inkesta hasi zen
6
+ decidim/surveys/opened_survey_event: Inkesta hasi da
7
7
  activerecord:
8
8
  models:
9
9
  decidim/surveys/survey:
@@ -20,49 +20,53 @@ eu:
20
20
  name: Inkesta
21
21
  settings:
22
22
  global:
23
- announcement: Anuntzio
23
+ announcement: Oharra
24
24
  clean_after_publish: Ezabatu erantzuna galdetegia argitaratzean
25
25
  ends_at: Erantzunak noiz arte onartuko
26
26
  ends_at_help: Utzi zuriz data zehatzik ez badago
27
- scope_id: Eremua
28
- scopes_enabled: Eremu gaituak
27
+ scope_id: Esparrua
28
+ scopes_enabled: Esparru gaituak
29
29
  starts_at: Honen erantzunak onartuak
30
30
  starts_at_help: Utzi zuriz data zehatzik ez badago
31
31
  step:
32
32
  allow_answers: Baimendu erantzunak
33
33
  allow_unregistered: Baimendu erregistratu gabe dauden erabiltzaileei galdetegia erantzutea
34
- announcement: Anuntzio
34
+ 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.
35
+ announcement: Oharra
35
36
  events:
36
37
  surveys:
37
38
  survey_closed:
38
39
  email_intro: '%{resource_title} inkesta %{participatory_space_title} itxi egin da.'
39
- email_outro: Jakinarazpena jaso duzu %{participatory_space_title}jarraituz gero. Aurreko esteka jarraituz jakinarazpenak jasotzeari uztea erabaki dezakezu.
40
- email_subject: Inkestaren arabera %{participatory_space_title} amaitu da
41
- notification_title: Inkesta <a href="%{resource_path}">%{resource_title}</a> <a href="%{participatory_space_url}">%{participatory_space_title}</a> amaitu da.
40
+ email_outro: Jakinarazpen hau jaso duzu %{participatory_space_title} jarraitzen ari zarelako. Aurreko estekan jakinarazpenak jasotzeari utzi ahal diozu.
41
+ email_subject: Inkesta bat itxi da %{participatory_space_title} espazioan
42
+ notification_title: <a href="%{resource_path}">%{resource_title}</a> inkesta <a href="%{participatory_space_url}">%{participatory_space_title}</a> espazioan amaitu da.
42
43
  survey_opened:
43
- email_intro: '%{resource_title} inkestaren %{participatory_space_title} zenbakian dago orain. Orri honetan parte har dezakezu:'
44
- email_outro: Jakinarazpena jaso duzu %{participatory_space_title}jarraituz gero. Aurreko esteka jarraituz jakinarazpenak jasotzeari uztea erabaki dezakezu.
45
- email_subject: '%{participatory_space_title} inkesta berri bat'
46
- notification_title: <a href="%{resource_path}">%{resource_title}</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a> inkesta orain irekita dago.
44
+ email_intro: '%{resource_title} inkesta ireki da %{participatory_space_title} espazioan. Orri honetan parte har dezakezu:'
45
+ email_outro: Jakinarazpen hau jaso duzu %{participatory_space_title} jarraitzen ari zarelako. Aurreko estekan sartuz jakinarazpenak jasotzeari utzi ahal diozu.
46
+ email_subject: Beste inkesta bat %{participatory_space_title} izeneko espazioan
47
+ notification_title: <a href="%{resource_path}">%{resource_title}</a> inkesta <a href="%{participatory_space_url}">%{participatory_space_title}</a> espazioan irekita dago.
47
48
  metrics:
48
49
  survey_answers:
49
- description: Erabiltzaileek emandako inkesta kopurua
50
- object: inkestak erantzunak
51
- title: Inkesten erantzunak
50
+ description: Parte-hartzaileek erantzundako inkesta kopurua
51
+ object: inkesten erantzunak
52
+ title: Inkestei erantzunak
52
53
  statistics:
53
54
  answers_count: Erantzunak
54
55
  surveys:
55
56
  admin:
57
+ component:
58
+ actions:
59
+ answers_alert: Osagaia argitaratuz gero, emaitza guztiak kenduko dira.
56
60
  exports:
57
- survey_user_answers: Inkesta erabiltzaile erantzunak
61
+ survey_user_answers: Inkestako parte-hartzaileen erantzunak
58
62
  surveys:
59
63
  update:
60
- invalid: Inkesta gordetzean erroreak gertatu dira.
64
+ invalid: Arazo bat egon da inkesta gordetzean.
61
65
  success: Inkesta ondo gorde da.
62
66
  last_activity:
63
- new_survey_at_html: "<span>Inkesta berrian %{link}</span>"
67
+ new_survey_at_html: "<span>Inkesta berria hemen: %{link}</span>"
64
68
  surveys:
65
69
  answer:
66
- invalid: Inkesta erantzutean erroreak gertatu dira.
70
+ invalid: Arazo bat egon da inkesta erantzutean.
67
71
  spam_detected: Arazo bat izan da galdetegia erantzutean. Agian azkarregi joan zara, berriro egin dezakezu?
68
72
  success: Inkesta ondo bete da.
@@ -54,6 +54,9 @@ fi-pl:
54
54
  answers_count: Vastausta
55
55
  surveys:
56
56
  admin:
57
+ component:
58
+ actions:
59
+ answers_alert: Julkaistessasi komponentin, kaikki aikaisemmat vastaukset poistetaan.
57
60
  exports:
58
61
  survey_user_answers: Kyselyn vastaukset
59
62
  surveys:
@@ -54,6 +54,9 @@ fi:
54
54
  answers_count: Vastausta
55
55
  surveys:
56
56
  admin:
57
+ component:
58
+ actions:
59
+ answers_alert: Julkaistessasi komponentin, kaikki aikaisemmat vastaukset poistetaan.
57
60
  exports:
58
61
  survey_user_answers: Kyselyiden vastaukset
59
62
  surveys:
@@ -54,6 +54,9 @@ fr-CA:
54
54
  answers_count: Réponses
55
55
  surveys:
56
56
  admin:
57
+ component:
58
+ actions:
59
+ answers_alert: Si vous publiez la fonctionnalité, toutes les réponses existantes seront supprimées.
57
60
  exports:
58
61
  survey_user_answers: Réponses des participants à l'enquête
59
62
  surveys:
@@ -54,6 +54,9 @@ fr:
54
54
  answers_count: Réponses
55
55
  surveys:
56
56
  admin:
57
+ component:
58
+ actions:
59
+ answers_alert: Si vous publiez la fonctionnalité, toutes les réponses existantes seront supprimées.
57
60
  exports:
58
61
  survey_user_answers: Réponses des participants à l'enquête
59
62
  surveys:
@@ -52,6 +52,9 @@ ja:
52
52
  answers_count: 回答
53
53
  surveys:
54
54
  admin:
55
+ component:
56
+ actions:
57
+ answers_alert: コンポーネントを公開すると、すべての結果が削除されます。
55
58
  exports:
56
59
  survey_user_answers: アンケート参加者の回答
57
60
  surveys:
@@ -31,6 +31,7 @@ pt-BR:
31
31
  step:
32
32
  allow_answers: Permitir respostas
33
33
  allow_unregistered: Permitir que usuários não registrados respondam à pesquisa
34
+ 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.
34
35
  announcement: Anúncio
35
36
  events:
36
37
  surveys:
@@ -0,0 +1 @@
1
+ sq:
@@ -0,0 +1 @@
1
+ th:
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "decidim/core"
4
+ require "decidim/templates"
4
5
 
5
6
  module Decidim
6
7
  module Surveys
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-surveys version.
5
5
  module Surveys
6
6
  def self.version
7
- "0.27.3"
7
+ "0.27.5"
8
8
  end
9
9
  end
10
10
  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.27.3
4
+ version: 0.27.5
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: 2023-05-11 00:00:00.000000000 Z
13
+ date: 2023-12-20 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.27.3
21
+ version: 0.27.5
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.27.3
28
+ version: 0.27.5
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.27.3
35
+ version: 0.27.5
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.27.3
42
+ version: 0.27.5
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.27.3
49
+ version: 0.27.5
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.27.3
56
+ version: 0.27.5
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.27.3
63
+ version: 0.27.5
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.27.3
70
+ version: 0.27.5
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.27.3
77
+ version: 0.27.5
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.27.3
84
+ version: 0.27.5
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.27.3
91
+ version: 0.27.5
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.27.3
98
+ version: 0.27.5
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
@@ -243,7 +247,7 @@ homepage: https://github.com/decidim/decidim
243
247
  licenses:
244
248
  - AGPL-3.0
245
249
  metadata: {}
246
- post_install_message:
250
+ post_install_message:
247
251
  rdoc_options: []
248
252
  require_paths:
249
253
  - lib
@@ -258,8 +262,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
258
262
  - !ruby/object:Gem::Version
259
263
  version: '0'
260
264
  requirements: []
261
- rubygems_version: 3.2.22
262
- signing_key:
265
+ rubygems_version: 3.4.22
266
+ signing_key:
263
267
  specification_version: 4
264
268
  summary: Decidim surveys module
265
269
  test_files: []