decidim-budgets 0.31.5 → 0.31.6

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 (40) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/budgets/budget_list_item_cell.rb +12 -6
  3. data/app/commands/decidim/budgets/admin/create_project.rb +6 -6
  4. data/app/commands/decidim/budgets/admin/update_project.rb +6 -6
  5. data/app/forms/decidim/budgets/admin/project_form.rb +4 -2
  6. data/app/forms/decidim/budgets/admin/project_import_proposals_form.rb +13 -0
  7. data/app/views/decidim/budgets/admin/projects/_actions.html.erb +1 -1
  8. data/app/views/decidim/budgets/admin/projects/_form.html.erb +1 -1
  9. data/config/locales/bg.yml +0 -1
  10. data/config/locales/ca-IT.yml +1 -1
  11. data/config/locales/ca.yml +1 -1
  12. data/config/locales/cs.yml +0 -1
  13. data/config/locales/de.yml +0 -1
  14. data/config/locales/el.yml +0 -1
  15. data/config/locales/en.yml +1 -1
  16. data/config/locales/es-MX.yml +1 -1
  17. data/config/locales/es-PY.yml +1 -1
  18. data/config/locales/es.yml +1 -1
  19. data/config/locales/eu.yml +3 -3
  20. data/config/locales/fr-CA.yml +1 -1
  21. data/config/locales/fr.yml +1 -1
  22. data/config/locales/gl.yml +0 -1
  23. data/config/locales/hu.yml +0 -1
  24. data/config/locales/it.yml +0 -1
  25. data/config/locales/ja.yml +1 -1
  26. data/config/locales/lb.yml +0 -1
  27. data/config/locales/lt.yml +0 -1
  28. data/config/locales/nl.yml +0 -1
  29. data/config/locales/no.yml +0 -1
  30. data/config/locales/pl.yml +0 -1
  31. data/config/locales/pt-BR.yml +0 -1
  32. data/config/locales/pt.yml +0 -1
  33. data/config/locales/ro-RO.yml +0 -1
  34. data/config/locales/sk.yml +0 -1
  35. data/config/locales/sv.yml +0 -1
  36. data/config/locales/tr-TR.yml +0 -1
  37. data/config/locales/zh-CN.yml +0 -1
  38. data/config/locales/zh-TW.yml +0 -1
  39. data/lib/decidim/budgets/version.rb +1 -1
  40. metadata +12 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97d45d365af3d5d15f15ee0545f9cff565fa94cd15924cff9d6ec932f80fa5eb
4
- data.tar.gz: 6f12beb5a56deab9fc1a20ee51633ee87f85f850fef8b41142540fc95c688f30
3
+ metadata.gz: a664ae470b6c502a3e309f5d28eca3adb0007e4fe396cedc00383fa5c4531a27
4
+ data.tar.gz: 9f442c1648418b9155eaa32ddad0c590f183469623d8cb49fd7ce8d9d2bc769d
5
5
  SHA512:
6
- metadata.gz: 921e5571ae4d5d9a937921ff57abd5882ffe97da4a50928e89d41cde334776021e6cae327ee489c9e97865d0ef29bbaf5b2cf5cf7d1f1050fa5b27b6e9fb3746
7
- data.tar.gz: 04d5aaf53044e576bab1e49ed53e91f173added5bf1e9193243ec7c85bde7f48e7274d7fd2384cfba177c254c90d3b161f87f85969ca74d3745c33dd2140d505
6
+ metadata.gz: '068140a973104d5cb9bb5eb7d1f979ce3f43aaef1745fd7c02852c8be2292353bce54c600425987fd1b5cec0e635295da50f408a95582c1cf4d95add5760dbcd'
7
+ data.tar.gz: 51bb291d46c7007f110c5e04a9673577aeadb25efb20b9e54d273f8dfda3f96581fa7c2b43ff4b897084cc1deac42c031e3f6a307fb1c25eaf26672fe9d7b2c2
@@ -47,12 +47,18 @@ module Decidim
47
47
  # If not (i.e. voting is disabled or finished), then link to the resource itself
