decidim-core 0.7.4 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +9 -2
  3. data/app/assets/javascripts/decidim.js.es6 +1 -0
  4. data/app/assets/javascripts/decidim/editor.js.es6 +8 -2
  5. data/app/assets/javascripts/decidim/form_filter.component.js.es6 +2 -2
  6. data/app/assets/javascripts/decidim/foundation.js.es6 +18 -8
  7. data/app/assets/javascripts/decidim/select2.js.es6 +3 -0
  8. data/app/assets/stylesheets/decidim/_decidim.scss +1 -1
  9. data/app/assets/stylesheets/decidim/modules/_buttons.scss +0 -4
  10. data/app/assets/stylesheets/decidim/modules/_cards.scss +41 -1
  11. data/app/assets/stylesheets/decidim/modules/_messages.scss +35 -0
  12. data/app/assets/stylesheets/decidim/modules/_modules.scss +1 -0
  13. data/app/assets/stylesheets/decidim/modules/_navbar.scss +2 -1
  14. data/app/assets/stylesheets/decidim/utils/_settings.scss +363 -69
  15. data/app/commands/decidim/messaging/reply_to_conversation.rb +55 -0
  16. data/app/commands/decidim/messaging/start_conversation.rb +55 -0
  17. data/app/controllers/concerns/decidim/action_authorization.rb +6 -22
  18. data/app/controllers/concerns/decidim/user_profile.rb +5 -3
  19. data/app/controllers/decidim/application_controller.rb +1 -0
  20. data/app/controllers/decidim/devise/omniauth_registrations_controller.rb +2 -2
  21. data/app/controllers/decidim/devise/sessions_controller.rb +5 -3
  22. data/app/controllers/decidim/features/base_controller.rb +1 -0
  23. data/app/controllers/decidim/messaging/conversations_controller.rb +81 -0
  24. data/app/controllers/decidim/pages_controller.rb +2 -11
  25. data/app/forms/decidim/messaging/conversation_form.rb +19 -0
  26. data/app/forms/decidim/messaging/message_form.rb +14 -0
  27. data/app/forms/translatable_presence_validator.rb +7 -10
  28. data/app/helpers/decidim/authorization_form_helper.rb +1 -1
  29. data/app/helpers/decidim/cta_button_helper.rb +1 -1
  30. data/app/helpers/decidim/datetime_helper.rb +23 -0
  31. data/app/helpers/decidim/feature_path_helper.rb +4 -2
  32. data/app/helpers/decidim/layout_helper.rb +0 -2
  33. data/app/helpers/decidim/menu_helper.rb +10 -0
  34. data/app/helpers/decidim/messaging/conversation_helper.rb +36 -0
  35. data/app/helpers/decidim/sanitize_helper.rb +19 -0
  36. data/app/helpers/decidim/traceability_helper.rb +89 -0
  37. data/app/helpers/decidim/translations_helper.rb +4 -2
  38. data/app/helpers/decidim/view_hooks_helper.rb +15 -0
  39. data/app/jobs/decidim/email_notification_generator_job.rb +1 -1
  40. data/app/jobs/decidim/notification_generator_for_recipient_job.rb +1 -1
  41. data/app/jobs/decidim/notification_generator_job.rb +1 -1
  42. data/app/mailers/decidim/messaging/conversation_mailer.rb +47 -0
  43. data/app/mailers/decidim/newsletter_mailer.rb +1 -0
  44. data/app/models/decidim/abilities/base_ability.rb +16 -2
  45. data/app/models/decidim/authorization.rb +20 -2
  46. data/app/models/decidim/messaging/conversation.rb +129 -0
  47. data/app/models/decidim/messaging/message.rb +49 -0
  48. data/app/models/decidim/messaging/participation.rb +23 -0
  49. data/app/models/decidim/messaging/receipt.rb +27 -0
  50. data/app/models/decidim/moderation.rb +1 -1
  51. data/app/models/decidim/organization.rb +2 -2
  52. data/app/models/decidim/scope.rb +2 -1
  53. data/app/models/decidim/scope_type.rb +1 -1
  54. data/app/models/decidim/user.rb +11 -5
  55. data/app/models/decidim/user_group.rb +1 -1
  56. data/app/presenters/decidim/inline_menu_presenter.rb +10 -0
  57. data/app/presenters/decidim/menu_presenter.rb +1 -1
  58. data/app/queries/decidim/messaging/user_conversations.rb +29 -0
  59. data/app/scrubbers/decidim/user_input_scrubber.rb +31 -0
  60. data/app/services/decidim/action_authorizer.rb +48 -12
  61. data/app/services/decidim/traceability.rb +91 -0
  62. data/app/views/decidim/messaging/conversation_mailer/new_conversation.html.erb +9 -0
  63. data/app/views/decidim/messaging/conversation_mailer/new_message.html.erb +9 -0
  64. data/app/views/decidim/messaging/conversations/_message.html.erb +20 -0
  65. data/app/views/decidim/messaging/conversations/_reply.html.erb +11 -0
  66. data/app/views/decidim/messaging/conversations/_show.html.erb +21 -0
  67. data/app/views/decidim/messaging/conversations/_start.html.erb +12 -0
  68. data/app/views/decidim/messaging/conversations/create.js.erb +2 -0
  69. data/app/views/decidim/messaging/conversations/index.html.erb +51 -0
  70. data/app/views/decidim/messaging/conversations/new.html.erb +5 -0
  71. data/app/views/decidim/messaging/conversations/show.html.erb +9 -0
  72. data/app/views/decidim/messaging/conversations/update.js.erb +1 -0
  73. data/app/views/decidim/newsletter_mailer/newsletter.html.erb +1 -1
  74. data/app/views/decidim/notifications/_notification.html.erb +1 -1
  75. data/app/views/decidim/shared/_action_authorization_modal.html.erb +11 -1
  76. data/app/views/decidim/shared/_announcement.html.erb +1 -1
  77. data/app/views/decidim/shared/_version_author.html.erb +18 -0
  78. data/app/views/layouts/decidim/_wrapper.html.erb +3 -0
  79. data/app/views/layouts/decidim/user_profile.html.erb +1 -9
  80. data/app/views/pages/decidim_page.html.erb +1 -1
  81. data/app/views/pages/home.html.erb +0 -2
  82. data/app/views/pages/home/_footer_sub_hero.html.erb +5 -3
  83. data/app/views/pages/home/_hero.html.erb +1 -1
  84. data/app/views/pages/home/_highlighted_processes.html.erb +7 -37
  85. data/app/views/pages/home/_sub_hero.html.erb +6 -4
  86. data/config/locales/ca.yml +49 -21
  87. data/config/locales/en.yml +47 -19
  88. data/config/locales/es.yml +48 -20
  89. data/config/locales/eu.yml +51 -23
  90. data/config/locales/fi.yml +50 -22
  91. data/config/locales/fr.yml +50 -22
  92. data/config/locales/it.yml +89 -61
  93. data/config/locales/nl.yml +72 -44
  94. data/config/locales/pl.yml +49 -21
  95. data/config/locales/pt.yml +431 -0
  96. data/config/locales/ru.yml +4 -27
  97. data/config/locales/uk.yml +10 -23
  98. data/config/routes.rb +3 -5
  99. data/db/migrate/20170313095436_add_available_authorizations_to_organization.rb +2 -2
  100. data/db/migrate/20170713131308_migrate_user_roles_to_participatory_process_roles.rb +7 -3
  101. data/db/migrate/20170914092117_add_status_to_authorizations.rb +9 -0
  102. data/db/migrate/20171011194251_add_verification_metadata_to_authorizations.rb +11 -0
  103. data/db/migrate/20171013124505_add_verification_attachment_to_authorizations.rb +9 -0
  104. data/db/migrate/20171023123330_create_decidim_messaging.rb +23 -0
  105. data/db/migrate/20171107103253_create_versions.rb +18 -0
  106. data/db/migrate/20171107103254_add_object_changes_to_versions.rb +14 -0
  107. data/db/migrate/20171117100533_create_decidim_receipts.rb +13 -0
  108. data/db/seeds.rb +13 -3
  109. data/lib/decidim/core.rb +13 -6
  110. data/lib/decidim/core/engine.rb +37 -0
  111. data/lib/decidim/core/test/factories.rb +33 -21
  112. data/lib/decidim/core/test/shared_examples/follows_examples.rb +1 -1
  113. data/lib/decidim/core/test/shared_examples/manage_moderations_examples.rb +6 -11
  114. data/lib/decidim/core/test/shared_examples/process_announcements_examples.rb +2 -4
  115. data/lib/decidim/core/test/shared_examples/reportable.rb +33 -31
  116. data/lib/decidim/core/test/shared_examples/scope_helper_examples.rb +29 -31
  117. data/lib/decidim/core/version.rb +1 -1
  118. data/lib/decidim/engine_router.rb +4 -2
  119. data/lib/decidim/has_reference.rb +10 -2
  120. data/lib/decidim/messaging.rb +9 -0
  121. data/lib/decidim/participable.rb +1 -1
  122. data/lib/decidim/traceable.rb +31 -0
  123. data/lib/decidim/view_hooks.rb +108 -0
  124. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.es.js +4 -2
  125. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.pt.js +14 -0
  126. metadata +179 -113
  127. data/app/commands/decidim/authorize_user.rb +0 -59
  128. data/app/controllers/decidim/authorizations_controller.rb +0 -80
  129. data/app/services/decidim/authorization_handler.rb +0 -95
  130. data/app/views/decidim/authorizations/first_login.html.erb +0 -22
  131. data/app/views/decidim/authorizations/index.html.erb +0 -49
  132. data/app/views/decidim/authorizations/new.html.erb +0 -33
