decidim-debates 0.27.0 → 0.27.1

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: 84b50e31913ad16e18a636c9f77c94274d2d6f61dfc0486de30cb8edc13652e5
4
- data.tar.gz: c0c4c065fa2a0b3cd7bd68b36e774e219a110bf241d624a6e071a4a0fa933adf
3
+ metadata.gz: 8b56d7f3c0eb7ba98b47a38932af56f298da960efa3a850b98de30ca403063f2
4
+ data.tar.gz: acf9b5f6148a3f75446fec65303e7013344fc71c48de2457ea29a383a53d888f
5
5
  SHA512:
6
- metadata.gz: 8f064e5cbee2737d710b0896d7bd0165b5e9f62a05f1aa2e0ca6f992db2bc6e1b12a1b0d83d9dbfd46e07a427df206561e60a9a28e276cf16388ec62127e77cd
7
- data.tar.gz: e65c5c1ce75a176ab1cd077ff85c43ccfb9417d1224ee099169b81ad18490372bffe68685ae4de6c072e86a65fbc86eb26cb58f87ce85665bfb8fff3f80d598b
6
+ metadata.gz: de298a9b88b60d508099837a931bdfca7b01aa8c9159c5c7cb4cce1e565c8740de1be4aef8ee27daf36fe421c049ce14b1a9ff2ea9c55f8a8c2487ed7e0f73ab
7
+ data.tar.gz: e822149c931dac62a33adb8377a16cf81896a406318125e48f1580c6134d251ba27a86ca6670d7c0f1ba193a9ffacca5c82b1ee57c9b8071a586f1bef284fc87
@@ -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
 
@@ -11,6 +11,7 @@ ca:
11
11
  end_time: Data de finalització
12
12
  information_updates: Actualitzacions d'informació
13
13
  instructions: Instruccions per participar
14
+ scope_id: Àmbit
14
15
  start_time: Data d'inici
15
16
  title: Títol
16
17
  user_group_id: Crea un debat com
@@ -11,6 +11,7 @@ cs:
11
11
  end_time: Končí v
12
12
  information_updates: Aktualizace informací
13
13
  instructions: Pokyny k účasti
14
+ scope_id: Oblast působnosti
14
15
  start_time: Začíná v
15
16
  title: Titul
16
17
  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
@@ -11,6 +11,7 @@ es-MX:
11
11
  end_time: Fecha de fin
12
12
  information_updates: Actualizaciones de información
13
13
  instructions: Instrucciones para participar
14
+ scope_id: Ámbito
14
15
  start_time: Fecha de inicio
15
16
  title: Título
16
17
  user_group_id: Crear debate como
@@ -11,6 +11,7 @@ es-PY:
11
11
  end_time: Fecha de fin
12
12
  information_updates: Actualizaciones de información
13
13
  instructions: Instrucciones para participar
14
+ scope_id: Ámbito
14
15
  start_time: Fecha de inicio
15
16
  title: Título
16
17
  user_group_id: Crear debate como
@@ -11,6 +11,7 @@ es:
11
11
  end_time: Fecha de finalización
12
12
  information_updates: Actualizaciones de información
13
13
  instructions: Instrucciones para participar
14
+ scope_id: Ámbito
14
15
  start_time: Fecha de inicio
15
16
  title: Título
16
17
  user_group_id: Crea un debate como
@@ -11,6 +11,7 @@ fi-pl:
11
11
  end_time: Päättymisaika
12
12
  information_updates: Tietojen päivitykset
13
13
  instructions: Osallistumisohjeet
14
+ scope_id: Teema
14
15
  start_time: Alkamisaika
15
16
  title: Otsikko
16
17
  user_group_id: Luo keskustelu käyttäjänä
@@ -11,6 +11,7 @@ fi:
11
11
  end_time: Päättymisaika
12
12
  information_updates: Tietojen päivitykset
13
13
  instructions: Osallistumisohjeet
14
+ scope_id: Teema
14
15
  start_time: Alkamisaika
15
16
  title: Otsikko
16
17
  user_group_id: Luo keskustelu käyttäjänä
@@ -11,6 +11,7 @@ fr-CA:
11
11
  end_time: Prend fin à
12
12
  information_updates: Informations mises à jour
13
13
  instructions: Instructions pour participer
14
+ scope_id: Périmètre d'application
14
15
  start_time: Commence à
15
16
  title: Titre
16
17
  user_group_id: Créer un débat en tant que
@@ -11,6 +11,7 @@ fr:
11
11
  end_time: Prend fin à
12
12
  information_updates: Informations mises à jour
13
13
  instructions: Instructions pour participer
14
+ scope_id: Périmètre d'application
14
15
  start_time: Commence à
15
16
  title: Titre
16
17
  user_group_id: Créer un débat en tant que
@@ -0,0 +1 @@
1
+ gn:
@@ -11,6 +11,7 @@ ja:
11
11
  end_time: 終了時刻
12
12
  information_updates: 情報の更新
13
13
  instructions: 参加方法
14
+ scope_id: スコープ
14
15
  start_time: 開始
15
16
  title: タイトル
16
17
  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.27.0"
7
+ "0.27.1"
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.27.0
4
+ version: 0.27.1
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.27.0
22
+ version: 0.27.1
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.27.0
29
+ version: 0.27.1
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.27.0
36
+ version: 0.27.1
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.27.0
43
+ version: 0.27.1
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.27.0
50
+ version: 0.27.1
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.27.0
57
+ version: 0.27.1
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.27.0
64
+ version: 0.27.1
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.27.0
71
+ version: 0.27.1
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