decidim-proposals 0.32.0.rc3 → 0.32.0

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 (51) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/proposals/admin/update_proposal.rb +1 -1
  3. data/app/commands/decidim/proposals/create_proposal.rb +1 -1
  4. data/app/commands/decidim/proposals/update_proposal.rb +1 -1
  5. data/app/forms/decidim/proposals/admin/proposal_form.rb +4 -53
  6. data/app/forms/decidim/proposals/admin/proposals_merge_form.rb +2 -2
  7. data/app/forms/decidim/proposals/proposal_form.rb +3 -3
  8. data/app/views/decidim/proposals/admin/proposals/_form.html.erb +1 -1
  9. data/app/views/decidim/proposals/admin/proposals/show.html.erb +5 -5
  10. data/app/views/decidim/proposals/admin/proposals_merges/_form.html.erb +1 -1
  11. data/app/views/decidim/proposals/proposals/_edit_form_fields.html.erb +1 -1
  12. data/config/locales/ar.yml +0 -5
  13. data/config/locales/bg.yml +0 -5
  14. data/config/locales/ca-IT.yml +4 -8
  15. data/config/locales/ca.yml +4 -5
  16. data/config/locales/cs.yml +0 -5
  17. data/config/locales/de.yml +1 -6
  18. data/config/locales/el.yml +0 -5
  19. data/config/locales/en.yml +3 -4
  20. data/config/locales/es-MX.yml +4 -5
  21. data/config/locales/es-PY.yml +4 -5
  22. data/config/locales/es.yml +4 -5
  23. data/config/locales/eu.yml +22 -8
  24. data/config/locales/fi-plain.yml +3 -4
  25. data/config/locales/fi.yml +4 -5
  26. data/config/locales/fr-CA.yml +6 -5
  27. data/config/locales/fr.yml +6 -5
  28. data/config/locales/gl.yml +0 -4
  29. data/config/locales/hu.yml +0 -4
  30. data/config/locales/id-ID.yml +0 -4
  31. data/config/locales/it.yml +0 -5
  32. data/config/locales/ja.yml +8 -5
  33. data/config/locales/lt.yml +0 -5
  34. data/config/locales/lv.yml +0 -4
  35. data/config/locales/nl.yml +0 -5
  36. data/config/locales/no.yml +0 -5
  37. data/config/locales/pl.yml +0 -5
  38. data/config/locales/pt-BR.yml +0 -5
  39. data/config/locales/pt.yml +0 -5
  40. data/config/locales/ro-RO.yml +0 -5
  41. data/config/locales/ru.yml +0 -8
  42. data/config/locales/sk.yml +0 -5
  43. data/config/locales/sv.yml +1 -5
  44. data/config/locales/tr-TR.yml +2 -7
  45. data/config/locales/uk.yml +0 -8
  46. data/config/locales/zh-CN.yml +0 -5
  47. data/config/locales/zh-TW.yml +0 -5
  48. data/decidim-proposals.gemspec +1 -1
  49. data/lib/decidim/proposals/version.rb +1 -1
  50. metadata +19 -20
  51. data/app/commands/decidim/proposals/gallery_methods.rb +0 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7973519a8399f52c3b533f15e9da611253c4ea341f94403d407f50134f0d6e70
4
- data.tar.gz: cff4e776109ff903bdbda8da51b133d554b3ef71437e13394f03ba74b1f8e46a
3
+ metadata.gz: 76f8028076056c19ad5ce823a1d2907352d566302d0772a1da36b64c3c3e380e
4
+ data.tar.gz: 99c6c69cbe9aaa138371363daeb32334543da6a42b6e1f562c351c81217af5e8
5
5
  SHA512:
6
- metadata.gz: 533e1ee40db7dfe4c7f6520903d873ec796a125e0248f0f0e443f2a2db90dbc40b9ff2376f8439ffa6e21010842a48730794268ae98a312c1b928eaeffe65691
7
- data.tar.gz: a6d5853c486a2192504fb5d082da72d528c6713a51e9a1122741bb588661e49482b0bdeef020b6b7fcb00bbe4418d32e147854fdfb5e4a292dad1046161e98a6
6
+ metadata.gz: 4cee4638c6cdd360b71bae094d98a65daade5926ecd34094b4cc0abfb3c97c4148b77f0f088dba2992e095301fd86470fd541c4f472b5d52307df9b7b0c0887d
7
+ data.tar.gz: 24650eff90d924e95ca68f827238989da1d53cb83f0a959f08788e03a68f7cbdc9b24cfa47acbe9daad95680cc5212930f168386ff17ab99345f0752ac9d7eaa
@@ -36,7 +36,7 @@ module Decidim
36
36
  transaction do
