decidim-surveys 0.27.4 → 0.28.0.rc5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/cells/decidim/surveys/survey_activity_cell.rb +1 -4
- data/app/controllers/decidim/surveys/admin/surveys_controller.rb +7 -1
- data/app/controllers/decidim/surveys/surveys_controller.rb +3 -1
- data/app/helpers/decidim/surveys/survey_helper.rb +1 -3
- data/app/jobs/decidim/surveys/clean_survey_answers_job.rb +1 -1
- data/app/jobs/decidim/surveys/settings_change_job.rb +2 -2
- data/app/mailers/decidim/surveys/survey_confirmation_mailer.rb +39 -0
- data/app/serializers/decidim/surveys/data_serializer.rb +1 -1
- data/app/views/decidim/surveys/admin/component/_actions.html.erb +44 -0
- data/app/views/decidim/surveys/admin/surveys/edit.html.erb +40 -0
- data/app/views/decidim/surveys/survey_confirmation_mailer/confirmation.html.erb +3 -0
- data/app/views/decidim/surveys/surveys/no_permission.html.erb +1 -1
- data/config/assets.rb +0 -1
- data/config/environment.rb +3 -0
- data/config/locales/ar.yml +0 -2
- data/config/locales/ca.yml +10 -2
- data/config/locales/cs.yml +10 -2
- data/config/locales/de.yml +10 -2
- data/config/locales/el.yml +2 -2
- data/config/locales/en.yml +10 -2
- data/config/locales/es-MX.yml +10 -2
- data/config/locales/es-PY.yml +10 -2
- data/config/locales/es.yml +10 -2
- data/config/locales/eu.yml +15 -7
- data/config/locales/fi-plain.yml +10 -2
- data/config/locales/fi.yml +10 -2
- data/config/locales/fr-CA.yml +8 -2
- data/config/locales/fr.yml +10 -2
- data/config/locales/gl.yml +0 -3
- data/config/locales/hu.yml +0 -3
- data/config/locales/id-ID.yml +0 -2
- data/config/locales/it.yml +0 -3
- data/config/locales/ja.yml +2 -2
- data/config/locales/lb.yml +0 -3
- data/config/locales/lt.yml +2 -2
- data/config/locales/lv.yml +0 -3
- data/config/locales/nl.yml +0 -3
- data/config/locales/no.yml +0 -3
- data/config/locales/pl.yml +0 -3
- data/config/locales/pt-BR.yml +0 -3
- data/config/locales/pt.yml +0 -3
- data/config/locales/ro-RO.yml +2 -2
- data/config/locales/sk.yml +0 -3
- data/config/locales/sq-AL.yml +1 -0
- data/config/locales/sv.yml +0 -3
- data/config/locales/th-TH.yml +1 -0
- data/config/locales/tr-TR.yml +0 -3
- data/config/locales/zh-CN.yml +0 -3
- data/config/locales/zh-TW.yml +2 -2
- data/db/migrate/20200609090533_check_legacy_tables.rb +5 -5
- data/lib/decidim/surveys/admin_engine.rb +1 -1
- data/lib/decidim/surveys/component.rb +6 -89
- data/lib/decidim/surveys/engine.rb +19 -1
- data/lib/decidim/surveys/seeds.rb +103 -0
- data/lib/decidim/surveys/test/factories.rb +1 -0
- data/lib/decidim/surveys/version.rb +1 -1
- data/lib/tasks/decidim_surveys_tasks.rake +4 -4
- metadata +32 -21
- data/app/packs/stylesheets/decidim/surveys/_surveys.scss +0 -67
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba59989e0b54cf5326111ffeaebac683da17611f4359bbd7794c05e76c6999c1
|
4
|
+
data.tar.gz: b6cc0f46438648aeeba1ebcecc6c210abd8956bafc46ba60a94d7fa4763de80b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c06a68408318b0b6b99707372562c43706556b69044479952773a0358cfbc9cfa93917eab25d73118d943ec0bfe970e20369c625b8f8555f57804590e696521
|
7
|
+
data.tar.gz: 4c3dc1e605758cbdc5c1999143ba631136921f0cd27bf6b0f9d90ca4a8d38cc568222cd88082a0ea9af37b016963e455f2edad2ad863e8ec9825da14c0fa8aba
|
data/README.md
CHANGED
@@ -14,7 +14,7 @@ Surveys will be available as a Component for a Participatory Process.
|
|
14
14
|
|
15
15
|
## Installation
|
16
16
|
|
17
|
-
This is on the default Decidim installation so you
|
17
|
+
This is on the default Decidim installation so you should not change anything to use this component.
|
18
18
|
|
19
19
|
## Screenshots
|
20
20
|
|
@@ -7,10 +7,7 @@ module Decidim
|
|
7
7
|
include Decidim::ComponentPathHelper
|
8
8
|
|
9
9
|
def title
|
10
|
-
I18n.t(
|
11
|
-
"decidim.surveys.last_activity.new_survey_at_html",
|
12
|
-
link: participatory_space_link
|
13
|
-
)
|
10
|
+
I18n.t("decidim.surveys.last_activity.new_survey")
|
14
11
|
end
|
15
12
|
|
16
13
|
def activity_link_path
|
@@ -8,6 +8,12 @@ module Decidim
|
|
8
8
|
include Decidim::Forms::Admin::Concerns::HasQuestionnaire
|
9
9
|
include Decidim::Forms::Admin::Concerns::HasQuestionnaireAnswers
|
10
10
|
|
11
|
+
def edit
|
12
|
+
enforce_permission_to(:update, :questionnaire, questionnaire:)
|
13
|
+
|
14
|
+
@form = form(Decidim::Forms::Admin::QuestionnaireForm).from_model(questionnaire)
|
15
|
+
end
|
16
|
+
|
11
17
|
def questionnaire_for
|
12
18
|
survey
|
13
19
|
end
|
@@ -19,7 +25,7 @@ module Decidim
|
|
19
25
|
|
20
26
|
# Specify where to redirect after exporting a user response
|
21
27
|
def questionnaire_participant_answers_url(session_token)
|
22
|
-
Decidim::EngineRouter.admin_proxy(survey.component).show_survey_path(session_token:
|
28
|
+
Decidim::EngineRouter.admin_proxy(survey.component).show_survey_path(session_token:)
|
23
29
|
end
|
24
30
|
|
25
31
|
def edit_questionnaire_title
|
@@ -6,7 +6,9 @@ module Decidim
|
|
6
6
|
class SurveysController < Decidim::Surveys::ApplicationController
|
7
7
|
include Decidim::Forms::Concerns::HasQuestionnaire
|
8
8
|
include Decidim::ComponentPathHelper
|
9
|
-
|
9
|
+
include Decidim::Surveys::SurveyHelper
|
10
|
+
|
11
|
+
helper_method :authorizations
|
10
12
|
|
11
13
|
delegate :allow_unregistered?, to: :current_settings
|
12
14
|
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Decidim
|
4
|
+
module Surveys
|
5
|
+
class SurveyConfirmationMailer < ApplicationMailer
|
6
|
+
include TranslatableAttributes
|
7
|
+
helper Decidim::SanitizeHelper
|
8
|
+
|
9
|
+
def confirmation(user, questionnaire, answers)
|
10
|
+
return if answers.blank? || user.nil?
|
11
|
+
|
12
|
+
with_user(user) do
|
13
|
+
@user = user
|
14
|
+
@questionnaire_title = translated_attribute(questionnaire.title)
|
15
|
+
@participatory_space_title = translated_attribute(questionnaire.questionnaire_for.component.participatory_space.title)
|
16
|
+
@organization = user.organization
|
17
|
+
|
18
|
+
add_file_with_answers(answers)
|
19
|
+
|
20
|
+
mail(to: "#{@user.name} <#{@user.email}>", subject: t(".subject", questionnaire_title: @questionnaire_title))
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def add_file_with_answers(answers)
|
27
|
+
export_name = t("decidim.surveys.survey_confirmation_mailer.export_name")
|
28
|
+
serializer = Decidim::Forms::UserAnswersSerializer
|
29
|
+
|
30
|
+
export_data = Decidim::Exporters::FormPDF.new(answers, serializer).export
|
31
|
+
|
32
|
+
filename = export_data.filename(export_name)
|
33
|
+
filename_without_extension = export_data.filename(export_name, extension: false)
|
34
|
+
|
35
|
+
attachments["#{filename_without_extension}.zip"] = FileZipper.new(filename, export_data.read).zip
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -10,7 +10,7 @@ module Decidim
|
|
10
10
|
# or nil if none exists.
|
11
11
|
def serialize
|
12
12
|
component = resource
|
13
|
-
surveys = Decidim::Surveys::Survey.where(component:
|
13
|
+
surveys = Decidim::Surveys::Survey.where(component:)
|
14
14
|
surveys.collect do |survey|
|
15
15
|
next if survey.questionnaire.nil?
|
16
16
|
|
@@ -0,0 +1,44 @@
|
|
1
|
+
<% if component.manifest.admin_engine %>
|
2
|
+
<%= icon_link_to "pencil-line", 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? :share, :component, component: component %>
|
8
|
+
<%= icon_link_to "share-line", url_for(action: :share, id: component, controller: "components"), t("actions.share", scope: "decidim.admin"), target: :blank, class: "action-icon--share" %>
|
9
|
+
<% else %>
|
10
|
+
<span class="action-space icon"></span>
|
11
|
+
<% end %>
|
12
|
+
<% if allowed_to? :update, :component, component: component %>
|
13
|
+
<%= icon_link_to "settings-4-line", url_for(action: :edit, id: component, controller: "components"), t("actions.configure", scope: "decidim.admin"), class: "action-icon--configure" %>
|
14
|
+
<% else %>
|
15
|
+
<span class="action-space icon"></span>
|
16
|
+
<% end %>
|
17
|
+
|
18
|
+
<% if allowed_to?(:update, :component, component: component) %>
|
19
|
+
<% if component.published? %>
|
20
|
+
<%= icon_link_to "close-circle-line", url_for(action: :unpublish, id: component, controller: "components"), t("actions.unpublish", scope: "decidim.admin"), class: "action-icon--unpublish", method: :put %>
|
21
|
+
<% else %>
|
22
|
+
<%= icon_link_to "check-line", 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") } %>
|
23
|
+
<% end %>
|
24
|
+
<% else %>
|
25
|
+
<span class="action-space icon"></span>
|
26
|
+
<% end %>
|
27
|
+
|
28
|
+
<%= icon_link_to "eye-line", main_component_path(component), t("actions.preview", scope: "decidim.admin"), class: "action-icon--preview", target: :blank, data: { "external-link": false } %>
|
29
|
+
|
30
|
+
<% if allowed_to? :update, :component, component: component %>
|
31
|
+
<% if component.manifest.actions.empty? %>
|
32
|
+
<%= icon "key-2-line", class: "action-icon action-icon--disabled" %>
|
33
|
+
<% else %>
|
34
|
+
<%= icon_link_to "key-2-line", url_for(action: :edit, component_id: component, controller: "component_permissions"), t("actions.permissions", scope: "decidim.admin"), class: "action-icon--permissions" %>
|
35
|
+
<% end %>
|
36
|
+
<% else %>
|
37
|
+
<span class="action-space icon"></span>
|
38
|
+
<% end %>
|
39
|
+
|
40
|
+
<% if allowed_to? :destroy, :component, component: component %>
|
41
|
+
<%= icon_link_to "delete-bin-line", url_for(action: :destroy, id: component, controller: "components"), t("actions.destroy", scope: "decidim.admin"), class: "action-icon--remove", method: :delete %>
|
42
|
+
<% else %>
|
43
|
+
<span class="action-space icon"></span>
|
44
|
+
<% end %>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<% add_decidim_page_title(t("decidim.forms.admin.questionnaires.edit.title")) %>
|
2
|
+
|
3
|
+
<% if templates_defined? && choose_template? %>
|
4
|
+
<%= render partial: "decidim/templates/admin/questionnaire_templates/choose", locals: { target: questionnaire, form_title: t("decidim.forms.admin.questionnaires.edit.title") } %>
|
5
|
+
<% else %>
|
6
|
+
|
7
|
+
<div class="item_show__header">
|
8
|
+
<h2 class="item_show__header-title">
|
9
|
+
<%= edit_questionnaire_title %>
|
10
|
+
|
11
|
+
<% if allowed_to? :preview, :questionnaire %>
|
12
|
+
<%= link_to t("preview", scope: "decidim.forms.admin.questionnaires.form"), public_url, class: "button button__sm button__secondary", target: :_blank, data: { "external-link": false } %>
|
13
|
+
<% end %>
|
14
|
+
<% if questionnaire.answers.any? %>
|
15
|
+
<%= export_dropdown(current_component, questionnaire.id) if allowed_to? :export_answers, :questionnaire %>
|
16
|
+
<% if allowed_to? :show, :questionnaire_answers %>
|
17
|
+
<%= link_to t("actions.show", scope: "decidim.forms.admin.questionnaires"), questionnaire_participants_url, class: "button button__sm button__secondary new whitespace-nowrap" %>
|
18
|
+
<% end %>
|
19
|
+
<% else %>
|
20
|
+
<button class="button button__sm button__secondary whitespace-nowrap" disabled><%= t("empty", scope: "decidim.forms.admin.questionnaires.answers") %></button>
|
21
|
+
<% end %>
|
22
|
+
<%= render partial: "decidim/admin/components/resource_action" %>
|
23
|
+
|
24
|
+
</h2>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div class="item__edit item__edit-1col">
|
28
|
+
<div class="item__edit-form">
|
29
|
+
<%= decidim_form_for(@form, url: update_url, method: :put, html: { class: "form-defaults form edit_questionnaire" }) do |form| %>
|
30
|
+
<%= render partial: "decidim/forms/admin/questionnaires/form", object: form %>
|
31
|
+
<div class="item__edit-sticky">
|
32
|
+
<div class="item__edit-sticky-container">
|
33
|
+
<%= form.submit t("save", scope: "decidim.forms.admin.questionnaires.edit"), class: "button button__sm button__secondary" %>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
<% end %>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<% end %>
|
data/config/assets.rb
CHANGED
data/config/environment.rb
CHANGED
data/config/locales/ar.yml
CHANGED
data/config/locales/ca.yml
CHANGED
@@ -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:
|
@@ -61,9 +64,14 @@ ca:
|
|
61
64
|
invalid: S'ha produït un error en desar l'enquesta.
|
62
65
|
success: Enquesta desada correctament.
|
63
66
|
last_activity:
|
64
|
-
|
67
|
+
new_survey: 'Nova enquesta:'
|
68
|
+
survey_confirmation_mailer:
|
69
|
+
confirmation:
|
70
|
+
body: Has respost amb èxit a l'enquesta %{questionnaire_title} dins de %{participatory_space}
|
71
|
+
subject: Confirmació de resposta al qüestionari %{questionnaire_title}
|
72
|
+
export_name: Respostes a l'enquesta
|
65
73
|
surveys:
|
66
74
|
answer:
|
67
75
|
invalid: S'ha produït un error en respondre l'enquesta.
|
68
|
-
spam_detected: Hi ha hagut un problema
|
76
|
+
spam_detected: Hi ha hagut un problema responent el formulari. Potser has anat massa ràpid, ho pots tornar a intentar?
|
69
77
|
success: Enquesta resposta correctament.
|
data/config/locales/cs.yml
CHANGED
@@ -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:
|
@@ -65,9 +68,14 @@ cs:
|
|
65
68
|
invalid: Při ukládání průzkumu došlo k chybám.
|
66
69
|
success: Průzkum byl úspěšně uložen.
|
67
70
|
last_activity:
|
68
|
-
|
71
|
+
new_survey: 'Nový průzkum:'
|
72
|
+
survey_confirmation_mailer:
|
73
|
+
confirmation:
|
74
|
+
body: Úspěšně jste odpověděli na anketu %{questionnaire_title} v rámci %{participatory_space}
|
75
|
+
subject: Potvrzení odpovědi na dotazník %{questionnaire_title}
|
76
|
+
export_name: Odpovědi na dotazník
|
69
77
|
surveys:
|
70
78
|
answer:
|
71
79
|
invalid: Při odpovědi na průzkum došlo k chybám.
|
72
|
-
spam_detected:
|
80
|
+
spam_detected: Vyskytl se problém s odpovědí na formulář. Možná jste byl příliš rychlý, můžete to zkusit znovu?
|
73
81
|
success: Průzkum úspěšně odpověděl.
|
data/config/locales/de.yml
CHANGED
@@ -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:
|
@@ -61,9 +64,14 @@ de:
|
|
61
64
|
invalid: Beim Speichern der Umfrage sind Fehler aufgetreten.
|
62
65
|
success: Umfrage wurde erfolgreich gespeichert.
|
63
66
|
last_activity:
|
64
|
-
|
67
|
+
new_survey: 'Neue Umfrage:'
|
68
|
+
survey_confirmation_mailer:
|
69
|
+
confirmation:
|
70
|
+
body: Sie haben die Umfrage %{questionnaire_title} auf %{participatory_space} erfolgreich beantwortet
|
71
|
+
subject: 'Umfrage "%{questionnaire_title}": Bestätigung Ihrer Antwort'
|
72
|
+
export_name: Umfrageantworten
|
65
73
|
surveys:
|
66
74
|
answer:
|
67
75
|
invalid: Bei der Beantwortung der Umfrage sind Fehler aufgetreten.
|
68
|
-
spam_detected: Bei der Beantwortung
|
76
|
+
spam_detected: Bei der Beantwortung der Umfrage ist ein Fehler aufgetreten. Möglicherweise waren Sie zu schnell, können Sie es erneut versuchen?
|
69
77
|
success: Umfrage erfolgreich beantwortet.
|
data/config/locales/el.yml
CHANGED
@@ -61,9 +61,9 @@ el:
|
|
61
61
|
invalid: Υπήρξε ένα πρόβλημα κατά την αποθήκευση της έρευνας.
|
62
62
|
success: Η έρευνα αποθηκεύτηκε με επιτυχία.
|
63
63
|
last_activity:
|
64
|
-
|
64
|
+
new_survey: 'Νέα έρευνα:'
|
65
65
|
surveys:
|
66
66
|
answer:
|
67
67
|
invalid: Υπήρξε ένα πρόβλημα κατά την απάντηση στην έρευνα.
|
68
|
-
spam_detected:
|
68
|
+
spam_detected: Υπήρχε ένα πρόβλημα στην απάντηση της φόρμας. Ίσως είστε πολύ γρήγοροι, μπορείτε να δοκιμάσετε ξανά;
|
69
69
|
success: Η έρευνα απαντήθηκε με επιτυχία.
|
data/config/locales/en.yml
CHANGED
@@ -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:
|
@@ -61,9 +64,14 @@ en:
|
|
61
64
|
invalid: There was a problem saving the survey.
|
62
65
|
success: Survey successfully saved.
|
63
66
|
last_activity:
|
64
|
-
|
67
|
+
new_survey: 'New survey:'
|
68
|
+
survey_confirmation_mailer:
|
69
|
+
confirmation:
|
70
|
+
body: You have successfully answered the %{questionnaire_title} survey within %{participatory_space}
|
71
|
+
subject: Questionnaire %{questionnaire_title} answering confirmation
|
72
|
+
export_name: Survey answers
|
65
73
|
surveys:
|
66
74
|
answer:
|
67
75
|
invalid: There was a problem answering the survey.
|
68
|
-
spam_detected: There was a problem answering the form. Maybe you
|
76
|
+
spam_detected: There was a problem answering the form. Maybe you have been too quick, can you try again?
|
69
77
|
success: Survey successfully answered.
|
data/config/locales/es-MX.yml
CHANGED
@@ -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:
|
@@ -61,9 +64,14 @@ es-MX:
|
|
61
64
|
invalid: Se han producido errores al guardar la encuesta.
|
62
65
|
success: Encuesta guardada correctamente.
|
63
66
|
last_activity:
|
64
|
-
|
67
|
+
new_survey: 'Nueva encuesta:'
|
68
|
+
survey_confirmation_mailer:
|
69
|
+
confirmation:
|
70
|
+
body: Has respondido con éxito a la encuesta %{questionnaire_title} dentro de %{participatory_space}
|
71
|
+
subject: Confirmación de respuesta al cuestionario %{questionnaire_title}
|
72
|
+
export_name: Respuestas a la encuesta
|
65
73
|
surveys:
|
66
74
|
answer:
|
67
75
|
invalid: Se han producido errores al responder a la encuesta.
|
68
|
-
spam_detected: Hubo un problema
|
76
|
+
spam_detected: Hubo un problema respondiendo al formulario. Tal vez has sido demasiado rápido, ¿puedes intentarlo de nuevo?
|
69
77
|
success: La encuesta ha sido respondida con éxito.
|
data/config/locales/es-PY.yml
CHANGED
@@ -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:
|
@@ -61,9 +64,14 @@ es-PY:
|
|
61
64
|
invalid: Se han producido errores al guardar la encuesta.
|
62
65
|
success: Encuesta guardada correctamente.
|
63
66
|
last_activity:
|
64
|
-
|
67
|
+
new_survey: 'Nueva encuesta:'
|
68
|
+
survey_confirmation_mailer:
|
69
|
+
confirmation:
|
70
|
+
body: Has respondido con éxito a la encuesta %{questionnaire_title} dentro de %{participatory_space}
|
71
|
+
subject: Confirmación de respuesta al cuestionario %{questionnaire_title}
|
72
|
+
export_name: Respuestas a la encuesta
|
65
73
|
surveys:
|
66
74
|
answer:
|
67
75
|
invalid: Se han producido errores al responder a la encuesta.
|
68
|
-
spam_detected: Hubo un problema
|
76
|
+
spam_detected: Hubo un problema respondiendo al formulario. Tal vez has sido demasiado rápido, ¿puedes intentarlo de nuevo?
|
69
77
|
success: La encuesta ha sido respondida con éxito.
|
data/config/locales/es.yml
CHANGED
@@ -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:
|
@@ -61,9 +64,14 @@ es:
|
|
61
64
|
invalid: Se ha producido un error al guardar la encuesta.
|
62
65
|
success: Encuesta guardada correctamente.
|
63
66
|
last_activity:
|
64
|
-
|
67
|
+
new_survey: 'Nueva encuesta:'
|
68
|
+
survey_confirmation_mailer:
|
69
|
+
confirmation:
|
70
|
+
body: Has respondido con éxito a la encuesta %{questionnaire_title} dentro de %{participatory_space}
|
71
|
+
subject: Confirmación de respuesta al cuestionario %{questionnaire_title}
|
72
|
+
export_name: Respuestas a la encuesta
|
65
73
|
surveys:
|
66
74
|
answer:
|
67
75
|
invalid: Se ha producido un error al responder la encuesta.
|
68
|
-
spam_detected: Hubo un problema
|
76
|
+
spam_detected: Hubo un problema respondiendo al formulario. Tal vez has sido demasiado rápido, ¿puedes intentarlo de nuevo?
|
69
77
|
success: La encuesta se ha respondido correctamente.
|
data/config/locales/eu.yml
CHANGED
@@ -24,8 +24,8 @@ eu:
|
|
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:
|
28
|
-
scopes_enabled:
|
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:
|
@@ -43,27 +43,35 @@ eu:
|
|
43
43
|
survey_opened:
|
44
44
|
email_intro: '%{resource_title} inkesta ireki da %{participatory_space_title} espazioan. Orri honetan parte har dezakezu:'
|
45
45
|
email_outro: Jakinarazpen hau jaso duzu %{participatory_space_title} jarraitzen ari zarelako. Aurreko estekan sartuz jakinarazpenak jasotzeari utzi ahal diozu.
|
46
|
-
email_subject:
|
46
|
+
email_subject: Beste inkesta bat %{participatory_space_title} izeneko espazioan
|
47
47
|
notification_title: <a href="%{resource_path}">%{resource_title}</a> inkesta <a href="%{participatory_space_url}">%{participatory_space_title}</a> espazioan irekita dago.
|
48
48
|
metrics:
|
49
49
|
survey_answers:
|
50
50
|
description: Parte-hartzaileek erantzundako inkesta kopurua
|
51
|
-
object:
|
51
|
+
object: inkesten erantzunak
|
52
52
|
title: Inkestei erantzunak
|
53
53
|
statistics:
|
54
54
|
answers_count: Erantzunak
|
55
55
|
surveys:
|
56
56
|
admin:
|
57
|
+
component:
|
58
|
+
actions:
|
59
|
+
answers_alert: Osagaia argitaratuz gero, emaitza guztiak kenduko dira.
|
57
60
|
exports:
|
58
61
|
survey_user_answers: Inkestako parte-hartzaileen erantzunak
|
59
62
|
surveys:
|
60
63
|
update:
|
61
|
-
invalid:
|
64
|
+
invalid: Arazo bat egon da inkesta gordetzean.
|
62
65
|
success: Inkesta ondo gorde da.
|
63
66
|
last_activity:
|
64
|
-
|
67
|
+
new_survey: 'Beste inkesta bat:'
|
68
|
+
survey_confirmation_mailer:
|
69
|
+
confirmation:
|
70
|
+
body: Zuzen erantzun duzu %{participatory_space} espazioko %{questionnaire_title} inkesta
|
71
|
+
subject: '%{questionnaire_title} galdetegiaren erantzun-baieztapena'
|
72
|
+
export_name: Inkestaren erantzunak
|
65
73
|
surveys:
|
66
74
|
answer:
|
67
|
-
invalid:
|
75
|
+
invalid: Arazo bat egon da inkesta erantzutean.
|
68
76
|
spam_detected: Arazo bat izan da galdetegia erantzutean. Agian azkarregi joan zara, berriro egin dezakezu?
|
69
77
|
success: Inkesta ondo bete da.
|
data/config/locales/fi-plain.yml
CHANGED
@@ -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:
|
@@ -61,9 +64,14 @@ fi-pl:
|
|
61
64
|
invalid: Kyselyn tallennus epäonnistui.
|
62
65
|
success: Kysely tallennettu onnistuneesti.
|
63
66
|
last_activity:
|
64
|
-
|
67
|
+
new_survey: 'Uusi kysely:'
|
68
|
+
survey_confirmation_mailer:
|
69
|
+
confirmation:
|
70
|
+
body: Vastauksesi kyselyyn "%{questionnaire_title}" onnistui osallistumistilassa "%{participatory_space}"
|
71
|
+
subject: Kyselyn "%{questionnaire_title}" vastaamisen vahvistus
|
72
|
+
export_name: Kyselyn vastaukset
|
65
73
|
surveys:
|
66
74
|
answer:
|
67
75
|
invalid: Kyselyyn vastaaminen epäonnistui.
|
68
|
-
spam_detected:
|
76
|
+
spam_detected: Lomakkeeseen vastaaminen epäonnistui. Saatoit toimia liian nopeasti. Yrittäisitkö uudestaan?
|
69
77
|
success: Kyselyyn vastattu onnistuneesti.
|
data/config/locales/fi.yml
CHANGED
@@ -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:
|
@@ -61,9 +64,14 @@ fi:
|
|
61
64
|
invalid: Kyselyn tallennus epäonnistui.
|
62
65
|
success: Kyselyn tallennus onnistui.
|
63
66
|
last_activity:
|
64
|
-
|
67
|
+
new_survey: 'Uusi kysely:'
|
68
|
+
survey_confirmation_mailer:
|
69
|
+
confirmation:
|
70
|
+
body: Vastauksesi kyselyyn "%{questionnaire_title}" onnistui osallistumistilassa "%{participatory_space}"
|
71
|
+
subject: Kyselyn "%{questionnaire_title}" vastaamisen vahvistus
|
72
|
+
export_name: Kyselyn vastaukset
|
65
73
|
surveys:
|
66
74
|
answer:
|
67
75
|
invalid: Kyselyyn vastaaminen epäonnistui.
|
68
|
-
spam_detected:
|
76
|
+
spam_detected: Lomakkeeseen vastaaminen epäonnistui. Saatoit toimia liian nopeasti. Yrittäisitkö uudestaan?
|
69
77
|
success: Kyselyyn vastaaminen onnistui.
|
data/config/locales/fr-CA.yml
CHANGED
@@ -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:
|
@@ -61,9 +64,12 @@ fr-CA:
|
|
61
64
|
invalid: Erreurs lors de la sauvegarde de l'enquête.
|
62
65
|
success: Enquête enregistrée avec succès.
|
63
66
|
last_activity:
|
64
|
-
|
67
|
+
new_survey: 'Nouvelle enquête :'
|
68
|
+
survey_confirmation_mailer:
|
69
|
+
confirmation:
|
70
|
+
body: Vous avez répondu avec succès à l'enquête %{questionnaire_title} dans %{participatory_space}
|
65
71
|
surveys:
|
66
72
|
answer:
|
67
73
|
invalid: Votre réponse à l'enquête comporte des erreurs.
|
68
|
-
spam_detected:
|
74
|
+
spam_detected: Une erreur est survenue lorsque vous avez répondu au questionnaire. Pouvez-vous réessayer ?
|
69
75
|
success: Votre réponse à l'enquête a bien été enregistrée.
|