decidim-consultations 0.27.2 → 0.27.3

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: 0f921b5a98bf43674a1f5c1b0ac5bd9321cfcd5786a533e9dc71f759112277eb
4
- data.tar.gz: dc1c0d3cd1f4e5c429ca4bdad3d1e76da156ee2eea941f6ef9bfa671cd04f5b2
3
+ metadata.gz: ad3d4b805b90033ca483a9bb6f902387b934167a0f1a0c8e6377377202013558
4
+ data.tar.gz: b65f222c5fa197140942b3fda46d7e4c15892b0c6d3c19b1934aca10b1426e20
5
5
  SHA512:
6
- metadata.gz: 80daf388ecfc9e006cebb934c52b3090993666cad55fcf2dc0656b71792bcda317b2f6f29eac582afbeb27c470d31caf0be07877cd0a20317dc863ddfcdaadb6
7
- data.tar.gz: 1d429e4bff131f6f9e2e5105a79d28993dbd025d5015da47764b3f8494d959566284006e32416a6b3eef48076ffd83224fa431fcbe56a15e181d61698b801ef6
6
+ metadata.gz: 9338a9b7a878aa0f496db3e37dae128ca408bacb3b2d11fff7f27aece2655c879b780d5f31ffa2c427b77920d6a9be4a9068570e7dfa293fa0fddd0c60d2ad8b
7
+ data.tar.gz: b9cc8f3f752aac569118f26490bd0cd68226208fc0512aaec1e5f56645a5174556039f00813a4266843789316bfbd2f249ae4ab590b3d82160f7fdc32dce3a05
@@ -34,9 +34,7 @@ module Decidim
34
34
  # find the opening `<p>` tag and include the badge right after it. This
35
35
  # makes the layout look good.
36
36
  def description
37
- text = super
38
- text.sub!(/<p>/, "<p>#{render :badge}")
39
- html_truncate(text, length: 100)
37
+ render(:badge) + truncate(strip_tags(super), length: 100)
40
38
  end
41
39
 
42
40
  def resource_path
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module Consultations
5
+ class QuestionTitleScrubber < Decidim::UserInputScrubber
6
+ private
7
+
8
+ def custom_allowed_tags
9
+ %w(strong em u b i br ul ol li p a code)
10
+ end
11
+
12
+ def custom_allowed_attributes
13
+ %w(class href target rel)
14
+ end
15
+ end
16
+ end
17
+ end
@@ -15,7 +15,7 @@
15
15
  </div>
16
16
 
17
17
  <div class="row column">
18
- <%= form.translated :editor, :description, toolbar: :full, lines: 25 %>
18
+ <%= form.translated :editor, :description %>
19
19
  </div>
20
20
 
21
21
  <div class="row">
@@ -13,7 +13,7 @@
13
13
  <div class="row column">
14
14
  <%= form.number_field :max_votes, step: 1, min: 1 %>
15
15
  <%= form.number_field :min_votes, step: 1, min: 1 %>
16
- <%= form.translated :editor, :instructions, toolbar: :full, lines: 5 %>
16
+ <%= form.translated :editor, :instructions, lines: 5, toolbar: :content %>
17
17
  </div>
18
18
  </div>
19
19
  </div>
@@ -7,7 +7,7 @@
7
7
 
8
8
  <div class="card-section">
9
9
  <div class="row column">
10
- <%= form.translated :editor, :title, toolbar: :full, lines: 5, autofocus: true %>
10
+ <%= form.translated :editor, :title, lines: 5, autofocus: true, toolbar: :basic %>
11
11
  </div>
12
12
 
13
13
  <div class="row column">
@@ -23,11 +23,11 @@
23
23
  </div>
24
24
 
25
25
  <div class="row column">
26
- <%= form.translated :editor, :question_context, toolbar: :full, lines: 25 %>
26
+ <%= form.translated :editor, :question_context %>
27
27
  </div>
28
28
 
29
29
  <div class="row column">
30
- <%= form.translated :editor, :what_is_decided, toolbar: :full, lines: 25 %>
30
+ <%= form.translated :editor, :what_is_decided %>
31
31
  </div>
32
32
 
33
33
  <div class="row column">
@@ -1,6 +1,6 @@
1
1
  <div class="row section" id="consultation-details">
2
2
  <div class="columns medium-6 large-5 large-push-1">
3
- <p class="lead"><%= decidim_sanitize_editor translated_attribute(consultation.description) %></p>
3
+ <p class="lead"><%= decidim_sanitize_editor_admin translated_attribute(consultation.description) %></p>
4
4
  </div>