37
37
  update_proposal
38
38
  update_proposal_author
39
- document_cleanup!(include_all_attachments: true)
39
+ attachment_cleanup!(include_all_attachments: true)
40
40
  create_attachments(first_weight: first_attachment_weight) if process_attachments?
41
41
  end
42
42
 
@@ -82,7 +82,7 @@ module Decidim
82
82
  )
83
83
 
84
84
  proposal.taxonomizations = form.taxonomizations if form.taxonomizations.present?
85
- proposal.documents = form.documents if form.documents.present?
85
+ proposal.attachments = form.attachments if form.attachments.present?
86
86
  if form.geocoded?
87
87
  proposal.latitude = form.latitude
88
88
  proposal.longitude = form.longitude
@@ -39,7 +39,7 @@ module Decidim
39
39
  update_proposal
40
40
  end
41
41
 
42
- document_cleanup!(include_all_attachments: true)
42
+ attachment_cleanup!(include_all_attachments: true)
43
43
 
44
44
  create_attachments(first_weight: first_attachment_weight) if process_attachments?
45
45
  end
@@ -14,7 +14,7 @@ module Decidim
14
14
  translatable_attribute :body, Decidim::Attributes::RichText
15
15
  attribute :attachment, AttachmentForm
16
16
 
17
- attachments_attribute :documents
17
+ attachments_attribute :attachments
18
18
 
19
19
  validates :title, :body, translatable_presence: true
20
20
  validates :title, :body, translated_etiquette: true
@@ -27,61 +27,12 @@ module Decidim
27
27
 
28
28
  self.title = presenter.title(all_locales: title.is_a?(Hash))
29
29
  self.body = presenter.editor_body(all_locales: body.is_a?(Hash))
30
- self.documents = model.attachments.ids
31
- self.add_documents = model.attachments.map { |att| { id: att.id, title: att.title } }
32
- end
33
-
34
- def documents=(value)
35
- case value
36
- when String
37
- super(parse_string_documents(value))
38
- when Integer
39
- super([value])
40
- else
41
- super
42
- end
43
- end
44
-
45
- def documents
46
- result = super
47
-
48
- if should_use_add_documents?(result)
49
- extract_ids_from_add_documents
50
- else
51
- result.is_a?(Array) ? result : []
52
- end
30
+ self.attachments = model.attachments.ids
31
+ self.add_attachments = model.attachments.map { |att| { id: att.id, title: att.title } }
53
32
  end
54
33
 
55
34
  def notify_missing_attachment_if_errored
56
- errors.add(:add_documents, :needs_to_be_reattached) if errors.any? && add_documents.present?
57
- end
58
-
59
- private
60
-
61
- def should_use_add_documents?(result)
62
- (result.blank? || result.is_a?(String)) && add_documents.present?
63
- end
64
-
65
- def extract_ids_from_add_documents
66
- add_documents
67
- .select { |doc| doc.is_a?(Hash) && (doc[:id].present? || doc["id"].present?) }
68
- .map { |doc| (doc[:id] || doc["id"]).to_i }
69
- end
70
-
71
- def parse_string_documents(value)
72
- return [] if value.blank?
73
-
74
- parse_document_ids(value)
75
- end
76
-
77
- def parse_document_ids(value)
78
- ids = begin
79
- Array(JSON.parse(value))
80
- rescue JSON::ParserError
81
- value.split(",").map(&:strip)
82
- end
83
-
84
- ids.map(&:to_i).reject(&:zero?)
35
+ errors.add(:add_attachments, :needs_to_be_reattached) if errors.any? && add_attachments.present?
85
36
  end
86
37
  end
87
38
  end
@@ -16,7 +16,7 @@ module Decidim
16
16
  attribute :target_component_id, Array[Integer]
17
17
  attribute :proposal_ids, Array
