decidim-debates 0.31.4 → 0.32.0.rc1

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.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -3
  3. data/app/cells/decidim/debates/debate_l_cell.rb +1 -0
  4. data/app/commands/decidim/debates/close_debate.rb +2 -0
  5. data/app/controllers/decidim/debates/admin/debate_closes_controller.rb +1 -1
  6. data/app/controllers/decidim/debates/admin/debates_controller.rb +3 -2
  7. data/app/controllers/decidim/debates/debates_controller.rb +14 -4
  8. data/app/controllers/decidim/debates/orderable.rb +16 -2
  9. data/app/controllers/decidim/debates/versions_controller.rb +11 -1
  10. data/app/helpers/decidim/debates/application_helper.rb +15 -3
  11. data/app/models/decidim/debates/debate.rb +10 -1
  12. data/app/permissions/decidim/debates/permissions.rb +2 -0
  13. data/app/views/decidim/debates/admin/debates/_debate-tr.html.erb +2 -2
  14. data/app/views/decidim/debates/debates/index.html.erb +1 -1
  15. data/config/locales/ar.yml +1 -2
  16. data/config/locales/bg.yml +1 -2
  17. data/config/locales/ca-IT.yml +3 -3
  18. data/config/locales/ca.yml +3 -3
  19. data/config/locales/cs.yml +2 -3
  20. data/config/locales/de.yml +1 -2
  21. data/config/locales/el.yml +1 -2
  22. data/config/locales/en.yml +2 -1
  23. data/config/locales/es-MX.yml +3 -3
  24. data/config/locales/es-PY.yml +3 -3
  25. data/config/locales/es.yml +3 -3
  26. data/config/locales/eu.yml +3 -3
  27. data/config/locales/fi-plain.yml +3 -3
  28. data/config/locales/fi.yml +3 -3
  29. data/config/locales/fr-CA.yml +3 -3
  30. data/config/locales/fr.yml +3 -3
  31. data/config/locales/ga-IE.yml +0 -1
  32. data/config/locales/gl.yml +1 -2
  33. data/config/locales/hu.yml +1 -2
  34. data/config/locales/id-ID.yml +1 -2
  35. data/config/locales/is-IS.yml +1 -2
  36. data/config/locales/it.yml +1 -2
  37. data/config/locales/ja.yml +3 -3
  38. data/config/locales/lb.yml +0 -1
  39. data/config/locales/lt.yml +1 -2
  40. data/config/locales/lv.yml +1 -2
  41. data/config/locales/nl.yml +1 -2
  42. data/config/locales/no.yml +1 -2
  43. data/config/locales/pl.yml +1 -2
  44. data/config/locales/pt-BR.yml +3 -3
  45. data/config/locales/pt.yml +1 -2
  46. data/config/locales/ro-RO.yml +1 -2
  47. data/config/locales/ru.yml +0 -1
  48. data/config/locales/sk.yml +1 -2
  49. data/config/locales/sl.yml +0 -1
  50. data/config/locales/sv.yml +3 -3
  51. data/config/locales/tr-TR.yml +1 -2
  52. data/config/locales/uk.yml +0 -1
  53. data/config/locales/zh-CN.yml +1 -2
  54. data/config/locales/zh-TW.yml +1 -2
  55. data/db/migrate/20200902133452_add_cached_comment_metadata_to_debates.rb +1 -1
  56. data/db/migrate/20251114092453_remove_legacy_images_from_debates_module.rb +7 -0
  57. data/db/migrate/20260208201402_remove_user_group_debates.rb +13 -0
  58. data/decidim-debates.gemspec +8 -10
  59. data/lib/decidim/api/debate_type.rb +0 -1
  60. data/lib/decidim/api/debates_type.rb +2 -2
  61. data/lib/decidim/api/mutations/close_debate_attributes.rb +12 -0
  62. data/lib/decidim/api/mutations/close_debate_type.rb +47 -0
  63. data/lib/decidim/api/mutations/create_debate_type.rb +44 -0
  64. data/lib/decidim/api/mutations/debate_attributes.rb +14 -0
  65. data/lib/decidim/api/mutations/debate_mutation_type.rb +15 -0
  66. data/lib/decidim/api/mutations/debates_mutation_type.rb +24 -0
  67. data/lib/decidim/api/mutations/update_debate_type.rb +57 -0
  68. data/lib/decidim/debates/api.rb +8 -0
  69. data/lib/decidim/debates/component.rb +2 -6
  70. data/lib/decidim/debates/engine.rb +6 -0
  71. data/lib/decidim/debates/version.rb +1 -1
  72. metadata +23 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1eda1f098adc2b2adbef1ff80ae8c1ab0b4956f42aa21c8544fea6dfa94f5cd