48
48
  def link_to_resource_or_vote(css_class)
49
49
  if voting_open?
50
- action_authorized_link_to "vote",
51
- budget_projects_path(budget, start_voting: true),
52
- resource: budget,
53
- data: { "redirect-url": budget_projects_path(budget) },
54
- class: css_class do
55
- yield
50
+ if current_user
51
+ action_authorized_link_to :vote,
52
+ budget_projects_path(budget, start_voting: true),
53
+ resource: budget,
54
+ class: css_class,
55
+ data: { "redirect-url": budget_projects_path(budget) } do
56
+ yield
57
+ end
58
+ else
59
+ link_to budget_projects_path(budget, start_voting: true), class: css_class do
60
+ yield
61
+ end
56
62
  end
57
63
  else
58
64
  link_to resource_path, class: css_class do
@@ -6,24 +6,24 @@ module Decidim
6
6
  # This command is executed when the user creates a Project from the admin
7
7
  # panel.
8
8
  class CreateProject < Decidim::Commands::CreateResource
9
- include ::Decidim::GalleryMethods
9
+ include ::Decidim::MultipleAttachmentsMethods
10
10
  fetch_form_attributes :budget, :taxonomizations, :title, :description, :budget_amount, :address, :latitude, :longitude
11
11
 
12
12
  private
13
13
 
14
- attr_reader :gallery
14
+ attr_reader :attachments
15
15
 
16
16
  def run_after_hooks
17
17
  @attached_to = resource
18
18
  link_proposals
19
- create_gallery if process_gallery?
19
+ create_attachments if process_attachments?
20
20
  end
21
21
 
22
22
  def run_before_hooks
23
- return unless process_gallery?
23
+ return unless process_attachments?
24
24
 
25
- build_gallery
26
- raise Decidim::Commands::HookError if gallery_invalid?
25
+ build_attachments
26
+ raise Decidim::Commands::HookError if attachments_invalid?
27
27
  end
28
28
 
29
29
  def extra_params
@@ -6,7 +6,7 @@ module Decidim
6
6
  # This command is executed when the user changes a Project from the admin
7
7
  # panel.
8
8
  class UpdateProject < Decidim::Commands::UpdateResource
9
- include ::Decidim::GalleryMethods
9
+ include ::Decidim::MultipleAttachmentsMethods
10
10
  fetch_form_attributes :taxonomizations, :title, :description, :budget_amount, :address, :latitude, :longitude
11
11
 
12
12
  def initialize(form, project)
@@ -18,15 +18,15 @@ module Decidim
18
18
 
19
19
  def run_after_hooks
20
20
  link_proposals
21
- create_gallery if process_gallery?
22
- photo_cleanup!
21
+ create_attachments if process_attachments?
22
+ attachment_cleanup!(include_all_attachments: true)
23
23
  end
24
24
 
25
25
  def run_before_hooks
26
- return unless process_gallery?
26
+ return unless process_attachments?
27
27
 
28
- build_gallery
29
- raise Decidim::Commands::HookError if gallery_invalid?
28
+ build_attachments
29
+ raise Decidim::Commands::HookError if attachments_invalid?
30
30
  end
31
31
 
32
32
  def attributes
@@ -22,7 +22,7 @@ module Decidim
22
22
  attribute :attachment, AttachmentForm
23
23
  attribute :selected, Boolean
24
24
 
25
- attachments_attribute :photos
25
+ attachments_attribute :attachments
26
26
 
27
27
  validates :title, translatable_presence: true
28
28
  validates :description, translatable_presence: true
@@ -36,6 +36,8 @@ module Decidim
36
36
  def map_model(model)
37
37
  self.proposal_ids = model.linked_resources(:proposals, "included_proposals").pluck(:id)
