decidim-accountability 0.27.5 → 0.27.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/accountability/highlighted_results_for_component/show.erb +1 -1
  3. data/app/events/decidim/accountability/base_result_event.rb +25 -0
  4. data/app/events/decidim/accountability/proposal_linked_event.rb +1 -18
  5. data/app/events/decidim/accountability/result_progress_updated_event.rb +2 -18
  6. data/app/views/decidim/accountability/results/_home_header.html.erb +1 -1
  7. data/app/views/decidim/accountability/results/_show_leaf.html.erb +1 -1
  8. data/app/views/decidim/accountability/results/_timeline.html.erb +1 -1
  9. data/app/views/decidim/participatory_spaces/_result.html.erb +2 -2
  10. data/config/locales/ar.yml +1 -1
  11. data/config/locales/bg.yml +61 -1
  12. data/config/locales/ca.yml +1 -1
  13. data/config/locales/da.yml +0 -1
  14. data/config/locales/de.yml +1 -1
  15. data/config/locales/es.yml +2 -2
  16. data/config/locales/he-IL.yml +219 -0
  17. data/config/locales/id-ID.yml +0 -1
  18. data/config/locales/it.yml +2 -0
  19. data/config/locales/ko.yml +173 -0
  20. data/config/locales/lb.yml +1 -1
  21. data/config/locales/lv.yml +0 -1
  22. data/config/locales/pt.yml +1 -0
  23. data/config/locales/ro-RO.yml +23 -21
  24. data/config/locales/ru.yml +0 -1
  25. data/config/locales/si-LK.yml +1 -0
  26. data/config/locales/sk.yml +0 -1
  27. data/config/locales/sr-CS.yml +0 -1
  28. data/config/locales/tr-TR.yml +13 -0
  29. data/config/locales/uk.yml +0 -1
  30. data/config/locales/zh-CN.yml +0 -1
  31. data/decidim-accountability.gemspec +38 -0
  32. data/lib/decidim/accountability/test/factories.rb +29 -17
  33. data/lib/decidim/accountability/version.rb +1 -1
  34. data/lib/decidim/api/result_type.rb +0 -1
  35. metadata +29 -27
  36. data/config/environment.rb +0 -3
@@ -4,13 +4,186 @@ ko:
4
4
  attributes:
5
5
  result:
6
6
  decidim_accountability_status_id: 상태
7
+ decidim_category_id: 분류
8
+ decidim_scope_id: 범위
9
+ description: 상세정보
10
+ end_date: 종료 날짜
11
+ progress: 진행 상황
12
+ project_ids: 포함된 프로젝트
13
+ proposals: 포함된 제안
14
+ start_date: 시작 날짜
15
+ title: 제목
16
+ updated_at: 수정일
17
+ status:
18
+ description: 상세정보
19
+ key: 키
20
+ name: 이름
21
+ progress: 진행 상황
22
+ timeline_entry:
23
+ description: 상세정보
24
+ entry_date: 날짜
25
+ title: 제목
26
+ models:
27
+ decidim/accountability/proposal_linked_event: 결과에 포함된 제안
28
+ decidim/accountability/result_progress_updated_event: 결과 진행이 업데이트되었습니다
29
+ activerecord:
30
+ models:
31
+ decidim/accountability/result:
32
+ other: 결과
7
33
  decidim:
8
34
  accountability:
9
35
  actions:
36
+ attachment_collections: 폴더
37
+ attachments: 첨부 파일
10
38
  confirm_destroy: 정말로 %{name} 를 삭제하시겠습니까?
39
+ destroy: 삭제
11
40
  edit: 편집
12
41
  preview: 미리보기
