decidim-forms 0.26.4 → 0.26.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac2a4967f65889f20e67fcfea32386f57484e8eb0f61172f335b690e4298ab4b
4
- data.tar.gz: e971f03e20bd78cf6e246869133eaea933edb61bee15ef48d12ca0aae082e1c4
3
+ metadata.gz: 4a6c3fd0879cfa3e752f2ca198270b8547f3eb59819c04728e430f832c1a7f27
4
+ data.tar.gz: 8398132631b131f9def4c54e22677eb986922cb0881d01153a2f56334b148768
5
5
  SHA512:
6
- metadata.gz: 3b9fb3129e380b1aeeb0b801296518256b0be19b46799b69031f588dfeac69f2c7e3bd69aa91306a34826f005f85158bc6a0f433589b209399b88ccab60d240c
7
- data.tar.gz: 68d5bab8bd439145111c49c9a4f8d39a4d99b97acf34bec6e4b072f83691e92ab29e23645fed2cf5c4b08e5caf7fc271f9522b2686076d1f74d2479ca56b2565
6
+ metadata.gz: 7db2ce29d309486cb9e7fb6459919b7414b8415ba5a31cbbe4b33e56f89f5c6723d8f2df10fc9c450d884eca963d321a7b4f73c85739159fcaf8a0dd34af93d7
7
+ data.tar.gz: f5f3505524bb81b549e3da56bf38b56cd0c96788438844238cd14aa162c52e6b5cb23aa5ce43cd421407911ee094d9c739616e18b3fdb27f7006c5f88e6f769d
@@ -31,7 +31,7 @@
31
31
  <%= form.translated :editor, :description, toolbar: :full, lines: 30, label: t("models.components.description", scope: "decidim.forms.admin") %>
32
32
  </div>
33
33
  <div class="row column">
34
- <%= form.translated :editor, :tos, toolbar: :full, lines: 10, label: t("models.components.tos", scope: "decidim.forms.admin") %>
34
+ <%= form.translated :editor, :tos, toolbar: :content, lines: 10, label: t("models.components.tos", scope: "decidim.forms.admin") %>
35
35
  </div>
36
36
  </div>
37
37
  </div>
@@ -7,7 +7,7 @@
7
7
  <%= label_tag field_id, translated_attribute(answer.question.body), class: "questionnaire-title_and_description" %>
8
8
  <% if translated_attribute(answer.question.description).present? %>
9
9
  <div class="help-title_and_description ">
10
- <%= decidim_sanitize_editor translated_attribute(answer.question.description) %>
10
+ <%= decidim_sanitize_editor_admin translated_attribute(answer.question.description) %>
11
11
  </div>
12
12
  <% end %>
13
13
  <%= render partial: "decidim/forms/questionnaires/answers/#{answer.question.question_type}", locals: { answer: answer, answer_form: answer_form, answer_idx: answer_idx, field_id: field_id, disabled: disabled } %>
@@ -22,7 +22,7 @@
22
22
 
23
23
  <% if translated_attribute(answer.question.description).present? %>
24
24
  <div class="help-text">
25
- <%= decidim_sanitize_editor translated_attribute(answer.question.description) %>
25
+ <%= decidim_sanitize_editor_admin translated_attribute(answer.question.description) %>
26
26
  </div>
27
27
  <% end %>
28
28
 
@@ -11,7 +11,7 @@
11
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
- <%= decidim_sanitize_editor translated_attribute questionnaire.description %>
14
+ <%= decidim_sanitize_editor_admin translated_attribute questionnaire.description %>
15
15
  </div>
16
16
  </div>
17
17
  </div>
@@ -174,7 +174,7 @@ ca:
174
174
  tos_agreement: En participar acceptes els Termes i condicions d'ús
175
175
  step_navigation:
176
176
  show:
177
- are_you_sure: Aquesta acció no es pot desfer i no podràs editar les teves respostes. Estàs segura?
177
+ are_you_sure: Aquesta acció no es pot desfer i no podràs editar les teves respostes. Segur?
178
178
  back: Enrere
179
179
  continue: Continuar
180
180
  submit: Enviar respostes
@@ -9,7 +9,7 @@ eu:
9
9
  max_choices: Gehienezko aukera kopurua
10
10
  question_type: Mota
11
11
  questionnaire_question:
12
- mandatory: derrigorrezko
12
+ mandatory: Derrigorrezkoa
13
13
  max_characters: Karaktereen muga (utzi 0 mugarik ez badago)
14
14
  errors:
15
15
  models:
@@ -29,7 +29,7 @@ eu:
29
29
  admin:
30
30
  models:
31
31
  components:
32
- description: deskribapena
32
+ description: Deskribapena
33
33
  tos: Zerbitzu-baldintzak
34
34
  questionnaires:
35
35
  actions:
@@ -39,7 +39,7 @@ eu:
39
39
  answer_option: Erantzun aukera
40
40
  free_text: Testu librea
41
41
  remove: Kendu
42
- statement: adierazpena
42
+ statement: Adierazpena
43
43
  answers:
44
44
  actions:
45
45
  back: Itzuli erantzunetara
@@ -74,12 +74,13 @@ eu:
74
74
  select_condition_question: Hautatu galdera bat
75
75
  select_condition_type: Hautatu baldintza mota bat
76
76
  edit:
77
- save: Save
77
+ save: Gorde
78
78
  title: Editatu galdetegia
79
79
  form:
80
80
  add_question: Gehitu galdera
81
81
  add_separator: Gehitu banatzailea
82
- already_answered_warning: Galdetegia dagoeneko erantzun dio erabiltzaile batzuek, beraz, ezin dituzu bere galderak aldatu.
82
+ add_title_and_description: Editatu izenburua eta deskribapena
83
+ already_answered_warning: Formularioa erabiltzaile batzuek erantzuten dute, beraz, ezin dira galderak aldatu.
83
84
  collapse: Bildu galdera guztiak
84
85
  expand: Zabaldu galdera guztiak
85
86
  preview: Aurreikusi
@@ -88,7 +89,7 @@ eu:
88
89
  matrix_row:
89
90
  matrix_row: Errenkada
90
91
  remove: Kendu
91
- statement: adierazpena
92
+ statement: Adierazpena
92
93
  question:
93
94
  add_answer_option: Gehitu erantzun aukera
94
95
  add_display_condition: Gehitu bistaratzeko baldintza
@@ -96,24 +97,33 @@ eu:
96
97
  add_matrix_row: Gehitu errenkada
97
98
  any: Edozein
98
99
  collapse: Bildu
99
- description: deskribapena
100
- down: Down
100
+ description: Deskribapena
101
+ down: Behera
101
102
  expand: Zabaldu
102
103
  question: Galdera
103
104
  remove: Kendu
104
- statement: adierazpena
105
- up: up
105
+ statement: Adierazpena
106
+ up: Gora
106
107
  separator:
107
- down: Jaitsi
108
+ down: Behera
108
109
  remove: Kendu
109
110
  separator: Bereizlea
110
- up: Igo
111
+ up: Gora
112
+ title_and_description:
113
+ collapse: Tolestu
114
+ description: Deskribapena
115
+ down: Behera
116
+ expand: Zabaldu
117
+ remove: Kendu
118
+ title: Izenburua
119
+ title_and_description: Izenburua eta deskribapena
120
+ up: Gora
111
121
  update:
112
122
  invalid: Akatsik egon da galdeketa gordetzean.
113
123
  success: Galdetegia zuzen gorde da.
114
124
  errors:
115
125
  answer:
116
- body: Gorputza ezin da hutsik egon
126
+ body: Testua ezin da hutsik egon
117
127
  files:
118
128
  extension_allowlist: 'Onartutako formatuak:'
119
129
  images:
@@ -130,23 +140,26 @@ eu:
130
140
  multiple_option: Hainbat aukera
131
141
  short_answer: Erantzun laburra
132
142
  single_option: Aukera bakarra
133
- sorting: Lazcoz
143
+ sorting: Sailkaketa
144
+ title_and_description: Izenburua eta deskribapena
145
+ questionnaire_answer_presenter:
146
+ download_attachment: Deskargatu eranskina
134
147
  questionnaires:
135
148
  answer:
136
- invalid: Akatsik egon da galdeketa erantzutean.
149
+ invalid: Akatsen bat gertatu da galdeketa erantzutean.
137
150
  max_choices_alert: Aukera gehiegi daude hautatuta
138
- success: Galdesortaz erantzun ona.
151
+ success: Formularioak ondo erantzun du.
139
152
  question:
140
153
  max_choices: 'Gehienezko aukerak: %{n}'
141
154
  show:
142
155
  answer_questionnaire:
143
156
  anonymous_user_message: <a href="%{sign_in_link}">Hasi saioa zure kontuarekin</a> edo <a href="%{sign_up_link}">saioa hasi</a> galdetegiari erantzuteko.
144
- title: Erantzun galdetegia
157
+ title: Erantzun formularioari
145
158
  current_step: '%{step} urratsa'
146
159
  of_total_steps: '%{total_steps} etik'
147
160
  questionnaire_answered:
148
161
  body: Galdeketa honi erantzun dio.
149
- title: Dagoeneko erantzun
162
+ title: Dagoeneko erantzunda
150
163
  questionnaire_closed:
151
164
  body: Galdetegia itxita dago eta ezin da erantzun.
152
165
  title: Galdeketa itxia
@@ -156,7 +169,9 @@ eu:
156
169
  questionnaire_js_disabled:
157
170
  body: Galdetegi honen ezaugarri batzuk desaktibatu egingo dira. Zure esperientzia hobetzeko, gaitu JavaScript zure nabigatzailean.
158
171
  title: Javascript desaktibatuta dago
159
- tos_agreement: Zerbitzu-baldintzak onartzen dituzunean parte hartuz
172
+ questionnaire_not_published:
173
+ body: Argitalpen hau oraindik ez da argitaratu.
174
+ tos_agreement: Parte hartzean, haren zerbitzu-baldintzak onartzen dituzu
160
175
  step_navigation:
161
176
  show:
162
177
  are_you_sure: Ekintza hau ezin da desegin eta ezin izango dituzu zure erantzunak editatu. Ziur zaude?
@@ -166,7 +181,7 @@ eu:
166
181
  user_answers_serializer:
167
182
  body: Erantzuna
168
183
  completion: Amaiera
169
- created_at: Erantzuna
184
+ created_at: Erantzunda
170
185
  id: Erantzun IDa
171
186
  ip_hash: IP Helbidearen Hash
172
187
  question: Galdera
@@ -0,0 +1 @@
1
+ fa:
@@ -0,0 +1 @@
1
+ ka:
@@ -0,0 +1 @@
1
+ kaa:
@@ -1 +1,191 @@
1
1
  zh-TW:
2
+ activemodel:
3
+ attributes:
4
+ answer:
5
+ body: 回答
6
+ choices: 選項
7
+ selected_choices: 已選擇的選項
8
+ question:
9
+ max_choices: 選擇的最大數量
10
+ question_type: 類別
11
+ questionnaire_question:
12
+ mandatory: 必填的
13
+ max_characters: 字元限制(如果不需要限制,請設為0)
14
+ errors:
15
+ models:
16
+ answer:
17
+ attributes:
18
+ add_documents:
19
+ needs_to_be_reattached: 需要重新附加
20
+ body:
21
+ too_long: 太長
22
+ choices:
23
+ missing: 尚未完成
24
+ too_many: 太多了
25
+ questionnaire:
26
+ request_invalid: 處理請求時發生錯誤,請再試一次
27
+ decidim:
28
+ forms:
29
+ admin:
30
+ models:
31
+ components:
32
+ description: 說明
33
+ tos: 服務條款
34
+ questionnaires:
35
+ actions:
36
+ back: 返回問題
37
+ show: 顯示回應
38
+ answer_option:
39
+ answer_option: 答案選項:
40
+ free_text: 免費文字
41
+ remove: 移除
42
+ statement: 聲明
43
+ answers:
44
+ actions:
45
+ back: 返回回覆
46
+ export: 匯出
47
+ show: 顯示答案
48
+ empty: 目前尚未回答
49
+ export:
50
+ answer:
51
+ title: '回應 #%{number}'
52
+ export_response:
53
+ title: 調查問卷使用者回答_%{token}
54
+ index:
55
+ title: "%{total} 個回應總數"
56
+ show:
57
+ title: '回答#%{number}'
58
+ display_condition:
59
+ answer_option: 答案選項
60
+ condition_question: 問題
61
+ condition_type: 條件
62
+ condition_types:
63
+ answered: 已回答
64
+ equal: 等於
65
+ match: 包含文字
66
+ not_answered: 未回答
67
+ not_equal: 不等於
68
+ condition_value: 包含文字
69
+ display_condition: 顯示條件
70
+ mandatory: 這個條件必須始終滿足,無論其他條件的狀態如何。
71
+ remove: 移除
72
+ save_warning: 在配置顯示條件之前,請記得保存表單。
73
+ select_answer_option: 選擇答案選項
74
+ select_condition_question: 選取一個問題
75
+ select_condition_type: 選擇一個條件類型
76
+ edit:
77
+ save: 儲存
78
+ title: 編輯問卷內容
79
+ form:
80
+ add_question: 新增問題
81
+ add_separator: 新增分隔線
82
+ add_title_and_description: 新增標題與描述
83
+ already_answered_warning: 已有使用者回答此表單,因此您無法修改問題。
84
+ collapse: 收起所有問題
85
+ expand: 展開所有問題
86
+ preview: 預覽
87
+ title: 編輯問卷表單%{questionnaire_for}
88
+ unpublished_warning: 此表單尚未發佈。您可以修改其問題,但這樣做將刪除目前的回答。
89
+ matrix_row:
90
+ matrix_row: 列
91
+ remove: 移除
92
+ statement: 聲明
93
+ question:
94
+ add_answer_option: 新增答案選項
95
+ add_display_condition: 新增顯示條件
96
+ add_display_condition_info: 請先儲存表單再設定顯示條件
97
+ add_matrix_row: 新增列
98
+ any: 任何
99
+ collapse: 收回
100
+ description: 說明
101
+ down: 向下
102
+ expand: 展開
103
+ question: 問題
104
+ remove: 移除
105
+ statement: 聲明
106
+ up: 往上
107
+ separator:
108
+ down: 向下
109
+ remove: 移除
110
+ separator: 分隔線
111
+ up: 往上
112
+ title_and_description:
113
+ collapse: 收回
114
+ description: 說明
115
+ down: 向下
116
+ expand: 展開
117
+ remove: 移除
118
+ title: 標題
119
+ title_and_description: 標題和描述
120
+ up: 往上
121
+ update:
122
+ invalid: 儲存表單時發生問題。
123
+ success: 表單已成功儲存。
124
+ errors:
125
+ answer:
126
+ body: 內容不能為空
127
+ files:
128
+ extension_allowlist: '可用格式'
129
+ images:
130
+ dimensions: "%{width} x %{height} 像素"
131
+ dimensions_info: '這張圖片會是:'
132
+ processors:
133
+ resize_and_pad: 調整大小並填充為
134
+ resize_to_fit: 重新調整大小以符合
135
+ question_types:
136
+ files: 檔案
137
+ long_answer: 長回答
138
+ matrix_multiple: 矩陣(多重選項)
139
+ matrix_single: 矩陣(單一選項)
140
+ multiple_option: 多選
141
+ short_answer: 簡答
142
+ single_option: 單選
143
+ sorting: 排序中
144
+ title_and_description: 標題和描述
145
+ questionnaire_answer_presenter:
146
+ download_attachment: 下載附件
147
+ questionnaires:
148
+ answer:
149
+ invalid: 回答表單時出現問題
150
+ max_choices_alert: 選擇的項目太多了
151
+ success: 表單已成功回答
152
+ question:
153
+ max_choices: '最多選擇數量: %{n}'
154
+ show:
155
+ answer_questionnaire:
156
+ anonymous_user_message: <a href="%{sign_in_link}">使用現有帳號登入</a> 或 <a href="%{sign_up_link}">註冊新帳戶</a> 以回答此表單。
157
+ title: 回答表單
158
+ current_step: 步驟%{step}
159
+ of_total_steps: 的%{total_steps}
160
+ questionnaire_answered:
161
+ body: 您已經回答過此表格。
162
+ title: 已經回答
163
+ questionnaire_closed:
164
+ body: 該表格已關閉,無法回答。
165
+ title: 表單已關閉
166
+ questionnaire_for_private_users:
167
+ body: 此表單僅適用於私人使用者
168
+ title: 表單已關閉
169
+ questionnaire_js_disabled:
170
+ body: 此表單的某些功能將被禁用。為了改善您的體驗,請在您的瀏覽器中啟用JavaScript。
171
+ title: JavaScript已停用
172
+ questionnaire_not_published:
173
+ body: 此表單尚未發佈。
174
+ tos_agreement: 透過參與,您同意其服務條款
175
+ step_navigation:
176
+ show:
177
+ are_you_sure: 此操作無法撤消,您將無法編輯您的答案。您確定嗎?
178
+ back: 返回
179
+ continue: 繼續
180
+ submit: 提交
181
+ user_answers_serializer:
182
+ body: 回答
183
+ completion: 完成
184
+ created_at: 回答時間
185
+ id: 回答 ID
186
+ ip_hash: IP Hash
187
+ question: 問題
188
+ registered: 已註冊
189
+ session_token: 使用者識別碼
190
+ unregistered: 未註冊
191
+ user_status: 用戶狀態
@@ -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.4"
7
+ "0.26.7"
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.4
4
+ version: 0.26.7
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-11-15 00:00:00.000000000 Z
14
+ date: 2023-05-11 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.4
22
+ version: 0.26.7
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.4
29
+ version: 0.26.7
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.4
64
+ version: 0.26.7
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.4
71
+ version: 0.26.7
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.4
78
+ version: 0.26.7
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.4
85
+ version: 0.26.7
86
86
  description: A forms gem for decidim.
87
87
  email:
88
88
  - josepjaume@gmail.com
@@ -208,6 +208,7 @@ files:
208
208
  - config/locales/et-EE.yml
209
209
  - config/locales/et.yml
210
210
  - config/locales/eu.yml
211
+ - config/locales/fa-IR.yml
211
212
  - config/locales/fi-pl.yml
212
213
  - config/locales/fi-plain.yml
213
214
  - config/locales/fi.yml
@@ -225,6 +226,8 @@ files:
225
226
  - config/locales/is.yml
226
227
  - config/locales/it.yml
227
228
  - config/locales/ja.yml
229
+ - config/locales/ka-GE.yml
230
+ - config/locales/kaa.yml
228
231
  - config/locales/ko-KR.yml
229
232
  - config/locales/ko.yml
230
233
  - config/locales/lb-LU.yml