38
38
  self.selected = model.selected?
39
+ self.attachments = model.attachments.ids
40
+ self.add_attachments = model.attachments.map { |att| { id: att.id, title: att.title } }
39
41
  end
40
42
 
41
43
  def participatory_space_manifest
@@ -74,7 +76,7 @@ module Decidim
74
76
  # an error, the attachment is lost, so we need a way to inform the user of
75
77
  # this problem.
76
78
  def notify_missing_attachment_if_errored
77
- errors.add(:add_photos, :needs_to_be_reattached) if errors.any? && add_photos.present?
79
+ errors.add(:add_attachments, :needs_to_be_reattached) if errors.any? && add_attachments.present?
78
80
  end
79
81
  end
80
82
  end
@@ -14,6 +14,7 @@ module Decidim
14
14
 
15
15
  validates :origin_component_id, :origin_component, :current_component, presence: true
16
16
  validates :default_budget, presence: true, numericality: { greater_than: 0 }
17
+ validate :valid_states
17
18
 
18
19
  def states
19
20
  super.compact_blank
@@ -36,6 +37,18 @@ module Decidim
36
37
  def budget
37
38
  @budget ||= context[:budget]
38
39
  end
40
+
41
+ private
42
+
43
+ def valid_states
44
+ return unless origin_component
45
+ return if states.empty?
46
+
47
+ valid_tokens = Decidim::Proposals::ProposalState.where(component: origin_component).pluck(:token) + ["not_answered"]
48
+ return if states.all? { |state| valid_tokens.include?(state) }
49
+
50
+ errors.add(:states, :invalid)
51
+ end
39
52
  end
40
53
  end
41
54
  end
@@ -57,7 +57,7 @@
57
57
  <% end %>
58
58
  <% else %>
59
59
  <div class="dropdown__button-disabled">
60
- <%= with_tooltip t("tooltips.deleted_projects_info", scope: "decidim.admin") do %>
60
+ <%= with_tooltip t("tooltips.deleted_projects_info", scope: "decidim.admin"), class: :left do %>
61
61
  <%= icon "delete-bin-line", class: "text-gray" %>
62
62
  <span>
63
63
  <%= t("actions.soft_delete", scope: "decidim.admin") %>
@@ -33,7 +33,7 @@
33
33
  </div>
34
34
  <% end %>
35
35
 
36
- <%= render partial: "decidim/admin/shared/gallery", locals: { form: } %>
36
+ <%= render partial: "decidim/admin/shared/attachments", locals: { form: } %>
37
37
 
38
38
  <% if form.object.persisted? %>
39
39
  <div class="row column">
@@ -272,7 +272,6 @@ bg:
272
272
  global:
273
273
  announcement: Обявление
274
274
  comments_enabled: Коментарите са активирани
275
- comments_max_length: Максимална дължина на коментарите (Оставете 0 за стойност по подразбиране)
276
275
  form:
277
276
  errors:
278
277
  budget_voting_rule_only_one: Трябва да бъде активирано само едно правило за гласуване.
@@ -347,7 +347,7 @@ ca-IT:
347
347
  announcement: Avís
348
348
  clear_all: Netejar-ho tot
349
349
  comments_enabled: Comentaris habilitats
350
- comments_max_length: Longitud màxima dels comentaris (deixa 0 si vols mantenir la configuració per defecte)
350
+ comments_max_length: Caràcters màxims per comentari (deixar a 0 el valor predeterminat)
351
351
  define_taxonomy_filters: Si us plau, defineix algunes filtres per aquest espai de participació abans de fer servir aquesta configuració.
352
352
  form:
353
353
  errors:
@@ -347,7 +347,7 @@ ca:
347
347
  announcement: Avís
348
348
  clear_all: Netejar-ho tot
349
349
  comments_enabled: Comentaris habilitats