18
18
 
19
- attachments_attribute :documents
19
+ attachments_attribute :attachments
20
20
 
21
21
  validates :target_component, :proposals, :current_component, presence: true
22
22
  validates :proposal_ids, length: { minimum: 2 }
@@ -62,7 +62,7 @@ module Decidim
62
62
  end
63
63
 
64
64
  def notify_missing_attachment_if_errored
65
- errors.add(:add_documents, :needs_to_be_reattached) if errors.any? && add_documents.present?
65
+ errors.add(:add_attachments, :needs_to_be_reattached) if errors.any? && add_attachments.present?
66
66
  end
67
67
  end
68
68
  end
@@ -19,7 +19,7 @@ module Decidim
19
19
  attribute :longitude, Float
20
20
  attribute :attachment, AttachmentForm
21
21
 
22
- attachments_attribute :documents
22
+ attachments_attribute :attachments
23
23
 
24
24
  validates :title, :body, presence: true
25
25
  validates :title, :body, etiquette: true
@@ -42,7 +42,7 @@ module Decidim
42
42
  presenter = ProposalPresenter.new(model)
43
43
  self.body = presenter.editor_body(all_locales: body.is_a?(Hash))
44
44
 
45
- self.documents = model.attachments
45
+ self.attachments = model.attachments
46
46
  end
47
47
 
48
48
  def participatory_space_manifest
@@ -73,7 +73,7 @@ module Decidim
73
73
  # in any other field. This is needed because when the form has an error, the attachment
74
74
  # is lost, so we need a way to inform the user of this problem.
75
75
  def notify_missing_attachment_if_errored
76
- errors.add(:add_documents, :needs_to_be_reattached) if errors.any? && add_documents.present?
76
+ errors.add(:add_attachments, :needs_to_be_reattached) if errors.any? && add_attachments.present?
77
77
  end
78
78
  end
79
79
  end
@@ -36,7 +36,7 @@
36
36
 
37
37
  <% if component_settings.attachments_allowed? %>
38
38
  <div class="row column">
39
- <%= form.attachment :documents,
39
+ <%= form.attachment :attachments,
40
40
  multiple: true,
41
41
  label: t("decidim.proposals.proposals.edit.add_attachments"),
42
42
  button_label: t("decidim.proposals.proposals.edit.add_attachments"),
@@ -6,7 +6,7 @@
6
6
  <%= render partial: "decidim/admin/shared/adjacent_navigation", locals: { adjacent_paths: filtered_adjacent_paths(proposal, :proposal_path) } %>
7
7
  <div class="component__show_header">
8
8
  <h2 class="component__show_header-title">
9
- <%= decidim_html_escape(present(proposal).title).html_safe %>
9
+ <%= present(proposal).title(html_escape: true) %>
10
10
  </h2>
11
11
  </div>
12
12
 
@@ -20,7 +20,7 @@
20
20
  <li class="component__show_nav-author-title">
21
21
  <%= link_to_if(
22
22
  presented_author.profile_path.present?,
23
- presented_author.name,
23
+ decidim_html_escape(presented_author.name),
24
24
  presented_author.profile_path,
25
25
  target: :blank
26
26
  ) %>
@@ -47,9 +47,9 @@
47
47
  <div class="card-section">
48
48
  <div class="row column">
49
49
  <span class="component__show-title"><%= t ".body" %></span>
50
- <p class="component__show-text">
51
- <%= simple_format(present(proposal).body(strip_tags: true)) %>
52
- </p>
50
+ <div class="component__show-text editor-content">
51
+ <%= render_proposal_body(proposal) %>
52
+ </div>
53
53
  </div>
54
54
  </div>
55
55
 
@@ -33,7 +33,7 @@
33
33
  <% end %>
34
34
  <% if component_settings.attachments_allowed? %>
35
35
  <div class="row column pt-4">
36
- <%= form.attachment :documents,
36
+ <%= form.attachment :attachments,
37
37
  multiple: true,
38
38
  label: t("decidim.proposals.proposals.edit.add_attachments"),
39
39
  button_label: t("decidim.proposals.proposals.edit.add_attachments"),
@@ -23,7 +23,7 @@
23
23
  <% end %>
24
24
  <% end %>