@@ -60,11 +60,14 @@ en:
60
60
  photos:
61
61
  related_photos: Related photos
62
62
  authorization_handlers:
63
- decidim/dummy_authorization_handler:
63
+ dummy_authorization_handler:
64
+ explanation: Get verified by introducing a document number ending with "X"
64
65
  fields:
65
66
  document_number: Document number
66
67
  postal_code: Postal code
67
68
  name: Example authorization
69
+ dummy_authorization_workflow:
70
+ name: Dummy authorization workflow
68
71
  errors:
69
72
  duplicate_authorization: A user is already authorized with the same data.
70
73
  foo_authorization:
@@ -72,20 +75,8 @@ en:
72
75
  bar: Bar
73
76
  foo: Foo
74
77
  name: Foo authorization
75
- authorizations:
76
- create:
77
- error: There was an error creating the authorization.
78
- success: You've been successfully authorized.
79
- first_login:
80
- actions:
81
- decidim/dummy_authorization_handler: Verify against the example authorization
82
- title: Verify your identity
83
- verify_with_these_options: 'These are the available options to verify your identity:'
84
- new:
85
- authorize: Send
86
- authorize_with: Verify with %{authorizer}
87
- skip_verification: You can skip this for now and %{link}
88
- start_exploring: start exploring
78
+ granted_at: Granted at %{timestamp}
79
+ started_at: Started at %{timestamp}
89
80
  core:
90
81
  actions:
91
82
  unauthorized: You are not authorized to perform this action
@@ -181,6 +172,34 @@ en:
181
172
  menu:
182
173
  home: Home
183
174
  more_information: More information
175
+ messaging:
176
+ conversation_mailer:
177
+ new_conversation:
178
+ greeting: Hi, %{recipient}!
179
+ intro: "%{sender} has started a new conversation with you. Click here to see it:"
180
+ outro: Enjoy decidim!
181
+ subject: "%{sender} has started a conversation with you"
182
+ new_message:
183
+ greeting: Hi, %{recipient}!
184
+ intro: "%{sender} has posted new messages in your conversation. Click here to see them:"
185
+ outro: Enjoy decidim!
186
+ subject: You have new messages from %{sender}
187
+ conversations:
188
+ create:
189
+ error: Conversation not started. Try again later
190
+ index:
191
+ no_conversations: You have no conversations yet
192
+ title: Conversations
193
+ reply:
194
+ send: Send
195
+ title: Reply
196
+ show:
197
+ title: Conversation with %{usernames}
198
+ start:
199
+ send: Send
200
+ title: Start a conversation
201
+ update:
202
+ error: Message not sent. Try again later
184
203
  newsletter_mailer:
185
204
  newsletter:
186
205
  note: You received this email because you're subscribed to newsletters on %{organization_name}. You can change your settings on your <a href="%{link}">notifications page</a>.