42
+ title: 작업
43
+ admin:
44
+ exports:
45
+ result_comments: 댓글
46
+ results: 결과
47
+ import_results:
48
+ new:
49
+ download_export: CSV 포맷으로 다운로드
50
+ import: 가져오기
51
+ models:
52
+ result:
53
+ name: 결과
54
+ status:
55
+ name: 상태
56
+ results:
57
+ edit:
58
+ title: 결과 수정
59
+ update: 결과 업데이트
60
+ index:
61
+ title: 결과
62
+ new:
63
+ create: 결과 생성
64
+ title: 새 결과
65
+ shared:
66
+ subnav:
67
+ statuses: 상태
68
+ statuses:
69
+ edit:
70
+ title: 상태 수정하기
71
+ update: 상태 업데이트
72
+ index:
73
+ title: 상태
74
+ new:
75
+ create: 상태 생성하기
76
+ title: 새 상태
77
+ admin_log:
78
+ result:
79
+ create: "%{user_name} 이(가) %{space_name} 에서 %{resource_name} 결과를 생성했습니다"
80
+ delete: "%{user_name} 이(가) %{space_name} 에서 %{resource_name} 결과를 삭제했습니다"
81
+ update: "%{user_name} 이(가) %{space_name} 에서 %{resource_name} 결과를 업데이트했습니다"
82
+ status:
83
+ create: "%{user_name} 이(가) %{resource_name} 상태를 생성했습니다"
84
+ delete: "%{user_name} 이(가) %{resource_name} 상태를 삭제했습니다"
85
+ update: "%{user_name} 이(가) %{resource_name} 상태를 업데이트했습니다"
86
+ content_blocks:
87
+ highlighted_results:
88
+ results: 결과
89
+ import_mailer:
90
+ import:
91
+ errors: 오류
92
+ row_number: 열
93
+ subject: 결과 가져오기 성공
94
+ success: 결과 가져오기 성공. 관리자 화면에서 결과를 볼 수 있습니다.
95
+ models:
96
+ result:
97
+ fields:
98
+ category: 분류
99
+ created_at: 생성됨
100
+ end_date: 종료 날짜
101
+ id: 아이디
102
+ progress: 진행 상황
103
+ scope: 범위
104
+ start_date: 시작 날짜
105
+ status: 상태
106
+ title: 제목
107
+ status:
108
+ fields:
109
+ description: 상세정보
110
+ key: 키
111
+ name: 이름
112
+ progress: 진행 상황
113
+ timeline_entry:
114
+ fields:
115
+ entry_date: 날짜
116
+ title: 제목
13
117
  results:
118
+ count:
119
+ results_count:
120
+ other: "%{count} 개의 결과"
121
+ filters:
122
+ all: 전체
123
+ home:
124
+ categories_label: 분류
125
+ subcategories_label: '하위 분류:'
126
+ search:
127
+ search: 작업 검색
14
128
  show:
15
129
  stats:
130
+ attendees: 참여자
131
+ back_to_resource: 결과로 돌아가기
132
+ comments: 댓글
133
+ contributions: 기여
134
+ last_edited_by: 최근 편집자
135
+ last_updated_at: 마지막 업데이트
136
+ meetings: 회의
16
137
  proposals: 제안
138
+ votes: 지원
139
+ admin:
140
+ filters:
141
+ results:
142
+ category_id_eq:
143
+ label: 분류
144
+ scope_id_eq:
145
+ label: 범위
146
+ status_id_eq:
147
+ label: 상태
148
+ components:
149
+ accountability:
150
+ actions:
151
+ comment: 댓글 달기
152
+ name: 책임
153
+ settings:
154
+ global:
155
+ categories_label: '"카테고리" 이름'
156
+ comments_enabled: 댓글 활성화됨
157
+ comments_max_length: 댓글 최대 길이(기본값은 0으로 남김)
158
+ display_progress_enabled: 진행사항 보기
159
+ heading_leaf_level_results: '"프로젝트" 이름'
160
+ heading_parent_level_results: '"결과" 이름'
161
+ intro: 소개
162
+ scope_id: 범위
163
+ scopes_enabled: 범위 활성화됨
164
+ subcategories_label: '"카테고리" 이름'
165
+ step:
166
+ comments_blocked: 댓글 차단됨
167
+ events:
168
+ accountability:
169
+ proposal_linked:
170
+ email_intro: '%{proposal_title} 제안이 결과에 포함되었습니다. 이 페이지에서 확인할 수 있습니다:'
171
+ email_outro: '%{proposal_title} 을(를) 팔로우하고 있으므로 이 알림을 받았습니다. 이전 링크를 클릭해 알림 수신을 중지할 수 있습니다.'
172
+ email_subject: '%{proposal_title} 업데이트'
173
+ notification_title: <a href="% {proposal_path}">% {proposal_title}/a> 제안이 <a href="% {resource_path}">% {resource_title}/a> 결과에 포함되었습니다.
174
+ result_progress_updated:
175
+ email_intro: '%{proposal_title} 제안을 포함하는 %{resource_title} 결과가 %{progress}% 완료되었습니다. 이 페이지에서 확인할 수 있습니다:'
176
+ email_outro: '%{proposal_title} 을(를) 팔로우중이어서 이 알림을 받게되었고, %{resource_title} 에 이 의도가 포함되어 있습니다. 이전 링크를 팔로우해서 알림을 받지 않으실 수 있습니다.'
177
+ email_subject: '%{resource_title} 과정에 업데이트 발생'
178
+ notification_title: 제안 <a href="% {resource_path}">% {resource_path}">% {proposal_title}/a>를 포함하는 <a href="% {resource_title}/a> 결과는 이제 %{progress}% 완료되었습니다.
179
+ metrics:
180
+ results:
181
+ object: 결과
182
+ title: 결과
183
+ resource_links:
184
+ included_projects:
185
+ result_project: 본 결과에 포함된 프로젝트
186
+ included_proposals:
187
+ result_proposal: 본 결과에 포함된 제안
188
+ statistics:
189
+ results_count: 결과
@@ -182,7 +182,7 @@ lb:
182
182
  stats:
183
183
  attendees: Teilnehmer
184
184
  back_to_resource: Gehe zurück zum Ergebnis
185
- comments: Bemerkungen
185
+ comments: Kommentarer
186
186
  contributions: Beiträge
187
187
  last_edited_by: Zuletzt bearbeitet von
188
188
  last_updated_at: Zuletzt aktualisiert am
@@ -165,7 +165,6 @@ lv:
165
165
  stats:
166
166
  attendees: Apmeklētāji
167
167
  back_to_resource: Atgriezties pie rezultātiem
168
- comments: Komentāri
169
168
  contributions: Papildinājumi
170
169
  last_edited_by: Pēdējo reizi labojis
171
170
  last_updated_at: Pēdējo reizi atjaunināts plkst.
@@ -22,6 +22,7 @@ pt:
22
22
  timeline_entry:
23
23
  description: Descrição
24
24
  entry_date: Data
25
+ title: Título
25
26
  models:
26
27
  decidim/accountability/proposal_linked_event: Proposta incluída em um resultado
27
28
  decidim/accountability/result_progress_updated_event: Progresso do resultado atualizado
@@ -25,7 +25,7 @@ ro:
25
25
  title: Titlu
26
26
  models:
27
27
  decidim/accountability/proposal_linked_event: Propunere inclusă în rezultat
28
- decidim/accountability/result_progress_updated_event: Progresul rezultatului actualizat
28
+ decidim/accountability/result_progress_updated_event: Progresul rezultatului a fost actualizat
29
29
  activerecord:
30
30
  models:
31
31
  decidim/accountability/result:
@@ -39,7 +39,7 @@ ro:
39
39
  attachments: Atașamente
40
40
  confirm_destroy: Sunteți sigur că doriți să ștergeți %{name}?
41
41
  destroy: Ștergere
42
- edit: Editare
42
+ edit: Actualizare
43
43
  import_csv: Importă CSV
44
44
  new: '%{name} nou'
45
45
  preview: Previzualizare
@@ -51,8 +51,8 @@ ro:
51
51
  results: Rezultate
52
52
  import_results:
53
53
  new:
54
- download_export: Descarcați Export cu format CSV
55
- import: Importă
54
+ download_export: Descărcați Exportul în format CSV
55
+ import: Importați
56
56
  title: Importați rezultate de la CSV
57
57
  imports:
58
58
  create:
@@ -61,7 +61,7 @@ ro:
61
61
  result:
62
62
  name: Rezultat
63
63
  status:
64
- name: Stadiu
64
+ name: Stare
65
65
  timeline_entry:
66
66
  name: Intrare cronologie
67
67
  results:
@@ -71,19 +71,19 @@ ro:
71
71
  destroy:
72
72
  success: Rezultatul a fost șters
73
73
  edit:
74
- title: Editare rezultat
74
+ title: Actualizare rezultat
75
75
  update: Actualizare rezultat
76
76
  index:
77
77
  title: Rezultate
78
78
  new:
79
- create: Creează rezultat
79
+ create: Creați un rezultat nou
80
80
  title: Rezultat nou
81
81
  update:
82
82
  invalid: A apărut o eroare la actualizarea acestui rezultat
83
83
  success: Rezultatul a fost actualizat
84
84
  shared:
85
85
  subnav:
86
- statuses: Stadii
86
+ statuses: Stări
87
87
  statuses:
88
88
  create:
89
89
  invalid: A apărut o eroare la crearea acestui stadiu