25
25
  <% if component_settings.attachments_allowed? && (new_proposal || @proposal) %>
26
- <%= form.attachment :documents,
26
+ <%= form.attachment :attachments,
27
27
  multiple: true,
28
28
  label: t("decidim.proposals.proposals.edit.add_attachments"),
29
29
  button_label: t("decidim.proposals.proposals.edit.add_attachments"),
@@ -44,10 +44,6 @@ ar:
44
44
  allowed_file_content_types: 'نوع الوثيقة غير صالح. يسمح فقط بالملفات ذات الإضافات التالية: %{types}'
45
45
  proposal:
46
46
  attributes:
47
- add_documents:
48
- needs_to_be_reattached: يحتاج إلى إعادة ربط
49
- add_photos:
50
- needs_to_be_reattached: يحتاج إلى إعادة ربط
51
47
  body:
52
48
  cant_be_equal_to_template: لا يمكن أن يساوي القالب
53
49
  identical: لا يمكن أن يكون العنوان متطابقًا
@@ -125,7 +121,6 @@ ar:
125
121
  attachments_allowed: السماح للمرفقات
126
122
  collaborative_drafts_enabled: تم تمكين المسودات التعاونية
127
123
  comments_enabled: تم تمكين التعليقات
128
- comments_max_length: الحد الأقصى لطول التعليقات (اترك 0 لاستعمال القيمة الافتراضية)
129
124
  default_sort_order: التصنيف الافتراضي للاقتراح
130
125
  default_sort_order_options:
131
126
  most_commented: صاحبة الأكثر تعليقات
@@ -52,10 +52,6 @@ bg:
52
52
  allowed_file_content_types: 'Невалиден файлов формат. Позволени са само файлове със следните разширения: %{types}'
53
53
  proposal:
54
54
  attributes:
55
- add_documents:
56
- needs_to_be_reattached: Необходимо е да се прикачи отново
57
- add_photos:
58
- needs_to_be_reattached: Необходимо е да се прикачи отново
59
55
  body:
60
56
  cant_be_equal_to_template: не може да е еднакво с шаблона
61
57
  identical: И заглавието не може да е еднакво
@@ -134,7 +130,6 @@ bg:
134
130
  can_accumulate_votes_beyond_threshold: Може да натрупва гласове над прага
135
131
  collaborative_drafts_enabled: Съвместните чернови са разрешени
136
132
  comments_enabled: Коментарите са разрешени
137
- comments_max_length: Максимална дължина на коментарите (Оставете 0 за стойност по подразбиране)
138
133
  default_sort_order: Сортиране на предложения по подразбиране
139
134
  default_sort_order_help: Автоматично означава, че ако гласовете са активирани, предложенията ще се показват сортирани на случаен принцип, а ако гласовете са блокирани, тогава те ще бъдат сортирани по най-гласуваните.
140
135
  default_sort_order_options:
@@ -63,10 +63,8 @@ ca-IT:
63
63
  allowed_file_content_types: 'Tipus de document no vàlid. Només s''accepten arxius amb les següents extensions: %{types}'
64
64
  proposal:
65
65
  attributes:
66
- add_documents:
67
- needs_to_be_reattached: És necessari tornar a adjuntar l'arxiu
68
- add_photos:
69
- needs_to_be_reattached: És necessari tornar a adjuntar l'arxiu
66
+ add_attachments:
67
+ needs_to_be_reattached: És necessari tornar a adjuntar el fitxer
70
68
  body:
71
69
  cant_be_equal_to_template: No pot ser igual a la plantilla
72
70
  identical: I el títol no pot ser idèntic
@@ -107,9 +105,6 @@ ca-IT:
107
105
  decidim/proposals/proposal:
108
106
  one: Proposta
109
107
  other: Propostes
110
- decidim/proposals/proposal_note:
111
- one: Nota
112
- other: Notes
113
108
  decidim/proposals/proposal_vote:
114
109
  one: Donar suport
115
110
  other: Suports
@@ -177,7 +172,7 @@ ca-IT:
177
172
  collaborative_drafts_enabled: Esborranys col·laboratius habilitats
178
173
  collaborative_drafts_enabled_help: La funció «Esborranys col·laboratius» s'eliminarà pròximament. Si la feies servir, a partir de la versió 0.32 de Decidim podràs fer servir la funcionalitat de coautoria de propostes.