@@ -226,6 +245,10 @@ en:
226
245
  authorize: Authorize with "%{authorization}"
227
246
  explanation: In order to perform this action, you need to be authorized with "%{authorization}".
228
247
  title: Authorization required
248
+ pending:
249
+ explanation: In order to perform this action, you need to be authorized with "%{authorization}", but your authorization is still in progress
250
+ resume: Check your "%{authorization}" authorization progress
251
+ title: Authorization is still in progress
229
252
  unauthorized:
230
253
  explanation: Sorry, you can't perform this action as some of your authorization data doesn't match.
231
254
  invalid: "%{field} isn't valid."
@@ -257,6 +280,8 @@ en:
257
280
  close_window: Close window
258
281
  share: Share
259
282
  share_link: Share link
283
+ version_author:
284
+ deleted: Deleted user
260
285
  devise:
261
286
  invitations:
262
287
  edit:
@@ -356,10 +381,6 @@ en:
356
381
  hero:
357
382
  participate: Participate
358
383
  welcome: Welcome to %{organization}!
359
- highlighted_processes:
360
- active_processes: Active processes
361
- active_step: Active step
362
- see_all_processes: See all processes
363
384
  statistics:
364
385
  answers_count: Answers
365
386
  comments_count: Comments
@@ -396,6 +417,13 @@ en:
396
417
  wechat_footer: Open your WeChat, click "Discover" button then click the "Scan QR Code" menu.
397
418
  weibo: Sina Weibo
398
419
  xing: Xing
420
+ time:
421
+ formats:
422
+ day_of_month: "%b %d"
423
+ day_of_week: "%a"
424
+ day_of_year: "%d.%m.%y"
425
+ decidim_short: "%d/%m/%Y %H:%M"
426
+ time_of_day: "%H:%M"
399
427
  views:
400
428
  pagination:
401
429
  first: "&laquo; First"
@@ -60,11 +60,14 @@ es:
60
60
  photos:
61
61
  related_photos: Fotos relacionadas
62
62
  authorization_handlers:
63
- decidim/dummy_authorization_handler:
63
+ dummy_authorization_handler:
64
+ explanation: Verifícate introduciendo un número de documento que termine con "X"
64
65
  fields:
65
66
  document_number: Número de documento
66
67
  postal_code: Código postal
67
- name: ejemplo de autorización
68
+ name: Autorización de ejemplo
69
+ dummy_authorization_workflow:
70
+ name: Flujo de trabajo de autorización de ejemplo
68
71
  errors:
69
72
  duplicate_authorization: Un usuario ya está autorizado con los mismos datos.
70
73
  foo_authorization:
@@ -72,20 +75,8 @@ es:
72
75
  bar: Bar
73
76
  foo: Foo
74
77
  name: Autorización foo
75
- authorizations:
76
- create:
77
- error: Se ha producido un error al crear la autorización.
78
- success: Has sido autorizado/a correctamente.
79
- first_login:
80
- actions:
81
- decidim/dummy_authorization_handler: Verificar ejemplo autorización en contra de la
82
- title: Verifica tu identidad
83
- verify_with_these_options: 'Estas son las opciones disponibles para verificar su identidad:'
84
- new:
85
- authorize: Enviar
86
- authorize_with: Verificarme con %{authorizer}
87
- skip_verification: Puedes saltarte este paso por ahora y %{link}
88
- start_exploring: empezar a explorar
78
+ granted_at: Concedida el %{timestamp}
79
+ started_at: Comenzó el %{timestamp}
89
80
  core:
90
81
  actions:
91
82
  unauthorized: No tienes permiso para realizar esta acción.
@@ -181,6 +172,34 @@ es:
181
172
  menu:
182
173
  home: Inicio
183
174
  more_information: Más información
