decidim-debates 0.26.3 → 0.26.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe9a6d65c81fba0143560ae473f9138ed3d3cfd598683d90b7ed36e29025e83f
4
- data.tar.gz: 4e3140e1d93ee9a716e9b9d33645f15132f323f9010338030c8a130151104c4d
3
+ metadata.gz: b39f308f936b2245c903a844e8f1e2d6a6f5bfd92ec3b402bf0b2202d1c562de
4
+ data.tar.gz: 716023302bbd71ba8a23e037eeac6970fbea5aa40f99e5eb5a25fa75d73aba8a
5
5
  SHA512:
6
- metadata.gz: f42e434d14816fd977d131f047630d31b59769028f1f1b078ad34e95235814f4154e3f8b6a22b3b360e29698d283c90b088aa7ee6d8de63a2e38606a4c3dc5e8
7
- data.tar.gz: e1ce6977626872715895fb07fb9e32bcf5a10384d87e9ca8dd3326f6ed5a11ee8cd61ec4a9008d5182d428da58c0f03a310d4dde7bec89273566eabfa174745f
6
+ metadata.gz: 15ecaa1b25440d4a5546f1fcb67a4fc3fefa9532e90f6f9fdd3ef7c8d4241f6125ef54cd67ed01f27c3dfd941c1ca3f5f09aa12c2169f5a3aff451f499601537
7
+ data.tar.gz: 37167abbb0de6193e61021c1e3e06c0d9c41484b617e82012c559aeda930f459f596a0833e8b747b459c22c8ba366440327fc9c1cf45a12422cd8742a47f6385
@@ -32,7 +32,7 @@ module Decidim
32
32
  private
33
33
 
34
34
  def title
35
- presenter.title
35
+ presenter.title(html_escape: true)
36
36
  end
37
37
 
38
38
  def body
@@ -29,6 +29,7 @@ module Decidim
29
29
  validates :scope_id, scope_belongs_to_component: true, if: ->(form) { form.scope_id.present? }
30
30
 
31
31
  def map_model(model)
32
+ self.finite = model.start_time.present? && model.end_time.present?
32
33
  self.decidim_category_id = model.categorization.decidim_category_id if model.categorization
33
34
  presenter = DebatePresenter.new(model)
34
35
 
@@ -10,6 +10,7 @@ ca:
10
10
  end_time: Data de finalització
11
11
  information_updates: Actualitzacions d'informació
12
12
  instructions: Instruccions per participar
13
+ scope_id: Àmbit
13
14
  start_time: Data d'inici
14
15
  title: Títol
15
16
  user_group_id: Crea un debat com
@@ -10,6 +10,7 @@ cs:
10
10
  end_time: Končí v
11
11
  information_updates: Aktualizace informací
12
12
  instructions: Pokyny k účasti
13
+ scope_id: Oblast působnosti
13
14
  start_time: Začíná v
14
15
  title: Titul
15
16
  user_group_id: Vytvořte debatu jako
@@ -11,6 +11,7 @@ en:
11
11
  end_time: Ends at
12
12
  information_updates: Information updates
13
13
  instructions: Instructions to participate
14
+ scope_id: Scope
14
15
  start_time: Starts at
15
16
  title: Title
16
17
  user_group_id: Create debate as
@@ -10,6 +10,7 @@ es-MX:
10
10
  end_time: Fecha de fin
11
11
  information_updates: Actualizaciones de información
12
12
  instructions: Instrucciones para participar
13
+ scope_id: Ámbito
13
14
  start_time: Fecha de inicio
14
15
  title: Título
15
16
  user_group_id: Crear debate como
@@ -10,6 +10,7 @@ es-PY:
10
10
  end_time: Fecha de fin
11
11
  information_updates: Actualizaciones de información
12
12
  instructions: Instrucciones para participar
13
+ scope_id: Ámbito
13
14
  start_time: Fecha de inicio
14
15
  title: Título
15
16
  user_group_id: Crear debate como
@@ -10,6 +10,7 @@ es:
10
10
  end_time: Fecha de finalización
