decidim-forms 0.26.0 → 0.26.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: '001966829dd7bb233641ea5fb6134eacfadb93b6e902854ea48ee21287a378af'
4
- data.tar.gz: 10229cd3561629c46253977f603129863ac1d6cc87bd0737be5368ec22c6d9f2
3
+ metadata.gz: f404f65c4c4078d0c7ba93cbfc1a44788d676d4b9cb95a0f60877c4ceea5d09e
4
+ data.tar.gz: 477c064024398597eef4bcc54ed09589dd006a3cf01377415f392647e3f9c932
5
5
  SHA512:
6
- metadata.gz: d5f1c63e9080a6599abbf681a66b58f937929d3d65401ce0d342c65ba8241b060f0fea8d1af1120296cabc3c287756adfd9310387de91028472ed2eff5893db5
7
- data.tar.gz: b01e17fefc02e5d569eca30ac167c8d9d3eecd4edeaca8ed6b259b3aca7c6e73062bc7879da4b038e7c80a65d7237895a82c21d4c4b934041659444769915aa1
6
+ metadata.gz: 0bfa63e6b84c76c3d06d23f114108e1c0855fc1df925530a16adb706908f0c4eb2ef54577ce7c6a9721833dca3be38cc3341df96c216a6210a16f04d5241b5d4
7
+ data.tar.gz: 7f3f34e5af22ad66e92624d3fab90f556c3773eec9278f70c8300b46f1ba8dea6ec9c62ed48e3ae7de05c0cdc1031eab6e56b68d20d0acdcfb269c57ae6d5b9f
@@ -8,7 +8,7 @@
8
8
  <%= render partial: "decidim/shared/component_announcement" %>
9
9
 
10
10
  <div class="row columns">
11
- <h3 class="section-heading"><%= translated_attribute questionnaire.title %></h3>
11
+ <h2 class="section-heading"><%= translated_attribute questionnaire.title %></h2>
12
12
  <div class="row">
13
13
  <div class="columns large-<%= columns %> medium-centered lead">
14
14
  <%= decidim_sanitize_editor translated_attribute questionnaire.description %>
@@ -33,7 +33,7 @@
33
33
  <% if visitor_already_answered? %>
34
34
  <div class="section">
35
35
  <div class="callout success">
36
- <h5><%= t(".questionnaire_answered.title") %></h5>
36
+ <h3 class="heading5"><%= t(".questionnaire_answered.title") %></h3>
37
37
  <p><%= t(".questionnaire_answered.body") %></p>
38
38
  </div>
39
39
  </div>
@@ -42,7 +42,7 @@
42
42
  <noscript>
43
43
  <div class="section">
44
44
  <div class="callout warning">
45
- <h5><%= t(".questionnaire_js_disabled.title") %></h5>
45
+ <h3 class="heading5"><%= t(".questionnaire_js_disabled.title") %></h3>
46
46
  <p><%= t(".questionnaire_js_disabled.body") %></p>
47
47
  </div>
48
48
  </div>
@@ -50,7 +50,7 @@
50
50
  <% unless current_participatory_space.can_participate?(current_user) %>
51
51
  <div class="section">
52
52
  <div class="callout alert">
53
- <h5><%= t(".questionnaire_for_private_users.title") %></h5>
53
+ <h3 class="heading5"><%= t(".questionnaire_for_private_users.title") %></h3>
54
54
  <p><%= t(".questionnaire_for_private_users.body") %></p>
55
55
  </div>
56
56
  </div>
@@ -64,10 +64,10 @@
64
64
  <% @form.responses_by_step.each_with_index do |step_answers, step_index| %>
65
65
  <div id="step-<%= step_index %>" class="<%= step_index.zero? ? "questionnaire-step" : "questionnaire-step hide" %>" data-toggler=".hide">
66
66
  <% if @form.total_steps > 1 %>
67
- <h4 class="section-heading">
67
+ <h3 class="section-heading">
68
68
  <%= t(".current_step", step: step_index + 1) %>
69
69
  <span class="answer-questionnaire__steps"><%= t(".of_total_steps", total_steps: @form.total_steps) %></span>
70
- </h4>
70
+ </h3>
71
71
  <% end %>
72
72
 
73
73
  <% step_answers.each do |answer| %>
@@ -128,7 +128,7 @@
128
128
  <% end %>
129
129
  <% else %>
130
130
  <div class="answer-questionnaire">
131
- <h5 class="section-heading"><%= t(".answer_questionnaire.title") %></h5>
131
+ <h3 class="section-heading"><%= t(".answer_questionnaire.title") %></h3>
132
132
  <p>
133
133
  <%= t(".answer_questionnaire.anonymous_user_message", sign_in_link: decidim.new_user_session_path, sign_up_link: decidim.new_user_registration_path).html_safe %>
134
134
  </p>
@@ -141,7 +141,7 @@
141
141
  <% else %>
142
142
  <div class="section">
143
143
  <div class="callout warning">
144
- <h4><%= t(".questionnaire_closed.title") %></h4>
144
+ <h3 class="heading4"><%= t(".questionnaire_closed.title") %></h3>
145
145
  <p><%= t(".questionnaire_closed.body") %></p>
146
146
  </div>
147
147
  </div>
@@ -3,6 +3,7 @@ ar:
3
3
  attributes:
4
4
  answer:
5
5
  body: إجابة
6
+ choices: الخيارات
6
7
  question:
7
8
  max_choices: أقصى عدد من الخيارات
8
9
  question_type: نوع
@@ -30,6 +31,9 @@ ar:
30
31
  free_text: نص حر
31
32
  remove: إزالة
32
33
  statement: بيان
34
+ display_condition:
35
+ condition_question: سؤال
36
+ remove: حذف
33
37
  edit:
34
38
  save: حفظ
35
39
  form:
@@ -47,6 +51,8 @@ ar:
47
51
  remove: إزالة
48
52
  statement: بيان
49
53
  up: فوق
54
+ title_and_description:
55
+ description: الوصف
50
56
  update:
51
57
  invalid: كانت هناك مشكلة في حفظ النموذج.
52
58
  errors:
@@ -79,6 +79,7 @@ de:
79
79
  form:
80
80
  add_question: Frage hinzufügen
81
81
  add_separator: Trennzeichen hinzufügen
82
+ add_title_and_description: Füge Titel und Beschreibung hinzu
82
83
  already_answered_warning: Der Fragebogen wird bereits von einigen Benutzern beantwortet, sodass Sie die Fragen nicht ändern können.
83
84
  collapse: Alle Fragen einklappen
84
85
  expand: Alle Fragen ausklappen
@@ -108,6 +109,15 @@ de:
108
109
  remove: Löschen
109
110
  separator: Trennzeichen
110
111
  up: Hoch
112
+ title_and_description:
113
+ collapse: Einklappen
114
+ description: Beschreibung
115
+ down: Runter
116
+ expand: Ausklappen
117
+ remove: Entfernen
118
+ title: Titel
119
+ title_and_description: Titel und Beschreibung
120
+ up: Hinauf
111
121
  update:
112
122
  invalid: Beim Speichern des Fragebogens sind Fehler aufgetreten.
113
123
  success: Formular erfolgreich gespeichert.
@@ -131,6 +141,7 @@ de:
131
141
  short_answer: Kurze Antwort
132
142
  single_option: Einzelne Option
133
143
  sorting: Sortierung
144
+ title_and_description: Titel und Beschreibung
134
145
  questionnaires:
135
146
  answer:
136
147
  invalid: Bei der Beantwortung des Fragebogens sind Fehler aufgetreten.
@@ -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.26.0"
7
+ "0.26.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.26.0
4
+ version: 0.26.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: 2022-02-22 00:00:00.000000000 Z
14
+ date: 2022-03-25 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: decidim-core
@@ -19,14 +19,14 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.26.0
22
+ version: 0.26.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.26.0
29
+ version: 0.26.1
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: wicked_pdf
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -61,28 +61,28 @@ dependencies:
61
61
  requirements:
62
62
  - - '='
63
63
  - !ruby/object:Gem::Version
64
- version: 0.26.0
64
+ version: 0.26.1
65
65
  type: :development
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - '='
70
70
  - !ruby/object:Gem::Version
71
- version: 0.26.0
71
+ version: 0.26.1
72
72
  - !ruby/object:Gem::Dependency
73
73
  name: decidim-dev
74
74
  requirement: !ruby/object:Gem::Requirement
75
75
  requirements:
76
76
  - - '='
77
77
  - !ruby/object:Gem::Version
78
- version: 0.26.0
78
+ version: 0.26.1
79
79
  type: :development
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - '='
84
84
  - !ruby/object:Gem::Version
85
- version: 0.26.0
85
+ version: 0.26.1
86
86
  description: A forms gem for decidim.
87
87
  email:
88
88
  - josepjaume@gmail.com