175
+ messaging:
176
+ conversation_mailer:
177
+ new_conversation:
178
+ greeting: Hola, %{recipient}!
179
+ intro: "%{sender} ha iniciado una nueva conversación contigo. Haz click aquí para verla:"
180
+ outro: "¡Disfruta de decidim!"
181
+ subject: "%{sender} ha iniciado una conversación contigo"
182
+ new_message:
183
+ greeting: "¡Hola, %{recipient}!"
184
+ intro: "%{sender} ha publicado nuevos mensajes en tu conversación. Haz clic aquí para verlos:"
185
+ outro: "¡Disfruta de decidim!"
186
+ subject: Tienes nuevos mensajes de %{sender}
187
+ conversations:
188
+ create:
189
+ error: Conversación no iniciada. Inténtalo más tarde
190
+ index:
191
+ no_conversations: Aún no tienes conversaciones
192
+ title: Conversaciones
193
+ reply:
194
+ send: Enviar
195
+ title: Respuesta
196
+ show:
197
+ title: Conversación con %{usernames}
198
+ start:
199
+ send: Enviar
200
+ title: Iniciar una conversación
201
+ update:
202
+ error: Mensaje no enviado. Inténtalo más tarde
184
203
  newsletter_mailer:
185
204
  newsletter:
186
205
  note: Has recibido este mensaje porque estás suscrito a boletines de noticias en %{organization_name}. Puedes cambiar la configuración en tu <a href="%{link}">página de notificaciones</a>.
@@ -226,6 +245,10 @@ es:
226
245
  authorize: Autorizar con "%{authorization}"
227
246
  explanation: Para llevar a cabo esta acción, tiene que disponer de la autorización "%{authorization}".
228
247
  title: Autorización requerida
248
+ pending:
249
+ explanation: Para realizar esta acción, debes estar autorizado con "%{authorization}", pero tu autorización todavía está en progreso
250
+ resume: Verifica el progreso de la autorización "%{authorization}"
251
+ title: La autorización aún está en progreso
229
252
  unauthorized:
230
253
  explanation: No puedes realizar esta acción ya que algunos de los datos de autorización no son los requeridos.
231
254
  invalid: "%{field} no es válido."
@@ -257,6 +280,8 @@ es:
257
280
  close_window: Cerrar ventana
258
281
  share: Compartir
259
282
  share_link: Compartir enlace
283
+ version_author:
284
+ deleted: Usuario eliminado
260
285
  devise:
261
286
  invitations:
262
287
  edit:
@@ -356,10 +381,6 @@ es:
356
381
  hero:
357
382
  participate: Participar
358
383
  welcome: Bienvenido a %{organization}!
359
- highlighted_processes:
360
- active_processes: Procesos activos
361
- active_step: Fase activa
362
- see_all_processes: Ver todos los procesos
363
384
  statistics:
364
385
  answers_count: Respuestas
365
386
  comments_count: Comentarios
@@ -396,6 +417,13 @@ es:
396
417
  wechat_footer: Abra su WeChat, haga clic en el botón "Discover" y luego haga clic en el menú "Escanear código QR".
397
418
  weibo: Sina Weibo
398
419
  xing: Xing
420
+ time:
421
+ formats:
422
+ day_of_month: "%b %d"
423
+ day_of_week: "%a"
424
+ day_of_year: "%d/%m/%y"
425
+ decidim_short: "%d/%m/%Y %H:%M"
426
+ time_of_day: "%H:%M"
399
427
  views:
400
428
  pagination:
401
429
  first: "&laquo; Primera"
@@ -59,11 +59,14 @@ eu:
59
59
  photos:
60
60
  related_photos: Honekin lotutako argazkiak
61
61
  authorization_handlers:
62
- decidim/dummy_authorization_handler:
62
+ dummy_authorization_handler:
63
+ explanation: Egiaztatu "X" ren bukaerako dokumentu-zenbaki batekin sartuz.
63
64
  fields:
64
- document_number: Agiri-zenbakia
65
- postal_code: Posta-kodea
66
- name: baimen-adibidea
65
+ document_number: Dokumentuaren zenbakia
66
+ postal_code: Posta kodea
67
+ name: Adibidez baimena
68
+ dummy_authorization_workflow:
69
+ name: Dummy baimena eragiketa
67
70
  errors:
68
71
  duplicate_authorization: Badago erabiltzaile bat, datu berberekin baimendua.