179
174
  comments_enabled: Comentaris habilitats
180
- comments_max_length: Longitud màxima dels comentaris (deixa 0 si vols mantenir la configuració per defecte)
175
+ comments_max_length: Caràcters màxims per comentari (deixar a 0 el valor predeterminat)
181
176
  default_sort_order: Ordre de propostes per defecte
182
177
  default_sort_order_help: '''Per defecte'' vol dir que si els suports estan habilitats, les propostes es mostraran aleatòriament, i si els suports estan bloquejats, aleshores es mostraran de més a menys suports.'
183
178
  default_sort_order_options:
@@ -766,6 +761,7 @@ ca-IT:
766
761
  errors:
767
762
  device_not_supported: El teu dispositiu no admet serveis d'ubicació. Si us plau, introdueix l'adreça postal completa manualment (tipus de via, nom de la via, número, codi postal i ciutat).
768
763
  no_device_location: Si us plau, no hem pogut detectar la teva ubicació. Si us plau, introdueix l'adreça postal completa manualment (tipus de via, nom de la via, número, codi postal i ciutat).
764
+ locating: Localitzant...
769
765
  use_my_location: Fer servir la meva ubicació actual
770
766
  invite_coauthors:
771
767
  cancel:
@@ -63,10 +63,8 @@ ca:
63
63
  allowed_file_content_types: 'Tipus de document no vàlid. Només s''accepten arxius amb les següents extensions: %{types}'
64
64
  proposal:
65
65
  attributes:
66
- add_documents:
67
- needs_to_be_reattached: És necessari tornar a adjuntar l'arxiu
68
- add_photos:
69
- needs_to_be_reattached: És necessari tornar a adjuntar l'arxiu
66
+ add_attachments:
67
+ needs_to_be_reattached: És necessari tornar a adjuntar el fitxer
70
68
  body:
71
69
  cant_be_equal_to_template: No pot ser igual a la plantilla
72
70
  identical: I el títol no pot ser idèntic
@@ -177,7 +175,7 @@ ca:
177
175
  collaborative_drafts_enabled: Esborranys col·laboratius habilitats
178
176
  collaborative_drafts_enabled_help: La funció «Esborranys col·laboratius» s'eliminarà pròximament. Si la feies servir, a partir de la versió 0.32 de Decidim podràs fer servir la funcionalitat de coautoria de propostes.
179
177
  comments_enabled: Comentaris habilitats
180
- comments_max_length: Longitud màxima dels comentaris (deixa 0 si vols mantenir la configuració per defecte)
178
+ comments_max_length: Caràcters màxims per comentari (deixar a 0 el valor predeterminat)
181
179
  default_sort_order: Ordre de propostes per defecte
182
180
  default_sort_order_help: '''Per defecte'' vol dir que si els suports estan habilitats, les propostes es mostraran aleatòriament, i si els suports estan bloquejats, aleshores es mostraran de més a menys suports.'
183
181
  default_sort_order_options:
@@ -766,6 +764,7 @@ ca:
766
764
  errors:
767
765
  device_not_supported: El teu dispositiu no admet serveis d'ubicació. Si us plau, introdueix l'adreça postal completa manualment (tipus de via, nom de la via, número, codi postal i ciutat).
768
766
  no_device_location: Si us plau, no hem pogut detectar la teva ubicació. Si us plau, introdueix l'adreça postal completa manualment (tipus de via, nom de la via, número, codi postal i ciutat).
767
+ locating: Localitzant...
769
768
  use_my_location: Fer servir la meva ubicació actual
770
769
  invite_coauthors:
771
770
  cancel:
@@ -63,10 +63,6 @@ cs:
63
63
  allowed_file_content_types: 'Neplatný typ dokumentu. Jsou povoleny pouze soubory s následujícími příponami: %{types}'
64
64
  proposal:
65
65
  attributes:
66
- add_documents:
67
- needs_to_be_reattached: Potřebuje být znovu připojen
68
- add_photos:
69
- needs_to_be_reattached: Potřebuje být znovu připojen
70
66
  body:
71
67
  cant_be_equal_to_template: nelze se rovnat šabloně
72
68
  identical: A název nemůže být totožný