@@ -91,13 +91,13 @@ ro:
91
91
  destroy:
92
92
  success: Stadiu şters cu succes
93
93
  edit:
94
- title: Editare stadiu
95
- update: Actualizare stadiu
94
+ title: Actualizare stare
95
+ update: Actualizare stare
96
96
  index:
97
- title: Stadii
97
+ title: Stări
98
98
  new:
99
- create: Creează stadiu
100
- title: Stadiu nou
99
+ create: Creează stare
100
+ title: Stare nouă
101
101
  update:
102
102
  invalid: A apărut o eroare la crearea acestui stadiu
103
103
  success: Stadiu actualizat cu succes
@@ -108,22 +108,24 @@ ro:
108
108
  destroy:
109
109
  success: Intrare ștearsă cu succes
110
110
  edit:
111
- title: Editare înregistrare
112
- update: Actualizare înregistrare
111
+ title: Editați înregistrarea
112
+ update: Actualizați înregistrarea
113
113
  index:
114
114
  title: Înregistrări în calendarul proiectului
115
115
  new:
116
- create: Creează înregistrare
116
+ create: Creați înregistrare
117
117
  title: Înregistrare nouă
118
118
  update:
119
119
  invalid: A apărut o eroare la actualizarea acestei înregistrări
120
120
  success: Înregistrare actualizată cu succes
121
121
  admin_log:
122
122
  result:
123
- create: "%{user_name} a creat %{resource_name} în %{space_name}"
124
- delete: "%{user_name} a șters %{resource_name} în %{space_name}"
125
- update: "%{user_name} a actualizat %{resource_name} în %{space_name}"
123
+ create: "%{user_name} a creat rezultatul %{resource_name} în %{space_name}"
124
+ delete: "%{user_name} a șters rezultatul %{resource_name} din %{space_name}"
125
+ update: "%{user_name} a actualizat rezultatul %{resource_name} din %{space_name}"
126
126
  status:
127
+ create: "%{user_name} a creat starea resursei %{resource_name}"
128
+ delete: "%{user_name} a șters starea resursei %{resource_name}"
127
129
  update: "%{user_name} a actualizat starea %{resource_name}"
128
130
  timeline_entry:
129
131
  create: "%{user_name} a creat intrarea de cronologie pentru %{resource_name}"
@@ -156,7 +158,7 @@ ro:
156
158
  progress: Progres
157
159
  scope: Domeniu de interes
158
160
  start_date: Dată de începere
159
- status: Stadiu
161
+ status: Stare
160
162
  title: Titlu
161
163
  status:
162
164
  fields:
@@ -195,7 +197,7 @@ ro:
195
197
  back_to_resource: Înapoi la rezultat
196
198
  comments: Comentarii
197
199
  contributions: Contribuții
198
- last_edited_by: Ultima editare de
200
+ last_edited_by: Ultima actualizare realizată de
199
201
  last_updated_at: Ultima actualizare la
200
202
  meetings: Întâlniri
201
203
  proposals: Propuneri
@@ -156,7 +156,6 @@ ru:
156
156
  stats:
157
157
  attendees: Участники
158
158
  back_to_resource: Вернуться к итогу
159
- comments: Комментарии
160
159
  contributions: Внесенные предложения
161
160
  last_edited_by: Последний раз редактировалось
162
161
  last_updated_at: Последнее обновление
@@ -61,4 +61,5 @@ si:
61
61
  results:
62
62
  show:
63
63
  stats:
64
+ comments: අදහස්
64
65
  meetings: රැස්වීම්
@@ -178,7 +178,6 @@ sk:
178
178
  stats:
179
179
  attendees: Účastníci
180
180
  back_to_resource: Naspať na výsledky
181
- comments: Komentáre
182
181
  contributions: Príspevky
183
182
  last_edited_by: Naposledy editoval
184
183
  last_updated_at: Naposledy aktualizované
@@ -154,7 +154,6 @@ sr:
154
154
  stats:
155
155
  attendees: Učesnici
156
156
  back_to_resource: Vrati se na rezultat
157
- comments: Komentari
158
157
  contributions: Doprinosi
159
158
  last_edited_by: Poslednji put izmenjeno od strane
160
159
  last_updated_at: Poslеdnji put ažurirano
@@ -143,6 +143,14 @@ tr:
143
143
  create: "%{user_name} sonuç yaratmıştır %{resource_name} içinde %{space_name}"
