decidim-surveys 0.10.1 → 0.11.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/app/assets/config/decidim_surveys_manifest.js +1 -0
  4. data/app/assets/javascripts/decidim/surveys/admin/auto_buttons_by_min_items.component.js.es6 +25 -0
  5. data/app/assets/javascripts/decidim/surveys/admin/auto_select_options_by_total_items.component.js.es6 +23 -0
  6. data/app/assets/javascripts/decidim/surveys/admin/surveys.js.es6 +146 -43
  7. data/app/assets/javascripts/decidim/surveys/autosortable_checkboxes.component.js.es6 +65 -0
  8. data/app/assets/javascripts/decidim/surveys/option_attached_inputs.component.js.es6 +32 -0
  9. data/app/assets/javascripts/decidim/surveys/surveys.js.es6 +20 -0
  10. data/app/assets/stylesheets/decidim/surveys/surveys.scss +20 -3
  11. data/app/commands/decidim/surveys/admin/update_survey.rb +36 -15
  12. data/app/commands/decidim/surveys/answer_survey.rb +12 -1
  13. data/app/commands/decidim/surveys/create_survey.rb +5 -5
  14. data/app/controllers/decidim/surveys/admin/application_controller.rb +2 -2
  15. data/app/controllers/decidim/surveys/admin/surveys_controller.rb +3 -3
  16. data/app/controllers/decidim/surveys/application_controller.rb +2 -2
  17. data/app/controllers/decidim/surveys/surveys_controller.rb +1 -1
  18. data/app/forms/decidim/surveys/admin/survey_answer_option_form.rb +23 -0
  19. data/app/forms/decidim/surveys/admin/survey_form.rb +7 -1
  20. data/app/forms/decidim/surveys/admin/survey_question_form.rb +12 -2
  21. data/app/forms/decidim/surveys/survey_answer_choice_form.rb +15 -0
  22. data/app/forms/decidim/surveys/survey_answer_form.rb +40 -6
  23. data/app/forms/decidim/surveys/survey_form.rb +1 -1
  24. data/app/helpers/decidim/surveys/admin/application_helper.rb +3 -19
  25. data/app/jobs/decidim/surveys/settings_change_job.rb +4 -4
  26. data/app/models/decidim/surveys/abilities/current_user_ability.rb +8 -8
  27. data/app/models/decidim/surveys/abilities/participatory_process_admin_ability.rb +1 -1
  28. data/app/models/decidim/surveys/survey.rb +2 -2
  29. data/app/models/decidim/surveys/survey_answer.rb +9 -1
  30. data/app/models/decidim/surveys/survey_answer_choice.rb +15 -0
  31. data/app/models/decidim/surveys/survey_answer_option.rb +9 -0
  32. data/app/models/decidim/surveys/survey_question.rb +21 -5
  33. data/app/views/decidim/surveys/admin/surveys/_answer_option.html.erb +28 -11
  34. data/app/views/decidim/surveys/admin/surveys/_form.html.erb +18 -14
  35. data/app/views/decidim/surveys/admin/surveys/_question.html.erb +74 -31
  36. data/app/views/decidim/surveys/admin/surveys/edit.html.erb +1 -1
  37. data/app/views/decidim/surveys/surveys/_answer.html.erb +94 -0
  38. data/app/views/decidim/surveys/surveys/show.html.erb +15 -42
  39. data/config/locales/ca.yml +33 -13
  40. data/config/locales/en.yml +33 -13
  41. data/config/locales/es.yml +33 -13
  42. data/config/locales/eu.yml +33 -13
  43. data/config/locales/fi.yml +33 -13
  44. data/config/locales/fr.yml +33 -13
  45. data/config/locales/gl.yml +33 -13
  46. data/config/locales/it.yml +33 -13
  47. data/config/locales/nl.yml +36 -16
  48. data/config/locales/pl.yml +33 -13
  49. data/config/locales/pt-BR.yml +33 -13
  50. data/config/locales/pt.yml +33 -13
  51. data/config/locales/ru.yml +0 -6
  52. data/config/locales/sv.yml +33 -13
  53. data/config/locales/uk.yml +0 -6
  54. data/db/migrate/20180305133837_rename_features_to_components_at_surveys.rb +11 -0
  55. data/db/migrate/20180314225829_add_max_choices_to_survey_questions.rb +7 -0
  56. data/db/migrate/20180321141024_add_description_to_decidim_survey_questions.rb +7 -0
  57. data/db/migrate/20180405014929_add_choices_to_decidim_survey_answers.rb +48 -0
  58. data/db/migrate/20180405015012_create_decidim_survey_answer_options.rb +43 -0
  59. data/db/migrate/20180405015147_create_decidim_survey_answer_choices.rb +61 -0
  60. data/db/migrate/20180405015258_add_free_text_to_survey_answer_options.rb +7 -0
  61. data/db/migrate/20180405015314_add_custom_body_to_survey_answer_choices.rb +7 -0
  62. data/db/migrate/20180406201818_add_position_to_decidim_survey_answer_choices.rb +7 -0
  63. data/lib/decidim/surveys.rb +1 -1
  64. data/lib/decidim/surveys/admin_engine.rb +0 -2
  65. data/lib/decidim/surveys/{feature.rb → component.rb} +38 -26
  66. data/lib/decidim/surveys/engine.rb +5 -1
  67. data/lib/decidim/surveys/test/factories.rb +22 -6
  68. data/lib/decidim/surveys/version.rb +1 -1
  69. metadata +33 -30
  70. data/app/assets/javascripts/decidim/surveys/admin/auto_label_by_position.component.js.es6 +0 -33
  71. data/app/assets/javascripts/decidim/surveys/admin/dynamic_fields.component.js.es6 +0 -95
  72. data/app/forms/decidim/surveys/admin/survey_question_answer_option_form.rb +0 -15