350
- comments_max_length: Longitud màxima dels comentaris (deixa 0 si vols mantenir la configuració per defecte)
350
+ comments_max_length: Caràcters màxims per comentari (deixar a 0 el valor predeterminat)
351
351
  define_taxonomy_filters: Si us plau, defineix algunes filtres per aquest espai de participació abans de fer servir aquesta configuració.
352
352
  form:
353
353
  errors:
@@ -367,7 +367,6 @@ cs:
367
367
  announcement: Oznámení
368
368
  clear_all: Vymazat vše
369
369
  comments_enabled: Komentáře povoleny
370
- comments_max_length: Maximální délka komentáře (ponechte 0 pro výchozí hodnotu)
371
370
  define_taxonomy_filters: Před použitím tohoto nastavení prosím definujte některé filtry pro tento participační prostor.
372
371
  form:
373
372
  errors:
@@ -345,7 +345,6 @@ de:
345
345
  announcement: Ankündigung
346
346
  clear_all: Alles löschen
347
347
  comments_enabled: Kommentare aktiviert
348
- comments_max_length: Maximale Länge der Kommentare (0 für Standardwert)
349
348
  define_taxonomy_filters: Bitte definieren Sie einige Filter für diesen partizipativen Bereich, bevor Sie diese Einstellung verwenden.
350
349
  form:
351
350
  errors:
@@ -231,7 +231,6 @@ el:
231
231
  global:
232
232
  announcement: Ανακοίνωση
233
233
  comments_enabled: Τα σχόλια ενεργοποιήθηκαν
234
- comments_max_length: Μέγιστο μέγεθος σχολίων (Αφήστε το 0 για το προκαθορισμένο μέγεθος)
235
234
  form:
236
235
  errors:
237
236
  budget_voting_rule_only_one: Μόνο ένας κανόνας ψηφοφορίας πρέπει να είναι ενεργοποιημένος.
@@ -347,7 +347,7 @@ en:
347
347
  announcement: Announcement
348
348
  clear_all: Clear all
349
349
  comments_enabled: Comments enabled
350
- comments_max_length: Comments max length (Leave 0 for default value)
350
+ comments_max_length: Max characters per comment (Leave 0 for default value)
351
351
  define_taxonomy_filters: Please define some filters for this participatory space before using this setting.
352
352
  form:
353
353
  errors:
@@ -344,7 +344,7 @@ es-MX:
344
344
  announcement: Anuncio
345
345
  clear_all: Limpiar todo
346
346
  comments_enabled: Comentarios habilitados
347
- comments_max_length: Longitud máxima de los comentarios (deja 0 si quieres mantener la configuración por defecto)
347
+ comments_max_length: Caracteres máximos por comentario (dejar 0 para el valor predeterminado)
348
348
  define_taxonomy_filters: Por favor, define algunos filtros para este espacio de participación antes de utilizar esta configuración.
349
349
  form:
350
350
  errors:
@@ -347,7 +347,7 @@ es-PY:
347
347
  announcement: Anuncio
348
348
  clear_all: Limpiar todo
349
349
  comments_enabled: Comentarios habilitados
350
- comments_max_length: Longitud máxima de los comentarios (deja 0 si quieres mantener la configuración por defecto)
350
+ comments_max_length: Caracteres máximos por comentario (dejar 0 para el valor predeterminado)
351
351
  define_taxonomy_filters: Por favor, define algunos filtros para este espacio de participación antes de utilizar esta configuración.
352
352
  form:
353
353
  errors:
@@ -347,7 +347,7 @@ es:
347
347
  announcement: Aviso
348
348
  clear_all: Limpiar todo
349
349
  comments_enabled: Comentarios habilitados
350
- comments_max_length: Longitud máxima de los comentarios (deja 0 si quieres mantener la configuración por defecto)
350
+ comments_max_length: Caracteres máximos por comentario (dejar 0 para el valor predeterminado)
351
351
  define_taxonomy_filters: Por favor, define algunos filtros para este espacio de participación antes de utilizar esta configuración.