4
- data.tar.gz: a7e979e9b2c6e13ffe407b8a5754351f505399f583b9f59bdf6e82c0cf365be2
3
+ metadata.gz: 504cf530bc1f11776d3cd5e93cd781f4888762c2b07597dd55f770f31c675707
4
+ data.tar.gz: a77fff7b61b400f0d2d3bce57683cd0c3c4f8e7872da65151f505f661b2c8ec4
5
5
  SHA512:
6
- metadata.gz: 395bd2e40f3dadd7d0116fe54cfbd0d9adedd3e8a260bbf8d19b51b2195290fc3a35c36930933b5a3a82986b459ce2676c947043611d368a83af53f8295463a4
7
- data.tar.gz: 2cc25a5b1defd53570cb47167df1ca5501421db9d0b36153dc3a6fe8ed51e2e18b944c7e7a780298afd6c59acea80380887778bd1b2afc8faeb11868f45ba575
6
+ metadata.gz: 7fe7b852e10a54d98c97ae036879737a8cdf9c719f7cfcaee3ba4118fcbe0bc158dc8328c73f0df23e7e69672e446209936e8ec58cc4e634e711bd196b4ba245
7
+ data.tar.gz: 073e5d311a9649489291335fb94cdd9d6f8734a25adb5c2907830dd2dcb04b4f2751764dedc692baa756e2c2c58980eabc5ae0a78972248389ffd8ee33a0af4f
data/README.md CHANGED
@@ -1,10 +1,14 @@
1
- # Decidim::Debates
1
+ # decidim-debates
2
2
 
3
- The Debates module adds debate to any participatory process. It adds a CRUD engine to the admin and public view scoped inside the participatory process.
3
+ The Debates module adds debate to any participatory space. It adds a CRUD engine to the admin and public view scoped inside the participatory space.
4
4
 
5
5
  ## Usage
6
6
 
7
- Debates will be available as a Component for any participatory space.
7
+ Debates will be available as a Component for any Participatory Space.
8
+
9
+ ## Installation
10
+
11
+ This is on the default Decidim installation so you should not change anything to use this component.
8
12
 
9
13
  ## Contributing
10
14
 
@@ -8,6 +8,7 @@ module Decidim
8
8
  # for a given instance of a Debate
9
9
  class DebateLCell < Decidim::CardLCell
10
10
  include Decidim::SanitizeHelper
11
+
11
12
  delegate :component_settings, to: :controller
12
13
 
13
14
  alias debate model
@@ -28,6 +28,8 @@ module Decidim
28
28
 
29
29
  attr_reader :form
30
30
 
31
+ delegate :debate, to: :form
32
+
31
33
  def close_debate