11
11
  information_updates: Actualizaciones de información
12
12
  instructions: Instrucciones para participar
13
+ scope_id: Ámbito
13
14
  start_time: Fecha de inicio
14
15
  title: Título
15
16
  user_group_id: Crea un debate como
@@ -10,6 +10,7 @@ fi-pl:
10
10
  end_time: Päättymisaika
11
11
  information_updates: Tietojen päivitykset
12
12
  instructions: Osallistumisohjeet
13
+ scope_id: Teema
13
14
  start_time: Alkamisaika
14
15
  title: Otsikko
15
16
  user_group_id: Luo keskustelu käyttäjänä
@@ -10,6 +10,7 @@ fr-CA:
10
10
  end_time: Prend fin à
11
11
  information_updates: Informations mises à jour
12
12
  instructions: Instructions pour participer
13
+ scope_id: Périmètre d'application
13
14
  start_time: Commence à
14
15
  title: Titre
15
16
  user_group_id: Créer un débat en tant que
@@ -10,6 +10,7 @@ fr:
10
10
  end_time: Prend fin à
11
11
  information_updates: Informations mises à jour
12
12
  instructions: Instructions pour participer
13
+ scope_id: Périmètre d'application
13
14
  start_time: Commence à
14
15
  title: Titre
15
16
  user_group_id: Créer un débat en tant que
@@ -0,0 +1 @@
1
+ gn:
@@ -10,6 +10,7 @@ ja:
10
10
  end_time: 終了時刻
11
11
  information_updates: 情報の更新
12
12
  instructions: 参加方法
13
+ scope_id: スコープ
13
14
  start_time: 開始
14
15
  title: タイトル
15
16
  user_group_id: ディベートを作成
@@ -0,0 +1 @@
1
+ lo:
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-debates version.
5
5
  module Debates
6
6
  def self.version
7
- "0.26.3"
7
+ "0.26.4"
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-debates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.3
4
+ version: 0.26.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2022-09-29 00:00:00.000000000 Z
14
+ date: 2022-11-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: decidim-comments
@@ -19,56 +19,56 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.26.3
22
+ version: 0.26.4
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.26.3
29
+ version: 0.26.4
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: decidim-core
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
34
  - - '='
35
35
  - !ruby/object:Gem::Version
36
- version: 0.26.3
36
+ version: 0.26.4
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - '='
42
42
  - !ruby/object:Gem::Version
43
- version: 0.26.3
43
+ version: 0.26.4
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: decidim-admin
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
48
  - - '='
49
49
  - !ruby/object:Gem::Version
50
- version: 0.26.3
50
+ version: 0.26.4
51
51
  type: :development
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - '='
56
56
  - !ruby/object:Gem::Version
57
- version: 0.26.3
57
+ version: 0.26.4
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: decidim-dev
60
60
  requirement: !ruby/object:Gem::Requirement
61
61
  requirements:
62
62
  - - '='
63
63
  - !ruby/object:Gem::Version
64
- version: 0.26.3
64
+ version: 0.26.4
65
65
  type: :development
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - '='
70
70
  - !ruby/object:Gem::Version
71
- version: 0.26.3
71
+ version: 0.26.4
72
72
  description: A debates component for decidim's participatory spaces.
73
73
  email:
74
74
  - josepjaume@gmail.com
@@ -187,6 +187,7 @@ files:
187
187
  - config/locales/fr.yml
188
188
  - config/locales/ga-IE.yml
189
189
  - config/locales/gl.yml
190
+ - config/locales/gn-PY.yml
190
191
  - config/locales/hr-HR.yml
191
192
  - config/locales/hr.yml
192
193
  - config/locales/hu.yml
@@ -199,6 +200,7 @@ files:
199
200
  - config/locales/ko.yml
200
201
  - config/locales/lb-LU.yml
201
202
  - config/locales/lb.yml
203
+ - config/locales/lo-LA.yml
202
204
  - config/locales/lt-LT.yml
203
205
  - config/locales/lt.yml
204
206
  - config/locales/lv.yml