decidim-initiatives 0.28.2 → 0.28.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/initiatives/initiative_g_cell.rb +4 -6
  3. data/app/commands/decidim/initiatives/approve_membership_request.rb +1 -1
  4. data/app/commands/decidim/initiatives/revoke_membership_request.rb +1 -1
  5. data/app/commands/decidim/initiatives/spawn_committee_request.rb +1 -1
  6. data/app/controllers/decidim/initiatives/admin/initiatives_controller.rb +5 -0
  7. data/app/controllers/decidim/initiatives/committee_requests_controller.rb +1 -0
  8. data/app/views/decidim/initiatives/admin/exports/_dropdown.html.erb +5 -5
  9. data/app/views/decidim/initiatives/committee_requests/new.html.erb +2 -2
  10. data/app/views/decidim/initiatives/initiatives/print.html.erb +1 -1
  11. data/app/views/decidim/initiatives/initiatives/show.html.erb +1 -1
  12. data/app/views/layouts/decidim/_initiative_header.html.erb +1 -1
  13. data/app/views/layouts/decidim/initiative.html.erb +1 -1
  14. data/app/views/layouts/decidim/initiative_head.html.erb +1 -1
  15. data/config/locales/ca.yml +11 -1
  16. data/config/locales/cs.yml +10 -0
  17. data/config/locales/de.yml +10 -0
  18. data/config/locales/en.yml +10 -0
  19. data/config/locales/es-MX.yml +10 -0
  20. data/config/locales/es-PY.yml +10 -0
  21. data/config/locales/es.yml +10 -0
  22. data/config/locales/eu.yml +11 -1
  23. data/config/locales/fi-plain.yml +10 -0
  24. data/config/locales/fi.yml +16 -6
  25. data/config/locales/ja.yml +12 -2
  26. data/config/locales/pt-BR.yml +13 -0
  27. data/config/locales/ro-RO.yml +10 -0
  28. data/config/locales/sv.yml +193 -69
  29. data/lib/decidim/api/initiative_api_type.rb +1 -1
  30. data/lib/decidim/initiatives/version.rb +1 -1
  31. metadata +14 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee9402e2ccd3d11cecca9129ce2f63a68547640abb7699b2e98f23bc47a7b44b
4
- data.tar.gz: 841ab41667a8e6391c9dc779028408d38a3bf0dcace1bf31b5bb1999d1b04c00
3
+ metadata.gz: a8e91ce08c6263f378e54f907db2e4279f1f9038a3891be8275c802601ca9972
4
+ data.tar.gz: 667cef8493963f2eb7e6ea90e0f2615949356ef95b4cb70b67578ac9ad5d9785
5
5
  SHA512:
6
- metadata.gz: fb1bc518c0f6be5a2a1f2a1063c726a4f46d5f502ad6a1f6a420140de228db5b367bd1d0e9c61585c90c8acef7594e6d98ae54a4ea634e7af54d2a839e5b455a
7
- data.tar.gz: 682efa73c8d37f54e0b2959a4cfff03b542e984cd8cfb2a57c53938e7b524bd302d81982a21e8272f9d9c754824a66fb93bc9c4f6fca9ec9c50d538b4ab6585c
6
+ metadata.gz: 1d40c358dbb5980cc77be9c27fab453c4408c1f57b325c9549cfd0674394ccf66029a919170e9e6d182eb0e93d1b8e33fe7149d483dcc13ea3ccd3b9dd94c344
7
+ data.tar.gz: f563e478dab6fcd7610254935ee08304d547cfadf00475ec5e2813296b518d97b43557036f2941d0d7ab51fce72e9a4b0e180352cd3b4237caef61d0df1bc5c4
@@ -11,16 +11,14 @@ module Decidim
11
11
  Decidim::Initiatives::Engine.routes.url_helpers.initiative_path(model)
12
12
  end
13
13
 
14
- def has_image?
15
- image.present?
16
- end
17
-
18
14
  def image
19
15
  @image ||= model.attachments.find(&:image?)
20
16
  end
21
17
 
22
- def resource_image_path
23
- image.url if has_image?
18
+ def resource_image_url
19
+ return if image.blank?
20
+
21
+ image.url
24
22
  end
25
23
 
26
24
  def metadata_cell