@@ -184,7 +180,6 @@ cs:
184
180
  collaborative_drafts_enabled: Společné koncepty povoleny
185
181
  collaborative_drafts_enabled_help: Funkce „Spolunávrhy“ bude odstraněna v Decidim v0.32. Organizace, které ji používají, mohou přejít na novou funkci spoluautorství.
186
182
  comments_enabled: Komentáře povoleny
187
- comments_max_length: Maximální délka komentáře (ponechte 0 pro výchozí hodnotu)
188
183
  default_sort_order: Výchozí řazení návrhu
189
184
  default_sort_order_help: Automaticky znamená, že pokud je hlasování povoleno, návrhy se zobrazují seřazené náhodně, a pokud je hlasování zablokováno, pak se zobrazují seřazené podle počtu hlasů.
190
185
  default_sort_order_options:
@@ -62,10 +62,6 @@ de:
62
62
  allowed_file_content_types: 'Ungültiger Dokumententyp. Nur Dateien mit folgenden Erweiterungen sind erlaubt: %{types}'
63
63
  proposal:
64
64
  attributes:
65
- add_documents:
66
- needs_to_be_reattached: Der Anhang muss erneut angehängt werden
67
- add_photos:
68
- needs_to_be_reattached: Der Anhang muss erneut angehängt werden
69
65
  body:
70
66
  cant_be_equal_to_template: kann nicht gleich der Vorlage sein
71
67
  identical: UND Titel dürfen nicht identisch sein
@@ -175,7 +171,6 @@ de:
175
171
  clear_all: Alles löschen
176
172
  collaborative_drafts_enabled: Kollaborative Entwürfe aktiviert
177
173
  comments_enabled: Kommentare aktiviert
178
- comments_max_length: Maximale Länge der Kommentare (0 für Standardwert)
179
174
  default_sort_order: Standardsortierung für Vorschläge
180
175
  default_sort_order_help: Standardmäßig bedeutet, dass bei aktivierten Stimmensammlung die Vorschläge nach Zufall und bei deaktivierter Stimmensammlung nach den meist gewählten Vorschläge sortiert werden.
181
176
  default_sort_order_options:
@@ -188,7 +183,7 @@ de:
188
183
  recent: Neueste
189
184
  with_more_authors: Mit mehr Autoren
190
185
  define_taxonomy_filters: Bitte definieren Sie einige Filter für diesen partizipativen Bereich, bevor Sie diese Einstellung verwenden.
191
- edit_time: Vorschläge können vor Ablauf dieser Zeit von den Autoren bearbeitet werden
186
+ edit_time: Autoren können Vorschläge während dieser Zeit nach der Einreichung bearbeiten
192
187
  edit_time_units:
193
188
  days: Tage
194
189
  hours: Stunden
@@ -39,10 +39,6 @@ el:
39
39
  allowed_file_content_types: 'Μη έγκυρος τύπος εγγράφου. Επιτρέπονται μόνο αρχεία με τις ακόλουθες επεκτάσεις: %{types}'
40
40
  proposal:
41
41
  attributes:
42
- add_documents:
43
- needs_to_be_reattached: Πρέπει να επισυναφθεί ξανά
44
- add_photos:
45
- needs_to_be_reattached: Πρέπει να επισυναφθεί ξανά
46
42
  body:
47
43
  cant_be_equal_to_template: δεν μπορεί να είναι ίσο με το πρότυπο
48
44
  identical: ΚΑΙ ο τίτλος δεν μπορεί να είναι ίδιος
@@ -113,7 +109,6 @@ el:
113
109
  attachments_allowed: Να επιτρέπονται τα συνημμένα
114
110
  collaborative_drafts_enabled: Τα προσχέδια συνεργασίας ενεργοποιήθηκαν
115
111
  comments_enabled: Τα σχόλια ενεργοποιήθηκαν
116
- comments_max_length: Μέγιστο μέγεθος σχολίων (Αφήστε το 0 για την προκαθορισμένη τιμή)
117
112
  default_sort_order: Προεπιλεγμένη ταξινόμηση προτάσεων
118
113
  default_sort_order_options:
119
114
  most_commented: Πιο σχολιασμένες
@@ -63,9 +63,7 @@ en:
63
63
  allowed_file_content_types: 'Invalid document type. Only files with the following extensions are allowed: %{types}'