@@ -5,8 +5,27 @@ ca:
5
5
  body: Resposta
6
6
  survey_question:
7
7
  mandatory: Obligatori
8
+ max_choices: Nombre màxim d'opcions
8
9
  question_type: Tipus
10
+ errors:
11
+ models:
12
+ survey_answer:
13
+ attributes:
14
+ choices:
15
+ missing: no estan complets
16
+ too_many: són massa
9
17
  decidim:
18
+ components:
19
+ surveys:
20
+ actions:
21
+ answer: Resposta
22
+ name: Enquesta
23
+ settings:
24
+ global:
25
+ announcement: Anunci
26
+ step:
27
+ allow_answers: Permetre respostes
28
+ announcement: Anunci
10
29
  events:
11
30
  surveys:
12
31
  survey_closed:
@@ -19,17 +38,10 @@ ca:
19
38
  email_outro: Has rebut aquesta notificació perquè estàs seguint %{participatory_space_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
20
39
  email_subject: Una nova enquesta a %{participatory_space_title}
21
40
  notification_title: L'enquesta <a href="%{resource_path}">%{resource_title}</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a> ja està oberta.
22
- features:
23
- surveys:
24
- actions:
25
- answer: Resposta
26
- name: Enquesta
27
- settings:
28
- global:
29
- announcement: Anunci
30
- step:
31
- allow_answers: Permet respostes
32
- announcement: Anunci
41
+ forms:
42
+ errors:
43
+ survey_answer:
44
+ body: El cos no pot estar en blanc
33
45
  surveys:
34
46
  admin:
35
47
  exports:
@@ -41,7 +53,8 @@ ca:
41
53
  surveys:
42
54
  answer_option:
43
55
  answer_option: Opció de resposta
44
- remove_answer_option: Elimina l'opció de resposta
56
+ free_text: Text lliure
57
+ remove: Eliminar
45
58
  statement: Enunciat
46
59
  edit:
47
60
  save: Desar
@@ -51,9 +64,13 @@ ca:
51
64
  already_answered_warning: L'enquesta ja està contestada per alguns usuaris i per tant no pots modificar les seves preguntes.
52
65
  question:
53
66
  add_answer_option: Afegir opció de resposta
67
+ any: Qualsevol
68
+ description: Descripció
69
+ down: Avall
54
70
  question: Pregunta
55
- remove_question: Elimina pregunta
71
+ remove: Elimina
56
72
  statement: Enunciat
73
+ up: Pujar
57
74
  update:
58
75
  invalid: Hi ha hagut errors en desar l'enquesta.
59
76
  success: Enquesta desada correctament.
@@ -62,10 +79,13 @@ ca:
62
79
  multiple_option: Opció múltiple
63
80
  short_answer: Resposta curta
64
81
  single_option: Única opció
82
+ sorting: Ordenació
65
83
  surveys:
66
84
  answer:
67
85
  invalid: Hi ha hagut errors en respondre a l'enquesta.
68
86
  success: Enquesta resposta correctament.
87
+ question:
88
+ max_choices: 'Opcions màximes: %{n}'
69
89
  show:
70
90
  answer_survey:
71
91
  anonymous_user_message: <a href="%{sign_in_link}">Entra amb el teu compte</a> o <a href="%{sign_up_link}">dona't d'alta</a> per contestar l'enquesta.
@@ -6,8 +6,27 @@ en:
6
6
  body: Answer
7
7
  survey_question:
8
8
  mandatory: Mandatory
9
+ max_choices: Maximum number of choices
9
10
  question_type: Type
11
+ errors:
12
+ models:
13
+ survey_answer:
14
+ attributes:
15
+ choices:
16
+ missing: are not complete
17
+ too_many: are too many
10
18
  decidim:
19
+ components:
20
+ surveys:
21
+ actions:
22
+ answer: Answer
23
+ name: Survey
24
+ settings:
25
+ global:
26
+ announcement: Announcement
27
+ step:
28
+ allow_answers: Allow answers
29
+ announcement: Announcement
11
30
  events:
12
31
  surveys:
13
32
  survey_closed:
@@ -20,17 +39,10 @@ en:
20
39
  email_outro: You have received this notification because you are following %{participatory_space_title}. You can stop receiving notifications following the previous link.
21
40
  email_subject: A new survey in %{participatory_space_title}
22
41
  notification_title: The survey <a href="%{resource_path}">%{resource_title}</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a> is now open.
23
- features:
24
- surveys:
25
- actions:
26
- answer: Answer
27
- name: Survey
28
- settings:
29
- global:
30
- announcement: Announcement
31
- step:
32
- allow_answers: Allow answers
33
- announcement: Announcement
42
+ forms:
43
+ errors:
44
+ survey_answer:
45
+ body: Body can't be blank
34
46
  surveys:
35
47
  admin:
36
48
  exports:
@@ -42,7 +54,8 @@ en:
42
54
  surveys:
43
55
  answer_option:
44
56
  answer_option: Answer option
45
- remove_answer_option: Remove answer option
57
+ free_text: Free text
58
+ remove: Remove
46
59
  statement: Statement
47
60
  edit:
48
61
  save: Save
@@ -52,9 +65,13 @@ en:
52
65
  already_answered_warning: The survey is already answered by some users so you cannot modify its questions.
53
66
  question:
54
67
  add_answer_option: Add answer option
68
+ any: Any
69
+ description: Description
70
+ down: Down
55
71
  question: Question
56
- remove_question: Remove question
72
+ remove: Remove
57
73
  statement: Statement
74
+ up: Up
58
75
  update:
59
76
  invalid: There's been errors when saving the survey.
60
77
  success: Survey saved successfully.
@@ -63,10 +80,13 @@ en:
63
80
  multiple_option: Multiple option
64
81
  short_answer: Short answer
65
82
  single_option: Single option
83
+ sorting: Sorting
66
84
  surveys:
67
85
  answer:
68
86
  invalid: There's been errors when answering the survey.
69
87
  success: Survey answered successfully.
88
+ question:
89
+ max_choices: 'Max choices: %{n}'
70
90
  show:
71
91
  answer_survey:
72
92
  anonymous_user_message: <a href="%{sign_in_link}">Sign in with your account</a> or <a href="%{sign_up_link}">sign up</a> to answer the survey.
@@ -5,8 +5,27 @@ es:
5
5
  body: Respuesta
6
6
  survey_question:
7
7
  mandatory: Obligatorio
8
+ max_choices: Número máximo de opciones
8
9
  question_type: Tipo
10
+ errors:
11
+ models:
12
+ survey_answer:
13
+ attributes:
14
+ choices:
15
+ missing: no están completos
16
+ too_many: son demasiados
9
17
  decidim:
18
+ components:
19
+ surveys:
20
+ actions:
21
+ answer: Responder
22
+ name: Encuesta
23
+ settings:
24
+ global:
25
+ announcement: Anuncio
26
+ step:
27
+ allow_answers: Permitir respuestas
28
+ announcement: Anuncio
10
29
  events:
11
30
  surveys:
12
31
  survey_closed:
@@ -19,17 +38,10 @@ es:
19
38
  email_outro: Has recibido esta notificación porque estás siguiendo %{participatory_space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
20
39
  email_subject: Nueva encuesta en %{participatory_space_title}
21
40
  notification_title: Ya está abierta la encuesta <a href="%{resource_path}">%{resource_title}</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
22
- features:
23
- surveys:
24
- actions:
25
- answer: Respuesta
26
- name: Encuesta
27
- settings:
28
- global:
29
- announcement: Anuncio
30
- step:
31
- allow_answers: Permitir respuestas
32
- announcement: Anuncio
41
+ forms:
42
+ errors:
43
+ survey_answer:
44
+ body: El cuerpo no puede estar en blanco
33
45
  surveys:
34
46
  admin:
35
47
  exports:
@@ -41,7 +53,8 @@ es:
41
53
  surveys:
42
54
  answer_option:
43
55
  answer_option: Opción de respuesta
44
- remove_answer_option: Eliminar opción de respuesta
56
+ free_text: Texto libre
57
+ remove: Eliminar
45
58
  statement: Enunciado
46
59
  edit:
47
60
  save: Guardar
@@ -51,9 +64,13 @@ es:
51
64
  already_answered_warning: La encuesta ya está contestada por algunos usuarios, así que no puedes modificar sus preguntas.
52
65
  question:
53
66
  add_answer_option: Agregar opción de respuesta
67
+ any: Alguna
68
+ description: Descripción
69
+ down: Abajo
54
70
  question: Pregunta
55
- remove_question: Eliminar pregunta
71
+ remove: Eliminar
56
72
  statement: Enunciado
73
+ up: Arriba
57
74
  update:
58
75
  invalid: Se han producido errores al guardar la encuesta.
59
76
  success: Encuesta guardada correctamente.
@@ -62,10 +79,13 @@ es:
62
79
  multiple_option: Opción múltiple
63
80
  short_answer: Respuesta corta
64
81
  single_option: Opción individual
82
+ sorting: Clasificación
65
83
  surveys:
66
84
  answer:
67
85
  invalid: Se han producido errores al responder a la encuesta.
68
86
  success: La encuesta ha sido respondida con éxito.
87
+ question:
88
+ max_choices: 'Opciones máximas: %{n}'
69
89
  show:
70
90
  answer_survey:
71
91
  anonymous_user_message: <a href="%{sign_in_link}">Inicia sesión con tu cuenta</a> o <a href="%{sign_up_link}">regístrate</a> para responder a la encuesta.
@@ -5,8 +5,27 @@ eu:
5
5
  body: Erantzuna
6
6
  survey_question:
7
7
  mandatory: Derrigorrezkoa
8
+ max_choices: Gehienezko aukera kopurua
8
9
  question_type: Mota
10
+ errors:
11
+ models:
12
+ survey_answer:
13
+ attributes:
14
+ choices:
15
+ missing: ez dira osatu
16
+ too_many: gehiegi dira
9
17
  decidim:
18
+ components:
19
+ surveys:
20
+ actions:
21
+ answer: Erantzuna
22
+ name: Inkesta
23
+ settings:
24
+ global:
25
+ announcement: Anuntzio
26
+ step:
27
+ allow_answers: Baimendu erantzunak
28
+ announcement: Anuntzio
10
29
  events:
11
30
  surveys:
12
31
  survey_closed:
@@ -19,17 +38,10 @@ eu:
19
38
  email_outro: Jakinarazpena jaso duzu %{participatory_space_title}jarraituz gero. Aurreko esteka jarraituz jakinarazpenak jasotzeari uztea erabaki dezakezu.
20
39
  email_subject: '%{participatory_space_title} inkesta berri bat'
21
40
  notification_title: <a href="%{resource_path}">%{resource_title}</a> in <a href="%{participatory_space_url}">%{participatory_space_title}</a> inkesta orain irekita dago.
22
- features:
23
- surveys:
24
- actions:
25
- answer: Erantzuna
26
- name: Inkesta
27
- settings:
28
- global:
29
- announcement: Anuntzio
30
- step:
31
- allow_answers: Baimendu erantzunak
32
- announcement: Anuntzio
41
+ forms:
42
+ errors:
43
+ survey_answer:
44
+ body: Gorputza ezin da hutsik egon
33
45
  surveys:
34
46
  admin:
35
47
  exports:
@@ -41,7 +53,8 @@ eu:
41
53
  surveys:
42
54
  answer_option:
43
55
  answer_option: Erantzuna aukera
44
- remove_answer_option: Kendu erantzun aukera
56
+ free_text: Testu librea
57
+ remove: Kendu
45
58
  statement: Adierazpena
46
59
  edit:
47
60
  save: Gorde
@@ -51,9 +64,13 @@ eu:
51
64
  already_answered_warning: Inkesta dagoeneko erabiltzaile batzuek erantzun dute, beraz, ezin dituzu bere galderak aldatu.
52
65
  question:
53
66
  add_answer_option: Gehitu erantzun aukera
67
+ any: Edozein
68
+ description: deskribapena
69
+ down: Down
54
70
  question: Galdera
55
- remove_question: Galdera kendu
71
+ remove: Kendu
56
72
  statement: Adierazpena
73
+ up: up
57
74
  update:
58
75
  invalid: Inkesta gordetzean erroreak gertatu dira.
59
76
  success: Inkesta ondo gorde da.
@@ -62,10 +79,13 @@ eu:
62
79
  multiple_option: Aukera anitz
63
80
  short_answer: Erantzun laburra
64
81
  single_option: Aukera bakarra
82
+ sorting: Lazcoz
65
83
  surveys:
66
84
  answer:
67
85
  invalid: Inkesta erantzutean erroreak gertatu dira.
68
86
  success: Inkesta ondo bete da.
87
+ question:
88
+ max_choices: 'Gehienezko aukerak: %{n}'
69
89
  show:
70
90
  answer_survey:
71
91
  anonymous_user_message: <a href="%{sign_in_link}">Sartu zure kontuarekin</a> edo <a href="%{sign_up_link}">kontua sortu</a> inkesta erantzuteko.
@@ -5,8 +5,27 @@ fi:
5
5
  body: Vastaa
6
6
  survey_question:
7
7
  mandatory: Pakollinen
8
+ max_choices: Valintojen enimmäismäärä
8
9
  question_type: Tyyppi
10
+ errors:
11
+ models:
12
+ survey_answer:
13
+ attributes:
14
+ choices:
15
+ missing: eivät ole täydellisiä
16
+ too_many: ovat liian monta
9
17
  decidim:
18
+ components:
19
+ surveys:
20
+ actions:
21
+ answer: Vastaus
22
+ name: tutkimus
23
+ settings:
24
+ global:
25
+ announcement: Ilmoitus
26
+ step:
27
+ allow_answers: Anna vastauksia
28
+ announcement: Ilmoitus
10
29
  events:
11
30
  surveys:
12
31
  survey_closed:
@@ -19,17 +38,10 @@ fi:
19
38
  email_outro: Olet saanut tämän ilmoituksen, koska seuraat %{participatory_space_title}. Voit lopettaa ilmoitusten vastaanottamisen edellisen linkin jälkeen.
20
39
  email_subject: 'Uusi tutkimus %{participatory_space_title}: ssa'
21
40
  notification_title: Kysely <a href="%{resource_path}">%{resource_title}</a> <a href="%{participatory_space_url}">%{participatory_space_title}</a> on nyt auki.
22
- features:
23
- surveys:
24
- actions:
25
- answer: Vastaa
26
- name: tutkimus
27
- settings:
28
- global:
29
- announcement: Ilmoitus
30
- step:
31
- allow_answers: Anna vastauksia
32
- announcement: Ilmoitus
41
+ forms:
42
+ errors:
43
+ survey_answer:
44
+ body: Runko ei voi olla tyhjä
33
45
  surveys:
34
46
  admin:
35
47
  exports:
@@ -41,7 +53,8 @@ fi:
41
53
  surveys:
42
54
  answer_option:
43
55
  answer_option: Vastausvaihtoehto
44
- remove_answer_option: Poista vastausvaihtoehto
56
+ free_text: Ilmainen teksti
57
+ remove: Poistaa
45
58
  statement: Kysymysasettelu
46
59
  edit:
47
60
  save: Tallenna
@@ -51,9 +64,13 @@ fi:
51
64
  already_answered_warning: Jotkut käyttäjät ovat jo vastanneet tähän kyselyyn, minkä takia et voi muokata sen kysymyksiä.
52
65
  question:
53
66
  add_answer_option: Lisää vastausvaihtoehto
67
+ any: Minkä tahansa
68
+ description: Kuvaus
69
+ down: Alas
54
70
  question: Kysymys
55
- remove_question: Poista kysymys
71
+ remove: Poistaa
56
72
  statement: Kysymysasettelu
73
+ up: ylös
57
74
  update:
58
75
  invalid: Kyselyn tallennus epäonnistui.
59
76
  success: Kysely tallennettu onnistuneesti.
@@ -62,10 +79,13 @@ fi:
62
79
  multiple_option: Useita vaihtoehtoja
63
80
  short_answer: Lyhyt vastaus
64
81
  single_option: Yksi vaihtoehto
82
+ sorting: lajittelu
65
83
  surveys:
66
84
  answer:
67
85
  invalid: Kyselyyn vastaaminen epäonnistui.
68
86
  success: Kyselyyn vastattu onnistuneesti.
87
+ question:
88
+ max_choices: 'Max valinnat: %{n}'
69
89
  show:
70
90
  answer_survey:
71
91
  anonymous_user_message: <a href="%{sign_in_link}">Kirjaudu sisään tililläsi</a> tai <a href="%{sign_up_link}">rekisteröidy</a> vastataksesi kyselyyn.
@@ -5,8 +5,27 @@ fr:
5
5
  body: Réponse
6
6
  survey_question:
7
7
  mandatory: Requis
8
+ max_choices: Nombre de choix maximum
8
9
  question_type: Type de question
10
+ errors:
11
+ models:
12
+ survey_answer:
13
+ attributes:
14
+ choices:
15
+ missing: ne sont pas complets
16
+ too_many: sont trop nombreux
9
17
  decidim:
18
+ components:
19
+ surveys:
20
+ actions:
21
+ answer: Répondre
22
+ name: Enquête
23
+ settings:
24
+ global:
25
+ announcement: Annonce
26
+ step:
27
+ allow_answers: Autoriser les réponses
28
+ announcement: Annonce
10
29
  events:
11
30
  surveys:
12
31
  survey_closed:
@@ -19,17 +38,10 @@ fr:
19
38
  email_outro: Vous venez de recevoir cette notification car vous suivez le processus %{participatory_space_title}. Vous pouvez à tout moment arrêter de recevoir des notifications en suivant le lien précédent.
20
39
  email_subject: Une nouvelle enquête vient d'être créée depuis %{participatory_space_title}
21
40
  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>.'
22
- features:
23
- surveys:
24
- actions:
25
- answer: Réponse
26
- name: Enquête
27
- settings:
28
- global:
29
- announcement: Annonce
30
- step:
31
- allow_answers: Autoriser les réponses
32
- announcement: Annonce
41
+ forms:
42
+ errors:
43
+ survey_answer:
44
+ body: Cet espace ne peut pas être vide
33
45
  surveys:
34
46
  admin:
35
47
  exports:
@@ -41,7 +53,8 @@ fr:
41
53
  surveys:
42
54
  answer_option:
43
55
  answer_option: Option de réponse
44
- remove_answer_option: Supprimer l'option de réponse
56
+ free_text: Texte libre
57
+ remove: Retirer
45
58
  statement: Déclaration
46
59
  edit:
47
60
  save: Sauvegarder
@@ -51,9 +64,13 @@ fr:
51
64
  already_answered_warning: Votre enquête a déjà reçu des réponses, vous ne pouvez donc pas modifier ses questions.
52
65
  question:
53
66
  add_answer_option: Ajouter une option de réponse
67
+ any: Tout
68
+ description: Description
69
+ down: Descendre
54
70
  question: Question
55
- remove_question: Supprimer la question
71
+ remove: Retirer
56
72
  statement: Déclaration
73
+ up: Monter
57
74
  update:
58
75
  invalid: Il y a eu des erreurs lors de la sauvegarde de l'enquête.
59
76
  success: Enquête enregistrée avec succès.
@@ -62,10 +79,13 @@ fr:
62
79
  multiple_option: Options multiples
63
80
  short_answer: Réponse courte
64
81
  single_option: Option unique
82
+ sorting: Tri
65
83
  surveys:
66
84
  answer:
67
85
  invalid: Votre réponse à l'enquête comporte des erreurs.
68
86
  success: Votre réponse à l'enquête a bien été enregistrée.
87
+ question:
88
+ max_choices: 'Nombre de choix maximum : %{n}'
69
89
  show:
70
90
  answer_survey:
71
91
  anonymous_user_message: Pour répondre à l'enquête<a href="%{sign_in_link}"> identifiez-vous avec votre compte</a> ou <a href="%{sign_up_link}">inscrivez-vous.</a> .