@@ -32,7 +32,7 @@ module Decidim
32
32
  resource: @membership_request.initiative,
33
33
  affected_users: [@membership_request.user],
34
34
  force_send: true,
35
- extra: { author: @membership_request.initiative.author }
35
+ extra: { author: { id: @membership_request.initiative.author&.id } }
36
36
  )
37
37
  end
38
38
  end
@@ -32,7 +32,7 @@ module Decidim
32
32
  resource: @membership_request.initiative,
33
33
  affected_users: [@membership_request.user],
34
34
  force_send: true,
35
- extra: { author: @membership_request.initiative.author }
35
+ extra: { author: { id: @membership_request.initiative.author&.id } }
36
36
  )
37
37
  end
38
38
  end
@@ -58,7 +58,7 @@ module Decidim
58
58
  resource: initiative,
59
59
  affected_users: [initiative.author],
60
60
  force_send: true,
61
- extra: { applicant: current_user }
61
+ extra: { applicant: { id: current_user&.id } }
62
62
  )
63
63
  end
64
64
 
@@ -65,6 +65,7 @@ module Decidim
65
65
 
66
66
  PublishInitiative.call(current_initiative, current_user) do
67
67
  on(:ok) do
68
+ flash[:notice] = I18n.t("initiatives.publish.success", scope: "decidim.initiatives.admin")
68
69
  redirect_to decidim_admin_initiatives.edit_initiative_path(current_initiative)
69
70
  end
70
71
  end
@@ -76,6 +77,7 @@ module Decidim
76
77
 
77
78
  UnpublishInitiative.call(current_initiative, current_user) do
78
79
  on(:ok) do
80
+ flash[:notice] = I18n.t("initiatives.unpublish.success", scope: "decidim.initiatives.admin")
79
81
  redirect_to decidim_admin_initiatives.edit_initiative_path(current_initiative)
80
82
  end
81
83
  end
@@ -86,6 +88,7 @@ module Decidim
86
88
  enforce_permission_to :discard, :initiative, initiative: current_initiative
87
89
  DiscardInitiative.call(current_initiative, current_user) do
88
90
  on(:ok) do
91
+ flash[:notice] = I18n.t("initiatives.discard.success", scope: "decidim.initiatives.admin")
89
92
  redirect_to decidim_admin_initiatives.edit_initiative_path(current_initiative)
90
93
  end
91
94
  end
@@ -96,6 +99,7 @@ module Decidim
96
99
  enforce_permission_to :accept, :initiative, initiative: current_initiative
97
100
  AcceptInitiative.call(current_initiative, current_user) do
98
101
  on(:ok) do
102
+ flash[:notice] = I18n.t("initiatives.accept.success", scope: "decidim.initiatives.admin")
99
103
  redirect_to decidim_admin_initiatives.edit_initiative_path(current_initiative)
100
104
  end
101
105
  end
@@ -106,6 +110,7 @@ module Decidim
106
110
  enforce_permission_to :reject, :initiative, initiative: current_initiative
107
111
  RejectInitiative.call(current_initiative, current_user) do
108
112
  on(:ok) do
113
+ flash[:notice] = I18n.t("initiatives.reject.success", scope: "decidim.initiatives.admin")
109
114
  redirect_to decidim_admin_initiatives.edit_initiative_path(current_initiative)
110
115
  end
111
116
  end
@@ -20,6 +20,7 @@ module Decidim
20
20
 
21
21
  form = Decidim::Initiatives::CommitteeMemberForm
22
22
  .from_params(initiative_id: current_initiative.id, user_id: current_user.id, state: "requested")
23
+ .with_context(current_organization: current_initiative.organization, current_user:)
23
24
 
24
25
  SpawnCommitteeRequest.call(form, current_user) do
25
26
  on(:ok) do
@@ -15,11 +15,11 @@
15
15
  data-close-on-click="true">
16
16
  <ul class="vertical menu add-components">
17
17
  <% %w(CSV JSON).each do |format| %>
18
- <li class="exports--format--<%= format.downcase %> exports--initiatives">
19
- <%= link_to t("decidim.admin.exports.export_as", name: t("decidim.initiatives.admin.exports.initiatives"),
20
- export_format: format.upcase),
21
- export_initiatives_path(format:, collection_ids:) %>
22
- </li>
18
+ <%= link_to export_initiatives_path(format:, collection_ids:) do %>
19
+ <li class="exports--format--<%= format.downcase %> exports--initiatives">
20
+ <%= t("decidim.admin.exports.export_as", name: t("decidim.initiatives.admin.exports.initiatives"), export_format: format.upcase) %>
21
+ </li>
22
+ <% end %>
23
23
  <% end %>