64
64
  proposal:
65
65
  attributes:
66
- add_documents:
67
- needs_to_be_reattached: Needs to be reattached
68
- add_photos:
66
+ add_attachments:
69
67
  needs_to_be_reattached: Needs to be reattached
70
68
  body:
71
69
  cant_be_equal_to_template: cannot be equal to the template
@@ -177,7 +175,7 @@ en:
177
175
  collaborative_drafts_enabled: Collaborative drafts enabled
178
176
  collaborative_drafts_enabled_help: The Collaborative Drafts feature will be removed in Decidim v0.32. Organizations using it can switch to the new proposal co-authorship feature.
179
177
  comments_enabled: Comments enabled
180
- comments_max_length: Comments max length (Leave 0 for default value)
178
+ comments_max_length: Max characters per comment (Leave 0 for default value)
181
179
  default_sort_order: Default proposal sorting
182
180
  default_sort_order_help: Automatic means that if the votes are enabled, the proposals will be shown sorted by random, and if the votes are blocked, then they will be sorted by the most voted.
183
181
  default_sort_order_options:
@@ -766,6 +764,7 @@ en:
766
764
  errors:
767
765
  device_not_supported: Your device does not support location services. Please enter the address manually.
768
766
  no_device_location: Sorry, we could not detect your location. Please enter the address manually.
767
+ locating: Locating...
769
768
  use_my_location: Use my current location
770
769
  invite_coauthors:
771
770
  cancel:
@@ -63,10 +63,8 @@ es-MX:
63
63
  allowed_file_content_types: 'Tipo de documento no válido. Sólo se permiten archivos con las siguientes extensiones: %{types}'
64
64
  proposal:
65
65
  attributes:
66
- add_documents:
67
- needs_to_be_reattached: Es necesario volver a adjuntar el fichero
68
- add_photos:
69
- needs_to_be_reattached: Es necesario volver a adjuntar el fichero
66
+ add_attachments:
67
+ needs_to_be_reattached: Es necesario volver a adjuntar el archivo
70
68
  body:
71
69
  cant_be_equal_to_template: no puede ser igual a la plantilla
72
70
  identical: Y el título no puede ser idéntico
@@ -177,7 +175,7 @@ es-MX:
177
175
  collaborative_drafts_enabled: Habilitar borradores colaborativos
178
176
  collaborative_drafts_enabled_help: La función "Borradores colaborativos" se eliminará próximamente. Si la utilizas a partir de la versión 0.32 de Decidim, podrás utilizar la funcionalidad de coautoría de propuestas.
179
177
  comments_enabled: Comentarios habilitados
180
- comments_max_length: Longitud máxima de los comentarios (deja 0 si quieres mantener la configuración por defecto)
178
+ comments_max_length: Caracteres máximos por comentario (dejar 0 para el valor predeterminado)
181
179
  default_sort_order: Ordenación por defecto de propuestas
182
180
  default_sort_order_help: '''Automático'' significa que si los apoyos están habilitados, las propuestas se mostrarán en orden aleatorio, y si los apoyos están bloqueados, se ordenarán de más a menos apoyos.'
183
181
  default_sort_order_options:
@@ -766,6 +764,7 @@ es-MX:
766
764
  errors:
767
765
  device_not_supported: Su dispositivo no soporta servicios de ubicación. Por favor, introduzca la dirección postal completa manualmente (tipo de vía, nombre de la vía, número, código postal y ciudad).
768
766
  no_device_location: Lo sentimos, no hemos podido detectar tu ubicación. Por favor, introduce la dirección postal completa manualmente (tipo de vía, nombre de la vía, número, código postal y ciudad).
767
+ locating: Localizando...
769
768
  use_my_location: Usar mi ubicación actual
770
769
  invite_coauthors:
771
770
  cancel:
@@ -63,10 +63,8 @@ es-PY:
63
63
  allowed_file_content_types: 'Tipo de documento no válido. Sólo se permiten archivos con las siguientes extensiones: %{types}'
64
64
  proposal:
65
65
  attributes:
66
- add_documents:
67
- needs_to_be_reattached: Es necesario volver a adjuntar el fichero
68
- add_photos:
69
- needs_to_be_reattached: Es necesario volver a adjuntar el fichero
66
+ add_attachments:
67
+ needs_to_be_reattached: Es necesario volver a adjuntar el archivo
70
68
  body:
71
69
  cant_be_equal_to_template: no puede ser igual a la plantilla
72
70
  identical: Y el título no puede ser idéntico
@@ -177,7 +175,7 @@ es-PY:
177
175
  collaborative_drafts_enabled: Habilitar borradores colaborativos
178
176
  collaborative_drafts_enabled_help: La función "Borradores colaborativos" se eliminará próximamente. Si la utilizas a partir de la versión 0.32 de Decidim, podrás utilizar la funcionalidad de coautoría de propuestas.
179
177
  comments_enabled: Comentarios habilitados
180
- comments_max_length: Longitud máxima de los comentarios (deja 0 si quieres mantener la configuración por defecto)
178
+ comments_max_length: Caracteres máximos por comentario (dejar 0 para el valor predeterminado)
181
179
  default_sort_order: Ordenación por defecto de propuestas
182
180
  default_sort_order_help: '''Automático'' significa que si los apoyos están habilitados, las propuestas se mostrarán en orden aleatorio, y si los apoyos están bloqueados, se ordenarán de más a menos apoyos.'