144
144
  delete: "%{user_name} %{resource_name} sonuçtan %{space_name}sildi"
145
145
  update: "%{user_name} güncellenen sonuç %{resource_name} in %{space_name}"
146
+ status:
147
+ create: "48 / 5.000\nÇeviri sonuçları\nÇeviri sonucu\n%{user_name}, %{resource_name} kaydını oluşturdu"
148
+ delete: "%{user_name}, %{resource_name} kaydını sildi"
149
+ update: "%{user_name}, %{resource_name} kaydını Güncelledi"
150
+ timeline_entry:
151
+ create: "%{user_name}, %{resource_name} zaman çizelgesi girişini oluşturdu"
152
+ delete: "%{user_name}, %{resource_name} zaman çizelgesi girişini sildi"
153
+ update: "%{user_name}, %{resource_name} zaman çizelgesi girişini güncelledi"
146
154
  value_types:
147
155
  parent_presenter:
148
156
  not_found: 'Üst veritabanında bulunamadı (ID: %{id})'
@@ -181,6 +189,7 @@ tr:
181
189
  timeline_entry:
182
190
  fields:
183
191
  entry_date: tarih
192
+ title: Başlık
184
193
  result_m:
185
194
  executed: Yürütüldü
186
195
  view: Görünüm
@@ -225,6 +234,8 @@ tr:
225
234
  label: Durum
226
235
  components:
227
236
  accountability:
237
+ actions:
238
+ comment: Yorum
228
239
  name: Sorumluluk
229
240
  settings:
230
241
  global:
@@ -265,3 +276,5 @@ tr:
265
276
  result_project: Bu sonuca dahil edilen projeler
266
277
  included_proposals:
267
278
  result_proposal: Bu sonuca dahil teklifler
279
+ statistics:
280
+ results_count: Sonuçlar
@@ -153,7 +153,6 @@ uk:
153
153
  stats:
154
154
  attendees: Учасники
155
155
  back_to_resource: Повернутися до підсумків
156
- comments: Коментарів
157
156
  contributions: Внесені пропозиції
158
157
  last_edited_by: Останній раз редагувалося
159
158
  last_updated_at: Останній раз оновлювалося
@@ -165,7 +165,6 @@ zh-CN:
165
165
  stats:
166
166
  attendees: 参与者
167
167
  back_to_resource: 返回结果
168
- comments: 评论
169
168
  contributions: 二. 捐款
170
169
  last_edited_by: 最后编辑者
171
170
  last_updated_at: 最后更新于
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ $LOAD_PATH.push File.expand_path("lib", __dir__)
4
+
5
+ # Maintain your gem's version:
6
+ require "decidim/accountability/version"
7
+
8
+ # Describe your gem and declare its dependencies:
9
+ Gem::Specification.new do |s|
10
+ s.version = Decidim::Accountability.version
11
+ s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva"]
12
+ s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com"]
13
+ s.license = "AGPL-3.0"
14
+ s.homepage = "https://github.com/decidim/decidim"
15
+ s.required_ruby_version = "~> 3.0.0"
16
+
17
+ s.name = "decidim-accountability"
18
+ s.summary = "Decidim accountability module"
19
+ s.description = "An accountability component for decidim's participatory spaces."
20
+
21
+ s.files = Dir.chdir(__dir__) do
22
+ `git ls-files -z`.split("\x0").select do |f|
23
+ (File.expand_path(f) == __FILE__) ||
24
+ f.start_with?(*%w(app/ config/ db/ lib/ Rakefile README.md))
25
+ end
26
+ end
27
+
28
+ s.add_dependency "decidim-comments", Decidim::Accountability.version
29
+ s.add_dependency "decidim-core", Decidim::Accountability.version
30
+
31
+ s.add_development_dependency "decidim-admin", Decidim::Accountability.version
32
+ s.add_development_dependency "decidim-assemblies", Decidim::Accountability.version
33
+ s.add_development_dependency "decidim-comments", Decidim::Accountability.version
34
+ s.add_development_dependency "decidim-dev", Decidim::Accountability.version
35
+ s.add_development_dependency "decidim-meetings", Decidim::Accountability.version
36
+ s.add_development_dependency "decidim-participatory_processes", Decidim::Accountability.version
37
+ s.add_development_dependency "decidim-proposals", Decidim::Accountability.version
38
+ end
@@ -8,16 +8,19 @@ require "decidim/participatory_processes/test/factories"
8
8
 
9
9
  FactoryBot.define do
10
10
  factory :accountability_component, parent: :component do
11
- name { Decidim::Components::Namer.new(participatory_space.organization.available_locales, :accountability).i18n_name }
11
+ transient do
12
+ skip_injection { false }
13
+ end
14
+ name { generate_component_name(participatory_space.organization.available_locales, :accountability, skip_injection: skip_injection) }
12
15
  manifest_name { :accountability }
13
- participatory_space { create(:participatory_process, :with_steps, organization: organization) }
16
+ participatory_space { create(:participatory_process, :with_steps, organization: organization, skip_injection: skip_injection) }
14
17
  settings do
15
18
  {
16
- intro: Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_title },
17
- categories_label: Decidim::Faker::Localized.word,
18
- subcategories_label: Decidim::Faker::Localized.word,
19
- heading_parent_level_results: Decidim::Faker::Localized.word,
20
- heading_leaf_level_results: Decidim::Faker::Localized.word,
19
+ intro: generate_localized_description(:accountability_component_intro, skip_injection: skip_injection),
20
+ categories_label: generate_localized_word(:accountability_component_categories_label, skip_injection: skip_injection),
21
+ subcategories_label: generate_localized_word(:accountability_component_subcategories_label, skip_injection: skip_injection),
22
+ heading_parent_level_results: generate_localized_word(:accountability_component_heading_parent_level_results, skip_injection: skip_injection),
23
+ heading_leaf_level_results: generate_localized_word(:accountability_component_heading_leaf_level_results, skip_injection: skip_injection),
21
24
  scopes_enabled: true,
22
25
  scope_id: participatory_space.scope&.id
23
26
  }
@@ -25,27 +28,36 @@ FactoryBot.define do
25
28
  end
26
29
 
27
30
  factory :status, class: "Decidim::Accountability::Status" do
28
- component { create(:accountability_component) }
31
+ transient do
32
+ skip_injection { false }
33
+ end
34
+ component { create(:accountability_component, skip_injection: skip_injection) }
29
35
  sequence(:key) { |n| "status_#{n}" }
30
- name { Decidim::Faker::Localized.word }
31
- description { generate_localized_title }
36
+ name { generate_localized_word(:status_name, skip_injection: skip_injection) }
37
+ description { generate_localized_word(:status_description, skip_injection: skip_injection) }
32
38
  progress { rand(1..100) }
33
39
  end
34
40
 
35
41
  factory :result, class: "Decidim::Accountability::Result" do
36
- component { create(:accountability_component) }
37
- title { generate_localized_title }
38
- description { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_title } }
42
+ transient do
43
+ skip_injection { false }
44
+ end
45
+ component { create(:accountability_component, skip_injection: skip_injection) }
46
+ title { generate_localized_title(:result_title, skip_injection: skip_injection) }
47
+ description { generate_localized_description(:result_description, skip_injection: skip_injection) }
39
48
  start_date { "12/7/2017" }
40
49
  end_date { "30/9/2017" }
41
- status { create :status, component: component }
50
+ status { create :status, component: component, skip_injection: skip_injection }
42
51
  progress { rand(1..100) }
43
52
  end
44
53
 
45
54
  factory :timeline_entry, class: "Decidim::Accountability::TimelineEntry" do
46
- result { create(:result) }
55
+ transient do
56
+ skip_injection { false }
57
+ end
58
+ result { create(:result, skip_injection: skip_injection) }
47
59
  entry_date { "12/7/2017" }
48
- title { generate_localized_title }
49
- description { generate_localized_title }
60
+ title { generate_localized_title(:timeline_entry_title, skip_injection: skip_injection) }
61
+ description { generate_localized_title(:timeline_entry_description, skip_injection: skip_injection) }
50
62
  end
51
63
  end
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds decidim-accountability version.
5
5
  module Accountability
6
6
  def self.version
7
- "0.27.5"
7
+ "0.27.6"
8
8
  end
9
9
  end
10
10
  end
@@ -3,7 +3,6 @@
3
3
  module Decidim
4
4
  module Accountability
5
5
  class ResultType < Decidim::Api::Types::BaseObject
6
- implements Decidim::Core::ComponentInterface
7
6
  implements Decidim::Core::CategorizableInterface
8
7
  implements Decidim::Comments::CommentableInterface
9
8
  implements Decidim::Core::ScopableInterface