24
24
  </ul>
25
25
  </div>
@@ -1,5 +1,5 @@
1
1
  <% add_decidim_meta_tags({
2
- image_url: current_initiative.type.attached_uploader(:banner_image).path,
2
+ image_url: current_initiative.type.attached_uploader(:banner_image).url,
3
3
  description: translated_attribute(current_initiative.description),
4
4
  title: translated_attribute(current_initiative.title),
5
5
  url: initiative_url(current_initiative.id),
@@ -7,7 +7,7 @@
7
7
  }) %>
8
8
 
9
9
  <% add_decidim_page_title(translated_attribute(current_initiative.title)) %>
10
- <% provide :meta_image_url, current_initiative.type.attached_uploader(:banner_image).path %>
10
+ <% provide :meta_image_url, current_initiative.type.attached_uploader(:banner_image).url %>
11
11
 
12
12
  <%= render layout: "layouts/decidim/shared/layout_center" do %>
13
13
  <div class="text-center py-10">
@@ -2,7 +2,7 @@
2
2
  <div class="pt-10">
3
3
  <div class="initiative-letterhead">
4
4
  <% if current_organization.logo.present? %>
5
- <%= image_tag current_organization.attached_uploader(:logo).path(variant: :medium), title: current_organization.name %>
5
+ <%= image_tag current_organization.attached_uploader(:logo).variant_url(variant: :medium), title: current_organization.name %>
6
6
  <% end %>
7
7
 
8
8
  <%= current_organization.name %>