32
34
  @debate = Decidim.traceability.perform_action!(
33
35
  :close,
@@ -26,7 +26,7 @@ module Decidim
26
26
 
27
27
  on(:invalid) do
28
28
  flash.now[:alert] = I18n.t("debates.close.invalid", scope: "decidim.debates")
29
- render action: "edit", status: :unprocessable_entity
29
+ render action: "edit", status: :unprocessable_content
30
30
  end
31
31
  end
32
32
  end
@@ -6,6 +6,7 @@ module Decidim
6
6
  # This controller allows an admin to manage debates from a Participatory Space
7
7
  class DebatesController < Decidim::Debates::Admin::ApplicationController
8
8
  include Decidim::Admin::HasTrashableResources
9
+
9
10
  helper Decidim::ApplicationHelper
10
11
 
11
12
  helper_method :debates
@@ -34,7 +35,7 @@ module Decidim
34
35
 
35
36
  on(:invalid) do
36
37
  flash.now[:alert] = I18n.t("debates.create.invalid", scope: "decidim.debates.admin")
37
- render action: "new", status: :unprocessable_entity
38
+ render action: "new", status: :unprocessable_content
38
39
  end
39
40
  end
40
41
  end
@@ -57,7 +58,7 @@ module Decidim
57
58
 
58
59
  on(:invalid) do
59
60
  flash.now[:alert] = I18n.t("debates.update.invalid", scope: "decidim.debates.admin")
60
- render action: "edit", status: :unprocessable_entity
61
+ render action: "edit", status: :unprocessable_content
61
62
  end
62
63
  end
63
64
  end
@@ -35,7 +35,7 @@ module Decidim
35
35
 
36
36
  on(:invalid) do
37
37
  flash.now[:alert] = I18n.t("debates.create.invalid", scope: "decidim.debates")
38
- render action: "new", status: :unprocessable_entity
38
+ render action: "new", status: :unprocessable_content
39
39
  end
40
40
  end
41
41
  end
@@ -63,7 +63,7 @@ module Decidim
63
63
 
64
64
  on(:invalid) do
65
65
  flash.now[:alert] = I18n.t("debates.update.invalid", scope: "decidim.debates")
66
- render :edit, status: :unprocessable_entity
66
+ render :edit, status: :unprocessable_content
67
67
  end
68
68
  end
69
69
  end
@@ -76,12 +76,12 @@ module Decidim
76
76
  CloseDebate.call(@form) do
77
77
  on(:ok) do |debate|
78
78
  flash[:notice] = I18n.t("debates.close.success", scope: "decidim.debates")
79
- redirect_back fallback_location: Decidim::ResourceLocatorPresenter.new(debate).path
79
+ redirect_back_or_to(Decidim::ResourceLocatorPresenter.new(debate).path)
80
80
  end
81
81
 
82
82
  on(:invalid) do
83
83
  flash[:alert] = I18n.t("debates.close.invalid", scope: "decidim.debates")
84
- redirect_back fallback_location: Decidim::ResourceLocatorPresenter.new(debate).path
84
+ redirect_back_or_to(Decidim::ResourceLocatorPresenter.new(debate).path)
85
85
  end
86
86
  end
87
87
  end
@@ -125,6 +125,16 @@ module Decidim
125
125
  def tab_panel_items
126
126
  @tab_panel_items ||= attachments_tab_panel_items(debate)
127
127
  end
128
+
129
+ def add_breadcrumb_item
130
+ return {} if debate.blank?
131
+
132
+ {
133
+ label: translated_attribute(debate.title),
134
+ url: Decidim::EngineRouter.main_proxy(current_component).debate_path(debate),
135
+ active: false
136
+ }
137
+ end
128
138
  end
129
139
  end
130
140
  end
@@ -14,18 +14,32 @@ module Decidim
14
14
  private
15
15
 
16
16
  def available_orders
17
- @available_orders ||= %w(random recent commented updated)
17
+ @available_orders ||= possible_orders
18
+ end
19
+
20
+ def possible_orders
21
+ @possible_orders ||= begin
22
+ possible_orders = %w(random recent updated)
23
+ possible_orders << "most_commented" if most_commented_order_available?
24
+ possible_orders
25
+ end
18
26
  end
19
27
 
20
28
  def default_order
21
29
  "updated"
22
30
  end
23
31
 
32
+ def most_commented_order_available?
33
+ return @most_commented_order_available if defined?(@most_commented_order_available)
34
+
35
+ @most_commented_order_available = Decidim::Debates::Debate.most_commented_available?(current_component)
36
+ end
37
+
24
38
  def reorder(debates)
25
39
  case order
26
40
  when "recent"
27
41
  debates.order(created_at: :desc)
28
- when "commented"
42
+ when "most_commented"
29
43
  debates.order(comments_count: :desc)
30
44
  when "updated"
31
45
  debates.order(updated_at: :desc)
@@ -9,7 +9,17 @@ module Decidim
9
9
  include Decidim::ResourceVersionsConcern
10
10
 
11
11
  def versioned_resource
12
- @versioned_resource ||= present(Debate.where(component: current_component).not_hidden.find(params[:debate_id]))
12
+ @versioned_resource ||= Debate.where(component: current_component).not_hidden.find(params[:debate_id])
13
+ end
14
+
15
+ def add_breadcrumb_item
16
+ return {} if versioned_resource.blank?
17
+
18
+ {
19
+ label: translated_attribute(versioned_resource.title),
20
+ url: Decidim::EngineRouter.main_proxy(current_component).debate_path(versioned_resource),
21
+ active: false
22
+ }
13
23
  end
14
24
  end
15
25
  end
@@ -72,19 +72,31 @@ module Decidim
72
72
  @filter_sections ||= begin
73
73
  items = [{
74
74
  method: :with_any_state,
75
+ name: "[with_any_state]",
75
76
  collection: filter_debates_state_values,
76
77
  label: t("decidim.debates.debates.filters.state"),
77
78
  id: "date",
78
79
  type: :radio_buttons
79
80
  }]
80
81
  current_component.available_taxonomy_filters.each do |taxonomy_filter|
81
- items.append(method: "with_any_taxonomies[#{taxonomy_filter.root_taxonomy_id}]",
82
+ items.append(method: :with_any_taxonomies,
83
+ name: "[with_any_taxonomies][#{taxonomy_filter.root_taxonomy_id}]",
82
84
  collection: filter_taxonomy_values_for(taxonomy_filter),
83
85
  label: decidim_sanitize_translated(taxonomy_filter.name),
84
86
  id: "taxonomy-#{taxonomy_filter.root_taxonomy_id}")
85
87
  end
86
- items.append(method: :with_any_origin, collection: filter_origin_values, label: t("decidim.debates.debates.filters.origin"), id: "origin")
87
- items.append(method: :activity, collection: activity_filter_values, label: t("decidim.debates.debates.filters.activity"), id: "activity") if current_user
88
+ items.append(method: :with_any_origin,
89
+ name: "[with_any_origin]",
90
+ collection: filter_origin_values,
91
+ label: t("decidim.debates.debates.filters.origin"),
92
+ id: "origin")
93
+ if current_user
94
+ items.append(method: :activity,
95
+ name: "[activity]",
96
+ collection: activity_filter_values,
97
+ label: t("decidim.debates.debates.filters.activity"),
98
+ id: "activity")
99
+ end
88
100
 
89
101
  items.reject { |item| item[:collection].blank? }
90
102
  end
@@ -220,7 +220,7 @@ module Decidim
220
220
  # rubocop:disable Rails/SkipsModelValidations
221
221
  def update_comments_count
222
222
  comments_count = comments.not_hidden.not_deleted.count
223
- last_comment = comments.not_hidden.not_deleted.order("created_at DESC").first
223
+ last_comment = comments.not_hidden.not_deleted.order(created_at: :desc).first
224
224
 
225
225
  update_columns(
226
226
  last_comment_at: last_comment&.created_at,
@@ -236,6 +236,15 @@ module Decidim
236
236
  # Create the :search_text ransacker alias for searching from both of these.
237
237
  ransacker_i18n_multi :search_text, [:title, :description]
238
238
 
239
+ def self.most_commented_available?(component)
240
+ return false unless component.settings.comments_enabled?
241
+
242
+ where(component:)
243
+ .not_hidden
244
+ .where("comments_count > 0")
245
+ .exists?
246
+ end
247
+
239
248
  def self.ransackable_scopes(_auth_object = nil)
240
249
  [:with_any_state, :with_any_origin, :with_any_taxonomies]
241
250
  end
@@ -31,6 +31,8 @@ module Decidim
31
31
  private
32
32
 
33
33
  def can_create_debate?
34
+ return false unless user
35
+
34
36
  authorized?(:create) &&
35
37
  current_settings&.creation_enabled? && component.participatory_space.can_participate?(user)
36
38
  end
@@ -8,12 +8,12 @@
8
8
  </td>
9
9
  <td data-label="<%= t("models.debate.fields.start_time", scope: "decidim.debates") %>">
10
10
  <% if debate.start_time %>
11
- <%= l debate.start_time, format: :long %>
11
+ <%= l debate.start_time, format: :decidim_short %>
12
12
  <% end %>
13
13
  </td>
14
14
  <td data-label="<%= t("models.debate.fields.end_time", scope: "decidim.debates") %>">
15
15
  <% if debate.end_time %>
16
- <%= l debate.end_time, format: :long %>
16
+ <%= l debate.end_time, format: :decidim_short %>
17
17
  <% end %>
18
18
  </td>
19
19
  <td data-label="<%= t("models.debate.fields.taxonomies", scope: "decidim.debates") %>">
@@ -1,7 +1,7 @@
1
1
  <% add_decidim_meta_tags(
2
2
  description: translated_attribute(current_participatory_space.try(:short_description) || current_participatory_space.description),
3
3
  title: t("decidim.components.pagination.page_title",
4
- component_name: component_name,
4
+ component_name:,
5
5
  current_page: paginated_debates.current_page,
6
6
  total_pages: paginated_debates.total_pages ),
7
7
  url: debates_url,
@@ -1,4 +1,3 @@
1
- ---
2
1
  ar:
3
2
  activemodel:
4
3
  attributes:
@@ -124,7 +123,7 @@ ar:
124
123
  badges:
125
124
  commented_debates:
126
125
  conditions:
127
- - اختر نقاشًا مفتوحًا للمشاركة فيه
126
+ - اختر نقاشًا مفتوحًا للمشاركة فيه
128
127
  description: تُمنح هذه الشارة عندما تشارك بنشاط في المناقشات المختلفة من خلال ترك تعليقاتك.
129
128
  description_another: شارك هذا المشارك في %{score} مناقشات.
130
129
  description_own: لقد شاركت في %{score} مناقشات.
@@ -1,4 +1,3 @@
1
- ---
2
1
  bg:
3
2
  activemodel:
4
3
  attributes:
@@ -180,7 +179,7 @@ bg:
180
179
  badges:
181
180
  commented_debates:
182
181
  conditions:
183
- - Изберете отворен дебат и участвайте в него
182
+ - Изберете отворен дебат и участвайте в него
184
183
  description: Тази значка се предоставя, когато участвате активно в различни дебати, като оставяте коментари.
185
184
  description_another: Този участник се е включил в %{score} дебата.
186
185
  description_own: Участвали сте в %{score} дебата.
@@ -1,4 +1,3 @@
1
- ---
2
1
  ca-IT:
3
2
  activemodel:
4
3
  attributes:
@@ -34,6 +33,7 @@ ca-IT:
34
33
  comment: Comentar
35
34
  create: Crear un debat
36
35
  like: M'agrada
36
+ vote_comment: Votar el comentari
37
37
  name: Debats
38
38
  settings:
39
39
  global:
@@ -156,8 +156,8 @@ ca-IT:
156
156
  create: Crear
157
157
  title: Crear un debat
158
158
  orders:
159
- commented: Més comentats
160
159
  label: Ordenar debats per
160
+ most_commented: Més comentats
161
161
  random: Ordre aleatori
162
162
  recent: Més recents
163
163
  updated: Recentment actualitzats
@@ -233,7 +233,7 @@ ca-IT:
233
233
  badges:
234
234
  commented_debates:
235
235
  conditions:
236
- - Tria un debat obert per participar
236
+ - Tria un debat obert per participar
237
237
  description: Aquesta ensenya es desbloqueja quan participes activament en els diferents debats deixant els teus comentaris.
238
238
  description_another: Aquesta participant ha pres part en %{score} debats.
239
239
  description_own: Has participat en %{score} debats.
@@ -1,4 +1,3 @@
1
- ---
2
1
  ca:
3
2
  activemodel:
4
3
  attributes:
@@ -34,6 +33,7 @@ ca:
34
33
  comment: Comentar
35
34
  create: Crear un debat
36
35
  like: M'agrada
36
+ vote_comment: Votar el comentari
37
37
  name: Debats
38
38
  settings:
39
39
  global:
@@ -156,8 +156,8 @@ ca:
156
156
  create: Crear
157
157
  title: Crear un debat
158
158
  orders:
159
- commented: Més comentats
160
159
  label: Ordenar debats per
160
+ most_commented: Més comentats
161
161
  random: Ordre aleatori
162
162
  recent: Més recents
163
163
  updated: Recentment actualitzats
@@ -233,7 +233,7 @@ ca:
233
233
  badges:
234
234
  commented_debates:
235
235
  conditions:
236
- - Tria un debat obert per participar
236
+ - Tria un debat obert per participar
237
237
  description: Aquesta ensenya es desbloqueja quan participes activament en els diferents debats deixant els teus comentaris.
238
238
  description_another: Aquesta participant ha pres part en %{score} debats.
239
239
  description_own: Has participat en %{score} debats.
@@ -1,4 +1,3 @@
1
- ---
2
1
  cs:
3
2
  activemodel:
4
3
  attributes:
@@ -160,8 +159,8 @@ cs:
160
159
  create: Vytvořit
161
160
  title: Vytvořit novou debatu
162
161
  orders:
163
- commented: Nejvíce komentované
164
162
  label: Řazení debat podle
163
+ most_commented: Nejvíce komentované
165
164
  random: Náhodné pořadí
166
165
  recent: Nejnovější
167
166
  updated: Naposledy aktualizované
@@ -237,7 +236,7 @@ cs:
237
236
  badges:
238
237
  commented_debates:
239
238
  conditions:
240
- - Vyberte si otevřenou debatu, do které se můžete zapojit
239
+ - Vyberte si otevřenou debatu, do které se můžete zapojit
241
240
  description: Tento odznak se uděluje, když se aktivně účastníte různých debat tím, že tam zanecháte své komentáře.
242
241
  description_another: Tento uživatel se zúčastnil %{score} debat.
243
242
  description_own: Zúčastnili jste se %{score} debat.
@@ -1,4 +1,3 @@
1
- ---
2
1
  de:
3
2
  activemodel:
4
3
  attributes:
@@ -232,7 +231,7 @@ de:
232
231
  badges:
233
232
  commented_debates:
234
233
  conditions:
235
- - Wählen Sie eine offene Debatte, an der Sie teilnehmen können
234
+ - Wählen Sie eine offene Debatte, an der Sie teilnehmen können
236
235
  description: Dieses Abzeichen wird gewährt, wenn Sie aktiv an den verschiedenen Debatten teilnehmen, indem Sie Ihre Kommentare hinterlassen.
237
236
  description_another: Dieser Benutzer hat an %{score} Debatten teilgenommen.
238
237
  description_own: Sie haben an %{score} Debatten teilgenommen.
@@ -1,4 +1,3 @@
1
- ---
2
1
  el:
3
2
  activemodel:
4
3
  attributes:
@@ -166,7 +165,7 @@ el:
166
165
  badges:
167
166
  commented_debates:
168
167
  conditions:
169
- - Επιλέξτε μια ανοιχτή συζήτηση για να λάβετε μέρος
168
+ - Επιλέξτε μια ανοιχτή συζήτηση για να λάβετε μέρος
170
169
  description: Αυτό το έμβλημα χορηγείται όταν συμμετέχετε ενεργά στις διάφορες συζητήσεις αφήνοντας τα σχόλιά σας.
171
170
  description_another: Αυτός ο συμμετέχων έλαβε μέρος σε %{score} συζητήσεις.
172
171
  description_own: Έχετε συμμετάσχει σε %{score} συζητήσεις.
@@ -34,6 +34,7 @@ en:
34
34
  comment: Comment
35
35
  create: Create a debate
36
36
  like: Like
37
+ vote_comment: Vote comment
37
38
  name: Debates
38
39
  settings:
39
40
  global:
@@ -156,8 +157,8 @@ en:
156
157
  create: Create
157
158
  title: Create new debate
158
159
  orders:
159
- commented: Most commented
160
160
  label: Order debates by
161
+ most_commented: Most commented
161
162
  random: Random order
162
163
  recent: Most recent
163
164
  updated: Recently updated
@@ -1,4 +1,3 @@
1
- ---
2
1
  es-MX:
3
2
  activemodel:
4
3
  attributes:
@@ -34,6 +33,7 @@ es-MX:
34
33
  comment: Comentar
35
34
  create: Crear un debate
36
35
  like: Me gusta
36
+ vote_comment: Votar el comentario
37
37
  name: Debates
38
38
  settings:
39
39
  global:
@@ -156,8 +156,8 @@ es-MX:
156
156
  create: Crear
157
157
  title: Crear un debate
158
158
  orders:
159
- commented: Más comentados
160
159
  label: Ordenar debates por
160
+ most_commented: Más comentados
161
161
  random: Orden aleatorio
162
162
  recent: Más recientes
163
163
  updated: Actualizados recientemente
@@ -233,7 +233,7 @@ es-MX:
233
233
  badges:
234
234
  commented_debates:
235
235
  conditions:
236
- - Elige un debate abierto para participar
236
+ - Elige un debate abierto para participar
237
237
  description: Este distintivo se otorga cuando participes activamente en los diferentes debates dejando tus comentarios.
238
238
  description_another: Este usuario ha participado en %{score} debates.
239
239
  description_own: Has participado en %{score} debates.
@@ -1,4 +1,3 @@
1
- ---
2
1
  es-PY:
3
2
  activemodel:
4
3
  attributes:
@@ -34,6 +33,7 @@ es-PY:
34
33
  comment: Comentar
35
34
  create: Crear un debate
36
35
  like: Me gusta
36
+ vote_comment: Votar el comentario
37
37
  name: Debates
38
38
  settings:
39
39
  global:
@@ -152,8 +152,8 @@ es-PY:
152
152
  create: Crear
153
153
  title: Crear un debate
154
154
  orders:
155
- commented: Más comentados
156
155
  label: Ordenar debates por
156
+ most_commented: Más comentados
157
157
  random: Orden aleatorio
158
158
  recent: Más recientes
159
159
  updated: Actualizados recientemente
@@ -229,7 +229,7 @@ es-PY:
229
229
  badges:
230
230
  commented_debates:
231
231
  conditions:
232
- - Elige un debate abierto para participar.
232
+ - Elige un debate abierto para participar.
233
233
  description: Este distintivo se otorga cuando usted participa activamente en los diferentes debates dejando sus comentarios.
234
234
  description_another: Este usuario ha participado en %{score} debates.
235
235
  description_own: Usted ha participado en %{score} debates.
@@ -1,4 +1,3 @@
1
- ---
2
1
  es:
3
2
  activemodel:
4
3
  attributes:
@@ -34,6 +33,7 @@ es:
34
33
  comment: Comentar
35
34
  create: Crear un debate
36
35
  like: Me gusta
36
+ vote_comment: Votar el comentario
37
37
  name: Debates
38
38
  settings:
39
39
  global:
@@ -156,8 +156,8 @@ es:
156
156
  create: Crear
157
157
  title: Crear un debate
158
158
  orders:
159
- commented: Más comentados
160
159
  label: Ordenar debates por
160
+ most_commented: Más comentados
161
161
  random: Orden aleatorio
162
162
  recent: Más recientes
163
163
  updated: Actualizados recientemente
@@ -233,7 +233,7 @@ es:
233
233
  badges:
234
234
  commented_debates:
235
235
  conditions:
236
- - Elige un debate abierto para participar
236
+ - Elige un debate abierto para participar
237
237
  description: Este distintivo se otorga cuando participes activamente en los diferentes debates dejando tus comentarios.
238
238
  description_another: Esta participante ha tomado parte en %{score} debates.
239
239
  description_own: Has participado en %{score} debates.
@@ -1,4 +1,3 @@
1
- ---
2
1
  eu:
3
2
  activemodel:
4
3
  attributes:
@@ -34,6 +33,7 @@ eu:
34
33
  comment: Iruzkina
35
34
  create: Sortu eztabaida bat
36
35
  like: Atsegin dut
36
+ vote_comment: Bozkatu iruzkina
37
37
  name: Eztabaidak
38
38
  settings:
39
39
  global:
@@ -156,8 +156,8 @@ eu:
156
156
  create: Sortu
157
157
  title: Sortu eztabaida berri bat
158
158
  orders:
159
- commented: Iruzkin gehien dutenak
160
159
  label: Ordenatu eztabaidak honen arabera
160
+ most_commented: Iruzkin gehien dutenak
161
161
  random: Ausazko ordena
162
162
  recent: Berrienetatik zaharrenetara
163
163
  updated: Orain dela gutxi eguneratuak
@@ -233,7 +233,7 @@ eu:
233
233
  badges:
234
234
  commented_debates:
235
235
  conditions:
236
- - Aukeratu eztabaida irekia parte hartzeko
236
+ - Aukeratu eztabaida irekia parte hartzeko
237
237
  description: Garaikur hau eztabaidetan modu aktiboan, zure iruzkinak utziz, parte hartzen duzunean ematen da.
238
238
  description_another: Parte-hartzaile honek %{score} eztabaidatan hartu du parte.
239
239
  description_own: '%{score} eztabaidatan hartu duzu parte.'
@@ -1,4 +1,3 @@
1
- ---
2
1
  fi-pl:
3
2
  activemodel:
4
3
  attributes:
@@ -34,6 +33,7 @@ fi-pl:
34
33
  comment: Kommentoi
35
34
  create: Luo keskustelu
36
35
  like: Tykkää
36
+ vote_comment: Äänestä kommenttia
37
37
  name: Keskustelut
38
38
  settings:
39
39
  global:
@@ -156,8 +156,8 @@ fi-pl:
156
156
  create: Luo
157
157
  title: Luo uusi keskustelu
158
158
  orders:
159
- commented: Eniten kommentoidut
160
159
  label: Järjestä keskustelut
160
+ most_commented: Eniten kommentoidut
161
161
  random: Satunnainen järjestys
162
162
  recent: Viimeisimmät
163
163
  updated: Viimeksi päivitetyt
@@ -233,7 +233,7 @@ fi-pl:
233
233
  badges:
234
234
  commented_debates:
235
235
  conditions:
236
- - Valitse avoin keskustelu ja osallistu siihen
236
+ - Valitse avoin keskustelu ja osallistu siihen
237
237
  description: Tämä kunniamerkki myönnetään, kun osallistut aktiivisesti eri keskusteluihin.
238
238
  description_another: Tämä käyttäjä on osallistunut %{score} keskusteluun.
239
239
  description_own: Olet osallistunut %{score} keskusteluun.
@@ -1,4 +1,3 @@
1
- ---
2
1
  fi:
3
2
  activemodel:
4
3
  attributes:
@@ -34,6 +33,7 @@ fi:
34
33
  comment: Kommentoi
35
34
  create: Luo keskustelu
36
35
  like: Tykkää
36
+ vote_comment: Äänestä kommenttia
37
37
  name: Keskustelut
38
38
  settings:
39
39
  global:
@@ -156,8 +156,8 @@ fi:
156
156
  create: Luo
157
157
  title: Luo uusi keskustelu
158
158
  orders:
159
- commented: Eniten kommentoidut
160
159
  label: Järjestä keskustelut
160
+ most_commented: Eniten kommentoidut
161
161
  random: Satunnainen järjestys
162
162
  recent: Viimeisimmät
163
163
  updated: Viimeksi päivitetyt
@@ -233,7 +233,7 @@ fi:
233
233
  badges:
234
234
  commented_debates:
235
235
  conditions:
236
- - Valitse avoin keskustelu ja osallistu siihen
236
+ - Valitse avoin keskustelu ja osallistu siihen
237
237
  description: Tämä kunniamerkki myönnetään, kun osallistut aktiivisesti eri keskusteluihin.
238
238
  description_another: Tämä käyttäjä on osallistunut %{score} keskusteluun.
239
239
  description_own: Olet osallistunut %{score} keskusteluun.