69
72
  foo_authorization:
@@ -71,20 +74,8 @@ eu:
71
74
  bar: Bar
72
75
  foo: foo
73
76
  name: foo baimena
74
- authorizations:
75
- create:
76
- error: Errorea gertatu da baimena sortzean.
77
- success: Baimendua izan zara zuzen.
78
- first_login:
79
- actions:
80
- decidim/dummy_authorization_handler: 'Egiaztatu baimen-adibidea honekin erkatuta:'
81
- title: Egiaztatu zure nortasuna
82
- verify_with_these_options: 'Hona zure nortasuna egiaztatzeko dituzun aukerak:'
83
- new:
84
- authorize: Bidali
85
- authorize_with: 'Egiaztatu nire nortasuna honen bidez: %{authorizer}'
86
- skip_verification: Oraingoz, urrats hau egin gabe utzi dezakezu eta %{link}
87
- start_exploring: Hasi esploratzen
77
+ granted_at: Onartua %{timestamp}
78
+ started_at: Hasi zen %{timestamp}
88
79
  core:
89
80
  actions:
90
81
  unauthorized: Ez duzu baimenik ekintza honi heltzeko.
@@ -180,6 +171,34 @@ eu:
180
171
  menu:
181
172
  home: Hasiera
182
173
  more_information: Argibide gehiago
174
+ messaging:
175
+ conversation_mailer:
176
+ new_conversation:
177
+ greeting: Kaixo, %{recipient}!
178
+ intro: "%{sender} elkarrizketa berria hasi duzu zurekin. Egin klik hemen ikusteko:"
179
+ outro: Gozatu erabaki!
180
+ subject: "%{sender} elkarrizketa bat hasi da zurekin"
181
+ new_message:
182
+ greeting: Kaixo, %{recipient}!
183
+ intro: "%{sender} elkarrizketan mezu berriak argitaratu ditu. Egin klik hemen ikusteko:"
184
+ outro: Gozatu erabaki!
185
+ subject: '%{sender}-tik mezu berriak dituzu'
186
+ conversations:
187
+ create:
188
+ error: Ez da elkarrizketa hasi. Saiatu berriro geroago
189
+ index:
190
+ no_conversations: Oraindik ez duzu elkarrizketarik
191
+ title: Elkarrizketak
192
+ reply:
193
+ send: Bidali
194
+ title: Erantzun
195
+ show:
196
+ title: Elkarrizketa %{usernames} batera
197
+ start:
198
+ send: Bidali
199
+ title: Hasi elkarrizketa bat
200
+ update:
201
+ error: Mezua ez da bidali. Saiatu berriro geroago
183
202
  newsletter_mailer:
184
203
  newsletter:
185
204
  note: 'Mezu hau jaso duzu albiste-buletinean harpidetuta zaudelako hemen: %{organization_name}. Ezarpenak aldatu ditzakezu zure <a href="%{link}">jakinarazpen-orrian</a>.'
@@ -225,6 +244,10 @@ eu:
225
244
  authorize: 'Baimena eskuratu honen bidez: "%{authorization}"'
226
245
  explanation: 'Ekintza hau egiteko, baimen hau behar duzu: "%{authorization}".'
227
246
  title: Baimena behar da
247
+ pending:
248
+ explanation: Ekintza hau burutzeko, "%{authorization}" baimena eduki behar duzu, baina zure baimena oraindik ere badago
249
+ resume: Egiaztatu "%{authorization}" baimenaren aurrerapena
250
+ title: Baimena oraindik ere egiten ari da
228
251
  unauthorized:
229
252
  explanation: Ezin diozu heldu ekintza honi, baimen-datuetako batzuk ez direlako behar direnak.
230
253
  invalid: "%{field} ez da baliozkoa."
@@ -256,6 +279,8 @@ eu:
256
279
  close_window: Itxi leihoa
257
280
  share: Partekatu
258
281
  share_link: Partekatu esteka
282
+ version_author:
283
+ deleted: Erabiltzailea ezabatua
259
284
  devise:
260
285
  invitations:
261
286
  edit:
@@ -306,7 +331,7 @@ eu:
306
331
  link_label: hemen
