decidim-elections 0.23.3 → 0.24.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/app/assets/config/admin/decidim_votings_manifest.css +0 -0
- data/app/assets/config/admin/decidim_votings_manifest.js +4 -0
- data/app/assets/config/decidim_elections_manifest.css +3 -0
- data/app/assets/config/decidim_elections_manifest.js +6 -0
- data/app/assets/config/decidim_votings_manifest.css +3 -0
- data/app/assets/config/decidim_votings_manifest.js +0 -0
- data/app/assets/images/decidim/votings/icon.svg +1 -0
- data/app/assets/javascripts/decidim/elections/admin/pending_action.js.es6 +16 -0
- data/app/assets/javascripts/decidim/elections/admin/vote_statistics.js.es6 +11 -0
- data/app/assets/javascripts/decidim/elections/trustee_zone.js.es6 +54 -0
- data/app/assets/javascripts/decidim/elections/trustee_zone/key_ceremony.js.es6 +126 -0
- data/app/assets/javascripts/decidim/elections/trustee_zone/tally.js.es6 +104 -0
- data/app/assets/javascripts/decidim/elections/vote.js.es6 +107 -160
- data/app/assets/javascripts/decidim/elections/vote_questions.component.js.es6 +129 -0
- data/app/assets/javascripts/decidim/elections/vote_verify.js.es6 +71 -0
- data/app/assets/javascripts/decidim/votings/admin/monitoring_committee_members_form.js.es6 +35 -0
- data/app/assets/javascripts/decidim/votings/admin/polling_officers_form.js.es6 +35 -0
- data/app/assets/javascripts/decidim/votings/admin/polling_officers_picker.js.es6 +35 -0
- data/app/assets/javascripts/decidim/votings/admin/polling_stations_form.js.es6 +5 -0
- data/app/assets/stylesheets/decidim/elections/elections.scss +0 -4
- data/app/assets/stylesheets/decidim/elections/focus/_accordion.scss +36 -0
- data/app/assets/stylesheets/decidim/elections/focus/_evote.scss +58 -0
- data/app/assets/stylesheets/decidim/elections/trustee_zone.scss +24 -0
- data/app/assets/stylesheets/decidim/votings/votings.scss +1 -0
- data/app/assets/stylesheets/decidim/votings/votings/_votings-header.scss +99 -0
- data/app/assets/stylesheets/decidim/votings/votings/_votings-home-banner.scss +11 -0
- data/app/cells/decidim/votings/content_block_cell.rb +17 -0
- data/app/cells/decidim/votings/content_blocks/highlighted_votings/show.erb +30 -0
- data/app/cells/decidim/votings/content_blocks/highlighted_votings_cell.rb +33 -0
- data/app/cells/decidim/votings/content_blocks/highlighted_votings_settings_form/show.erb +3 -0
- data/app/cells/decidim/votings/content_blocks/highlighted_votings_settings_form_cell.rb +19 -0
- data/app/cells/decidim/votings/content_blocks/landing_page/attachments_and_folders_cell.rb +15 -0
- data/app/cells/decidim/votings/content_blocks/landing_page/description_cell.rb +15 -0
- data/app/cells/decidim/votings/content_blocks/landing_page/elections_cell.rb +15 -0
- data/app/cells/decidim/votings/content_blocks/landing_page/header_cell.rb +15 -0
- data/app/cells/decidim/votings/content_blocks/landing_page/metrics_cell.rb +15 -0
- data/app/cells/decidim/votings/content_blocks/landing_page/polling_stations_cell.rb +15 -0
- data/app/cells/decidim/votings/content_blocks/landing_page/stats_cell.rb +15 -0
- data/app/cells/decidim/votings/content_blocks/landing_page/timeline_cell.rb +15 -0
- data/app/cells/decidim/votings/polling_officers/polling_officers_picker/polling_officers.erb +12 -0
- data/app/cells/decidim/votings/polling_officers/polling_officers_picker/show.erb +14 -0
- data/app/cells/decidim/votings/polling_officers/polling_officers_picker_cell.rb +73 -0
- data/app/cells/decidim/votings/voting_cell.rb +19 -0
- data/app/cells/decidim/votings/voting_m/data.erb +21 -0
- data/app/cells/decidim/votings/voting_m/footer.erb +5 -0
- data/app/cells/decidim/votings/voting_m_cell.rb +94 -0
- data/app/commands/decidim/elections/admin/add_user_as_trustee.rb +81 -0
- data/app/commands/decidim/elections/admin/create_election.rb +2 -1
- data/app/commands/decidim/elections/admin/end_vote.rb +63 -0
- data/app/commands/decidim/elections/admin/publish_results.rb +59 -0
- data/app/commands/decidim/elections/admin/remove_trustee_from_participatory_space.rb +37 -0
- data/app/commands/decidim/elections/admin/setup_election.rb +160 -0
- data/app/commands/decidim/elections/admin/start_key_ceremony.rb +63 -0
- data/app/commands/decidim/elections/admin/start_tally.rb +63 -0
- data/app/commands/decidim/elections/admin/start_vote.rb +63 -0
- data/app/commands/decidim/elections/admin/update_action_status.rb +47 -0
- data/app/commands/decidim/elections/admin/update_answer_selection.rb +41 -0
- data/app/commands/decidim/elections/admin/update_trustee_participatory_space.rb +40 -0
- data/app/commands/decidim/elections/trustee_zone/update_election_bulletin_board_status.rb +39 -0
- data/app/commands/decidim/elections/trustee_zone/update_trustee.rb +41 -0
- data/app/commands/decidim/elections/voter/cast_vote.rb +59 -0
- data/app/commands/decidim/elections/voter/update_vote_status.rb +70 -0
- data/app/commands/decidim/votings/admin/create_monitoring_committee_member.rb +99 -0
- data/app/commands/decidim/votings/admin/create_polling_officer.rb +99 -0
- data/app/commands/decidim/votings/admin/create_polling_station.rb +59 -0
- data/app/commands/decidim/votings/admin/create_voting.rb +59 -0
- data/app/commands/decidim/votings/admin/destroy_monitoring_committee_member.rb +51 -0
- data/app/commands/decidim/votings/admin/destroy_polling_officer.rb +52 -0
- data/app/commands/decidim/votings/admin/destroy_polling_station.rb +40 -0
- data/app/commands/decidim/votings/admin/manage_polling_station.rb +64 -0
- data/app/commands/decidim/votings/admin/publish_voting.rb +40 -0
- data/app/commands/decidim/votings/admin/unpublish_voting.rb +40 -0
- data/app/commands/decidim/votings/admin/update_polling_station.rb +50 -0
- data/app/commands/decidim/votings/admin/update_voting.rb +85 -0
- data/app/constraints/decidim/votings/current_component.rb +28 -0
- data/app/constraints/decidim/votings/current_voting.rb +43 -0
- data/app/controllers/concerns/decidim/elections/orderable.rb +2 -2
- data/app/controllers/concerns/decidim/polling_officers/admin/filterable.rb +58 -0
- data/app/controllers/concerns/decidim/polling_stations/admin/filterable.rb +57 -0
- data/app/controllers/concerns/decidim/votings/admin/filterable.rb +27 -0
- data/app/controllers/concerns/decidim/votings/admin/voting_admin.rb +48 -0
- data/app/controllers/concerns/decidim/votings/needs_voting.rb +44 -0
- data/app/controllers/concerns/decidim/votings/orderable.rb +32 -0
- data/app/controllers/decidim/elections/admin/answers_controller.rb +32 -0
- data/app/controllers/decidim/elections/admin/elections_controller.rb +2 -2
- data/app/controllers/decidim/elections/admin/feedback_forms_controller.rb +55 -0
- data/app/controllers/decidim/elections/admin/steps_controller.rb +96 -0
- data/app/controllers/decidim/elections/admin/trustees_participatory_spaces_controller.rb +89 -0
- data/app/controllers/decidim/elections/elections_controller.rb +5 -1
- data/app/controllers/decidim/elections/feedbacks_controller.rb +38 -0
- data/app/controllers/decidim/elections/trustee_zone/application_controller.rb +45 -0
- data/app/controllers/decidim/elections/trustee_zone/elections_controller.rb +35 -0
- data/app/controllers/decidim/elections/trustee_zone/trustees_controller.rb +36 -0
- data/app/controllers/decidim/elections/votes_controller.rb +54 -2
- data/app/controllers/decidim/votings/admin/application_controller.rb +26 -0
- data/app/controllers/decidim/votings/admin/component_permissions_controller.rb +13 -0
- data/app/controllers/decidim/votings/admin/components_controller.rb +15 -0
- data/app/controllers/decidim/votings/admin/monitoring_committee_members_controller.rb +62 -0
- data/app/controllers/decidim/votings/admin/polling_officers_controller.rb +66 -0
- data/app/controllers/decidim/votings/admin/polling_stations_controller.rb +92 -0
- data/app/controllers/decidim/votings/admin/voting_attachment_collections_controller.rb +22 -0
- data/app/controllers/decidim/votings/admin/voting_attachments_controller.rb +21 -0
- data/app/controllers/decidim/votings/admin/votings_controller.rb +124 -0
- data/app/controllers/decidim/votings/admin/votings_landing_page_content_blocks_controller.rb +44 -0
- data/app/controllers/decidim/votings/admin/votings_landing_page_controller.rb +46 -0
- data/app/controllers/decidim/votings/application_controller.rb +26 -0
- data/app/controllers/decidim/votings/polling_officer_zone/application_controller.rb +33 -0
- data/app/controllers/decidim/votings/polling_officer_zone/polling_officers_controller.rb +17 -0
- data/app/controllers/decidim/votings/polling_officer_zone/polling_stations_controller.rb +22 -0
- data/app/controllers/decidim/votings/votings_controller.rb +98 -0
- data/app/events/decidim/elections/trustees/notify_new_trustee_event.rb +28 -0
- data/app/events/decidim/elections/trustees/notify_trustee_new_election_event.rb +14 -0
- data/app/events/decidim/elections/votes/vote_accepted_event.rb +24 -0
- data/app/events/decidim/votings/polling_officers/polling_station_assigned_event.rb +44 -0
- data/app/forms/decidim/elections/admin/action_form.rb +34 -0
- data/app/forms/decidim/elections/admin/answer_form.rb +3 -2
- data/app/forms/decidim/elections/admin/election_form.rb +3 -2
- data/app/forms/decidim/elections/admin/setup_form.rb +79 -0
- data/app/forms/decidim/elections/admin/trustees_participatory_space_form.rb +22 -0
- data/app/forms/decidim/elections/admin/vote_period_form.rb +37 -0
- data/app/forms/decidim/elections/ballot/verify_vote_form.rb +29 -0
- data/app/forms/decidim/elections/trustee_zone/trustee_form.rb +26 -0
- data/app/forms/decidim/elections/voter/encrypted_vote_form.rb +49 -0
- data/app/forms/decidim/votings/admin/monitoring_committee_member_form.rb +27 -0
- data/app/forms/decidim/votings/admin/polling_officer_form.rb +27 -0
- data/app/forms/decidim/votings/admin/polling_station_form.rb +58 -0
- data/app/forms/decidim/votings/admin/voting_form.rb +71 -0
- data/app/helpers/decidim/elections/admin/answers_helper.rb +19 -0
- data/app/helpers/decidim/elections/admin/steps_helper.rb +23 -0
- data/app/helpers/decidim/elections/admin/trustees_participatory_spaces_helper.rb +31 -0
- data/app/helpers/decidim/elections/elections_helper.rb +29 -0
- data/app/helpers/decidim/votings/admin/polling_officers_picker_helper.rb +29 -0
- data/app/helpers/decidim/votings/votings_helper.rb +20 -0
- data/app/models/decidim/elections/action.rb +13 -0
- data/app/models/decidim/elections/election.rb +54 -3
- data/app/models/decidim/elections/elections_trustee.rb +11 -0
- data/app/models/decidim/elections/question.rb +19 -0
- data/app/models/decidim/elections/trustee.rb +26 -0
- data/app/models/decidim/elections/trustees_participatory_space.rb +13 -0
- data/app/models/decidim/elections/vote.rb +15 -0
- data/app/models/decidim/votings/monitoring_committee_member.rb +24 -0
- data/app/models/decidim/votings/polling_officer.rb +76 -0
- data/app/models/decidim/votings/polling_station.rb +64 -0
- data/app/models/decidim/votings/voting.rb +138 -0
- data/app/permissions/decidim/elections/admin/permissions.rb +50 -10
- data/app/permissions/decidim/elections/permissions.rb +20 -2
- data/app/permissions/decidim/elections/trustee_zone/permissions.rb +32 -0
- data/app/permissions/decidim/votings/admin/permissions.rb +127 -0
- data/app/permissions/decidim/votings/permissions.rb +40 -0
- data/app/permissions/decidim/votings/polling_officer_zone/permissions.rb +32 -0
- data/app/presenters/decidim/elections/admin_log/election_presenter.rb +1 -1
- data/app/presenters/decidim/elections/trustee_presenter.rb +24 -0
- data/app/presenters/decidim/votings/admin_log/voting_presenter.rb +45 -0
- data/app/presenters/decidim/votings/polling_station_presenter.rb +27 -0
- data/app/presenters/decidim/votings/voting_presenter.rb +36 -0
- data/app/queries/decidim/elections/admin/pending_actions.rb +20 -0
- data/app/queries/decidim/elections/admin/votes_for_statistics.rb +24 -0
- data/app/queries/decidim/elections/elections_finished_to_end.rb +19 -0
- data/app/queries/decidim/elections/elections_ready_to_start.rb +25 -0
- data/app/queries/decidim/elections/trustees/by_participatory_space.rb +24 -0
- data/app/queries/decidim/elections/trustees/by_participatory_space_trustee_ids.rb +24 -0
- data/app/queries/decidim/elections/votes/election_votes.rb +19 -0
- data/app/queries/decidim/elections/votes/pending_votes.rb +20 -0
- data/app/queries/decidim/elections/votes/user_election_last_vote.rb +26 -0
- data/app/queries/decidim/elections/votes/user_votes.rb +19 -0
- data/app/queries/decidim/votings/admin/admin_users.rb +39 -0
- data/app/queries/decidim/votings/admin/polling_officers_join_polling_stations.rb +33 -0
- data/app/queries/decidim/votings/admin/polling_officers_join_polling_stations_and_user.rb +34 -0
- data/app/queries/decidim/votings/admin/polling_officers_join_user.rb +32 -0
- data/app/queries/decidim/votings/organization_prioritized_votings.rb +21 -0
- data/app/queries/decidim/votings/organization_promoted_votings.rb +16 -0
- data/app/queries/decidim/votings/organization_published_votings.rb +19 -0
- data/app/queries/decidim/votings/organization_votings.rb +16 -0
- data/app/queries/decidim/votings/prioritized_votings.rb +13 -0
- data/app/queries/decidim/votings/published_votings.rb +12 -0
- data/app/services/decidim/votings/voting_search.rb +46 -0
- data/app/views/decidim/elections/admin/answers/index.html.erb +12 -0
- data/app/views/decidim/elections/admin/elections/index.html.erb +13 -1
- data/app/views/decidim/elections/admin/proposals_imports/new.html.erb +1 -1
- data/app/views/decidim/elections/admin/questions/index.html.erb +5 -1
- data/app/views/decidim/elections/admin/shared/_trustees_secondary_nav.html.erb +3 -0
- data/app/views/decidim/elections/admin/steps/_create_election.html.erb +38 -0
- data/app/views/decidim/elections/admin/steps/_created.html.erb +16 -0
- data/app/views/decidim/elections/admin/steps/_key_ceremony.html.erb +16 -0
- data/app/views/decidim/elections/admin/steps/_key_ceremony_ended.html.erb +15 -0
- data/app/views/decidim/elections/admin/steps/_tally.html.erb +17 -0
- data/app/views/decidim/elections/admin/steps/_tally_ended.html.erb +9 -0
- data/app/views/decidim/elections/admin/steps/_vote.html.erb +21 -0
- data/app/views/decidim/elections/admin/steps/_vote_ended.html.erb +15 -0
- data/app/views/decidim/elections/admin/steps/_vote_stats.html.erb +31 -0
- data/app/views/decidim/elections/admin/steps/index.html.erb +43 -0
- data/app/views/decidim/elections/admin/trustees_participatory_spaces/_form.html.erb +19 -0
- data/app/views/decidim/elections/admin/trustees_participatory_spaces/index.html.erb +64 -0
- data/app/views/decidim/elections/admin/trustees_participatory_spaces/new.html.erb +7 -0
- data/app/views/decidim/elections/elections/_filters_small_view.html.erb +1 -1
- data/app/views/decidim/elections/elections/_preview.html.erb +26 -0
- data/app/views/decidim/elections/elections/_results.html.erb +47 -0
- data/app/views/decidim/elections/elections/show.html.erb +43 -18
- data/app/views/decidim/elections/trustee_zone/elections/_backup_modal.html.erb +24 -0
- data/app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb +44 -0
- data/app/views/decidim/elections/trustee_zone/elections/_restore_modal.html.erb +25 -0
- data/app/views/decidim/elections/trustee_zone/elections/_tally_steps.html.erb +43 -0
- data/app/views/decidim/elections/trustee_zone/elections/show.html.erb +38 -0
- data/app/views/decidim/elections/trustee_zone/elections/update.js.erb +5 -0
- data/app/views/decidim/elections/trustee_zone/trustees/show.html.erb +102 -0
- data/app/views/decidim/elections/votes/_election_votes_confirmed.html.erb +38 -17
- data/app/views/decidim/elections/votes/_election_votes_failed.html.erb +21 -0
- data/app/views/decidim/elections/votes/_election_votes_question.html.erb +4 -4
- data/app/views/decidim/elections/votes/cast_failed.js.erb +1 -0
- data/app/views/decidim/elections/votes/cast_success.js.erb +1 -0
- data/app/views/decidim/elections/votes/new.html.erb +41 -33
- data/app/views/decidim/elections/votes/verify.html.erb +78 -0
- data/app/views/decidim/votings/admin/monitoring_committee_members/_form.html.erb +27 -0
- data/app/views/decidim/votings/admin/monitoring_committee_members/index.html.erb +41 -0
- data/app/views/decidim/votings/admin/monitoring_committee_members/new.html.erb +7 -0
- data/app/views/decidim/votings/admin/polling_officers/_form.html.erb +27 -0
- data/app/views/decidim/votings/admin/polling_officers/index.html.erb +50 -0
- data/app/views/decidim/votings/admin/polling_officers/new.html.erb +7 -0
- data/app/views/decidim/votings/admin/polling_stations/_form.html.erb +40 -0
- data/app/views/decidim/votings/admin/polling_stations/edit.html.erb +7 -0
- data/app/views/decidim/votings/admin/polling_stations/index.html.erb +55 -0
- data/app/views/decidim/votings/admin/polling_stations/new.html.erb +7 -0
- data/app/views/decidim/votings/admin/votings/_form.html.erb +63 -0
- data/app/views/decidim/votings/admin/votings/edit.html.erb +31 -0
- data/app/views/decidim/votings/admin/votings/index.html.erb +87 -0
- data/app/views/decidim/votings/admin/votings/new.html.erb +13 -0
- data/app/views/decidim/votings/admin/votings/polling_officers_picker.html.erb +2 -0
- data/app/views/decidim/votings/polling_officer_zone/polling_officers/show.html.erb +42 -0
- data/app/views/decidim/votings/polling_officer_zone/polling_stations/show.html.erb +1 -0
- data/app/views/decidim/votings/votings/_count.html.erb +1 -0
- data/app/views/decidim/votings/votings/_filters.html.erb +25 -0
- data/app/views/decidim/votings/votings/_filters_small_view.html.erb +23 -0
- data/app/views/decidim/votings/votings/_promoted_voting.html.erb +27 -0
- data/app/views/decidim/votings/votings/_voting_details.html.erb +7 -0
- data/app/views/decidim/votings/votings/_votings.html.erb +25 -0
- data/app/views/decidim/votings/votings/index.html.erb +42 -0
- data/app/views/decidim/votings/votings/index.js.erb +10 -0
- data/app/views/decidim/votings/votings/show.html.erb +20 -0
- data/app/views/layouts/decidim/_voting_header.html.erb +16 -0
- data/app/views/layouts/decidim/admin/voting.html.erb +101 -0
- data/app/views/layouts/decidim/voting.html.erb +16 -0
- data/config/initializers/decidim_bulletin_board.rb +23 -0
- data/config/locales/ca.yml +636 -6
- data/config/locales/cs.yml +645 -7
- data/config/locales/de.yml +636 -6
- data/config/locales/el.yml +4 -2
- data/config/locales/en.yml +636 -6
- data/config/locales/es-MX.yml +637 -7
- data/config/locales/es-PY.yml +637 -7
- data/config/locales/es.yml +637 -7
- data/config/locales/fi-plain.yml +637 -7
- data/config/locales/fi.yml +638 -8
- data/config/locales/fr-CA.yml +423 -6
- data/config/locales/fr.yml +423 -6
- data/config/locales/gl.yml +85 -5
- data/config/locales/it.yml +98 -6
- data/config/locales/ja.yml +12 -6
- data/config/locales/lv.yml +4 -2
- data/config/locales/nl.yml +503 -6
- data/config/locales/no.yml +2 -5
- data/config/locales/pl.yml +655 -10
- data/config/locales/pt.yml +4 -6
- data/config/locales/ro-RO.yml +214 -6
- data/config/locales/sv.yml +258 -7
- data/config/locales/tr-TR.yml +111 -6
- data/config/locales/zh-CN.yml +4 -6
- data/db/migrate/20200915142713_add_questionnaire_to_existing_elections.rb +29 -0
- data/db/migrate/20200918153813_create_decidim_elections_trustees_participatory_spaces.rb +13 -0
- data/db/migrate/20200918153824_create_decidim_elections_elections_trustees.rb +10 -0
- data/db/migrate/20200918153835_create_decidim_elections_trustees.rb +12 -0
- data/db/migrate/20201026163334_add_blocked_at_and_bb_status_to_elections.rb +8 -0
- data/db/migrate/20201028090110_add_votes_to_decidim_elections_answers.rb +7 -0
- data/db/migrate/20201028135614_add_selected_to_decidim_elections_answers.rb +7 -0
- data/db/migrate/20201209110653_create_decidim_elections_votes.rb +14 -0
- data/db/migrate/20201216091123_add_name_to_trustees.rb +7 -0
- data/db/migrate/20210113113818_add_message_id_to_decidim_elections_votes.rb +7 -0
- data/db/migrate/20210113120115_create_decidim_elections_votings.rb +20 -0
- data/db/migrate/20210114100749_add_published_at_to_decidim_votings_votings.rb +7 -0
- data/db/migrate/20210114111850_add_user_to_decidim_elections_votes.rb +7 -0
- data/db/migrate/20210120164634_add_promoted_to_voting.rb +7 -0
- data/db/migrate/20210125124801_add_voting_type_to_voting_voting.rb +7 -0
- data/db/migrate/20210129124956_create_decidim_elections_actions.rb +14 -0
- data/db/migrate/20210204132111_add_votings_polling_stations.rb +19 -0
- data/db/migrate/20210208090441_add_polling_officers_to_votings.rb +12 -0
- data/db/migrate/20210210090738_add_votings_polling_station_references_to_votings_polling_officer.rb +8 -0
- data/db/migrate/20210216074707_add_monitoring_committee_member.rb +12 -0
- data/db/migrate/20210310120708_add_followable_counter_cache_to_votings.rb +16 -0
- data/db/seeds/city.jpeg +0 -0
- data/lib/decidim/api/election_answer_type.rb +23 -0
- data/lib/decidim/api/election_question_type.rb +22 -0
- data/lib/decidim/api/election_type.rb +27 -0
- data/lib/decidim/api/elections_type.rb +32 -0
- data/lib/decidim/api/trustee_type.rb +16 -0
- data/lib/decidim/api/voting_type.rb +20 -0
- data/lib/decidim/elections.rb +19 -2
- data/lib/decidim/elections/admin_engine.rb +42 -1
- data/lib/decidim/elections/answer_serializer.rb +48 -0
- data/lib/decidim/elections/api.rb +11 -0
- data/lib/decidim/elections/component.rb +367 -24
- data/lib/decidim/elections/engine.rb +8 -1
- data/lib/decidim/elections/test/factories.rb +201 -4
- data/lib/decidim/elections/trustee_zone.rb +10 -0
- data/lib/decidim/elections/trustee_zone_engine.rb +35 -0
- data/lib/decidim/elections/version.rb +1 -1
- data/lib/decidim/votings.rb +16 -0
- data/lib/decidim/votings/admin.rb +10 -0
- data/lib/decidim/votings/admin_engine.rb +71 -0
- data/lib/decidim/votings/api.rb +7 -0
- data/lib/decidim/votings/engine.rb +147 -0
- data/lib/decidim/votings/participatory_space.rb +92 -0
- data/lib/decidim/votings/polling_officer_zone.rb +10 -0
- data/lib/decidim/votings/polling_officer_zone_engine.rb +33 -0
- data/lib/decidim/votings/query_extensions.rb +43 -0
- data/lib/decidim/votings/test/capybara_polling_officers_picker.rb +49 -0
- data/lib/decidim/votings/test/factories.rb +83 -0
- data/lib/decidim/votings/voting_serializer.rb +54 -0
- data/lib/tasks/decidim_elections.rake +68 -5
- metadata +303 -19
- data/app/types/decidim/elections/election_answer_type.rb +0 -24
- data/app/types/decidim/elections/election_question_type.rb +0 -25
- data/app/types/decidim/elections/election_type.rb +0 -27
- data/app/types/decidim/elections/elections_type.rb +0 -32
- data/config/i18n-tasks.yml +0 -10
- data/lib/decidim/elections/bulletin_board_client.rb +0 -35
data/config/locales/pt.yml
CHANGED
@@ -48,8 +48,6 @@ pt:
|
|
48
48
|
confirm_destroy: Tem a certeza?
|
49
49
|
destroy: Destruir
|
50
50
|
edit: Editar
|
51
|
-
edit_answers: Editar respostas
|
52
|
-
edit_questions: Editar perguntas
|
53
51
|
import: Importar propostas para perguntas
|
54
52
|
new: Novo %{name}
|
55
53
|
preview: Pré-visualizar
|
@@ -140,12 +138,9 @@ pt:
|
|
140
138
|
one: "%{count} eleição"
|
141
139
|
other: "%{count} eleições"
|
142
140
|
show:
|
143
|
-
back: Todas as eleições
|
144
141
|
preview: Pré-visualizar
|
145
|
-
vote: Votar
|
146
142
|
voting_period_status:
|
147
143
|
finished: A votação começou em %{start_time} e terminou em %{end_time}
|
148
|
-
ongoing: A votação termina em %{end_time}
|
149
144
|
upcoming: A votação começa em %{start_time}
|
150
145
|
models:
|
151
146
|
answer:
|
@@ -178,7 +173,6 @@ pt:
|
|
178
173
|
header: Voto confirmado
|
179
174
|
lead: O seu voto já foi transmitido!
|
180
175
|
text: 'Pode verificar que o seu voto foi adicionado corretamente à caixa de voto com o seguinte identificador: <strong class="evote__poll-id">%{e_vote_poll_id}</strong>'
|
181
|
-
verify_text: Para verificá-lo, copie o identificador e cole-o na <a href="evote-verify">página de verificação de voto</a>
|
182
176
|
encrypting:
|
183
177
|
header: A codificar voto...
|
184
178
|
text: O seu voto está a ser encriptado para garantir que pode transmiti-lo anonimamente.
|
@@ -206,6 +200,10 @@ pt:
|
|
206
200
|
email_outro: Recebeu esta notificação porque segue %{participatory_space_title}. Pode parar de receber notificações seguindo a hiperligação anterior.
|
207
201
|
email_subject: A eleição %{resource_title} está agora ativa em %{participatory_space_title}.
|
208
202
|
notification_title: A eleição <a href="%{resource_path}">%{resource_title}</a> está agora ativa em %{participatory_space_title}.
|
203
|
+
pages:
|
204
|
+
home:
|
205
|
+
statistics:
|
206
|
+
elections_count: Eleições
|
209
207
|
participatory_processes:
|
210
208
|
statistics:
|
211
209
|
elections_count: Eleições
|
data/config/locales/ro-RO.yml
CHANGED
@@ -14,14 +14,40 @@ ro:
|
|
14
14
|
question:
|
15
15
|
description: Descriere
|
16
16
|
max_selections: Numărul maxim de selecții
|
17
|
+
min_selections: Niciuna dintre opțiunile de mai sus
|
17
18
|
title: Titlu
|
19
|
+
voting:
|
20
|
+
end_time: Votarea se încheie
|
21
|
+
start_time: Votarea începe
|
18
22
|
errors:
|
19
23
|
models:
|
20
24
|
answer:
|
21
25
|
attributes:
|
22
26
|
attachment:
|
23
27
|
needs_to_be_reattached: Trebuie să fie reatașate
|
28
|
+
election:
|
29
|
+
attributes:
|
30
|
+
attachment:
|
31
|
+
needs_to_be_reattached: Trebuie să fie reatașate
|
32
|
+
trustee:
|
33
|
+
attributes:
|
34
|
+
name:
|
35
|
+
cant_be_changed: nu poate fi schimbat
|
36
|
+
public_key:
|
37
|
+
cant_be_changed: nu poate fi schimbat
|
24
38
|
activerecord:
|
39
|
+
errors:
|
40
|
+
models:
|
41
|
+
decidim/votings/polling_officer:
|
42
|
+
attributes:
|
43
|
+
presided_polling_station:
|
44
|
+
president_and_manager: Ofiţerul de sondare a opiniei publice este deja preşedintele/managerul secţiilor de votare
|
45
|
+
voting:
|
46
|
+
different_organization: Votul trebuie să fie în aceeași organizație ca și utilizatorul
|
47
|
+
decidim/votings/polling_station:
|
48
|
+
attributes:
|
49
|
+
polling_station_president:
|
50
|
+
different_voting: Ofiţerul de votare trebuie să se afle în acelaşi vot ca şi secţia de votare
|
25
51
|
models:
|
26
52
|
decidim/elections/answer:
|
27
53
|
one: Răspuns
|
@@ -35,7 +61,32 @@ ro:
|
|
35
61
|
one: Întrebare
|
36
62
|
few: Întrebări
|
37
63
|
other: Întrebări
|
64
|
+
decidim/votings/polling_officer:
|
65
|
+
one: Ofițer de sondaj
|
66
|
+
few: Ofițer de sondaj
|
67
|
+
other: Ofiţeri de votare
|
68
|
+
decidim/votings/polling_station:
|
69
|
+
one: Stație de votare
|
70
|
+
few: Stație de votare
|
71
|
+
other: Secţii de votare
|
72
|
+
decidim/votings/voting:
|
73
|
+
one: Votare
|
74
|
+
few: Votări
|
75
|
+
other: Votări
|
38
76
|
decidim:
|
77
|
+
admin:
|
78
|
+
filters:
|
79
|
+
officers_assigned_eq:
|
80
|
+
label: Ofiţeri
|
81
|
+
values:
|
82
|
+
assigned: Atribuit
|
83
|
+
unassigned: Nu este atribuit
|
84
|
+
role_eq:
|
85
|
+
label: Rol
|
86
|
+
values:
|
87
|
+
manager: Administrator
|
88
|
+
president: Președinte
|
89
|
+
unassigned: Neatribuit
|
39
90
|
components:
|
40
91
|
elections:
|
41
92
|
actions:
|
@@ -51,9 +102,11 @@ ro:
|
|
51
102
|
confirm_destroy: Ești sigur?
|
52
103
|
destroy: Distruge
|
53
104
|
edit: Editare
|
54
|
-
|
55
|
-
edit_questions: Editare întrebări
|
105
|
+
feedback: Feedback la votare
|
56
106
|
import: Importă propunerile pentru răspunsuri
|
107
|
+
manage_answers: Gestionare răspunsuri
|
108
|
+
manage_questions: Gestionează întrebările
|
109
|
+
manage_steps: Gestionați pașii
|
57
110
|
new: '%{name} nou'
|
58
111
|
preview: Previzualizare
|
59
112
|
publish: Publică
|
@@ -71,10 +124,19 @@ ro:
|
|
71
124
|
title: Editare răspuns
|
72
125
|
update: Actualizare răspuns
|
73
126
|
index:
|
127
|
+
invalid_max_selections: Mai ai nevoie de %{missing_answers} răspuns/s pentru a se potrivi cu selecțiile maxime
|
74
128
|
title: Răspunsuri
|
75
129
|
new:
|
76
130
|
create: Creează răspuns
|
77
131
|
title: Răspuns nou
|
132
|
+
select:
|
133
|
+
disable: Deselectare răspuns
|
134
|
+
enable: Marchează răspunsul ca selectat
|
135
|
+
invalid: A apărut o eroare la selectarea acestui răspuns
|
136
|
+
success: Răspuns selectat cu succes
|
137
|
+
unselect:
|
138
|
+
invalid: A apărut o eroare la selectarea acestui răspuns
|
139
|
+
success: Răspuns selectat cu succes
|
78
140
|
update:
|
79
141
|
invalid: A apărut o problemă la actualizarea acestui răspuns
|
80
142
|
success: Răspuns actualizat cu succes
|
@@ -89,6 +151,7 @@ ro:
|
|
89
151
|
title: Editare alegeri
|
90
152
|
update: Actualizează alegerea
|
91
153
|
index:
|
154
|
+
no_bulletin_board: Nu există <a href="https://github.com/decidim/decidim-bulletin-board">Serverul Bulletin Board</a> configurat, care este necesar pentru a utiliza acest modul. Această sarcină trebuie realizată de Administratorul de sistem.
|
92
155
|
title: Alegeri
|
93
156
|
new:
|
94
157
|
create: Creați alegeri
|
@@ -100,6 +163,9 @@ ro:
|
|
100
163
|
update:
|
101
164
|
invalid: A apărut o eroare la actualizarea acestei alegeri
|
102
165
|
success: Alegerile au fost actualizate
|
166
|
+
exports:
|
167
|
+
elections: Alegeri
|
168
|
+
feedback_form_answers: Răspunsuri la formularul de feedback
|
103
169
|
models:
|
104
170
|
answer:
|
105
171
|
name: Răspuns
|
@@ -107,6 +173,8 @@ ro:
|
|
107
173
|
name: Alegeri
|
108
174
|
question:
|
109
175
|
name: Întrebare
|
176
|
+
trustee:
|
177
|
+
name: Împuternicit
|
110
178
|
proposals_imports:
|
111
179
|
create:
|
112
180
|
invalid: A apărut o problemă la importarea propunerilor în răspunsuri
|
@@ -115,6 +183,7 @@ ro:
|
|
115
183
|
create: Importă propunerile pentru răspunsuri
|
116
184
|
no_components: Nu există alte componente de propunere în acest spațiu participativ pentru a se obține răspunsuri la propuneri.
|
117
185
|
select_component: Vă rugăm să selectaţi o componentă
|
186
|
+
title: Importă propuneri
|
118
187
|
questions:
|
119
188
|
create:
|
120
189
|
invalid: A apărut o problemă la crearea acestei întrebări
|
@@ -133,23 +202,98 @@ ro:
|
|
133
202
|
update:
|
134
203
|
invalid: A apărut o eroare la actualizarea acestei întrebări
|
135
204
|
success: Întrebare actualizată cu succes
|
205
|
+
steps:
|
206
|
+
create_election:
|
207
|
+
errors:
|
208
|
+
max_selections: Întrebările nu au <strong>o valoare corectă pentru suma de răspunsuri</strong>
|
209
|
+
minimum_answers: Întrebările trebuie să aibă <strong>cel puţin două răspunsuri</strong>.
|
210
|
+
minimum_questions: Alegerea <strong>trebuie să aibă cel puţin o întrebare</strong>.
|
211
|
+
published: Alegerea nu este <strong>publicată</strong>.
|
212
|
+
time_before: Timpul de începere este în <strong>mai puţin de 3 ore</strong> înainte de începerea alegerilor.
|
213
|
+
trustees_number: Spațiul participativ <strong>trebuie să aibă cel puțin %{number} administratori cu cheie publică</strong>.
|
214
|
+
invalid: A apărut o eroare la organizarea acestor alegeri
|
215
|
+
no_trustees: Nu există trupe configurate pentru acest spațiu participativ
|
216
|
+
not_used_trustee: "(nu este folosit)"
|
217
|
+
public_key:
|
218
|
+
'false': nu are <strong>o cheie publică</strong>
|
219
|
+
'true': are o <strong>cheie publică</strong>
|
220
|
+
vote_ended:
|
221
|
+
submit: Începeți să numărați
|
222
|
+
success: Solicitarea de începere a fost trimisă cu succes la Panoul de Buletin
|
223
|
+
title: Perioada de vot s-a încheiat
|
224
|
+
vote_stats:
|
225
|
+
no_vote_statistics_yet: Încă nu există statistici despre voturi
|
226
|
+
title: Statistici Votare
|
227
|
+
voters: Votanți
|
228
|
+
votes: Voturi
|
229
|
+
trustees_participatory_spaces:
|
230
|
+
actions:
|
231
|
+
disable: Dezactivează
|
232
|
+
enable: Luați în considerare
|
233
|
+
create:
|
234
|
+
exists: Există Administrator pentru acest spațiu participativ
|
235
|
+
invalid: A apărut o problemă la crearea unui administrator
|
236
|
+
success: Administrator creat cu succes
|
237
|
+
delete:
|
238
|
+
invalid: A apărut o eroare la eliminarea acestui administrator
|
239
|
+
success: Administratorul a fost sters
|
240
|
+
form:
|
241
|
+
select_user: Selectați utilizatorul
|
242
|
+
index:
|
243
|
+
title: Administrator
|
244
|
+
new:
|
245
|
+
create: Crează Administrator
|
246
|
+
title: Administrator nou
|
247
|
+
update:
|
248
|
+
invalid: A apărut o problemă la actualizarea administratorului %{trustee}
|
249
|
+
success: Administrator %{trustee} actualizat cu succes
|
136
250
|
admin_log:
|
137
251
|
election:
|
252
|
+
end_vote: "%{user_name} a încheiat perioada de votare pentru %{resource_name} alegerea în Buletin Board"
|
138
253
|
publish: "%{user_name} a publicat alegerile pentru %{resource_name}"
|
254
|
+
setup: "%{user_name} a creat alegerea %{resource_name} în Panoul de Buletin"
|
255
|
+
start_key_ceremony: "%{user_name} a început ceremonia cheii pentru alegerile %{resource_name} din Panoul de Buletin"
|
256
|
+
start_tally: "%{user_name} a început numărătoarea pentru alegerea %{resource_name} în Panoul de Buletin"
|
257
|
+
start_vote: "%{user_name} a început perioada de votare pentru %{resource_name} alegeri în Bulletin Board"
|
139
258
|
unpublish: "%{user_name} nepublicat alegerea %{resource_name}"
|
259
|
+
election_m:
|
260
|
+
badge_name:
|
261
|
+
finished: Terminat
|
262
|
+
ongoing: Activ
|
263
|
+
upcoming: Urmează
|
264
|
+
end_date: Se termină
|
265
|
+
footer:
|
266
|
+
view: Vizualizare
|
267
|
+
vote: Votează
|
268
|
+
label:
|
269
|
+
date: Date
|
270
|
+
questions: Întrebări %{count}
|
271
|
+
start_date: Începe
|
272
|
+
unspecified: Nu este specificat
|
140
273
|
elections:
|
141
274
|
count:
|
142
275
|
elections_count:
|
143
276
|
one: "%{count} alegeri"
|
144
277
|
few: "%{count} alegeri"
|
145
278
|
other: "%{count} alegeri"
|
279
|
+
filters:
|
280
|
+
active: Activ
|
281
|
+
all: Toate
|
282
|
+
finished: Finalizat
|
283
|
+
search: Caută
|
284
|
+
state: Stare
|
285
|
+
upcoming: Urmează
|
286
|
+
filters_small_view:
|
287
|
+
close_modal: Închidere
|
288
|
+
filter: Filtrare
|
289
|
+
filter_by: Filtrează după
|
290
|
+
unfold: Desfășurat
|
291
|
+
preview:
|
292
|
+
title: Întrebări electorale
|
146
293
|
show:
|
147
|
-
back: Toate alegerile
|
148
294
|
preview: Previzualizare
|
149
|
-
vote: Votează
|
150
295
|
voting_period_status:
|
151
296
|
finished: Votarea a început la %{start_time} și s-a încheiat la %{end_time}
|
152
|
-
ongoing: Votarea se termină la %{end_time}
|
153
297
|
upcoming: Votarea începe la %{start_time}
|
154
298
|
models:
|
155
299
|
answer:
|
@@ -166,6 +310,62 @@ ro:
|
|
166
310
|
answers: Răspunsuri
|
167
311
|
max_selections: Selecții maxime
|
168
312
|
title: Titlu
|
313
|
+
trustee_zone:
|
314
|
+
elections:
|
315
|
+
tally_steps:
|
316
|
+
process_warning: Odată ce procesul este pornit, nu ar trebui să ieșiți din această pagină până când procesul se încheie. Va dura câteva minute, deoarece toate Truste-urile ar trebui conectate pentru a o finaliza.
|
317
|
+
start: Incepe
|
318
|
+
start_icon: Pictograma care indică un buton de pornire pentru a porni generarea cheilor electorale
|
319
|
+
status:
|
320
|
+
completed: Finalizat
|
321
|
+
pending: În așteptare
|
322
|
+
processing: Se procesează
|
323
|
+
title: Corespondent pentru %{election}
|
324
|
+
update:
|
325
|
+
error: Statutul alegerilor nu a fost actualizat.
|
326
|
+
success: 'Statutul alegerilor este: %{status}'
|
327
|
+
menu:
|
328
|
+
trustee_zone: Zonă Administrator
|
329
|
+
no_bulletin_board:
|
330
|
+
body: Pentru această secţiune este necesar un Bulletin configurat. Contactaţi Administratorul pentru mai multe detalii.
|
331
|
+
title: Ne pare rău, Bulletin Board nu este configurat încă.
|
332
|
+
trustees:
|
333
|
+
show:
|
334
|
+
elections:
|
335
|
+
list:
|
336
|
+
action_required:
|
337
|
+
'false': 'Nr'
|
338
|
+
name: Acțiune necesară?
|
339
|
+
'true': Efectuează acțiunea
|
340
|
+
bb_status: Stare
|
341
|
+
election: Alegeri
|
342
|
+
voting_period: Perioada de vot
|
343
|
+
no_elections: Nu există alegeri unde să te comporţi ca un Administrator.
|
344
|
+
title: Alegeri
|
345
|
+
identification_keys:
|
346
|
+
cancel: Anulează
|
347
|
+
generate: Generează chei de identificare
|
348
|
+
generate_error: A apărut o eroare la generarea cheilor de identificare.
|
349
|
+
generate_legend: Trebuie să generați o pereche de chei pentru a participa la alegeri ca un Trustee.
|
350
|
+
generate_legend_1: După ce apăsați pe buton, ar trebui să descărcați fișierul cu tastele de identificare generate.
|
351
|
+
generate_legend_2: Copiaţi fişierul descărcat pe un dispozitiv USB curat
|
352
|
+
generate_legend_3: Asigurați-vă că calculatorul dvs. nu are o copie a fișierului (de exemplu, verificați dosarele Descărcări și Desktop).
|
353
|
+
generate_legend_4: Faceți o altă copie a fișierului pe un alt dispozitiv extern și păstrați-l într-un loc foarte sigur.
|
354
|
+
submit: Trimiteți
|
355
|
+
submit_legend: După urmărirea tuturor paşilor explicaţi mai sus, finalizaţi procesul de trimitere a cheii publice de identificare la serverul Decidim.
|
356
|
+
submit_title: Trimite cheia publică de identificare
|
357
|
+
title: Chei de identificare Administrator
|
358
|
+
upload: Încărcați-vă cheile de identificare
|
359
|
+
upload_error:
|
360
|
+
invalid_format: Fişierul încărcat nu conţine nici o cheie de identificare.
|
361
|
+
invalid_key: Tastele de identificare din fișierul încărcat nu pot fi încărcate.
|
362
|
+
invalid_public_key: Tastele de identificare din fişierul încărcat nu se potrivesc cu cheia de identificare publică stocată de Decidim.
|
363
|
+
upload_legend: Decidim are cheile tale de identificare publică, dar browserul tău încă nu le are. Trebuie să importați fișierul cu cheile de identificare în calculator din copia de siguranță creată după ce ați generat.
|
364
|
+
not_supported_browser_description: Se pare că folosești un browser web care nu poate fi folosit pentru a acționa ca Administrator. Asigură-te că folosești cea mai recentă versiune de browser, sau încercați să utilizați oricare dintre cele mai populare browsere pentru a putea finaliza sarcinile dvs. Administrator.
|
365
|
+
not_supported_browser_title: Actualizează browser-ul pentru a acționa ca Administrator
|
366
|
+
trustee_role_description: Ați fost desemnat să acționați ca Administrator în unele dintre alegerile celebrate în această platformă.
|
367
|
+
update:
|
368
|
+
success: Cheia publică de identificare a fost stocată cu succes.
|
169
369
|
votes:
|
170
370
|
confirm:
|
171
371
|
answer: Răspuns
|
@@ -174,18 +374,22 @@ ro:
|
|
174
374
|
edit: editează
|
175
375
|
header: Confirmă votul tău
|
176
376
|
intro: Iată un rezumat al votului pe care urmează să îl exprimați. <br> Vă rugăm să confirmați votul sau să editați răspunsurile.
|
377
|
+
nota_option: Necompletat
|
177
378
|
question: Întrebarea %{count}
|
178
379
|
confirmed:
|
179
380
|
back: Înapoi la alegeri
|
381
|
+
error: Ne pare rău, a apărut o eroare la confirmarea votului. Vă rugăm să votați din nou.
|
180
382
|
experience: Cum a fost experiența ta?
|
181
383
|
feedback: Oferă-ne un feedback
|
182
384
|
header: Votare confirmată
|
183
385
|
lead: Votul tău a fost deja exprimat!
|
184
386
|
text: 'Poți verifica dacă votul tău a fost adăugat cu succes în urna de vot cu următorul identificator: <strong class="evote__poll-id">%{e_vote_poll_id}</strong>'
|
185
|
-
|
387
|
+
verify_link: Pentru a verifica, copiați identificatorul și lipiți-l pe pagina <a href="%{link}">pentru verificarea votului</a>
|
186
388
|
encrypting:
|
187
389
|
header: Codificarea votului...
|
188
390
|
text: Votul tău este criptat pentru a te asigura că îl poți trimite anonim.
|
391
|
+
failed:
|
392
|
+
header: Vot eșuat
|
189
393
|
header:
|
190
394
|
confirm: Confirmă votul tău
|
191
395
|
confirmed: Votare confirmată
|
@@ -210,6 +414,10 @@ ro:
|
|
210
414
|
email_outro: Ați primit această notificare deoarece urmăriți %{participatory_space_title}. Puteți înceta să primiți notificări urmând linkul anterior.
|
211
415
|
email_subject: Alegerea %{resource_title} este acum activă pentru %{participatory_space_title}.
|
212
416
|
notification_title: Alegerile <a href="%{resource_path}">%{resource_title}</a> sunt acum active pentru %{participatory_space_title}.
|
417
|
+
pages:
|
418
|
+
home:
|
419
|
+
statistics:
|
420
|
+
elections_count: Alegeri
|
213
421
|
participatory_processes:
|
214
422
|
statistics:
|
215
423
|
elections_count: Alegeri
|
data/config/locales/sv.yml
CHANGED
@@ -15,6 +15,8 @@ sv:
|
|
15
15
|
description: Beskrivning
|
16
16
|
max_selections: Maximalt antal val
|
17
17
|
title: Titel
|
18
|
+
voting:
|
19
|
+
end_time: Omröstningen avslutas
|
18
20
|
errors:
|
19
21
|
models:
|
20
22
|
answer:
|
@@ -36,7 +38,23 @@ sv:
|
|
36
38
|
decidim/elections/question:
|
37
39
|
one: Fråga
|
38
40
|
other: Frågor
|
41
|
+
decidim/votings/voting:
|
42
|
+
one: Omröstning
|
43
|
+
other: Omröstningar
|
39
44
|
decidim:
|
45
|
+
admin:
|
46
|
+
filters:
|
47
|
+
officers_assigned_eq:
|
48
|
+
label: Handläggare
|
49
|
+
values:
|
50
|
+
assigned: Tilldelade
|
51
|
+
unassigned: Inte tilldelad
|
52
|
+
role_eq:
|
53
|
+
label: Roll
|
54
|
+
values:
|
55
|
+
manager: Koordinator
|
56
|
+
president: Ordförande
|
57
|
+
unassigned: Otilldelad
|
40
58
|
components:
|
41
59
|
elections:
|
42
60
|
actions:
|
@@ -52,8 +70,6 @@ sv:
|
|
52
70
|
confirm_destroy: Är du säker?
|
53
71
|
destroy: Förstör
|
54
72
|
edit: Redigera
|
55
|
-
edit_answers: Redigera svar
|
56
|
-
edit_questions: Redigera frågor
|
57
73
|
import: Importera förslag till svar
|
58
74
|
new: Ny %{name}
|
59
75
|
preview: Förhandsgranska
|
@@ -101,6 +117,8 @@ sv:
|
|
101
117
|
update:
|
102
118
|
invalid: Det gick inte att uppdatera valet
|
103
119
|
success: Val har uppdaterats
|
120
|
+
exports:
|
121
|
+
elections: Val
|
104
122
|
models:
|
105
123
|
answer:
|
106
124
|
name: Svar
|
@@ -108,6 +126,8 @@ sv:
|
|
108
126
|
name: Val
|
109
127
|
question:
|
110
128
|
name: Fråga
|
129
|
+
trustee:
|
130
|
+
name: Förvaltare
|
111
131
|
proposals_imports:
|
112
132
|
create:
|
113
133
|
invalid: Det gick inte att importera förslagen till svar
|
@@ -134,6 +154,33 @@ sv:
|
|
134
154
|
update:
|
135
155
|
invalid: Det gick inte att uppdatera denna fråga
|
136
156
|
success: Frågan har uppdaterats
|
157
|
+
steps:
|
158
|
+
create_election:
|
159
|
+
not_used_trustee: "(används inte)"
|
160
|
+
created:
|
161
|
+
trustees: Förvaltare
|
162
|
+
key_ceremony:
|
163
|
+
trustees: Förvaltare
|
164
|
+
processing: Bearbetar...
|
165
|
+
tally:
|
166
|
+
trustees: Förvaltare
|
167
|
+
tally_ended:
|
168
|
+
submit: Publicera resultat
|
169
|
+
vote:
|
170
|
+
title: Röstningsperiod
|
171
|
+
vote_stats:
|
172
|
+
no_vote_statistics_yet: Ingen röstningsstatistik ännu
|
173
|
+
title: Röstningsstatistik
|
174
|
+
voters: Väjare
|
175
|
+
votes: Röster
|
176
|
+
trustees_participatory_spaces:
|
177
|
+
actions:
|
178
|
+
disable: Avaktivera
|
179
|
+
enable: Tillåt
|
180
|
+
form:
|
181
|
+
select_user: Välj användare
|
182
|
+
index:
|
183
|
+
title: Förvaltare
|
137
184
|
admin_log:
|
138
185
|
election:
|
139
186
|
publish: "%{user_name} publicerade valet %{resource_name}"
|
@@ -169,13 +216,15 @@ sv:
|
|
169
216
|
filter: Filter
|
170
217
|
filter_by: Filtrera efter
|
171
218
|
unfold: Veckla ut
|
219
|
+
results:
|
220
|
+
selected: Valda
|
172
221
|
show:
|
173
|
-
|
222
|
+
action-button:
|
223
|
+
vote: Starta omröstningen
|
224
|
+
vote-again: Rösta om
|
174
225
|
preview: Förhandsgranska
|
175
|
-
vote: Rösta
|
176
226
|
voting_period_status:
|
177
227
|
finished: Omröstningen började den %{start_time} och slutade den %{end_time}
|
178
|
-
ongoing: Omröstningen slutar den %{end_time}
|
179
228
|
upcoming: Omröstningen börjar den %{start_time}
|
180
229
|
models:
|
181
230
|
answer:
|
@@ -192,10 +241,57 @@ sv:
|
|
192
241
|
answers: Svar
|
193
242
|
max_selections: Max. val
|
194
243
|
title: Titel
|
244
|
+
trustees_participatory_space:
|
245
|
+
fields:
|
246
|
+
considered: tillåten
|
247
|
+
email: E-post
|
248
|
+
inactive: inaktiv
|
249
|
+
name: Namn
|
250
|
+
public_key: Offentlig nyckel
|
251
|
+
status: Status
|
195
252
|
orders:
|
196
253
|
label: Sortera omröstningar efter
|
197
254
|
older: Äldre
|
198
255
|
recent: Senaste
|
256
|
+
trustee_zone:
|
257
|
+
elections:
|
258
|
+
backup_modal:
|
259
|
+
download_election_keys: Hämta nycklar
|
260
|
+
key_ceremony_steps:
|
261
|
+
back: Tillbaka
|
262
|
+
keys:
|
263
|
+
create_election: Nycklar generering
|
264
|
+
list:
|
265
|
+
status: Status
|
266
|
+
task: Uppgift
|
267
|
+
start: Start
|
268
|
+
status:
|
269
|
+
completed: Slutförd
|
270
|
+
pending: Avvaktande
|
271
|
+
processing: Bearbetar
|
272
|
+
tally_steps:
|
273
|
+
back: Tillbaka
|
274
|
+
list:
|
275
|
+
status: Status
|
276
|
+
task: Uppgift
|
277
|
+
start: Start
|
278
|
+
status:
|
279
|
+
completed: Slutförd
|
280
|
+
pending: Väntande
|
281
|
+
processing: Bearbetar
|
282
|
+
trustees:
|
283
|
+
show:
|
284
|
+
elections:
|
285
|
+
list:
|
286
|
+
action_required:
|
287
|
+
'false': 'Nej'
|
288
|
+
bb_status: Status
|
289
|
+
election: Val
|
290
|
+
voting_period: Röstningsperiod
|
291
|
+
title: Omröstningar
|
292
|
+
identification_keys:
|
293
|
+
cancel: Avbryt
|
294
|
+
submit: Skicka in
|
199
295
|
votes:
|
200
296
|
confirm:
|
201
297
|
answer: Svar
|
@@ -204,6 +300,7 @@ sv:
|
|
204
300
|
edit: redigera
|
205
301
|
header: Bekräfta din röst
|
206
302
|
intro: Här är en sammanfattning av den röst som du ska rösta. <br> Vänligen bekräfta din röst eller redigera dina svar.
|
303
|
+
nota_option: Tom
|
207
304
|
question: Fråga %{count}
|
208
305
|
confirmed:
|
209
306
|
back: Tillbaka till val
|
@@ -212,7 +309,6 @@ sv:
|
|
212
309
|
header: Rösta bekräftad
|
213
310
|
lead: Din röst har redan skickats!
|
214
311
|
text: 'Du kan kontrollera att din röst har lagts till i röstsedeln med följande identifierare: <strong class="evote__poll-id">%{e_vote_poll_id}</strong>'
|
215
|
-
verify_text: För att kontrollera det, kopiera identifieraren och klistra in den på <a href="evote-verify">röstverifieringssidan</a>
|
216
312
|
encrypting:
|
217
313
|
header: Kodar omröstning...
|
218
314
|
text: Din röst krypteras så att du kan skicka den anonymt.
|
@@ -230,6 +326,10 @@ sv:
|
|
230
326
|
preview_alert: Detta är en förhandsvisning av röstlängden.
|
231
327
|
question_steps: Fråga %{current_step} av %{total_steps}
|
232
328
|
selections: "%{selected} av %{max_selections}<br> val"
|
329
|
+
verify:
|
330
|
+
form:
|
331
|
+
back: Tillbaka till Decidim
|
332
|
+
submit: Kontrollera
|
233
333
|
voting_step:
|
234
334
|
back: Tillbaka
|
235
335
|
continue: Nästa
|
@@ -243,10 +343,161 @@ sv:
|
|
243
343
|
email_outro: Du har fått det här meddelandet eftersom du följer %{participatory_space_title}. Du kan sluta ta emot meddelanden via föregående länk.
|
244
344
|
email_subject: Valet %{resource_title} är nu aktivt för %{participatory_space_title}.
|
245
345
|
notification_title: Valet <a href="%{resource_path}">%{resource_title}</a> är nu aktivt för %{participatory_space_title}.
|
346
|
+
menu:
|
347
|
+
votings: Omröstningar
|
348
|
+
pages:
|
349
|
+
home:
|
350
|
+
statistics:
|
351
|
+
elections_count: Val
|
246
352
|
participatory_processes:
|
247
353
|
statistics:
|
248
|
-
elections_count:
|
354
|
+
elections_count: Val
|
355
|
+
votings:
|
356
|
+
admin:
|
357
|
+
index:
|
358
|
+
not_published: Ej publicerade
|
359
|
+
published: Publicerad
|
360
|
+
landing_page:
|
361
|
+
content_blocks:
|
362
|
+
edit:
|
363
|
+
update: Uppdatera
|
364
|
+
menu:
|
365
|
+
votings: Omröstningar
|
366
|
+
votings_submenu:
|
367
|
+
attachment_collections: Mappar
|
368
|
+
attachment_files: Filer
|
369
|
+
attachments: Bilagor
|
370
|
+
components: Komponenter
|
371
|
+
info: Information
|
372
|
+
landing_page: Landningssida
|
373
|
+
models:
|
374
|
+
monitoring_committee_member:
|
375
|
+
fields:
|
376
|
+
email: E-post
|
377
|
+
name: Namn
|
378
|
+
polling_officer:
|
379
|
+
fields:
|
380
|
+
email: E-post
|
381
|
+
name: Namn
|
382
|
+
polling_station:
|
383
|
+
fields:
|
384
|
+
address: Adress
|
385
|
+
polling_station_managers: Koordinatorer
|
386
|
+
polling_station_president: Ordförande
|
387
|
+
title: Titel
|
388
|
+
voting:
|
389
|
+
fields:
|
390
|
+
created_at: Skapad den
|
391
|
+
promoted: Uppmärksammad
|
392
|
+
published: Publicerad
|
393
|
+
title: Titel
|
394
|
+
monitoring_committee_members:
|
395
|
+
new:
|
396
|
+
create: Skapa
|
397
|
+
polling_officers:
|
398
|
+
index:
|
399
|
+
role_manager: chef
|
400
|
+
role_president: ordförande
|
401
|
+
new:
|
402
|
+
create: Skapa
|
403
|
+
polling_officers_picker:
|
404
|
+
close: Stäng
|
405
|
+
polling_stations:
|
406
|
+
new:
|
407
|
+
create: Skapa
|
408
|
+
titles:
|
409
|
+
votings: Omröstningar
|
410
|
+
votings:
|
411
|
+
actions:
|
412
|
+
confirm_destroy: Är du säker?
|
413
|
+
destroy: Ta bort
|
414
|
+
publish: Publicera
|
415
|
+
unpublish: Avpublicera
|
416
|
+
edit:
|
417
|
+
update: Uppdatera
|
418
|
+
form:
|
419
|
+
title: Titel
|
420
|
+
voting_type:
|
421
|
+
hybrid: Hybrid
|
422
|
+
in_person: Fysisk
|
423
|
+
online: Online
|
424
|
+
new:
|
425
|
+
create: Skapa
|
426
|
+
title: Ny omröstning
|
427
|
+
monitoring_committee_members:
|
428
|
+
actions:
|
429
|
+
destroy: Radera
|
430
|
+
new: Ny medlem
|
431
|
+
title: Åtgärder
|
432
|
+
pages:
|
433
|
+
home:
|
434
|
+
highlighted_votings:
|
435
|
+
see_all_votings: Se alla omröstningar
|
436
|
+
polling_officer_zone:
|
437
|
+
polling_officers:
|
438
|
+
show:
|
439
|
+
polling_stations:
|
440
|
+
list:
|
441
|
+
actions: Åtgärder
|
442
|
+
address: Adress
|
443
|
+
name: Namn
|
444
|
+
role: Din roll
|
445
|
+
voting: Omröstning
|
446
|
+
polling_officers:
|
447
|
+
actions:
|
448
|
+
destroy: Radera
|
449
|
+
new: Ny
|
450
|
+
title: Åtgärder
|
451
|
+
roles:
|
452
|
+
manager: Koordinator
|
453
|
+
president: Ordförande
|
454
|
+
unassigned: Otilldelad
|
455
|
+
polling_stations:
|
456
|
+
actions:
|
457
|
+
confirm_destroy: Är du säker?
|
458
|
+
destroy: Radera
|
459
|
+
edit: Redigera
|
460
|
+
new: Ny
|
461
|
+
title: Åtgärder
|
462
|
+
votings:
|
463
|
+
filters:
|
464
|
+
active: Aktiva
|
465
|
+
all: Alla
|
466
|
+
finished: Avslutade
|
467
|
+
search: Sök
|
468
|
+
state: Status
|
469
|
+
upcoming: Kommande
|
470
|
+
filters_small_view:
|
471
|
+
close_modal: Stäng fönster
|
472
|
+
filter: Filtrera
|
473
|
+
filter_by: Filtrera efter
|
474
|
+
unfold: Veckla ut
|
475
|
+
index:
|
476
|
+
title: Omröstningar
|
477
|
+
orders:
|
478
|
+
random: Slumpmässig
|
479
|
+
recent: Senaste
|
480
|
+
show:
|
481
|
+
dates: Datum
|
482
|
+
votings_m:
|
483
|
+
badge_name:
|
484
|
+
finished: Avslutade
|
485
|
+
ongoing: Pågående
|
486
|
+
upcoming: Kommande
|
487
|
+
footer_button_text:
|
488
|
+
participate: Delta
|
489
|
+
view: Visa
|
490
|
+
vote: Rösta
|
491
|
+
unspecified: Ej angivet
|
492
|
+
voting_type:
|
493
|
+
hybrid: Hybrid
|
494
|
+
in_person: Fysisk
|
495
|
+
online: Online
|
249
496
|
layouts:
|
250
497
|
decidim:
|
251
498
|
election_votes_header:
|
252
499
|
exit: Avsluta
|
500
|
+
votings:
|
501
|
+
promoted_voting:
|
502
|
+
more_info: Mer information
|
503
|
+
vote: Omröstning
|