@@ -1,5 +1,5 @@
1
1
  <% add_decidim_meta_tags({
2
- image_url: current_initiative.type.attached_uploader(:banner_image).path,
2
+ image_url: current_initiative.type.attached_uploader(:banner_image).url,
3
3
  description: translated_attribute(current_initiative.description),
4
4
  title: translated_attribute(current_initiative.title),
5
5
  url: initiative_url(current_initiative.id),
@@ -1,7 +1,7 @@
1
1
  <div class="process-header">
2
2
  <div class="process-header__inner">
3
3
  <div class="row column process-header__main"
4
- style="background-image:url('<%= current_participatory_space.type.attached_uploader(:banner_image).path %>');">
4
+ style="background-image:url('<%= current_participatory_space.type.attached_uploader(:banner_image).url %>');">
5
5
  </div>
6
6
  <div class="process-header__container row collapse column">
7
7
  <div class="columns mediumlarge-8 process-header__info">
@@ -1,7 +1,7 @@
1
1
  <%= append_javascript_pack_tag "decidim_initiatives" %>
2
2
  <%= append_stylesheet_pack_tag "decidim_initiatives", media: "all" %>
3
3
 
4
- <% provide :meta_image_url, current_participatory_space.type.attached_uploader(:banner_image).path %>
4
+ <% provide :meta_image_url, current_participatory_space.type.attached_uploader(:banner_image).url %>
5
5
 
6
6
  <%= render "layouts/decidim/application" do %>
7
7
  <%= render layout: "layouts/decidim/shared/layout_center" do %>
@@ -1,7 +1,7 @@
1
1
  <%= append_javascript_pack_tag "decidim_initiatives" %>
2
2
  <%= append_stylesheet_pack_tag "decidim_initiatives", media: "all" %>
3
3
 
4
- <% provide :meta_image_url, current_initiative.type.attached_uploader(:banner_image).path %>
4
+ <% provide :meta_image_url, current_initiative.type.attached_uploader(:banner_image).url %>
5
5
 
6
6
  <%= render partial: "layouts/decidim/header/follow_space_menu_bar_button", locals: { participatory_space: current_participatory_space } %>
7
7
 
@@ -113,7 +113,7 @@ ca:
113
113
  see_initiative: Veure la iniciativa
114
114
  initiatives_settings: Configuració
115
115
  initiatives_submenu:
116
- info: Sobre aquesta iniciativa
116
+ info: Quant a aquesta iniciativa
117
117
  initiatives_types: Tipus d'iniciatives
118
118
  moderations: Moderacions
119
119
  models:
@@ -238,6 +238,10 @@ ca:
238
238
  exports:
239
239
  initiatives: Iniciatives
240
240
  initiatives:
241
+ accept:
242
+ success: La iniciativa s'ha acceptat correctament.
243
+ discard:
244
+ success: La iniciativa s'ha descartat correctament.
241
245
  edit:
242
246
  accept: Accepta la iniciativa
243
247
  confirm: Segur?
@@ -261,6 +265,12 @@ ca:
261
265
  edit: Edita
262
266
  new: Nou
263
267
  photos: Fotografies
268
+ publish:
269
+ success: La iniciativa s'ha publicat correctament.
270
+ reject:
271
+ success: La iniciativa s'ha rebutjat correctament.
272
+ unpublish:
273
+ success: La iniciativa s'ha despublicat correctament.
264
274
  update:
265
275
  error: S'ha produït un error.
266
276
  success: La iniciativa s'ha actualitzat correctament.
@@ -244,6 +244,10 @@ cs:
244
244
  exports:
245
245
  initiatives: Iniciativy
246
246
  initiatives:
247
+ accept:
248
+ success: Iniciativa byla úspěšně přijata.
249
+ discard:
250
+ success: Iniciativa byla úspěšně zrušena.
247
251
  edit:
248
252
  accept: Přijmout iniciativu
249
253
  confirm: Jste si jisti?
@@ -267,6 +271,12 @@ cs:
267
271
  edit: Upravit
268
272
  new: Nový
269
273
  photos: Fotky
274
+ publish:
275
+ success: Iniciativa byla úspěšně publikována.
276
+ reject:
277
+ success: Iniciativa byla úspěšně zamítnuta.
278
+ unpublish:
279
+ success: Iniciativa byla úspěšně zneveřejněna.
270
280
  update:
271
281
  error: Došlo k chybě.
272
282
  success: Tato iniciativa byla úspěšně aktualizována.
@@ -238,6 +238,10 @@ de:
238
238
  exports:
239
239
  initiatives: Initiativen
240
240
  initiatives:
241
+ accept:
242
+ success: Die Initiative wurde erfolgreich akzeptiert.
243
+ discard:
244
+ success: Die Initiative wurde erfolgreich gelöscht.
241
245
  edit:
242
246
  accept: Initiative akzeptieren
243
247
  confirm: Sind Sie sich sicher?
@@ -261,6 +265,12 @@ de:
261
265
  edit: Bearbeiten
262
266
  new: Neu
263
267
  photos: Fotos
268
+ publish:
269
+ success: Die Initiative wurde erfolgreich veröffentlicht.
270
+ reject:
271
+ success: Die Initiative wurde erfolgreich zurückgewiesen.
272
+ unpublish:
273
+ success: Die Veröffentlichung der Initiative wurde erfolgreich zurückgezogen.
264
274
  update:
265
275
  error: Ein Fehler ist aufgetreten.
266
276
  success: Die Initiative wurde erfolgreich aktualisiert.
@@ -238,6 +238,10 @@ en:
238
238
  exports:
239
239
  initiatives: Initiatives
240
240
  initiatives:
241
+ accept:
242
+ success: The initiative has been successfully accepted.
243
+ discard:
244
+ success: The initiative has been successfully discarded.
241
245
  edit:
242
246
  accept: Accept initiative
243
247
  confirm: Are you sure?
@@ -261,6 +265,12 @@ en:
261
265
  edit: Edit
262
266
  new: New
263
267
  photos: Photos
268
+ publish:
269
+ success: The initiative has been successfully published.
270
+ reject:
271
+ success: The initiative has been successfully rejected.
272
+ unpublish:
273
+ success: The initiative has been successfully unpublished.
264
274
  update:
265
275
  error: An error has occurred.
266
276
  success: The initiative has been successfully updated.
@@ -238,6 +238,10 @@ es-MX:
238
238
  exports:
239
239
  initiatives: Iniciativas
240
240
  initiatives:
241
+ accept:
242
+ success: La iniciativa se ha aceptado correctamente.
243
+ discard:
244
+ success: La iniciativa se ha descartado correctamente.
241
245
  edit:
242
246
  accept: Aceptar iniciativa
243
247
  confirm: '¿Estás seguro?'
@@ -261,6 +265,12 @@ es-MX:
261
265
  edit: Editar
262
266
  new: Nueva
263
267
  photos: Fotos
268
+ publish:
269
+ success: La iniciativa se ha publicado correctamente.
270
+ reject:
271
+ success: La iniciativa se ha rechazado correctamente.
272
+ unpublish:
273
+ success: La iniciativa se ha despublicado correctamente.
264
274
  update:
265
275
  error: Se ha producido un error.
266
276
  success: La iniciativa se ha actualizado correctamente.
@@ -238,6 +238,10 @@ es-PY:
238
238
  exports:
239
239
  initiatives: Iniciativas
240
240
  initiatives:
241
+ accept:
242
+ success: La iniciativa se ha aceptado correctamente.
243
+ discard:
244
+ success: La iniciativa se ha descartado correctamente.
241
245
  edit:
242
246
  accept: Aceptar iniciativa
243
247
  confirm: '¿Estás seguro?'
@@ -261,6 +265,12 @@ es-PY:
261
265
  edit: Editar
262
266
  new: Nueva
263
267
  photos: Fotos
268
+ publish:
269
+ success: La iniciativa se ha publicado correctamente.
270
+ reject:
271
+ success: La iniciativa se ha rechazado correctamente.
272
+ unpublish:
273
+ success: La iniciativa se ha despublicado correctamente.
264
274
  update:
265
275
  error: Se ha producido un error.
266
276
  success: La iniciativa se ha actualizado correctamente.
@@ -238,6 +238,10 @@ es:
238
238
  exports:
239
239
  initiatives: Iniciativas
240
240
  initiatives:
241
+ accept:
242
+ success: La iniciativa se ha aceptado correctamente.
243
+ discard:
244
+ success: La iniciativa se ha descartado correctamente.
241
245
  edit:
242
246
  accept: Aceptar iniciativa
243
247
  confirm: '¿Estás seguro?'
@@ -261,6 +265,12 @@ es:
261
265
  edit: Editar
262
266
  new: Nueva
263
267
  photos: Fotos
268
+ publish:
269
+ success: La iniciativa se ha publicado correctamente.
270
+ reject:
271
+ success: La iniciativa se ha rechazado correctamente.
272
+ unpublish:
273
+ success: La iniciativa se ha despublicado correctamente.
264
274
  update:
265
275
  error: Se ha producido un error.
266
276
  success: La iniciativa se ha actualizado correctamente.
@@ -238,6 +238,10 @@ eu:
238
238
  exports:
239
239
  initiatives: Ekimenak
240
240
  initiatives:
241
+ accept:
242
+ success: Ekimena zuzen onartu da.
243
+ discard:
244
+ success: Ekimena zuzen baztertu da.
241
245
  edit:
242
246
  accept: Onartu ekimena
243
247
  confirm: Ziur zaude?
@@ -261,6 +265,12 @@ eu:
261
265
  edit: Editatu
262
266
  new: Beste bat
263
267
  photos: Argazkiak
268
+ publish:
269
+ success: Ekimena zuzen argitaratu da.
270
+ reject:
271
+ success: Ekimena zuzen ukatu da.
272
+ unpublish:
273
+ success: Ekimena zuzen desargitaratu da.
264
274
  update:
265
275
  error: Errore bat egon da.
266
276
  success: Ekimena zuzen eguneratu da.
@@ -429,7 +439,7 @@ eu:
429
439
  attachment_legend: "(Aukerakoa) Gehitu eranskina"
430
440
  edit_documents: Editatu dokumentuak
431
441
  edit_image: Editatu irudia
432
- image_legend: "(Aukerakoa) Erantsi irudi bat"
442
+ image_legend: "(Aukerakoa) Gehitu irudi bat"
433
443
  index:
434
444
  uninitialized: Administratzaile batek oraindik ez ditu ekimenak konfiguratu.
435
445
  initiative_signatures:
@@ -238,6 +238,10 @@ fi-pl:
238
238
  exports:
239
239
  initiatives: Aloitteet
240
240
  initiatives:
241
+ accept:
242
+ success: Aloitteen hyväksyminen onnistui.
243
+ discard:
244
+ success: Aloitteen peruminen onnistui.
241
245
  edit:
242
246
  accept: Hyväksy aloite
243
247
  confirm: Oletko varma?
@@ -261,6 +265,12 @@ fi-pl:
261
265
  edit: Muokkaa
262
266
  new: Uusi
263
267
  photos: Kuvat
268
+ publish:
269
+ success: Aloitteen julkaisu onnistui.
270
+ reject:
271
+ success: Aloitteen hylkääminen onnistui.
272
+ unpublish:
273
+ success: Aloitteen julkaisun lopetus onnistui.
264
274
  update:
265
275
  error: Tapahtui virhe.
266
276
  success: Aloitteen päivitys onnistui.
@@ -91,7 +91,7 @@ fi:
91
91
  values:
92
92
  accepted: Tarpeeksi allekirjoituksia
93
93
  created: Luotu
94
- discarded: Hylätyt
94
+ discarded: Perutut
95
95
  published: Julkaistut
96
96
  rejected: Liian vähän allekirjoituksia
97
97
  validating: Teknisessä validoinnissa
@@ -238,11 +238,15 @@ fi:
238
238
  exports:
239
239
  initiatives: Aloitteet
240
240
  initiatives:
241
+ accept:
242
+ success: Aloitteen hyväksyminen onnistui.
243
+ discard:
244
+ success: Aloitteen peruminen onnistui.
241
245
  edit:
242
246
  accept: Hyväksy aloite
243
247
  confirm: Oletko varma?
244
248
  confirm_send_to_technical_validation: Oletko varma?
245
- discard: Hylkää aloite
249
+ discard: Peru aloite
246
250
  export_pdf_signatures: Vie allekirjoitukset PDF-asiakirjaan
247
251
  export_votes: Lataa allekirjoitukset
248
252
  reject: Torju aloite
@@ -261,6 +265,12 @@ fi:
261
265
  edit: Muokkaa
262
266
  new: Uusi
263
267
  photos: Kuvat
268
+ publish:
269
+ success: Aloitteen julkaisu onnistui.
270
+ reject:
271
+ success: Aloitteen hylkääminen onnistui.
272
+ unpublish:
273
+ success: Aloitteen julkaisun lopetus onnistui.
264
274
  update:
265
275
  error: Tapahtui virhe.
266
276
  success: Aloitteen päivitys onnistui.
@@ -314,7 +324,7 @@ fi:
314
324
  initiative:
315
325
  publish: "%{user_name} julkaisi aloitteen %{resource_name}"
316
326
  send_to_technical_validation: "%{user_name} lähetti aloitteen %{resource_name} tekniseen tarkastukseen"
317
- unpublish: "%{user_name} hylkäsi aloitteen %{resource_name}"
327
+ unpublish: "%{user_name} perui aloitteen %{resource_name}"
318
328
  update: "%{user_name} päivitti aloitetta %{resource_name}"
319
329
  initiatives_settings:
320
330
  update: "%{user_name} päivitti aloitteiden asetuksia"
@@ -325,7 +335,7 @@ fi:
325
335
  admin_states:
326
336
  accepted: Tarpeeksi allekirjoituksia
327
337
  created: Luotu
328
- discarded: Hylätty
338
+ discarded: Peruttu
329
339
  published: Julkaistu
330
340
  rejected: Liian vähän allekirjoituksia
331
341
  validating: Teknisessä tarkastuksessa
@@ -363,7 +373,7 @@ fi:
363
373
  finish:
364
374
  back: Takaisin
365
375
  back_to_initiatives: Takaisin aloitteisiin
366
- callout_text: Onnittelut! Aloitteesi on luotu onnistuneesti.
376
+ callout_text: Onnittelut! Aloitteen luominen onnistui.
367
377
  confirm: Aloite lähetetään hallintakäyttäjän tarkastettavaksi ja julkaistavaksi. Julkaisun jälkeen et voi enää muokata aloitetta. Haluatko varmasti jatkaa?
368
378
  edit_my_initiative: Muokkaa aloitettani
369
379
  go_to_my_initiatives: Siirry omiin aloitteisiini
@@ -575,7 +585,7 @@ fi:
575
585
  badge_name:
576
586
  accepted: Tarpeeksi allekirjoituksia
577
587
  created: Luotu
578
- discarded: Hylätty
588
+ discarded: Peruttu
579
589
  published: Julkaistu
580
590
  rejected: Liian vähän allekirjoituksia
581
591
  validating: Teknisessä tarkastuksessa
@@ -10,8 +10,8 @@ ja:
10
10
  decidim_user_group_id: 作成者
11
11
  description: 説明
12
12
  hashtag: ハッシュタグ
13
- offline_votes: In-personal 署名
14
- offline_votes_for_scope: '%{scope_name} の In-personal 署名'
13
+ offline_votes: 対面署名
14
+ offline_votes_for_scope: '%{scope_name} の 対面署名'
15
15
  scope_id: スコープ
16
16
  signature_end_date: 署名の収集期間の終了
17
17
  signature_start_date: 署名の収集期間の開始
@@ -235,6 +235,10 @@ ja:
235
235
  exports:
236
236
  initiatives: イニシアチブ
237
237
  initiatives:
238
+ accept:
239
+ success: イニシアチブは受理されました。
240
+ discard:
241
+ success: イニシアチブは破棄されました。
238
242
  edit:
239
243
  accept: イニシアチブを承認する
240
244
  confirm: よろしいですか?
@@ -258,6 +262,12 @@ ja:
258
262
  edit: 編集
259
263
  new: 新規作成
260
264
  photos: 写真
265
+ publish:
266
+ success: イニシアチブを公開しました。
267
+ reject:
268
+ success: イニシアチブはリジェクトされました。
269
+ unpublish:
270
+ success: イニシアチブは非公開になりました。
261
271
  update:
262
272
  error: エラーが発生しました。
263
273
  success: イニシアチブを更新しました。
@@ -238,6 +238,8 @@ pt-BR:
238
238
  edit: Editar
239
239
  new: Novo
240
240
  photos: Fotos
241
+ update:
242
+ error: Ocorreu um erro.
241
243
  initiatives_settings:
242
244
  form:
243
245
  comments: Mais comentado
@@ -247,13 +249,20 @@ pt-BR:
247
249
  signatures: Mais assinadas
248
250
  title: Configurações de iniciativas
249
251
  initiatives_type_scopes:
252
+ create:
253
+ error: Ocorreu um erro.
250
254
  edit:
251
255
  title: Editar o âmbito do tipo de iniciativa
252
256
  update: Atualizar
253
257
  new:
254
258
  create: Criar
255
259
  title: Criar âmbito de tipo de iniciativa
260
+ update:
261
+ error: Ocorreu um erro.
256
262
  initiatives_types:
263
+ create:
264
+ error: Ocorreu um erro.
265
+ success: Um novo tipo de iniciativa foi criado com sucesso.
257
266
  edit:
258
267
  update: Atualizar
259
268
  form:
@@ -266,6 +275,8 @@ pt-BR:
266
275
  new:
267
276
  create: Criar
268
277
  title: Novo tipo de iniciativa
278
+ update:
279
+ error: Ocorreu um erro.
269
280
  admin_log:
270
281
  initiative:
271
282
  publish: "%{user_name} publicou a iniciativa %{resource_name}"
@@ -522,6 +533,8 @@ pt-BR:
522
533
  accepted: Aceitaram
523
534
  expired: Expirado
524
535
  unavailable_scope: Escopo não disponível
536
+ update:
537
+ error: Ocorreu um erro.
525
538
  menu:
526
539
  initiatives: Iniciativas
527
540
  resources:
@@ -220,6 +220,10 @@ ro:
220
220
  exports:
221
221
  initiatives: Inițiative
222
222
  initiatives:
223
+ accept:
224
+ success: Inițiativa a fost acceptată cu succes.
225
+ discard:
226
+ success: Inițiativa a fost anulată cu succes.
223
227
  edit:
224
228
  accept: Acceptă inițiativa
225
229
  confirm: Sigur dorești asta?
@@ -242,6 +246,12 @@ ro:
242
246
  edit: Editare
243
247
  new: Nou
244
248
  photos: Poze
249
+ publish:
250
+ success: Inițiativa a fost publicată cu succes.
251
+ reject:
252
+ success: Inițiativa a fost respinsă.
253
+ unpublish:
254
+ success: Inițiativa a fost ascunsă cu succes.
245
255
  update:
246
256
  error: A apărut o eroare.
247
257
  success: Inițiativa a fost actualizată cu succes.