307
332
  ok: Ados nago
308
333
  footer:
309
- made_with_open_source: 'Gune hau egiteko, <a target="_blank" href="https://github.com/decidim/decidim">software libre</a> erabili da.'
334
+ made_with_open_source: Gune hau egiteko, <a target="_blank" href="https://github.com/decidim/decidim">software libre</a> erabili da.
310
335
  header:
311
336
  close_menu: Itxi menua
312
337
  navigation: Nabigazioa
@@ -354,10 +379,6 @@ eu:
354
379
  hero:
355
380
  participate: Parte hartu
356
381
  welcome: Ongi etorri %{organization} erakundera!
357
- highlighted_processes:
358
- active_processes: Prozesu aktiboak
359
- active_step: Fase gaitua
360
- see_all_processes: Ikusi prozesu guztiak
361
382
  statistics:
362
383
  answers_count: Erantzunak
363
384
  comments_count: Iruzkinak
@@ -394,6 +415,13 @@ eu:
394
415
  wechat_footer: Ireki zure WeChat, egin klik "Discover" botoian, eta gero, egin klik berriro "Eskaneatu QR kodea” menuan.
395
416
  weibo: Sina Weibo
396
417
  xing: Xing
418
+ time:
419
+ formats:
420
+ day_of_month: "%b %d"
421
+ day_of_week: "%a"
422
+ day_of_year: "%d.%m.%y"
423
+ decidim_short: "%d/%m/%Y %H:%M"
424
+ time_of_day: "%H:%M"
397
425
  views:
398
426
  pagination:
399
427
  first: "&laquo; Lehena"
@@ -59,11 +59,14 @@ fi:
59
59
  photos:
60
60
  related_photos: Liittyvät kuvat
61
61
  authorization_handlers:
62
- decidim/dummy_authorization_handler:
62
+ dummy_authorization_handler:
63
+ explanation: Vahvistetaan esittämällä asiakirjan numero, joka päättyy "X"
63
64
  fields:
64
- document_number: Dokumenttinumero
65
+ document_number: Asiakirjan numero
65
66
  postal_code: Postinumero
66
- name: Esimerkkitunnistautuminen
67
+ name: Esimerkkivaltuutus
68
+ dummy_authorization_workflow:
69
+ name: Dummy-valtuutuksen työnkulku
67
70
  errors:
68
71
  duplicate_authorization: Käyttäjätili on jo varmennettu samoilla tiedoilla.
69
72
  foo_authorization:
@@ -71,20 +74,8 @@ fi:
71
74
  bar: Bar
72
75
  foo: Foo
73
76
  name: Foo-tunnistautuminen
74
- authorizations:
75
- create:
76
- error: Varmennuksen luomisessa tapahtui virhe.
77
- success: Sinut on onnistuneesti varmennettu.
78
- first_login:
79
- actions:
80
- decidim/dummy_authorization_handler: Vahvista esimerkkivarmennuksen avulla
81
- title: Vahvista identiteettisi
82
- verify_with_these_options: 'Voit vahvistaa identiteettisi seuraavien vaihtoehtojen avulla:'
83
- new:
84
- authorize: Lähetä
85
- authorize_with: Vahvista palvelun "%{authorizer}" avulla
86
- skip_verification: Voit ohittaa tämän toistaiseksi ja %{link}
87
- start_exploring: alkaa tutkia
77
+ granted_at: Annettu osoitteessa %{timestamp}
78
+ started_at: Aloitti %{timestamp}
88
79
  core:
89
80
  actions:
90
81
  unauthorized: Sinua ei ole valtuutettu tämän toiminnon suorittamiseen
@@ -180,6 +171,34 @@ fi:
180
171
  menu:
181
172
  home: Etusivu
182
173
  more_information: Lisätietoja