352
352
  form:
353
353
  errors:
@@ -153,7 +153,7 @@ eu:
153
153
  orders:
154
154
  description: Parte-hatzaileek mezu elektroniko bat jasoko dute, eskaera bat egiteke duten aurrekontuetarako estekekin.
155
155
  title:
156
- one: Gogorarazpen bat bidaltzear zaude posta elektronikoz %{count} partte-hartzaileari
156
+ one: Gogorarazpen bat bidaltzear zaude posta elektronikoz %{count} erabiltzaileri
157
157
  other: Gogorarazpen bat bidaltzear zaude posta elektronikoz %{count} parte-hartzaileri
158
158
  admin_log:
159
159
  budget:
@@ -180,7 +180,7 @@ eu:
180
180
  only_one: ezabatu zure babesa eta hasi berriro.
181
181
  completed: Amaituta
182
182
  count:
183
- one: "%{count} aurrekontu"
183
+ one: "Aurrekontu %{count}"
184
184
  other: "%{count} aurrekontu"
185
185
  empty: Oraindik ez dago aurrekonturik
186
186
  finished_message: Amaitu duzu babesa emateko prozesua. Eskerrik asko parte hartzeagatik!
@@ -347,7 +347,7 @@ eu:
347
347
  announcement: Oharra
348
348
  clear_all: Garbitu dena
349
349
  comments_enabled: Iruzkinak gaituta
350
- comments_max_length: Iruzkinen gehieneko luzera (uzti 0 defektuz konfigurazioa mantendu nahi baduzu)
350
+ comments_max_length: Iruzkin bakoitzeko gehieneko karaktereak (utzi 0 aurrez zehaztutako baliorako)
351
351
  define_taxonomy_filters: Mesedez, eszenatoki hau erabili aurretik, zehaztu espazio parte-hartzaile honetarako iragazki batzuk.
352
352
  form:
353
353
  errors:
@@ -337,7 +337,7 @@ fr-CA:
337
337
  global:
338
338
  announcement: Annonce
339
339
  comments_enabled: Activer le module de commentaire
340
- comments_max_length: Longueur max des commentaires (laisser 0 pour la valeur par défaut)
340
+ comments_max_length: Nombre maximum de caractères par commentaire (Laisser 0 pour la valeur par défaut)
341
341
  define_taxonomy_filters: Veuillez définir des filtres pour cet espace participatif avant d'utiliser ce paramètre.
342
342
  form:
343
343
  errors:
@@ -337,7 +337,7 @@ fr:
337
337
  global:
338
338
  announcement: Annonce
339
339
  comments_enabled: Activer le module de commentaire
340
- comments_max_length: Longueur max des commentaires (laisser 0 pour la valeur par défaut)
340
+ comments_max_length: Nombre maximum de caractères par commentaire (Laisser 0 pour la valeur par défaut)
341
341
  define_taxonomy_filters: Veuillez définir des filtres pour cet espace participatif avant d'utiliser ce paramètre.
342
342
  form:
343
343
  errors:
@@ -166,7 +166,6 @@ gl:
166
166
  global:
167
167
  announcement: Anuncio
168
168
  comments_enabled: Comentarios habilitados
169
- comments_max_length: Lonxitude máxima dos comentarios (0 para valor predefinido)
170
169
  projects_per_page: Proxectos por páxina
171
170
  title: Título
172
171
  total_budget: Orzamento total
@@ -255,7 +255,6 @@ hu:
255
255
  global:
256
256
  announcement: Közlemény
257
257
  comments_enabled: Megjegyzések engedélyezve
258
- comments_max_length: Kommentek maximális hossza (Hagyjon 0 -t az alapértékhez)
259
258
  form:
260
259
  errors:
261
260
  budget_voting_rule_only_one: Csak egy szavazási szabály állítható be.
@@ -170,7 +170,6 @@ it:
170
170
  global:
171
171
  announcement: Annuncio
172
172
  comments_enabled: Commenti abilitati
173
- comments_max_length: Lunghezza massima dei commenti (Lasciare 0 per il valore predefinito)
174
173
  landing_page_content: Pagina iniziale dei budget
175
174
  more_information_modal: Finestra modale "Maggiori informazioni"
176
175
  projects_per_page: Progetti per pagina
@@ -337,7 +337,7 @@ ja:
337
337
  announcement: お知らせ
338
338
  clear_all: すべてクリア
339
339
  comments_enabled: コメントを有効にする
340
- comments_max_length: コメント最大長 (デフォルト値は 0 のまま)
340
+ comments_max_length: 各コメントの最大文字数 (0はデフォルト値のまま)
341
341
  define_taxonomy_filters: この設定を使用する前に、参加型スペースのフィルターをいくつか定義してください。
342
342
  form:
343
343
  errors:
@@ -148,7 +148,6 @@ lb:
148
148
  global:
149
149
  announcement: Ankündigung
150
150
  comments_enabled: Kommentare aktiviert
151
- comments_max_length: Maximale Länge der Kommentare (0 für Standardwert)
152
151
  landing_page_content: Budgets Landingpage
153
152
  more_information_modal: Weitere Informationen
154
153
  projects_per_page: Projekte pro Seite
@@ -257,7 +257,6 @@ lt:
257
257
  global:
258
258
  announcement: Pranešimas
259
259
  comments_enabled: Komentarai aktyvuoti
260
- comments_max_length: Maksimalus komentaro ilgis (įrašyti 0 įprastam ilgiui)
261
260
  form:
262
261
  errors:
263
262
  budget_voting_rule_only_one: Turi būti įjungta tik viena balsavimo taisyklė.
@@ -196,7 +196,6 @@ nl:
196
196
  global:
197
197
  announcement: Aankondiging
198
198
  comments_enabled: Reacties ingeschakeld
199
- comments_max_length: Commentaar maximale lengte (laat 0 voor standaardwaarde)
200
199
  landing_page_content: Budgetten landingspagina
201
200
  more_information_modal: Meer informatie
202
201
  projects_per_page: Projecten per pagina
@@ -187,7 +187,6 @@
187
187
  global:
188
188
  announcement: Kunngjøring
189
189
  comments_enabled: Kommentarer aktivert
190
- comments_max_length: Maks lengde på kommentarer (Sett 0 for standardverdi)
191
190
  landing_page_content: Landingsside budsjett
192
191
  more_information_modal: Mer informasjon
193
192
  projects_per_page: Prosjekter per side
@@ -268,7 +268,6 @@ pl:
268
268
  global:
269
269
  announcement: Ogłoszenie
270
270
  comments_enabled: Komentarze włączone
271
- comments_max_length: Maksymalna długość komentarzy (Pozostaw 0 dla wartości domyślnej)
272
271
  form:
273
272
  errors:
274
273
  budget_voting_rule_only_one: Może być włączona tylko jedna reguła głosowania.
@@ -347,7 +347,6 @@ pt-BR:
347
347
  announcement: Anúncio
348
348
  clear_all: Limpar tudo
349
349
  comments_enabled: Comentários ativados
350
- comments_max_length: Tamanho máximo de comentários (deixe 0 para o valor padrão)
351
350
  define_taxonomy_filters: Por favor, defina alguns filtros para este espaço participativo antes de usar esta configuração.
352
351
  form:
353
352
  errors:
@@ -158,7 +158,6 @@ pt:
158
158
  global:
159
159
  announcement: Anúncio
160
160
  comments_enabled: Comentários ativados
161
- comments_max_length: Comprimento máximo dos comentários (Deixar 0 para o valor predefinido)
162
161
  landing_page_content: Página de entrada dos orçamentos
