decidim-surveys 0.26.8 → 0.26.10

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: 1b49ca6211bf107f57755e0721654f79f644873ad24b3f99f8412817abf610a2
4
- data.tar.gz: 629b7438077b923883972fceb35114526223576e1915125b44aa0e786a649c18
3
+ metadata.gz: e31a56e890e5495f3b25d9a6ca874e49f8b955ca25cb60fa8ce202f0b82c4132
4
+ data.tar.gz: 5a5f558326029448f29ff287c41207271ce4cc196f980b5cd13fd558fc30ab56
5
5
  SHA512:
6
- metadata.gz: 498fd69b92b16c1c6ab4c5e20d774e575bc5c4ad1ff28914e3efd6c242f8b641d11f18eb980005a32af5bcf588afeee195a1730e553bea3e1bdffad7b5c601db
7
- data.tar.gz: 5c8e8c7175601687cc7e86562365ee6dc3f072976fcf0926369803670058abbb9949340251e04892f0ec55ed2565f3e1c29587aa37705f0060a41fd6a3f99f10
6
+ metadata.gz: ac0827c87afb9293330127bf6de0bdd652238d9b20eff0ed37218908a1acc1ab46451aaadea788246210145413f20a3945b12e6218fe6464bea9fea63e3e75be
7
+ data.tar.gz: 4ce6fcd462ae827a47dd95a82afd5412d0deec7f654aa53847d5ce99d8cf02820e8529f5a140813f4473b8457e5be263cbfbb4502b2be9bc360e548afcd580b0
@@ -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
@@ -53,6 +53,9 @@ ca:
53
53
  answers_count: Respostes
54
54
  surveys:
55
55
  admin:
56
+ component:
57
+ actions:
58
+ answers_alert: Si publiques el component, s'eliminaran tots els resultats.
56
59
  exports:
57
60
  survey_user_answers: Respostes de les participants de l'enquesta
58
61
  surveys:
@@ -57,6 +57,9 @@ cs:
57
57
  answers_count: Odpovědi
58
58
  surveys:
59
59
  admin:
60
+ component:
61
+ actions:
62
+ answers_alert: Pokud publikujete komponentu, všechny výsledky budou odstraněny.
60
63
  exports:
61
64
  survey_user_answers: Odpovědi účastníka na průzkum
62
65
  surveys:
@@ -53,6 +53,9 @@ de:
53
53
  answers_count: Antworten
54
54
  surveys:
55
55
  admin:
56
+ component:
57
+ actions:
58
+ answers_alert: Wenn Sie die Komponente veröffentlichen, werden alle Ergebnisse entfernt.
56
59
  exports:
57
60
  survey_user_answers: Umfrage Benutzer Antworten
58
61
  surveys:
@@ -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:
@@ -53,6 +53,9 @@ es-MX:
53
53
  answers_count: Respuestas
54
54
  surveys:
55
55
  admin:
56
+ component:
57
+ actions:
58
+ answers_alert: Si publicas el componente, se eliminaran todos los resultados.
56
59
  exports:
57
60
  survey_user_answers: Respuestas de los usuarios de la encuesta
58
61
  surveys:
@@ -53,6 +53,9 @@ es-PY:
53
53
  answers_count: Respuestas
54
54
  surveys:
55
55
  admin:
56
+ component:
57
+ actions:
58
+ answers_alert: Si publicas el componente, se eliminaran todos los resultados.
56
59
  exports:
57
60
  survey_user_answers: Respuestas de los usuarios de la encuesta
58
61
  surveys:
@@ -53,6 +53,9 @@ es:
53
53
  answers_count: Respuestas
54
54
  surveys:
55
55
  admin:
56
+ component:
57
+ actions:
58
+ answers_alert: Si publicas el componente, se eliminaran todos los resultados.
56
59
  exports:
57
60
  survey_user_answers: Respuestas de las participantes de la encuesta
58
61
  surveys:
@@ -23,8 +23,8 @@ eu:
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: Eremua
27
- scopes_enabled: Eremu gaituak
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:
@@ -42,27 +42,30 @@ eu:
42
42
  survey_opened:
43
43
  email_intro: '%{resource_title} inkesta ireki da %{participatory_space_title} espazioan. Orri honetan parte har dezakezu:'
44
44
  email_outro: Jakinarazpen hau jaso duzu %{participatory_space_title} jarraitzen ari zarelako. Aurreko estekan sartuz jakinarazpenak jasotzeari utzi ahal diozu.
45
- email_subject: Inkesta berri bat %{participatory_space_title} izeneko espazioan
45
+ email_subject: Beste inkesta bat %{participatory_space_title} izeneko espazioan
46
46
  notification_title: <a href="%{resource_path}">%{resource_title}</a> inkesta <a href="%{participatory_space_url}">%{participatory_space_title}</a> espazioan irekita dago.
47
47
  metrics:
48
48
  survey_answers:
49
49
  description: Parte-hartzaileek erantzundako inkesta kopurua
50
- object: inkestei erantzunak
50
+ object: inkesten erantzunak
51
51
  title: Inkestei erantzunak
52
52
  statistics:
53
53
  answers_count: Erantzunak
54
54
  surveys:
55
55
  admin:
56
+ component:
57
+ actions:
58
+ answers_alert: Osagaia argitaratuz gero, emaitza guztiak kenduko dira.
56
59
  exports:
57
60
  survey_user_answers: Inkestako parte-hartzaileen erantzunak
58
61
  surveys:
59
62
  update:
60
- invalid: Inkesta gordetzean erroreak gertatu dira.
63
+ invalid: Arazo bat egon da inkesta gordetzean.
61
64
  success: Inkesta ondo gorde da.
62
65
  last_activity:
63
- new_survey_at_html: "<span>Inkesta berrian %{link}</span>"
66
+ new_survey_at_html: "<span>Inkesta berria hemen: %{link}</span>"
64
67
  surveys:
65
68
  answer:
66
- invalid: Inkesta erantzutean errorea gertatu da.
69
+ invalid: Arazo bat egon da inkesta erantzutean.
67
70
  spam_detected: Arazo bat izan da galdetegia erantzutean. Agian azkarregi joan zara, berriro egin dezakezu?
68
71
  success: Inkesta ondo bete da.
@@ -53,6 +53,9 @@ fi-pl:
53
53
  answers_count: Vastausta
54
54
  surveys:
55
55
  admin:
56
+ component:
57
+ actions:
58
+ answers_alert: Julkaistessasi komponentin, kaikki aikaisemmat vastaukset poistetaan.
56
59
  exports:
57
60
  survey_user_answers: Kyselyn vastaukset
58
61
  surveys:
@@ -53,6 +53,9 @@ fi:
53
53
  answers_count: Vastausta
54
54
  surveys:
55
55
  admin:
56
+ component:
57
+ actions:
58
+ answers_alert: Julkaistessasi komponentin, kaikki aikaisemmat vastaukset poistetaan.
56
59
  exports:
57
60
  survey_user_answers: Kyselyiden vastaukset
58
61
  surveys:
@@ -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:
@@ -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:
@@ -51,6 +51,9 @@ ja:
51
51
  answers_count: 回答
52
52
  surveys:
53
53
  admin:
54
+ component:
55
+ actions:
56
+ answers_alert: コンポーネントを公開すると、すべての結果が削除されます。
54
57
  exports:
55
58
  survey_user_answers: アンケート参加者の回答
56
59
  surveys:
@@ -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:
@@ -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.26.8"
7
+ "0.26.10"
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-surveys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.8
4
+ version: 0.26.10
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-07-27 00:00:00.000000000 Z
13
+ date: 2024-04-30 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.8
21
+ version: 0.26.10
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.8
28
+ version: 0.26.10
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.8
35
+ version: 0.26.10
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.8
42
+ version: 0.26.10
43
43
  - !ruby/object:Gem::Dependency
44
- name: decidim-templates
44
+ name: decidim-admin
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.26.8
50
- type: :runtime
49
+ version: 0.26.10
50
+ type: :development
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.8
56
+ version: 0.26.10
57
57
  - !ruby/object:Gem::Dependency
58
- name: decidim-admin
58
+ name: decidim-dev
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.26.8
63
+ version: 0.26.10
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.8
70
+ version: 0.26.10
71
71
  - !ruby/object:Gem::Dependency
72
- name: decidim-dev
72
+ name: decidim-participatory_processes
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: 0.26.8
77
+ version: 0.26.10
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.8
84
+ version: 0.26.10
85
85
  - !ruby/object:Gem::Dependency
86
- name: decidim-participatory_processes
86
+ name: decidim-templates
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - '='
90
90
  - !ruby/object:Gem::Version
91
- version: 0.26.8
91
+ version: 0.26.10
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.8
98
+ version: 0.26.10
99
99
  description: A surveys component for decidim's participatory spaces.
100
100
  email:
101
101
  - josepjaume@gmail.com
@@ -127,6 +127,7 @@ 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
132
133
  - config/environment.rb
@@ -196,9 +197,11 @@ files:
196
197
  - config/locales/sk.yml
197
198
  - config/locales/sl.yml
198
199
  - config/locales/so-SO.yml
200
+ - config/locales/sq-AL.yml
199
201
  - config/locales/sr-CS.yml
200
202
  - config/locales/sv.yml
201
203
  - config/locales/sw-KE.yml
204
+ - config/locales/th-TH.yml
202
205
  - config/locales/ti-ER.yml
203
206
  - config/locales/tr-TR.yml
204
207
  - config/locales/uk.yml