174
+ messaging:
175
+ conversation_mailer:
176
+ new_conversation:
177
+ greeting: Hei, %{recipient}!
178
+ intro: "%{sender} on alkanut uuden keskustelun kanssasi. Napsauta tätä nähdäksesi:"
179
+ outro: Nauti decidimista!
180
+ subject: "%{sender} on alkanut keskustella kanssasi"
181
+ new_message:
182
+ greeting: Hei, %{recipient}!
183
+ intro: "%{sender} on lähettänyt uusia viestejä keskusteluusi. Klikkaa tästä nähdäksesi ne:"
184
+ outro: Nauti decidimista!
185
+ subject: Sinulla on uusia viestejä %{sender}
186
+ conversations:
187
+ create:
188
+ error: Keskustelu ei käynnisty. Yritä myöhemmin uudelleen
189
+ index:
190
+ no_conversations: Sinulla ei vielä ole keskusteluja
191
+ title: keskustelut
192
+ reply:
193
+ send: Lähettää
194
+ title: Vastaa
195
+ show:
196
+ title: Keskustelu %{usernames} kanssa
197
+ start:
198
+ send: Lähettää
199
+ title: Aloita keskustelu
200
+ update:
201
+ error: Viestiä ei lähetetty. Yritä myöhemmin uudelleen
183
202
  newsletter_mailer:
184
203
  newsletter:
185
204
  note: Tämä viesti on lähetetty sinulle, koska olet tilannut uutiskirjeet organisaatiolta %{organization_name}. Voit muuttaa asetuksiasi <a href="%{link}">ilmoitusten sivulla</a>.
@@ -225,6 +244,10 @@ fi:
225
244
  authorize: Varmenna varmennustavalla "%{authorization}"
226
245
  explanation: Suorittaaksesi tämän toiminnon, sinun tulee varmentaa tilisi varmennustavalla "%{authorization}".
227
246
  title: Varmennus vaaditaan
247
+ pending:
248
+ explanation: Tämän toiminnan suorittamiseksi sinun on oltava valtuutettu "%{authorization}", mutta valtuutuksesi on edelleen käynnissä
249
+ resume: Tarkista "%{authorization}" valtuutuksen eteneminen
250
+ title: Valtuutus on edelleen käynnissä
228
251
  unauthorized:
229
252
  explanation: Pahoittelut, et voi suorittaa tätä toimintoa, koska varmennustietosi eivät täsmää.
230
253
  invalid: "%{field} on virheellinen."
@@ -256,6 +279,8 @@ fi:
256
279
  close_window: Sulje ikkuna
257
280
  share: Jaa
258
281
  share_link: Jaa linkki
282
+ version_author:
283
+ deleted: Poistettu käyttäjä
259
284
  devise:
260
285
  invitations:
261
286
  edit:
@@ -307,7 +332,7 @@ fi:
307
332
  link_label: täältä
308
333
  ok: Hyväksyn
309
334
  footer:
310
- made_with_open_source: 'Verkkosivusto luotu <a target="_blank" href="https://github.com/decidim/decidim">ilmaisen ohjelmiston</a> avulla.'
335
+ made_with_open_source: Verkkosivusto luotu <a target="_blank" href="https://github.com/decidim/decidim">ilmaisen ohjelmiston</a> avulla.
311
336
  header:
312
337
  close_menu: Sulje valikko
313
338
  navigation: Navigaatio
@@ -355,10 +380,6 @@ fi:
355
380
  hero:
356
381
  participate: Osallistu
357
382
  welcome: Tervetuloa organisaatioon %{organization}!
358
- highlighted_processes:
359
- active_processes: Aktiiviset prosessit
360
- active_step: Aktiivinen vaihe
361
- see_all_processes: Näytä kaikki prosessit
362
383
  statistics:
363
384
  answers_count: Vastaukset
364
385
  comments_count: Kommentit
@@ -395,6 +416,13 @@ fi:
395
416
  wechat_footer: Avaa WeChat, klikkaa "Discover" -nappia ja tämän jälkeen klikkaa "Scan QR Code" -valikkoa.
396
417
  weibo: Sina Weibo
397
418
  xing: Xing
419
+ time:
420
+ formats:
421
+ day_of_month: "%b %d"
422
+ day_of_week: "%a"
423
+ day_of_year: "%d.%m.%y"
424
+ decidim_short: "%d/%m/%Y %H:%M"
425
+ time_of_day: "%H:%M"
398
426
  views:
399
427
  pagination:
400
428
  first: "&laquo; Ensimmäinen"