5
5
  <div class="columns medium-6 large-5 large-pull-1">
6
6
  <% if consultation.introductory_video_url.blank? %>
@@ -3,7 +3,7 @@
3
3
  <div class="columns mediumlarge-8 large-9 card--process__column">
4
4
  <div class="card__content">
5
5
  <%= link_to decidim_consultations.question_path(question), class: "card__link" do %>
6
- <h2 class="heading5"><%= decidim_sanitize translated_attribute question.title %></h2>
6
+ <h2 class="heading5"><%= decidim_sanitize translated_attribute(question.title), strip_tags: true %></h2>
7
7
  <% end %>
8
8
  <p><%= translated_attribute question.subtitle %></p>
9
9
  </div>
@@ -10,7 +10,7 @@
10
10
  <p><%= t "questions.vote_modal.contextual_help", scope: "decidim" %></p>
11
11
  <div class="card card--secondary">
12
12
  <div class="card__content">
13
- <h4 class="heading5 text-center"><%= translated_attribute(question.title).html_safe %></h4>
13
+ <h4 class="heading5 text-center"><%= decidim_sanitize translated_attribute(question.title), scrubber: Decidim::Consultations::QuestionTitleScrubber.new %></h4>
14
14
  </div>
15
15
  </div>
16
16
 
@@ -2,7 +2,7 @@
2
2
  <div class="row">
3
3
  <div class="columns medium-7 mediumlarge-8">
4
4
  <div class="section">
5
- <%= decidim_sanitize_editor translated_attribute current_question.question_context %>
5
+ <%= decidim_sanitize_editor_admin translated_attribute current_question.question_context %>
6
6
 
7
7
  <div class="show-more">
8
8
  <button class="button hollow small"><%= t "read_more", scope: "decidim.questions.show" %></button>
@@ -13,12 +13,12 @@
13
13
 
14
14
  <div class="section">
15
15
  <h2 class=section-heading><%= t "question.what_is_decided", scope: "activemodel.attributes" %></h2>
16
- <p><%= decidim_sanitize_editor translated_attribute(current_question.what_is_decided), strip_tags: true %></p>
16
+ <p><%= decidim_sanitize_editor_admin translated_attribute(current_question.what_is_decided) %></p>
17
17
  </div>
18
18
 
19
19
  <div class="section">
20
20
  <h2 class=section-heading><%= t "question.question_context", scope: "activemodel.attributes" %></h2>
21
- <p><%= decidim_sanitize_editor translated_attribute(current_question.question_context), strip_tags: true %></p>
21
+ <p><%= decidim_sanitize_editor_admin translated_attribute(current_question.question_context) %></p>
22
22
  </div>
23
23
  </div>
24
24
  </div>
@@ -23,7 +23,7 @@
23
23
  <%= yield :question_header_instructions if content_for? :question_header_instructions %>
24
24
 
25
25
  <div class="row column consultations-title">
26
- <h2 class="heading2"><%= decidim_sanitize translated_attribute question.title %></h2>
26
+ <h2 class="heading2"><%= decidim_sanitize translated_attribute(question.title), scrubber: Decidim::Consultations::QuestionTitleScrubber.new %></h2>
27
27
  <% unless question.hashtag.blank? %>
28
28
  <div class="text-center">
29
29
  <%= link_to "##{question.hashtag}", twitter_hashtag_url(question.hashtag), target: "_blank" %>
@@ -111,6 +111,7 @@ ar:
111
111
  create:
112
112
  error: كانت هناك مشكلة في إنشاء استشارة جديدة.
113
113
  success: تم إنشاء التشاور بنجاح.
114
+ deprecation_warning: سيتم إهمال وحدة المشاورات في المستقبل القريب. نحن قيد العمل على نسخة جديدة آمنة تشفيرياً والمسماة التصويتات.
114
115
  edit:
115
116
  update: تحديث
116
117
  form:
@@ -123,6 +124,7 @@ ar:
123
124
  create: إنشاء
124
125
  title: استشارة جديدة
125
126
  results:
127
+ not_visible: وستكون النتائج متاحة لدى إغلاق المشاورات
126
128
  participants: "%{count} مشارِكين"
127
129
  total_votes: 'المجموع: %{count} أصوات'
128
130
  update:
@@ -180,7 +182,9 @@ ar:
180
182
  many: استجابات
181
183
  other: استجابات
182
184
  question_configuration:
185
+ disable_external_voting: الرجاء تعطيل التصويت الخارجي للتكوينات المتقدمة
183
186
  form:
187
+ help: يمكن بإعداد أسئلة خيارات متعددة عن طريق زيادة الحد الأقصى لعدد الردود التي يمكن أن يختارها المشارك. القيمة القصوى الافتراضية هي 1، بمعنى أنه يمكن التصويت على رد واحد فقط.
184
188
  title: الإعداد المتقدّم
185
189
  question_publications:
186
190
  create:
@@ -209,12 +213,20 @@ ar:
209
213
  error: حدثت مشكلة أثناء تحديث هذا السؤال.
210
214
  success: تم تحديث السؤال بنجاح.
211
215
  response_groups:
216
+ create:
217
+ error: طرأت مشكلة خلال إنشاء مجموعة رد جديدة.
218
+ success: تم إنشاء مجموعة رد جديدة بنجاح.
219
+ destroy:
220
+ error: طرأت مشكلة خلال إزالة مجموعة الاستجابة. يتوجب التحقق من أنه لا توجد ردود تعتمد عليها.
221
+ success: تم إلغاء مجموعة الرد بنجاح.
212
222
  edit:
213
223
  update: تحديث
214
224
  form:
215
225
  title: معلومات عامة
226
+ help: يمكن استخدام المجموعات لتنظيم أسئلة خيارات متعددة ضمن حزم.
216
227
  new:
217
228
  create: إنشاء
229
+ title: مجموعة رد جديدة
218
230
  update:
219
231
  error: وقعت هناك مشكلة عند تحديث هذه الإجابة.
220
232
  success: تم تحديث الإجابة بنجاح.
@@ -238,6 +250,7 @@ ar:
238
250
  titles:
239
251
  consultations: المشاورات
240
252
  questions: الأسئلة
253
+ response_groups: مجموعات الرد
241
254
  responses: استجابات
242
255
  results: النتائج
243
256
  consultations:
@@ -312,11 +325,15 @@ ar:
312
325
  other: يصوت من
313
326
  question_multiple_votes:
314
327
  results_rules:
328
+ minimum_votes_per_user:
329
+ description: يمكن للمشاركين توزيع %{votes} أصوات كحد أدنى من ضمن خيارات مختلفة.
315
330
  title: خيارات عديدة متاحة مسموحة للإجابة على هذا السؤال
316
331
  total_participants: لقد شارك مجموع يقدّر بـ %{count} أشخاص في التصويت.
317
332
  vote_limit:
318
333
  description: يمكن للمشارِكين التصويت على %{limit} خيارات كأقصى حد.
319
334
  voting_rules:
335
+ minimum_votes_per_user:
336
+ description: يتوجب عليم توزيع %{votes} أصوات كحد أدنى من ضمن خيارات مختلفة.
320
337
  title: 'التصويت خاضع للقواعد التالية:'
321
338
  vote_limit:
322
339
  description: يمكنك التصويت إلى غاية %{limit} خيارات.
@@ -325,6 +342,7 @@ ar:
325
342
  question_votes:
326
343
  create:
327
344
  error: كانت هناك مشكلة في التصويت على السؤال
345
+ success: يمكنك تغيير ذلك حتى نهاية المشاورة. سيتم قبول التصويت الأخير فقط.
328
346
  title_error: خطأ في التصويت!
329
347
  title_success: تم تسجيل التصويت بنجاح
330
348
  regular_questions:
@@ -344,6 +362,8 @@ ar:
344
362
  help:
345
363
  participatory_spaces:
346
364
  consultations:
365
+ contextual: "<p>المشاورة <strong></strong> هي مساحة تسمح لك بتوجيه سؤال واضح إلى جميع الأشخاص الذين يشكلون منظمة، وبتوجيه دعوة للمشاركة في المشاورة وإشعال شرارة وتنظيم النقاش لصالح الرد أو ضده. وعند حلول الاستشارة، يمكنك التصويت ونشر نتائج الأصوات.</p> <p>أمثلة: يمكن أن تكون المشاورات حول أي جانب يؤثر على منظمة ما: على سبيل المثال تغير اسم أو شعار المنظمة عن طريق طرح البدائل، تقرير بنعم أو لا لصالح المشاركة أو عدمها في منظمة أكبر، تصديق أو رفض خطة استراتيجية جديدة أو نتيجة فريق عامل، أو تحديد ما إذا كانت الوظائف ينبغي أن تظل ولايات واحدة أو 2 أو 3 كحد أقصى.</p>\n"
366
+ page: "<p>المشاورة <strong></strong> هي مساحة تسمح لك بتوجيه سؤال واضح إلى جميع الأشخاص الذين يشكلون منظمة، وبتوجيه دعوة للمشاركة في المشاورة وإشعال شرارة وتنظيم النقاش لصالح الرد أو ضده. وعند حلول الاستشارة، يمكنك التصويت ونشر نتائج الأصوات.</p> <p>أمثلة: يمكن أن تكون المشاورات حول أي جانب يؤثر على منظمة ما: على سبيل المثال تغير اسم أو شعار المنظمة عن طريق طرح البدائل، تقرير بنعم أو لا لصالح المشاركة أو عدمها في منظمة أكبر، تصديق أو رفض خطة استراتيجية جديدة أو نتيجة فريق عامل، أو تحديد ما إذا كانت الوظائف ينبغي أن تظل ولايات واحدة أو 2 أو 3 كحد أقصى.</p>\n"
347
367
  title: ما هي المشاورات؟
348
368
  menu:
349
369
  consultations: المشاورات
@@ -383,6 +403,7 @@ ar:
383
403
  comment: تعليق
384
404
  vote: صوِّت
385
405
  statistics:
406
+ consultations_count: المشاورات
386
407
  votes_count: الأصوات
387
408
  layouts:
388
409
  decidim:
@@ -362,6 +362,10 @@ ca:
362
362
  actions:
363
363
  comment: Comentar
364
364
  vote: Vota
365
+ question:
366
+ actions:
367
+ comment: Comentar
368
+ vote: Votar
365
369
  statistics:
366
370
  consultations_count: Consultes
367
371
  votes_count: Vots
@@ -382,6 +382,10 @@ cs:
382
382
  actions:
383
383
  comment: Komentář
384
384
  vote: Hlasovat
385
+ question:
386
+ actions:
387
+ comment: Komentář
388
+ vote: Hlasovat
385
389
  statistics:
386
390
  consultations_count: Konzultace
387
391
  votes_count: Hlasy
@@ -362,6 +362,10 @@ en:
362
362
  actions:
363
363
  comment: Comment
364
364
  vote: Vote
365
+ question:
366
+ actions:
367
+ comment: Comment
368
+ vote: Vote
365
369
  statistics:
366
370
  consultations_count: Consultations
367
371
  votes_count: Votes
@@ -362,6 +362,10 @@ es-MX:
362
362
  actions:
363
363
  comment: Comentar
364
364
  vote: Votar
365
+ question:
366
+ actions:
367
+ comment: Comentar
368
+ vote: Votar
365
369
  statistics:
366
370
  consultations_count: Consultas
367
371
  votes_count: Votos
@@ -362,6 +362,10 @@ es-PY:
362
362
  actions:
363
363
  comment: Comentar
364
364
  vote: Votar
365
+ question:
366
+ actions:
367
+ comment: Comentar
368
+ vote: Votar
365
369
  statistics:
366
370
  consultations_count: Consultas
367
371
  votes_count: Votos
@@ -362,6 +362,10 @@ es:
362
362
  actions:
363
363
  comment: Comentar
364
364
  vote: Votar
365
+ question:
366
+ actions:
367
+ comment: Comentar
368
+ vote: Votar
365
369
  statistics:
366
370
  consultations_count: Consultas
367
371
  votes_count: Votos
@@ -253,7 +253,7 @@ eu:
253
253
  active: Aktiboak
254
254
  all: guztiak
255
255
  finished: Amaitu
256
- search: Search
256
+ search: Bilatu
257
257
  upcoming: Datozen
258
258
  filters_small_view:
259
259
  close_modal: Itxi leihoa
@@ -0,0 +1 @@
1
+ fa:
@@ -362,6 +362,10 @@ fi-pl:
362
362
  actions:
363
363
  comment: Kommentoi
364
364
  vote: Äänestä
365
+ question:
366
+ actions:
367
+ comment: Kommentoi
368
+ vote: Äänestä
365
369
  statistics:
366
370
  consultations_count: Kuulemista
367
371
  votes_count: Ääntä
@@ -362,6 +362,10 @@ fi:
362
362
  actions:
363
363
  comment: Kommentoi
364
364
  vote: Äänestä
365
+ question:
366
+ actions:
367
+ comment: Kommentoi
368
+ vote: Äänestä
365
369
  statistics:
366
370
  consultations_count: Kuulemista
367
371
  votes_count: Ääntä
@@ -362,6 +362,10 @@ fr-CA:
362
362
  actions:
363
363
  comment: Commenter
364
364
  vote: Voter
365
+ question:
366
+ actions:
367
+ comment: Commenter
368
+ vote: Voter
365
369
  statistics:
366
370
  consultations_count: Consultations
367
371
  votes_count: Votes
@@ -362,6 +362,10 @@ fr:
362
362
  actions:
363
363
  comment: Commenter
364
364
  vote: Voter
365
+ question:
366
+ actions:
367
+ comment: Commenter
368
+ vote: Voter
365
369
  statistics:
366
370
  consultations_count: Consultations
367
371
  votes_count: Votes
@@ -352,6 +352,10 @@ ja:
352
352
  actions:
353
353
  comment: コメント
354
354
  vote: 投票
355
+ question:
356
+ actions:
357
+ comment: コメント
358
+ vote: 投票
355
359
  statistics:
356
360
  consultations_count: コンサルテーション
357
361
  votes_count: 投票
@@ -0,0 +1 @@
1
+ kaa:
@@ -362,6 +362,10 @@ sv:
362
362
  actions:
363
363
  comment: Kommentera
364
364
  vote: Rösta
365
+ question:
366
+ actions:
367
+ comment: Kommentera
368
+ vote: Rösta
365
369
  statistics:
366
370
  consultations_count: Samråd
367
371
  votes_count: Röster
@@ -1 +1,370 @@
1
+ ---
1
2
  zh-TW:
3
+ activemodel:
4
+ attributes:
5
+ consultation:
6
+ banner_image: 橫幅圖片
7
+ decidim_highlighted_scope_id: 重點關注範圍
8
+ description: 說明
9
+ end_voting_date: 投票截止
10
+ introductory_image: 介紹圖片
11
+ introductory_video_url: 介紹視訊URL
12
+ questions: 問題
13
+ slug: URL網址別名
14
+ start_voting_date: 開始投票
15
+ subtitle: 子標題
16
+ title: 標題
17
+ question:
18
+ banner_image: 橫幅圖片
19
+ decidim_scope_id: 市政區域
20
+ hashtag: 主題標籤
21
+ hero_image: 首頁圖片
22
+ i_frame_url: 外部投票系統網址
23
+ instructions: 投票的附加說明
24
+ max_votes: 最大投票數量
25
+ min_votes: 最小投票數量
26
+ origin_scope: 範圍
27
+ origin_title: 起源
28
+ origin_url: 原始網址
29
+ participatory_scope: 參與範圍
30
+ promoter_group: 促銷團隊
31
+ question_context: 上下文
32
+ reference: 參考
33
+ scope: 市政區域
34
+ slug: URL網址別名
35
+ subtitle: 子標題
36
+ vote: 外部投票系統
37
+ what_is_decided: 決定了什麼
38
+ response:
39
+ decidim_consultations_response_group_id: 群組
40
+ errors:
41
+ models:
42
+ question:
43
+ attributes:
44
+ max_votes:
45
+ lower_than_min: 最大投票數量應該高於或等於最小投票數量。
46
+ vote:
47
+ decidim_consultations_response_id:
48
+ not_found: 找不到回應。
49
+ activerecord:
50
+ errors:
51
+ models:
52
+ decidim/consultations/vote:
53
+ attributes:
54
+ question:
55
+ invalid_num_votes: 投票數無效。
56
+ models:
57
+ decidim/consultation:
58
+ other: 諮詢
59
+ decidim/consultations/question:
60
+ other: 問題
61
+ decidim/consultations/response:
62
+ other: "One\n回應\n\nOther\n回應"
63
+ decidim/consultations/vote:
64
+ other: 投票
65
+ decidim:
66
+ admin:
67
+ actions:
68
+ back_to_responses: 返回回覆
69
+ new_consultation: 新諮詢
70
+ new_question: 新問題
71
+ new_response: 新回覆
72
+ new_response_group: 新群組
73
+ publish_results: 發佈結果
74
+ response_groups: 管理回應群組
75
+ unpublish_results: 取消發佈結果
76
+ consultation_publications:
77
+ create:
78
+ error: 發布此諮詢時出現問題。
79
+ success: 諮詢成功發佈。
80
+ destroy:
81
+ error: 取消發佈此諮詢出現問題。
82
+ success: 諮詢已成功取消發布。
83
+ consultation_results_publications:
84
+ create:
85
+ error: 發佈此諮詢的結果時出現問題。
86
+ success: 諮詢結果成功發佈。
87
+ destroy:
88
+ error: 取消發佈此諮詢的結果出現問題。
89
+ success: 諮詢結果已成功取消發布。
90
+ consultations:
91
+ create:
92
+ error: 建立新諮詢時出現問題。
93
+ success: 諮詢已成功建立。
94
+ deprecation_warning: 諮詢模組將在不久的將來被棄用。我們正在開發下一個加密安全版本,名為 Votings。
95
+ edit:
96
+ update: 更新
97
+ form:
98
+ slug_help: 'URL slugs 用於產生指向此諮詢的網址。它只接受字母、數字和連字符,且必須以字母開頭。例如: %{url}'
99
+ title: 一般資訊
100
+ index:
101
+ not_published: 未發佈
102
+ published: 已發佈
103
+ new:
104
+ create: 建立
105
+ title: 新諮詢
106
+ results:
107
+ not_visible: 結果將在諮詢結束後公佈。
108
+ participants: "%{count} 位參與者"
109
+ total_votes: '總共:%{count} 票'
110
+ update:
111
+ error: 更新此諮詢時出現問題.
112
+ success: 諮詢更新成功
113
+ menu:
114
+ consultations: 諮詢
115
+ consultations_submenu:
116
+ info: 資訊
117
+ questions: 問題
118
+ results: 結果
119
+ questions_submenu:
120
+ attachments: 附件
121
+ categories: 類別
122
+ components: 组件
123
+ configuration: 配置
124
+ consultation: 諮詢
125
+ info: 資訊
126
+ responses: 回應
127
+ models:
128
+ consultation:
129
+ fields:
130
+ created_at: 建立於
131
+ published: 已發佈
132
+ title: 標題
133
+ name:
134
+ other: "One\n諮詢\n\nOther\n諮詢"
135
+ question:
136
+ fields:
137
+ created_at: 建立於
138
+ published: 已發佈
139
+ title: 標題
140
+ name:
141
+ other: 問題
142
+ response:
143
+ fields:
144
+ created_at: 建立於
145
+ response_group: 群組
146
+ title: 標題
147
+ name:
148
+ other: 回應
149
+ question_configuration:
150
+ disable_external_voting: 請在進階配置中禁用外部投票功能。
151
+ form:
152
+ help: 通過增加參與者可以選擇的最大回應數量,來設置多選題。預設的最大值為1,意味著只能選擇一個回應進行投票。
153
+ title: 進階配置
154
+ question_publications:
155
+ create:
156
+ error: 發佈此問題時出現問題。
157
+ success: 問題成功發佈.
158
+ destroy:
159
+ error: 取消發佈問題時出了問題.
160
+ success: 問題已成功取消發佈。
161
+ questions:
162
+ create:
163
+ error: 建立新問題時出現問題。
164
+ success: 問題成功建立。
165
+ destroy:
166
+ success: 問題已成功刪除.
167
+ edit:
168
+ update: 更新
169
+ form:
170
+ title: 一般資訊
171
+ index:
172
+ not_published: 未發佈
173
+ published: 已發佈
174
+ new:
175
+ create: 建立
176
+ title: 新問題
177
+ update:
178
+ error: 更新問題時出現問題。
179
+ success: 問題成功更新.
180
+ response_groups:
181
+ create:
182
+ error: 建立新回應群組時發生問題。
183
+ success: 回應群組已成功創建.
184
+ destroy:
185
+ error: 移除回應群組時發生問題。請確認沒有任何回應依賴於該群組。
186
+ success: 回應群組已成功刪除
187
+ edit:
188
+ update: 更新
189
+ form:
190
+ title: 一般資訊
191
+ help: 使用群組來組織多個選擇題目,將其分成套裝。
192
+ new:
193
+ create: 建立
194
+ title: 新回應群組
195
+ update:
196
+ error: 更新此回應時出現問題。
197
+ success: 回應成功更新.
198
+ responses:
199
+ create:
200
+ error: 建立新回應時發生問題。
201
+ success: 回應已成功創建.
202
+ destroy:
203
+ error: 移除回應時發生問題。
204
+ success: 回應已成功刪除。
205
+ edit:
206
+ update: 更新
207
+ form:
208
+ title: 一般資訊
209
+ new:
210
+ create: 建立
211
+ title: 新回應
212
+ update:
213
+ error: 更新此回應時出現問題。
214
+ success: 回應成功更新.
215
+ titles:
216
+ consultations: 諮詢
217
+ questions: 問題
218
+ response_groups: 回應群組
219
+ responses: 回應
220
+ results: 結果
221
+ consultations:
222
+ admin:
223
+ content_blocks:
224
+ highlighted_consultations:
225
+ max_results: 顯示的最大元素數量
226
+ consultation:
227
+ start_voting_date: 開始投票
228
+ view_results: 顯示結果
229
+ consultation_card:
230
+ view_results: 顯示結果
231
+ consultations:
232
+ orders:
233
+ label: '按照以下方式對諮詢進行排序:'
234
+ random: 隨機
235
+ recent: 最近
236
+ show:
237
+ dates: 日期
238
+ content_blocks:
239
+ highlighted_consultations:
240
+ name: 重點關注諮詢
241
+ count:
242
+ title:
243
+ other: "One\n%{count} 個諮詢\nOther\n%{count} 個諮詢"
244
+ filters:
245
+ active: 生效
246
+ all: 全部
247
+ date: 日期
248
+ finished: 已完成
249
+ search: 搜尋
250
+ upcoming: 即將舉行
251
+ filters_small_view:
252
+ close_modal: 關閉視窗
253
+ filter: 篩選器
254
+ filter_by: 篩選條件
255
+ unfold: 展開
256
+ highlighted_questions:
257
+ title: 來自於 %{scope_name} 的問題
258
+ index:
259
+ title: 諮詢
260
+ last_activity:
261
+ new_consultation: 新諮詢
262
+ new_question_at_html: "<span>有新問題,連結網址為 %{link}</span>"
263
+ pages:
264
+ home:
265
+ highlighted_consultations:
266
+ active_consultations: 進行中的諮詢
267
+ see_all_consultations: 查看所有諮詢
268
+ voting_ends_in:
269
+ other: "One\n投票截止日期:<strong>明天</strong>\n\nOther\n投票截止日期:<strong>%{count} 天後</strong>"
270
+ voting_ends_today: 投票截止日期:<strong>今天</strong>
271
+ question:
272
+ take_part: 參與
273
+ view_results: 顯示結果
274
+ votes_out_of:
275
+ other: "one\n票中的一個\n\nOther\n票中的數個"
276
+ question_multiple_votes:
277
+ results_rules:
278
+ minimum_votes_per_user:
279
+ description: 參與者可以將最少 %{votes} 票分配給不同的選項。
280
+ title: 在這個問題中,允許多個選擇。
281
+ total_participants: 總共有 %{count} 人參與了投票。
282
+ vote_limit:
283
+ description: 參與者最多可以投票給 %{limit} 個選項。
284
+ voting_rules:
285
+ minimum_votes_per_user:
286
+ description: 您必須將最少 %{votes} 票分配給不同的選項。
287
+ title: '投票受以下規則約束:'
288
+ vote_limit:
289
+ description: 您最多可以對 %{limit} 個選項進行投票。
290
+ left: 剩餘
291
+ votes: 投票
292
+ question_votes:
293
+ create:
294
+ error: 投票此問題時出現問題。
295
+ success: 您可以在諮詢結束之前更改投票。只有最後一次投票將被接受。
296
+ title_error: 投票錯誤!
297
+ title_success: 投票成功註冊。
298
+ regular_questions:
299
+ title: 此諮詢的問題
300
+ show:
301
+ badge_name:
302
+ finished: 已完成
303
+ open: 開啟
304
+ open_votes: 開放投票
305
+ published_results: 公佈結果
306
+ footer_button_text:
307
+ debate: 辯論
308
+ view: 檢視
309
+ view_results: 顯示結果
310
+ vote: 投票
311
+ unspecified: 未指定
312
+ help:
313
+ participatory_spaces:
314
+ consultations:
315
+ contextual: "<p>一個<strong>諮詢</strong>是一個空間,讓您向組織的所有成員提出明確的問題,呼籲參與諮詢,引發並組織支持或反對某個回應的討論。當諮詢日期到來時,您可以進行投票並公佈投票結果。</p> <p>例子:諮詢可以涉及影響組織的幾乎所有方面:例如,更改組織的名稱或標誌,提供多個選項,決定是否加入一個更大的組織,驗證或拒絕新的戰略計劃或工作小組的結果,或確定職位是否應該有最多 1、2 或 3 個任期。</p>\n"
316
+ page: "<p>一個<strong>諮詢</strong>是一個空間,讓您向組織的所有成員提出明確的問題,呼籲參與諮詢,引發並組織支持或反對某個回應的討論。當諮詢日期到來時,您可以進行投票並公佈投票結果。</p> <p>例子:諮詢可以涉及影響組織的幾乎任何方面:例如,更改組織的名稱或標誌,提供多個替代方案,決定是否加入一個更大的組織,驗證或拒絕新的戰略計劃或工作小組的結果,或確定組織中的職位是否應保持最多 1、2 或 3 個任期。</p>\n"
317
+ title: 什麼是諮詢?
318
+ menu:
319
+ consultations: 諮詢
320
+ questions:
321
+ next_button: 下一個問題
322
+ previous_button: 上一個問題
323
+ results:
324
+ title: 結果
325
+ show:
326
+ read_more: 顯示較多
327
+ statistics:
328
+ assistants_count_title: 助理
329
+ comments_count_title: 評論
330
+ meetings_count_title: 會議
331
+ supports_count_title: 投票
332
+ technical_info:
333
+ technical_data: 技術數據
334
+ vote_button:
335
+ already_voted: 已經投票
336
+ already_voted_hover: 撤銷投票
337
+ starting_from: 起始日期:%{date}
338
+ verification_required: 驗證您的帳戶以進行投票。
339
+ vote: 投票
340
+ vote_modal:
341
+ close_modal: 關閉視窗
342
+ contextual_help: 請, 選擇一個選項。
343
+ title: '諮詢:問題投票'
344
+ vote_modal_confirm:
345
+ change: 更改
346
+ close_modal: 關閉視窗
347
+ confirm: 確認
348
+ contextual_help: 請確認所選的選項。
349
+ title: '諮詢:確認投票'
350
+ resources:
351
+ consultations:
352
+ actions:
353
+ comment: 評論
354
+ vote: 投票
355
+ question:
356
+ actions:
357
+ comment: 評論
358
+ vote: 投票
359
+ statistics:
360
+ consultations_count: 諮詢
361
+ votes_count: 投票
362
+ layouts:
363
+ decidim:
364
+ consultation_voting_data:
365
+ start_voting_date: 開始投票
366
+ question_components:
367
+ question_menu_item: 問題
368
+ question_header:
369
+ back_to_consultation: 查看所有諮詢
370
+ back_to_question: 返回問題
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  module Consultations
5
5
  def self.version
6
- "0.27.2"
6
+ "0.27.3"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-consultations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.2
4
+ version: 0.27.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Salvador Perez Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-13 00:00:00.000000000 Z
11
+ date: 2023-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.27.2
19
+ version: 0.27.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.27.2
26
+ version: 0.27.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-comments
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.27.2
33
+ version: 0.27.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.27.2
40
+ version: 0.27.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.27.2
47
+ version: 0.27.3
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.27.2
54
+ version: 0.27.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-dev
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.27.2
61
+ version: 0.27.3
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.27.2
68
+ version: 0.27.3
69
69
  description: Extends Decidim adding a first level public consultation component
70
70
  email:
71
71
  - jsperezg@gmail.com
@@ -182,6 +182,7 @@ files:
182
182
  - app/queries/decidim/consultations/organization_active_consultations.rb
183
183
  - app/queries/decidim/consultations/organization_consultations.rb
184
184
  - app/queries/decidim/consultations/organization_questions.rb
185
+ - app/scrubbers/decidim/consultations/question_title_scrubber.rb
185
186
  - app/views/decidim/consultations/_consultation.html.erb
186
187
  - app/views/decidim/consultations/admin/consultations/_form.html.erb
187
188
  - app/views/decidim/consultations/admin/consultations/edit.html.erb
@@ -264,6 +265,7 @@ files:
264
265
  - config/locales/et-EE.yml
265
266
  - config/locales/et.yml
266
267
  - config/locales/eu.yml
268
+ - config/locales/fa-IR.yml
267
269
  - config/locales/fi-pl.yml
268
270
  - config/locales/fi-plain.yml
269
271
  - config/locales/fi.yml
@@ -282,6 +284,7 @@ files:
282
284
  - config/locales/it.yml
283
285
  - config/locales/ja.yml
284
286
  - config/locales/ka-GE.yml
287
+ - config/locales/kaa.yml
285
288
  - config/locales/ko-KR.yml
286
289
  - config/locales/ko.yml
287
290
  - config/locales/lb-LU.yml
@@ -387,7 +390,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
387
390
  - !ruby/object:Gem::Version
388
391
  version: '0'
389
392
  requirements: []
390
- rubygems_version: 3.3.7
393
+ rubygems_version: 3.2.22
391
394
  signing_key:
392
395
  specification_version: 4
393
396
  summary: Decidim consultations module