163
162
  more_information_modal: Mais informações modal
164
163
  projects_per_page: Projetos por página
@@ -191,7 +191,6 @@ ro:
191
191
  global:
192
192
  announcement: Anunţ
193
193
  comments_enabled: Comentarii activate
194
- comments_max_length: Lungimea maximă a comentariilor (lăsați 0 pentru valoarea implicită)
195
194
  landing_page_content: Pagina pentru bugetare participativă
196
195
  more_information_modal: Mai multe informații
197
196
  projects_per_page: Proiecte pe pagină
@@ -367,7 +367,6 @@ sk:
367
367
  announcement: Oznámenie
368
368
  clear_all: Vymazať všetko
369
369
  comments_enabled: Komentáre povolené
370
- comments_max_length: Maximálna dĺžka komentárov (Ponechajte 0 pre predvolenú hodnotu)
371
370
  define_taxonomy_filters: Pred použitím tohto nastavenia definujte nejaké filtre pre tento participatívny priestor.
372
371
  form:
373
372
  errors:
@@ -347,7 +347,6 @@ sv:
347
347
  announcement: Meddelande
348
348
  clear_all: Återställ
349
349
  comments_enabled: Aktivera kommentarer
350
- comments_max_length: Maximal kommentarslängd (ange 0 för att använda standardvärdet)
351
350
  define_taxonomy_filters: Ställ in filter innan du använder den här inställningen.
352
351
  form:
353
352
  errors:
@@ -155,7 +155,6 @@ tr:
155
155
  global:
156
156
  announcement: Duyurular
157
157
  comments_enabled: Yorumlar etkin
158
- comments_max_length: Maksimum yorum uzunluğu (Varsayılan değer için 0 bırakın)
159
158
  landing_page_content: Bütçeler ana sayfası
160
159
  more_information_modal: Daha fazla bilgi
161
160
  projects_per_page: Sayfa başına projeler
@@ -141,7 +141,6 @@ zh-CN:
141
141
  global:
142
142
  announcement: 通 知
143
143
  comments_enabled: 评论已启用
144
- comments_max_length: 评论最大长度 (默认值留0)
145
144
  landing_page_content: 预算登陆页
146
145
  more_information_modal: 更多信息模式
147
146
  projects_per_page: 每页项目数
@@ -227,7 +227,6 @@ zh-TW:
227
227
  global:
228
228
  announcement: 公告
229
229
  comments_enabled: 啟用評論功能
230
- comments_max_length: 評論字數最大長度(若要使用預設值請輸入0)
231
230
  form:
232
231
  errors:
233
232
  budget_voting_rule_only_one: 僅能啟用一個投票規則。
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-budgets version.
5
5
  module Budgets
6
6
  def self.version
7
- "0.31.5"
7
+ "0.31.6"
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-budgets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.5
4
+ version: 0.31.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2026-05-12 00:00:00.000000000 Z
13
+ date: 2026-07-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-comments
@@ -18,70 +18,70 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.31.5
21
+ version: 0.31.6
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 0.31.5
28
+ version: 0.31.6
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-core
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.31.5
35
+ version: 0.31.6
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.31.5
42
+ version: 0.31.6
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: decidim-admin
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.31.5
49
+ version: 0.31.6
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 0.31.5
56
+ version: 0.31.6
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: decidim-dev
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.31.5
63
+ version: 0.31.6
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - '='
69
69
  - !ruby/object:Gem::Version
70
- version: 0.31.5
70
+ version: 0.31.6
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: decidim-proposals
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: 0.31.5
77
+ version: 0.31.6
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - '='
83
83
  - !ruby/object:Gem::Version
84
- version: 0.31.5
84
+ version: 0.31.6
85
85
  description: A budgets component for decidim's participatory spaces.
86
86
  email:
87
87
  - josepjaume@gmail.com