decidim-forms 0.26.5 → 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 +4 -4
- data/app/views/decidim/forms/admin/questionnaires/_form.html.erb +1 -1
- data/app/views/decidim/forms/questionnaires/_answer.html.erb +2 -2
- data/app/views/decidim/forms/questionnaires/show.html.erb +1 -1
- data/config/locales/eu.yml +10 -10
- data/config/locales/fa-IR.yml +1 -0
- data/config/locales/kaa.yml +1 -0
- data/config/locales/zh-TW.yml +190 -0
- data/lib/decidim/forms/version.rb +1 -1
- metadata +10 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4a6c3fd0879cfa3e752f2ca198270b8547f3eb59819c04728e430f832c1a7f27
|
|
4
|
+
data.tar.gz: 8398132631b131f9def4c54e22677eb986922cb0881d01153a2f56334b148768
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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: :
|
|
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
|
-
<%=
|
|
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
|
-
<%=
|
|
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
|
-
<%=
|
|
14
|
+
<%= decidim_sanitize_editor_admin translated_attribute questionnaire.description %>
|
|
15
15
|
</div>
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
data/config/locales/eu.yml
CHANGED
|
@@ -97,18 +97,18 @@ eu:
|
|
|
97
97
|
add_matrix_row: Gehitu errenkada
|
|
98
98
|
any: Edozein
|
|
99
99
|
collapse: Bildu
|
|
100
|
-
description:
|
|
101
|
-
down:
|
|
100
|
+
description: Deskribapena
|
|
101
|
+
down: Behera
|
|
102
102
|
expand: Zabaldu
|
|
103
103
|
question: Galdera
|
|
104
104
|
remove: Kendu
|
|
105
|
-
statement:
|
|
106
|
-
up:
|
|
105
|
+
statement: Adierazpena
|
|
106
|
+
up: Gora
|
|
107
107
|
separator:
|
|
108
|
-
down:
|
|
108
|
+
down: Behera
|
|
109
109
|
remove: Kendu
|
|
110
110
|
separator: Bereizlea
|
|
111
|
-
up:
|
|
111
|
+
up: Gora
|
|
112
112
|
title_and_description:
|
|
113
113
|
collapse: Tolestu
|
|
114
114
|
description: Deskribapena
|
|
@@ -140,21 +140,21 @@ eu:
|
|
|
140
140
|
multiple_option: Hainbat aukera
|
|
141
141
|
short_answer: Erantzun laburra
|
|
142
142
|
single_option: Aukera bakarra
|
|
143
|
-
sorting:
|
|
143
|
+
sorting: Sailkaketa
|
|
144
144
|
title_and_description: Izenburua eta deskribapena
|
|
145
145
|
questionnaire_answer_presenter:
|
|
146
146
|
download_attachment: Deskargatu eranskina
|
|
147
147
|
questionnaires:
|
|
148
148
|
answer:
|
|
149
|
-
invalid:
|
|
149
|
+
invalid: Akatsen bat gertatu da galdeketa erantzutean.
|
|
150
150
|
max_choices_alert: Aukera gehiegi daude hautatuta
|
|
151
|
-
success:
|
|
151
|
+
success: Formularioak ondo erantzun du.
|
|
152
152
|
question:
|
|
153
153
|
max_choices: 'Gehienezko aukerak: %{n}'
|
|
154
154
|
show:
|
|
155
155
|
answer_questionnaire:
|
|
156
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.
|
|
157
|
-
title: Erantzun
|
|
157
|
+
title: Erantzun formularioari
|
|
158
158
|
current_step: '%{step} urratsa'
|
|
159
159
|
of_total_steps: '%{total_steps} etik'
|
|
160
160
|
questionnaire_answered:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
fa:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
kaa:
|
data/config/locales/zh-TW.yml
CHANGED
|
@@ -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: 用戶狀態
|
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
|
+
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: 2023-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
@@ -226,6 +227,7 @@ files:
|
|
|
226
227
|
- config/locales/it.yml
|
|
227
228
|
- config/locales/ja.yml
|
|
228
229
|
- config/locales/ka-GE.yml
|
|
230
|
+
- config/locales/kaa.yml
|
|
229
231
|
- config/locales/ko-KR.yml
|
|
230
232
|
- config/locales/ko.yml
|
|
231
233
|
- config/locales/lb-LU.yml
|