decidim-forms 0.20.0 → 0.20.1

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: 3d333400b35dde698ec6eb56578ce6d339d056abb654a32cf5429b6e525af594
4
- data.tar.gz: 8bf35eecf87210818501d217c61522f8db293a86f35624ec76642a8a665aa678
3
+ metadata.gz: d2ede21376cb021e162f01466661931e8a122cdef2daeb098dfb9a3d7c334415
4
+ data.tar.gz: c096f04a49d0c7d5f11f8f900ce3e649cb7caf8ed54ba18ff3fb8aaffd39d7fb
5
5
  SHA512:
6
- metadata.gz: d4aa63f125fbaf07ef76c0e209d79df0333c374e6675948e310e7787521a74fff17326c7b6e30414bc6ff99bd7f1d39af34bd0f9b68b2d03480e04f0da62105a
7
- data.tar.gz: 138359228e76cd3b79dc0e4f46ced204204a03e31b0815627074ffbb17a7e301220a12eab0f9209a3a2fb24683ffad4da8aea67e01e24dfb1cf787cb2be1995f
6
+ metadata.gz: 72e3d234e00b6f106b8dc6f336e3fc3652bfcfd322ef44c535e9349323f77f6195b6b95599cededa39eb43301791d946a695aeeb69962aa5a26f840059f04d1b
7
+ data.tar.gz: d2f248216d11676dec71a5d795ff0a5292234ada433cb798082641949142ab8ab53a5839f72123c6839f54858260c4a2735949404c110036d78867602d3caf4d
@@ -15,6 +15,8 @@ ar:
15
15
  choices:
16
16
  missing: ليست كاملة
17
17
  too_many: كثير جدا
18
+ questionnaire:
19
+ request_invalid: حدث خطأ أثناء معالجة الطلب. الرجاء إعادة المحاولة ثانية
18
20
  decidim:
19
21
  forms:
20
22
  admin:
@@ -2,7 +2,7 @@ ca:
2
2
  activemodel:
3
3
  attributes:
4
4
  answer:
5
- body: Respondre
5
+ body: Resposta
6
6
  question:
7
7
  max_choices: Nombre màxim d'opcions
8
8
  question_type: Tipus
@@ -15,21 +15,23 @@ ca:
15
15
  choices:
16
16
  missing: no estan complets
17
17
  too_many: en són masses
18
+ questionnaire:
19
+ request_invalid: Hi ha hagut un problema gestionant la petició. Si us plau torna-ho a provar
18
20
  decidim:
19
21
  forms:
20
22
  admin:
21
23
  models:
22
24
  components:
23
25
  description: Descripció
24
- tos: Termes i condicions d'ús
26
+ tos: Termes del servei
25
27
  questionnaires:
26
28
  answer_option:
27
29
  answer_option: Opció de resposta
28
30
  free_text: Text lliure
29
- remove: Eliminar
31
+ remove: Elimina
30
32
  statement: Declaració
31
33
  edit:
32
- save: Desar
34
+ save: Desa
33
35
  title: Títol
34
36
  form:
35
37
  add_question: Afegeix una pregunta
@@ -80,3 +82,7 @@ ca:
80
82
  user_answers_serializer:
81
83
  created_at: Respost el
82
84
  id: Identificador de resposta
85
+ ip_hash: Ip Hash
86
+ registered: Registrada
87
+ unregistered: No registrada
88
+ user_status: Estat de l'usuària
@@ -0,0 +1 @@
1
+ el:
@@ -15,6 +15,8 @@ es-MX:
15
15
  choices:
16
16
  missing: no están completos
17
17
  too_many: son demasiados
18
+ questionnaire:
19
+ request_invalid: Ha ocurrido un error al enviar tu solicitud. Inténtalo de nuevo
18
20
  decidim:
19
21
  forms:
20
22
  admin:
@@ -80,3 +82,7 @@ es-MX:
80
82
  user_answers_serializer:
81
83
  created_at: Respondido en
82
84
  id: ID de respuesta
85
+ ip_hash: Hash de Dirección IP
86
+ registered: Registrado
87
+ unregistered: No registrado
88
+ user_status: Estado del usuario
@@ -15,6 +15,8 @@ es-PY:
15
15
  choices:
16
16
  missing: no están completos
17
17
  too_many: son demasiados