183
181
  default_sort_order_options:
@@ -766,6 +764,7 @@ es-PY:
766
764
  errors:
767
765
  device_not_supported: Su dispositivo no soporta servicios de ubicación. Por favor, introduzca la dirección postal completa manualmente (tipo de vía, nombre de la vía, número, código postal y ciudad).
768
766
  no_device_location: Lo sentimos, no hemos podido detectar tu ubicación. Por favor, introduce la dirección postal completa manualmente (tipo de vía, nombre de la vía, número, código postal y ciudad).
767
+ locating: Localizando...
769
768
  use_my_location: Usar mi ubicación actual
770
769
  invite_coauthors:
771
770
  cancel:
@@ -63,10 +63,8 @@ es:
63
63
  allowed_file_content_types: 'Tipo de documento no válido. Sólo se permiten archivos con las siguientes extensiones: %{types}'
64
64
  proposal:
65
65
  attributes:
66
- add_documents:
67
- needs_to_be_reattached: Es necesario volver a adjuntar el fichero
68
- add_photos:
69
- needs_to_be_reattached: Es necesario volver a adjuntar el fichero
66
+ add_attachments:
67
+ needs_to_be_reattached: Es necesario volver a adjuntar el archivo
70
68
  body:
71
69
  cant_be_equal_to_template: no puede ser igual a la plantilla
72
70
  identical: Y el título no puede ser idéntico
@@ -177,7 +175,7 @@ es:
177
175
  collaborative_drafts_enabled: Borradores colaborativos habilitados
178
176
  collaborative_drafts_enabled_help: La función "Borradores colaborativos" se eliminará próximamente. Si la utilizas a partir de la versión 0.32 de Decidim, podrás utilizar la funcionalidad de coautoría de propuestas.
179
177
  comments_enabled: Comentarios habilitados
180
- comments_max_length: Longitud máxima de los comentarios (deja 0 si quieres mantener la configuración por defecto)
178
+ comments_max_length: Caracteres máximos por comentario (dejar 0 para el valor predeterminado)
181
179
  default_sort_order: Ordenación por defecto de propuestas
182
180
  default_sort_order_help: '''Automático'' significa que si los apoyos están habilitados, las propuestas se mostrarán en orden aleatorio, y si los apoyos están bloqueados, se ordenarán de más a menos apoyos.'
183
181
  default_sort_order_options:
@@ -766,6 +764,7 @@ es:
766
764
  errors:
767
765
  device_not_supported: Su dispositivo no soporta servicios de ubicación. Por favor, introduzca la dirección postal completa manualmente (tipo de vía, nombre de la vía, número, código postal y ciudad).
768
766
  no_device_location: Lo sentimos, no hemos podido detectar tu ubicación. Por favor, introduce la dirección postal completa manualmente (tipo de vía, nombre de la vía, número, código postal y ciudad).
767
+ locating: Localizando...
769
768
  use_my_location: Usar mi ubicación actual
770
769
  invite_coauthors:
771
770
  cancel: