decidim-proposals 0.5.1 → 0.6.0

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
  SHA1:
3
- metadata.gz: 9df80d4c69d5b3ec8115efc229349fb8cd77f13d
4
- data.tar.gz: 136f30ac0eadafe019cce1e931b3b8a18177a50f
3
+ metadata.gz: b12997b073df30a39c65fe324ea4d554fc0ccd71
4
+ data.tar.gz: 41233b11794f168609b5238fabbd8a3604bca5b1
5
5
  SHA512:
6
- metadata.gz: 1cfd7137a4c2ac6143c1f4217e957f1dce1539ec1c84686d5ea358679256ec0abf5870e3ba22a0b4fc31d6810f50c5102512107bf153917f9e90628f23c80a5e
7
- data.tar.gz: d9c88ecda799aeed43f424dc9e01cd2645ad3acb52ae4c0e2e4980b91e50ee2432e46c4569c034124d9b968232f791131a8e558317a7059600b8c3d7a73c56d7
6
+ metadata.gz: 9dea5f65ad1f25577cd76e131deb0b117b1653ec52d2dcbd1b9b6bca7d13306080f12c7c12e94687f1168905a2e3a4692dae09882f338b209c9f49791212096c
7
+ data.tar.gz: 92d42424a3058fd4abfbbd68e70e3c77309573583da53ce3789348b7ddf088053594eb0ae7878d8e4629b689092d0f79976c431a643e60506468ee111b080ae2
@@ -1 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 35"><path d="M17.5 35A17.5 17.5 0 1 1 35 17.5 17.52 17.52 0 0 1 17.5 35zm0-33.06A15.56 15.56 0 1 0 33.06 17.5 15.57 15.57 0 0 0 17.5 1.94zm9.5 13.7H8a1 1 0 0 1 0-1.94h19a1 1 0 0 1 0 1.94zm0 3.68H8a1 1 0 0 1 0-1.94h19a1 1 0 0 1 0 1.94zM22.26 23H8a1 1 0 0 1 0-1.94h14.26a1 1 0 0 1 0 1.94z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 35">
2
+ <path d="M17.5 35A17.5 17.5 0 1 1 35 17.5 17.52 17.52 0 0 1 17.5 35zm0-33.06A15.56 15.56 0 1 0 33.06 17.5 15.57 15.57 0 0 0 17.5 1.94zm9.5 13.7H8a1 1 0 0 1 0-1.94h19a1 1 0 0 1 0 1.94zm0 3.68H8a1 1 0 0 1 0-1.94h19a1 1 0 0 1 0 1.94zM22.26 23H8a1 1 0 0 1 0-1.94h14.26a1 1 0 0 1 0 1.94z"/>
3
+ </svg>
@@ -34,7 +34,7 @@ module Decidim
34
34
  end
35
35
 
36
36
  def process_scope
37
- current_feature.participatory_process.scope
37
+ current_feature.participatory_space.scope
38
38
  end
39
39
 
40
40
  alias feature current_feature
@@ -38,7 +38,7 @@ module Decidim
38
38
  end
39
39
 
40
40
  def process_scope
41
- current_feature.participatory_process.scope
41
+ current_feature.participatory_space.scope
42
42
  end
43
43
 
44
44
  alias feature current_feature
@@ -10,7 +10,7 @@ module Decidim
10
10
  super
11
11
 
12
12
  can [:manage, :unreport, :hide], Proposal do |proposal|
13
- can_manage_process?(proposal.feature.participatory_process)
13
+ can_manage_process?(proposal.feature.participatory_space)
14
14
  end
15
15
 
16
16
  cannot :create, Proposal unless can_create_proposal?
@@ -34,7 +34,7 @@ module Decidim
34
34
  def can_create_proposal?
35
35
  current_settings.try(:creation_enabled?) &&
36
36
  feature_settings.try(:official_proposals_enabled) &&
37
- can_manage_process?(current_feature.try(:participatory_process))
37
+ can_manage_process?(current_feature.try(:participatory_space))
38
38
  end
39
39
 
40
40
  def can_update_proposal?
@@ -10,7 +10,7 @@ module Decidim
10
10
  super
11
11
 
12
12
  can [:unreport, :hide], Proposal do |proposal|
13
- can_manage_process?(proposal.feature.participatory_process)
13
+ can_manage_process?(proposal.feature.participatory_space)
14
14
  end
15
15
  end
16
16
  end
@@ -12,6 +12,7 @@ module Decidim
12
12
  include Decidim::HasCategory
13
13
  include Decidim::Reportable
14
14
  include Decidim::HasAttachments
15
+ include Decidim::Followable
15
16
  include Decidim::Comments::Commentable
16
17
 
17
18
  feature_manifest_name "proposals"
@@ -84,7 +85,7 @@ module Decidim
84
85
 
85
86
  # Public: Overrides the `accepts_new_comments?` Commentable concern method.
86
87
  def accepts_new_comments?
87
- commentable? && !feature.active_step_settings.comments_blocked
88
+ commentable? && !feature.current_settings.comments_blocked
88
89
  end
89
90
 
90
91
  # Public: Overrides the `comments_have_alignment?` Commentable concern method.
@@ -97,6 +98,12 @@ module Decidim
97
98
  true
98
99
  end
99
100
 
101
+ # Public: Override Commentable concern method `users_to_notify_on_comment_created`
102
+ def users_to_notify_on_comment_created
103
+ return (followers | feature.participatory_space.admins).uniq if official?
104
+ followers
105
+ end
106
+
100
107
  # Public: Overrides the `reported_content_url` Reportable concern method.
101
108
  def reported_content_url
102
109
  ResourceLocatorPresenter.new(self).url
@@ -106,20 +113,6 @@ module Decidim
106
113
  def official?
107
114
  author.nil?
108
115
  end
109
-
110
- # Public: Overrides the `notifiable?` Notifiable concern method.
111
- # When a proposal is commented the proposal's author is notified if it is not the same
112
- # who has commented the proposal and if the proposal's author has comment notifications enabled.
113
- def notifiable?(context)
114
- return true if official?
115
- context[:author] != author && author.comments_notifications?
116
- end
117
-
118
- # Public: Overrides the `users_to_notify` Notifiable concern method.
119
- def users_to_notify
120
- return Decidim::Admin::ProcessAdmins.for(feature.participatory_process) if official?
121
- [author]
122
- end
123
116
  end
124
117
  end
125
118
  end
@@ -24,9 +24,9 @@
24
24
  </div>
25
25
  <% end %>
26
26
 
27
- <% if current_participatory_process.has_subscopes? %>
27
+ <% if current_participatory_space.has_subscopes? %>
28
28
  <div class="row column">
29
- <%= form.scopes_select :scope_id, prompt: I18n.t("decidim.scopes.global"), remote_path: decidim.scopes_search_path(root: current_participatory_process.scope) %>
29
+ <%= form.scopes_select :scope_id, prompt: I18n.t("decidim.scopes.global"), remote_path: decidim.scopes_search_path(root: current_participatory_space.scope) %>
30
30
  </div>
31
31
  <% end %>
32
32
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  <div class="button--title">
7
7
 
8
- <% if feature_settings.official_proposals_enabled %>
8
+ <% if can? :create, Decidim::Proposals::Proposal %>
9
9
  <%= link_to t("actions.new", scope: "decidim.proposals", name: t("models.proposal.name", scope: "decidim.proposals.admin")), new_proposal_path, class: 'button tiny button--simple' if can? :manage, current_feature %>
10
10
  <% end %>
11
11
 
@@ -19,9 +19,10 @@
19
19
  <table class="table-list">
20
20
  <thead>
21
21
  <tr>
22
+ <th><%= t("models.proposal.fields.id", scope: "decidim.proposals") %></th>
22
23
  <th><%= t("models.proposal.fields.title", scope: "decidim.proposals") %></th>
23
24
  <th><%= t("models.proposal.fields.category", scope: "decidim.proposals") %></th>
24
- <% if scopes_enabled?(current_participatory_process) %>
25
+ <% if scopes_enabled?(current_participatory_space) %>
25
26
  <th><%= t("models.proposal.fields.scope", scope: "decidim.proposals") %></th>
26
27
  <% end %>
27
28
  <th><%= t("models.proposal.fields.state", scope: "decidim.proposals") %></th>
@@ -31,6 +32,9 @@
31
32
  <tbody>
32
33
  <% proposals.each do |proposal| %>
33
34
  <tr data-id="<%= proposal.id %>">
35
+ <td>
36
+ <%= proposal.id %><br />
37
+ </td>
34
38
  <td>
35
39
  <%= proposal.title %><br />
36
40
  </td>
@@ -39,7 +43,7 @@
39
43
  <%= translated_attribute proposal.category.name %>
40
44
  <% end %>
41
45
  </td>
42
- <% if scopes_enabled?(current_participatory_process) %>
46
+ <% if scopes_enabled?(current_participatory_space) %>
43
47
  <td>
44
48
  <% if proposal.scope %>
45
49
  <%= translated_attribute proposal.scope.name %>
@@ -28,8 +28,8 @@
28
28
  <%= form.collection_check_boxes :activity, [["voted", t('.voted')]], :first, :last, legend_title: t('.activity') %>
29
29
  <% end %>
30
30
 
31
- <% if current_participatory_process.has_subscopes? %>
32
- <%= form.scopes_select :scope_id, legend_title: t(".scopes"), label: false, prompt: t('.scope_prompt'), remote_path: decidim.scopes_search_path(root: current_participatory_process.scope, include_root: true), multiple: true %>
31
+ <% if current_participatory_space.has_subscopes? %>
32
+ <%= form.scopes_select :scope_id, legend_title: t(".scopes"), label: false, prompt: t('.scope_prompt'), remote_path: decidim.scopes_search_path(root: current_participatory_space.scope, include_root: true), multiple: true %>
33
33
  <% end %>
34
34
 
35
35
  <% if current_feature.categories.any? %>
@@ -38,9 +38,9 @@
38
38
  </div>
39
39
  <% end %>
40
40
 
41
- <% if current_participatory_process.has_subscopes? %>
41
+ <% if current_participatory_space.has_subscopes? %>
42
42
  <div class="field">
43
- <%= form.scopes_select :scope_id, prompt: I18n.t("decidim.scopes.global"), remote_path: decidim.scopes_search_path(root: current_participatory_process.scope) %>
43
+ <%= form.scopes_select :scope_id, prompt: I18n.t("decidim.scopes.global"), remote_path: decidim.scopes_search_path(root: current_participatory_space.scope) %>
44
44
  </div>
45
45
  <% end %>
46
46
 
@@ -18,11 +18,12 @@
18
18
  </div>
19
19
  <div class="row">
20
20
  <div class="columns section view-side mediumlarge-4 mediumlarge-push-8 large-3 large-push-9">
21
- <% if current_settings.votes_enabled? %>
21
+ <% if current_settings.votes_enabled? || current_user %>
22
22
  <div class="card extra">
23
23
  <div class="card__content">
24
24
  <%= render partial: "votes_count", locals: { proposal: @proposal, from_proposals_list: false } %>
25
25
  <%= render partial: "vote_button", locals: { proposal: @proposal, from_proposals_list: false } %>
26
+ <%= render partial: "decidim/shared/follow_button", locals: { followable: @proposal } %>
26
27
  </div>
27
28
  </div>
28
29
  <% end %>
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ca:
2
3
  activemodel:
3
4
  attributes:
@@ -18,12 +19,16 @@ ca:
18
19
  name: Propostes
19
20
  settings:
20
21
  global:
22
+ announcement: Avís
23
+ attachments_allowed: Permetre arxius adjunts
21
24
  comments_enabled: Comentaris habilitats
22
25
  geocoding_enabled: Geocodificació habilitada
26
+ new_proposal_help_text: Text d'ajuda al crear una nova proposta
23
27
  official_proposals_enabled: Propostes oficials habilitades
24
28
  proposal_answering_enabled: Resposta oficial a propostes activades
25
29
  vote_limit: Límit de vot
26
30
  step:
31
+ announcement: Avís
27
32
  comments_blocked: Comentaris bloquejats
28
33
  creation_enabled: Habilitar de creació de propostes
29
34
  proposal_answering_enabled: Resposta oficial a propostes activades
@@ -59,6 +64,7 @@ ca:
59
64
  invalid: Hi ha hagut un problema en crear aquesta proposta
60
65
  success: Proposta creada correctament
61
66
  form:
67
+ attachment_legend: "(Opcional) Afegiu un fitxer adjunt"
62
68
  select_a_category: Selecciona una categoria
63
69
  index:
64
70
  title: Propostes
@@ -77,6 +83,7 @@ ca:
77
83
  proposal:
78
84
  fields:
79
85
  category: Categoria
86
+ id: ID
80
87
  official_proposal: Proposta oficial
81
88
  scope: Àmbit
82
89
  state: Estat
@@ -122,6 +129,7 @@ ca:
122
129
  one: <span class="card--list__data__number">1</span>suport
123
130
  other: <span class="card--list__data__number">%{count}</span>suports
124
131
  new:
132
+ attachment_legend: "(Opcional) Afegiu un fitxer adjunt"
125
133
  back: Enrere
126
134
  select_a_category: Si us plau, seleccioni una categoria
127
135
  send: Enviar
@@ -156,5 +164,3 @@ ca:
156
164
  included_proposals:
157
165
  proposal_projects: 'Proposta formulada en aquests projectes:'
158
166
  proposal_results: 'La proposta apareix en aquests resultats:'
159
- proposals_from_meeting:
160
- proposal_meetings: Trobades relacionades
@@ -34,8 +34,7 @@ en:
34
34
  proposal_answering_enabled: Proposal answering enabled
35
35
  votes_blocked: Votes blocked
36
36
  votes_enabled: Votes enabled
37
- votes_hidden: Votes hidden (if votes are enabled, checking this will hide
38
- the number of votes)
37
+ votes_hidden: Votes hidden (if votes are enabled, checking this will hide the number of votes)
39
38
  proposals:
40
39
  actions:
41
40
  answer: Answer
@@ -84,6 +83,7 @@ en:
84
83
  proposal:
85
84
  fields:
86
85
  category: Category
86
+ id: ID
87
87
  official_proposal: Official proposal
88
88
  scope: Scope
89
89
  state: State
@@ -156,8 +156,7 @@ en:
156
156
  other: VOTES
157
157
  votes_limit:
158
158
  vote_limit:
159
- description: Instead of voting as many proposals as you want you can only
160
- vote up to %{limit} proposals.
159
+ description: Instead of voting as many proposals as you want you can only vote up to %{limit} proposals.
161
160
  left: Remaining
162
161
  title: You have %{limit} votes to distribute
163
162
  votes: Votes
@@ -165,5 +164,3 @@ en:
165
164
  included_proposals:
166
165
  proposal_projects: 'Proposal appearing in these projects:'
167
166
  proposal_results: 'Proposal appearing in these results:'
168
- proposals_from_meeting:
169
- proposal_meetings: Related meetings
@@ -1,3 +1,4 @@
1
+ ---
1
2
  es:
2
3
  activemodel:
3
4
  attributes:
@@ -18,12 +19,16 @@ es:
18
19
  name: Propuestas
19
20
  settings:
20
21
  global:
22
+ announcement: Aviso
23
+ attachments_allowed: Permitir archivos adjuntos
21
24
  comments_enabled: Comentarios habilitados
22
25
  geocoding_enabled: Geocodificación habilitada
26
+ new_proposal_help_text: Texto de ayuda al crear una propuesta
23
27
  official_proposals_enabled: Propuestas oficiales habilitadas
24
28
  proposal_answering_enabled: Respuesta oficial a propuestas habilitadas
25
29
  vote_limit: Límite de votos
26
30
  step:
31
+ announcement: Aviso
27
32
  comments_blocked: Comentarios bloqueados
28
33
  creation_enabled: Habilitar creación de propuestas
29
34
  proposal_answering_enabled: Respuesta a propuestas activadas
@@ -59,6 +64,7 @@ es:
59
64
  invalid: Ha habido un problema al crear esta propuesta
60
65
  success: Propuesta creada correctamente
61
66
  form:
67
+ attachment_legend: "(Opcional) Añadir un archivo adjunto"
62
68
  select_a_category: Seleccione una categoría
63
69
  index:
64
70
  title: Propuestas
@@ -77,6 +83,7 @@ es:
77
83
  proposal:
78
84
  fields:
79
85
  category: Categoría
86
+ id: Identificador
80
87
  official_proposal: Propuesta oficial
81
88
  scope: Ámbito
82
89
  state: Estado
@@ -122,6 +129,7 @@ es:
122
129
  one: <span class="card--list__data__number">1</span>vote
123
130
  other: <span class="card--list__data__number">%{count}</span>votos
124
131
  new:
132
+ attachment_legend: "(Opcional) Añadir un archivo adjunto"
125
133
  back: Atrás
126
134
  select_a_category: Por favor, seleccione una categoría
127
135
  send: Enviar
@@ -156,5 +164,3 @@ es:
156
164
  included_proposals:
157
165
  proposal_projects: 'Propuesta formulada en estos proyectos:'
158
166
  proposal_results: 'Propuesta formulada en estos resultados:'
159
- proposals_from_meeting:
160
- proposal_meetings: Encuentros relacionados
@@ -5,7 +5,7 @@ eu:
5
5
  body: Testua
6
6
  category_id: Kategoria
7
7
  scope_id: Esparrua
8
- title: Izenburua
8
+ title: Titulua
9
9
  user_group_id: 'Sortu proposamen bat honako hau gisa:'
10
10
  proposal_answer:
11
11
  answer: Erantzuna
@@ -18,15 +18,19 @@ eu:
18
18
  name: Proposamenak
19
19
  settings:
20
20
  global:
21
+ announcement: Oharra
22
+ attachments_allowed: Onartu eranskinak
21
23
  comments_enabled: Iruzkinak gaituta
22
24
  geocoding_enabled: Geokodeketa gaituta
25
+ new_proposal_help_text: Proposamen berriaren laguntza testu
23
26
  official_proposals_enabled: Proposamen ofizialak gaituta
24
- proposal_answering_enabled: Erantzun ofiziala gaitutako proposamenei
27
+ proposal_answering_enabled: Erantzuna aktibatutako proposamenei
25
28
  vote_limit: Boto-muga
26
29
  step:
30
+ announcement: Oharra
27
31
  comments_blocked: Iruzkinak blokeatuta
28
32
  creation_enabled: Gaitu proposamenen sorrera
29
- proposal_answering_enabled: Erantzuna aktibatutako proposamenei
33
+ proposal_answering_enabled: Erantzun ofiziala gaitutako proposamenei
30
34
  votes_blocked: Bozketa blokeatuta
31
35
  votes_enabled: Botoak gaituta
32
36
  votes_hidden: Boto ezkutuak (Botoak gaituta egon eta aukera hau markatuz gero, ezkutuan geldituko da botoen kopurua)
@@ -48,7 +52,8 @@ eu:
48
52
  edit:
49
53
  accepted: Onartuta
50
54
  answer_proposal: Erantzuna
51
- rejected: Baztertuta
55
+ evaluating: ebaluatzea
56
+ rejected: Ukatua
52
57
  title: 'Erantzun proposamen honi: %{title}'
53
58
  proposals:
54
59
  answer:
@@ -58,6 +63,7 @@ eu:
58
63
  invalid: Arazo bat izan da proposamen hau sortzean.
59
64
  success: Proposamena zuzen sortu da.
60
65
  form:
66
+ attachment_legend: "(Aukerakoa) Gehitu eranskina"
61
67
  select_a_category: Aukeratu kategoria bat
62
68
  index:
63
69
  title: Proposamenak
@@ -66,8 +72,9 @@ eu:
66
72
  title: Sortu proposamena
67
73
  answers:
68
74
  accepted: Onartuta
75
+ evaluating: ebaluatzea
69
76
  not_answered: Erantzun gabe
70
- rejected: Baztertuta
77
+ rejected: Ukatua
71
78
  create:
72
79
  error: Erroreak gertatu dira proposamena gordetzean.
73
80
  success: Proposamena zuzen sortu da.
@@ -75,11 +82,18 @@ eu:
75
82
  proposal:
76
83
  fields:
77
84
  category: Kategoria
85
+ id: NAN
78
86
  official_proposal: Proposamen ofiziala
79
87
  scope: Esparrua
80
88
  state: Egoera
81
- title: Izenburua
89
+ title: Titulua
90
+ proposal_votes:
91
+ create:
92
+ error: Ez da izan, akats denean proposamena bozkatzea.
82
93
  proposals:
94
+ author:
95
+ deleted: Erabiltzaile ezabatua
96
+ verified_user_group: Egiaztatutako erakundea
83
97
  count:
84
98
  proposals_count:
85
99
  one: 1 proposamen
@@ -91,10 +105,12 @@ eu:
91
105
  category: Kategoria
92
106
  category_prompt: Aukeratu kategoria bat
93
107
  citizenship: Herritarrak
108
+ evaluating: ebaluatzea
94
109
  official: Ofiziala
95
110
  origin: Jatorria
96
- rejected: Baztertuta
111
+ rejected: Ukatua
97
112
  related_to: Honekin lotuta
113
+ scope_prompt: Hautatu esparrua
98
114
  scopes: Esparruak
99
115
  search: Bilatu
100
116
  state: Egoera
@@ -112,6 +128,7 @@ eu:
112
128
  one: <span class="card--list__data__number">1</span>boto
113
129
  other: <span class="card--list__data__number">%{count}</span>boto
114
130
  new:
131
+ attachment_legend: "(Aukerakoa) Gehitu eranskina"
115
132
  back: Atzera
116
133
  select_a_category: Mesedez, aukeratu kategoria bat
117
134
  send: Bidali
@@ -121,6 +138,8 @@ eu:
121
138
  most_voted: Bozkatuenak
122
139
  random: Ausazkoa eran
123
140
  recent: Berrienak
141
+ proposal:
142
+ view_proposal: Ikusi proposamena
124
143
  show:
125
144
  proposal_accepted_reason: 'Proposamen hau onartu da arrazoi hauengatik:'
126
145
  proposal_rejected_reason: 'Proposamen hau baztertu da arrazoi hauengatik:'
@@ -144,5 +163,3 @@ eu:
144
163
  included_proposals:
145
164
  proposal_projects: 'Proiektu hauetatik sortutako proposamena:'
146
165
  proposal_results: 'Emaitza hauetatik sortutako proposamena:'
147
- proposals_from_meeting:
148
- proposal_meetings: Proposamenarekin lotutako topaketak
@@ -13,32 +13,46 @@ fi:
13
13
  features:
14
14
  proposals:
15
15
  actions:
16
+ create: Luo
16
17
  vote: Äänestä
17
18
  name: Ehdotukset
18
19
  settings:
19
20
  global:
21
+ announcement: Ilmoitus
22
+ attachments_allowed: Salli liitteet
20
23
  comments_enabled: Kommentointi sallittu
21
24
  geocoding_enabled: Geokoodaus päällä
25
+ new_proposal_help_text: Uuden ehdotuksen ohjeteksti
22
26
  official_proposals_enabled: Viralliset ehdotukset sallittu
23
27
  proposal_answering_enabled: Ehdotuksiin vastaaminen sallittu
24
28
  vote_limit: Äänestysrajoite
25
29
  step:
30
+ announcement: Ilmoitus
26
31
  comments_blocked: Kommentointi estetty
27
32
  creation_enabled: Ehdotusten luonti sallittu
28
33
  proposal_answering_enabled: Ehdotuksiin vastaaminen sallittu
29
34
  votes_blocked: Äänestys estetty
30
35
  votes_enabled: Äänestys sallittu
36
+ votes_hidden: Äänten määrä piilotettu (jos äänestys on käytössä, äänten määrä piilotetaan valitsemalla tämä)
31
37
  proposals:
32
38
  actions:
33
39
  answer: Vastaa
40
+ new: Uusi
34
41
  title: Toiminnot
35
42
  admin:
43
+ actions:
44
+ preview: Esikatsele
45
+ exports:
46
+ comments: Kommentit
47
+ proposals: Ehdotukset
36
48
  models:
37
49
  proposal:
38
50
  name: Ehdotus
39
51
  proposal_answers:
40
52
  edit:
41
53
  accepted: Hyväksytty
54
+ answer_proposal: Vastaa
55
+ evaluating: Arvioitavana
42
56
  rejected: Hylätty
43
57
  title: 'Vastaa ehdotukseen: %{title}'
44
58
  proposals:
@@ -49,11 +63,16 @@ fi:
49
63
  invalid: Ehdotuksen luonnissa tapahtui virhe
50
64
  success: Ehdotus luotu onnistuneesti
51
65
  form:
66
+ attachment_legend: "(Valinnainen) Lisää liite"
52
67
  select_a_category: Valitse kategoria
53
68
  index:
54
69
  title: Ehdotukset
70
+ new:
71
+ create: Luo
72
+ title: Luo ehdotus
55
73
  answers:
56
74
  accepted: Hyväksytty
75
+ evaluating: Arvioitavana
57
76
  not_answered: Vastaamaton
58
77
  rejected: Hylätty
59
78
  create:
@@ -63,11 +82,18 @@ fi:
63
82
  proposal:
64
83
  fields:
65
84
  category: Kategoria
85
+ id: ID
66
86
  official_proposal: Virallinen ehdotus
67
87
  scope: Konteksti
68
88
  state: Tila
69
89
  title: Otsikko
90
+ proposal_votes:
91
+ create:
92
+ error: Äänestettäessä ehdotusta tapahtui virhe.
70
93
  proposals:
94
+ author:
95
+ deleted: Poistettu käyttäjä
96
+ verified_user_group: Vahvistettu organisaatio
71
97
  count:
72
98
  proposals_count:
73
99
  one: 1 ehdotus
@@ -77,11 +103,14 @@ fi:
77
103
  activity: Aktiivisuus
78
104
  all: Kaikki
79
105
  category: Kategoria
106
+ category_prompt: Valitse kategoria
80
107
  citizenship: Kansalaisuus
108
+ evaluating: Arvioitavana
81
109
  official: Virallinen
82
110
  origin: Alkuperä
83
111
  rejected: Hylätty
84
112
  related_to: Liittyy aiheeseen
113
+ scope_prompt: Valitse konteksti
85
114
  scopes: Kontekstit
86
115
  search: Haku
87
116
  state: Tila
@@ -99,6 +128,7 @@ fi:
99
128
  one: <span class="card--list__data__number">1</span>ääni
100
129
  other: <span class="card--list__data__number">%{count}</span>ääntä
101
130
  new:
131
+ attachment_legend: "(Valinnainen) Lisää liite"
102
132
  back: Takaisin
103
133
  select_a_category: Valitse kategoria
104
134
  send: Lähetä
@@ -108,6 +138,8 @@ fi:
108
138
  most_voted: Eniten ääniä saaneet
109
139
  random: Satunnainen
110
140
  recent: Viimeisimmät
141
+ proposal:
142
+ view_proposal: Näytä ehdotus
111
143
  show:
112
144
  proposal_accepted_reason: 'Tämä ehdotus on hyväksytty, koska:'
113
145
  proposal_rejected_reason: 'Tämä ehdotus on hylätty, koska:'
@@ -131,5 +163,3 @@ fi:
131
163
  included_proposals:
132
164
  proposal_projects: 'Ehdotus esiintyy näissä projekteissa:'
133
165
  proposal_results: 'Ehdotus esiintyy näissä tuloksissa:'
134
- proposals_from_meeting:
135
- proposal_meetings: Liittyvät tapaamiset