18
+ questionnaire:
19
+ request_invalid: Ha ocurrido un error al enviar tu solicitud. Inténtalo de nuevo
18
20
  decidim:
19
21
  forms:
20
22
  admin:
@@ -80,3 +82,7 @@ es-PY:
80
82
  user_answers_serializer:
81
83
  created_at: Respondido en
82
84
  id: ID de respuesta
85
+ ip_hash: Hash de Dirección IP
86
+ registered: Registrado
87
+ unregistered: No registrado
88
+ user_status: Estado del usuario
@@ -15,6 +15,8 @@ es:
15
15
  choices:
16
16
  missing: no están completos
17
17
  too_many: son demasiados
18
+ questionnaire:
19
+ request_invalid: Ha ocurrido un error al enviar tu solicitud. Inténtalo de nuevo
18
20
  decidim:
19
21
  forms:
20
22
  admin:
@@ -80,3 +82,7 @@ es:
80
82
  user_answers_serializer:
81
83
  created_at: Respondido el
82
84
  id: Identificador de respuesta
85
+ ip_hash: Hash de Dirección IP
86
+ registered: Registrado
87
+ unregistered: No registrado
88
+ user_status: Estado del usuario
@@ -0,0 +1 @@
1
+ is-IS:
@@ -3,6 +3,11 @@
3
3
  attributes:
4
4
  answer:
5
5
  body: Svar
6
+ question:
7
+ max_choices: Maksimalt antall valg
8
+ question_type: Type
9
+ questionnaire_question:
10
+ mandatory: Obligatorisk
6
11
  errors:
7
12
  models:
8
13
  answer:
@@ -10,31 +15,74 @@
10
15
  choices:
11
16
  missing: er ikke fullstendig
12
17
  too_many: er for mange
18
+ questionnaire:
19
+ request_invalid: Det har oppstod en feil med håndtering av forespørselen. Prøv på nytt
13
20
  decidim:
14
21
  forms:
15
22
  admin:
23
+ models:
24
+ components:
25
+ description: Beskrivelse
26
+ tos: Tjenestevilkår
16
27
  questionnaires:
17
28
  answer_option:
18
29
  answer_option: Svaralternativ
30
+ free_text: Fri tekst
19
31
  remove: Fjern
32
+ statement: Uttalelse
20
33
  edit:
34
+ save: Lagre
21
35
  title: Tittel
22
36
  form:
23
37
  add_question: Legg til spørsmål
38
+ already_answered_warning: Skjemaet er allerede besvart av noen brukere derfor kan du ikke endre spørsmålene.
24
39
  question:
25
40
  add_answer_option: Legg til svaralternativ
26
41
  any: Alle
42
+ description: Beskrivelse
43
+ down: Ned
44
+ question: Spørsmål
27
45
  remove: Fjern
46
+ statement: Uttalelse
47
+ up: Opp
48
+ update:
49
+ invalid: Det oppstod et problem med å lagre dette skjema.
50
+ success: Skjemaene ble lagret.
28
51
  errors:
29
52
  answer:
30
53
  body: Teksten kan ikke være blank
54
+ question_types:
55
+ long_answer: Langt svar
56
+ multiple_option: Flere alternativer
57
+ short_answer: Kort svar
58
+ single_option: Enkelt alternativ
59
+ sorting: Sortering
31
60
  questionnaires:
61
+ answer:
62
+ invalid: Det oppstod et problem med å svare på skjemaet.
63
+ success: Skjema ble besvart.
64
+ question:
65
+ max_choices: 'Maksimum valg: %{n}'
32
66
  show:
33
67
  answer_questionnaire:
34
68
  anonymous_user_message: <a href="%{sign_in_link}">Logg på med kontoen din</a> eller <a href="%{sign_up_link}">opprett en</a> for å svare på skjemaet.
35
69
  title: Svar på skjemaet
70
+ are_you_sure: Denne handlingen kan ikke angres, og du kan ikke redigere svarene dine. Er du sikker?
36
71
  questionnaire_answered:
72
+ body: Dy har allerede svart på dette skjemaet.
37
73
  title: Allerede besvart
74
+ questionnaire_closed:
75
+ body: Skjemaet er lukket og kan ikke besvares.
76
+ title: Skjema lukket
77
+ questionnaire_for_private_users:
78
+ body: Skjemaet er bare tilgjengelig for private brukere
79
+ title: Skjema lukket
80
+ submit: Send inn
81
+ tos_agreement: Ved å delta godtar du vilkårene for bruk
38
82
  user_answers_serializer:
39
83
  created_at: Besvart på
40
84
  id: Svar ID
85
+ ip_hash: Ip Hash
86
+ registered: Registrert
87
+ unregistered: Uregistrert
88
+ user_status: Brukerstatus
@@ -4,7 +4,7 @@ require "decidim/core/test/factories"
4
4
  require "decidim/participatory_processes/test/factories"
5
5
 
6
6
  FactoryBot.define do
7
- factory :questionnaire, class: Decidim::Forms::Questionnaire do
7
+ factory :questionnaire, class: "Decidim::Forms::Questionnaire" do
8
8
  title { generate_localized_title }
9
9
  description do
10
10
  Decidim::Faker::Localized.wrapped("<p>", "</p>") do
@@ -25,7 +25,7 @@ FactoryBot.define do
25
25
  end
26
26
  end
27
27
 
28
- factory :questionnaire_question, class: Decidim::Forms::Question do
28
+ factory :questionnaire_question, class: "Decidim::Forms::Question" do
29
29
  transient do
30
30
  options { [] }
31
31
  end
@@ -54,20 +54,20 @@ FactoryBot.define do
54
54
  end
55
55
  end
56
56
 
57
- factory :answer, class: Decidim::Forms::Answer do
57
+ factory :answer, class: "Decidim::Forms::Answer" do
58
58
  body { "hola" }
59
59
  questionnaire
60
60
  question { create(:questionnaire_question, questionnaire: questionnaire) }
61
61
  user { create(:user, organization: questionnaire.questionnaire_for.organization) }
62
62
  end
63
63
 
64
- factory :answer_option, class: Decidim::Forms::AnswerOption do
64
+ factory :answer_option, class: "Decidim::Forms::AnswerOption" do
65
65
  question { create(:questionnaire_question) }
66
66
  body { generate_localized_title }
67
67
  free_text { false }
68
68
  end
69
69
 
70
- factory :answer_choice, class: Decidim::Forms::AnswerChoice do
70
+ factory :answer_choice, class: "Decidim::Forms::AnswerChoice" do
71
71
  answer
72
72
  answer_option { create(:answer_option, question: answer.question) }
73
73
  end
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-forms version.
5
5
  module Forms
6
6
  def self.version
7
- "0.20.0"
7
+ "0.20.1"
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-forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2020-01-08 00:00:00.000000000 Z
14
+ date: 2020-03-27 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: decidim-core
@@ -19,42 +19,42 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.20.0
22
+ version: 0.20.1
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.20.0
29
+ version: 0.20.1
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: decidim-admin
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
34
  - - '='
35
35
  - !ruby/object:Gem::Version
36
- version: 0.20.0
36
+ version: 0.20.1
37
37
  type: :development
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - '='
42
42
  - !ruby/object:Gem::Version
43
- version: 0.20.0
43
+ version: 0.20.1
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: decidim-dev
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
48
  - - '='
49
49
  - !ruby/object:Gem::Version
50
- version: 0.20.0
50
+ version: 0.20.1
51
51
  type: :development
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - '='
56
56
  - !ruby/object:Gem::Version
57
- version: 0.20.0
57
+ version: 0.20.1
58
58
  description: A forms gem for decidim.
59
59
  email:
60
60
  - josepjaume@gmail.com
@@ -115,6 +115,7 @@ files:
115
115
  - config/locales/cs-CZ.yml
116
116
  - config/locales/cs.yml
117
117
  - config/locales/de.yml
118
+ - config/locales/el-GR.yml
118
119
  - config/locales/en.yml
119
120
  - config/locales/eo-UY.yml
120
121
  - config/locales/es-MX.yml
@@ -128,6 +129,7 @@ files:
128
129
  - config/locales/gl.yml
129
130
  - config/locales/hu.yml
130
131
  - config/locales/id-ID.yml
132
+ - config/locales/is-IS.yml
131
133
  - config/locales/it.yml
132
134
  - config/locales/nl.yml
133
135
  - config/locales/no.yml
@@ -175,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
177
  - !ruby/object:Gem::Version
176
178
  version: '0'
177
179
  requirements: []
178
- rubygems_version: 3.0.3
180
+ rubygems_version: 3.1.2
179
181
  signing_key:
180
182
  specification_version: 4
181
183
  summary: Decidim forms