decidim-action_delegator 0.8.1 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +104 -58
- data/Rakefile +2 -2
- data/app/commands/decidim/action_delegator/admin/create_delegation.rb +1 -3
- data/app/commands/decidim/action_delegator/admin/create_setting.rb +5 -2
- data/app/commands/decidim/action_delegator/admin/update_setting.rb +4 -2
- data/app/controllers/concerns/decidim/action_delegator/devise/sessions_controller_override.rb +1 -1
- data/app/controllers/concerns/decidim/action_delegator/election_per_question_votes_controller_override.rb +65 -0
- data/app/controllers/concerns/decidim/action_delegator/election_votes_controller_override.rb +38 -0
- data/app/controllers/concerns/decidim/action_delegator/votes_controller_methods.rb +46 -0
- data/app/controllers/decidim/action_delegator/admin/application_controller.rb +11 -5
- data/app/controllers/decidim/action_delegator/admin/delegations_controller.rb +3 -11
- data/app/controllers/decidim/action_delegator/admin/invite_participants_controller.rb +0 -8
- data/app/controllers/decidim/action_delegator/admin/manage_delegations_controller.rb +13 -21
- data/app/controllers/decidim/action_delegator/admin/manage_participants_controller.rb +11 -20
- data/app/controllers/decidim/action_delegator/admin/participants_controller.rb +1 -9
- data/app/controllers/decidim/action_delegator/admin/permissions_controller.rb +1 -24
- data/app/controllers/decidim/action_delegator/admin/ponderations_controller.rb +0 -8
- data/app/controllers/decidim/action_delegator/admin/settings_controller.rb +12 -12
- data/app/controllers/decidim/action_delegator/application_controller.rb +3 -3
- data/app/controllers/decidim/action_delegator/elections/admin/results_controller.rb +58 -0
- data/app/controllers/decidim/action_delegator/elections/results_controller.rb +36 -0
- data/app/controllers/decidim/action_delegator/user_delegations_controller.rb +1 -1
- data/app/controllers/decidim/action_delegator/verifications/delegations_verifier/authorizations_controller.rb +14 -18
- data/app/forms/decidim/action_delegator/admin/action_delegator_census_form.rb +44 -0
- data/app/forms/decidim/action_delegator/admin/csv_import_form.rb +17 -0
- data/app/forms/decidim/action_delegator/admin/delegation_form.rb +6 -2
- data/app/forms/decidim/action_delegator/admin/ponderation_form.rb +2 -1
- data/app/forms/decidim/action_delegator/admin/setting_form.rb +16 -10
- data/app/forms/decidim/action_delegator/censuses/internal_users_form.rb +32 -0
- data/app/forms/decidim/action_delegator/verifications/delegations_verifier_form.rb +41 -25
- data/app/helpers/decidim/action_delegator/admin/{delegation_helper.rb → settings_helper.rb} +3 -16
- data/app/helpers/decidim/action_delegator/settings_helper.rb +124 -0
- data/app/jobs/decidim/action_delegator/admin/invite_participants_job.rb +1 -1
- data/app/jobs/decidim/action_delegator/send_sms_job.rb +2 -2
- data/app/jobs/decidim/action_delegator/twilio_send_sms_job.rb +2 -2
- data/app/models/decidim/action_delegator/delegation.rb +35 -9
- data/app/models/decidim/action_delegator/participant.rb +15 -9
- data/app/models/decidim/action_delegator/ponderation.rb +0 -2
- data/app/models/decidim/action_delegator/setting.rb +14 -32
- data/app/overrides/decidim/elections/admin/dashboard/_results/_add_results_contents.html.erb.deface +10 -0
- data/app/overrides/decidim/elections/admin/dashboard/_results/_add_results_tabs.html.erb.deface +3 -0
- data/app/overrides/decidim/elections/elections/_election_aside/add_delegation_buttons.html.erb.deface +3 -0
- data/app/overrides/decidim/elections/elections/_vote_results/replace_results_div.html.erb.deface +8 -0
- data/app/overrides/decidim/elections/per_question_votes/show/add_delegation_hidden_input.html.erb.deface +3 -0
- data/app/overrides/decidim/elections/per_question_votes/show/add_delegation_id_to_links.html.erb.deface +3 -0
- data/app/overrides/decidim/elections/per_question_votes/waiting/add_delegation_buttons.html.erb.deface +3 -0
- data/app/overrides/decidim/elections/votes/receipt/add_delegation_buttons.html.erb.deface +3 -0
- data/app/packs/entrypoints/decidim_action_delegator_elections.js +1 -0
- data/app/packs/src/decidim/action_delegator/elections_live_results.js +160 -0
- data/app/permissions/decidim/action_delegator/admin/permissions.rb +29 -0
- data/app/permissions/decidim/action_delegator/permissions.rb +6 -30
- data/app/presenters/decidim/action_delegator/setting_presenter.rb +33 -0
- data/app/queries/decidim/action_delegator/action_delegator_census_users.rb +51 -0
- data/app/queries/decidim/action_delegator/authorized_resources.rb +28 -0
- data/app/queries/decidim/action_delegator/election_settings.rb +23 -0
- data/app/queries/decidim/action_delegator/{delegated_votes_versions.rb → elections_delegated_votes_versions.rb} +8 -8
- data/app/queries/decidim/action_delegator/elections_question_responses_by_type.rb +33 -0
- data/app/queries/decidim/action_delegator/elections_question_weighted_responses.rb +28 -0
- data/app/queries/decidim/action_delegator/elections_votes_with_ponderations.rb +62 -0
- data/app/services/decidim/action_delegator/delegations_csv_importer.rb +3 -3
- data/app/services/decidim/action_delegator/participants_csv_importer.rb +1 -1
- data/app/services/decidim/action_delegator/sms_gateway.rb +2 -2
- data/app/views/decidim/action_delegator/admin/censuses/_action_delegator_census_form.html.erb +44 -0
- data/app/views/decidim/action_delegator/admin/censuses/_action_delegator_census_options_form.html.erb +25 -0
- data/app/views/decidim/action_delegator/admin/delegations/index.html.erb +12 -13
- data/app/views/decidim/action_delegator/admin/delegations/new.html.erb +29 -27
- data/app/views/decidim/action_delegator/admin/manage_delegations/new.html.erb +36 -24
- data/app/views/decidim/action_delegator/admin/manage_participants/new.html.erb +47 -33
- data/app/views/decidim/action_delegator/admin/participants/_form.html.erb +14 -8
- data/app/views/decidim/action_delegator/admin/participants/edit.html.erb +11 -13
- data/app/views/decidim/action_delegator/admin/participants/index.html.erb +20 -25
- data/app/views/decidim/action_delegator/admin/participants/new.html.erb +11 -13
- data/app/views/decidim/action_delegator/admin/ponderations/_form.html.erb +13 -7
- data/app/views/decidim/action_delegator/admin/ponderations/edit.html.erb +11 -13
- data/app/views/decidim/action_delegator/admin/ponderations/index.html.erb +8 -11
- data/app/views/decidim/action_delegator/admin/ponderations/new.html.erb +11 -13
- data/app/views/decidim/action_delegator/admin/settings/_form.html.erb +26 -12
- data/app/views/decidim/action_delegator/admin/settings/_participants_sync_check.html.erb +1 -1
- data/app/views/decidim/action_delegator/admin/settings/_setting_checks.html.erb +11 -16
- data/app/views/decidim/action_delegator/admin/settings/edit.html.erb +11 -12
- data/app/views/decidim/action_delegator/admin/settings/index.html.erb +22 -19
- data/app/views/decidim/action_delegator/admin/settings/new.html.erb +11 -12
- data/app/views/decidim/action_delegator/admin/shared/_tabs_menu.html.erb +15 -0
- data/app/views/decidim/action_delegator/censuses/_internal_users_form.html.erb +61 -0
- data/app/views/decidim/action_delegator/elections/_delegation_buttons.html.erb +10 -0
- data/app/views/decidim/action_delegator/elections/_normal_election_buttons.html.erb +13 -0
- data/app/views/decidim/action_delegator/elections/_per_question_buttons.html.erb +9 -0
- data/app/views/decidim/action_delegator/elections/_per_question_waiting_buttons.html.erb +19 -0
- data/app/views/decidim/action_delegator/elections/_vote_results.html.erb +10 -0
- data/app/views/decidim/action_delegator/elections/_vote_results_question.html.erb +13 -0
- data/app/views/decidim/action_delegator/elections/admin/dashboard/_by_type_and_weight.html.erb +45 -0
- data/app/views/decidim/action_delegator/elections/admin/dashboard/_results_tabs.html.erb +5 -0
- data/app/views/decidim/action_delegator/elections/admin/dashboard/_results_type_info.html.erb +4 -0
- data/app/views/decidim/action_delegator/elections/admin/dashboard/_sum_of_weights.html.erb +43 -0
- data/app/views/decidim/action_delegator/elections/admin/dashboard/_totals.html.erb +27 -0
- data/app/views/decidim/action_delegator/user_delegations/index.html.erb +13 -14
- data/app/views/decidim/action_delegator/verifications/delegations_verifier/authorizations/edit.html.erb +19 -29
- data/app/views/decidim/action_delegator/verifications/delegations_verifier/authorizations/new.html.erb +42 -40
- data/config/assets.rb +3 -35
- data/config/i18n-tasks.yml +27 -5
- data/config/locales/ca.yml +70 -56
- data/config/locales/cs.yml +161 -145
- data/config/locales/en.yml +110 -67
- data/config/locales/es.yml +70 -56
- data/db/migrate/20200824113801_create_settings.rb +1 -1
- data/db/migrate/20250729104037_add_title_to_action_delegator_settings.rb +31 -0
- data/lib/decidim/action_delegator/admin_engine.rb +72 -45
- data/lib/decidim/action_delegator/common_rake.rb +13 -0
- data/lib/decidim/action_delegator/engine.rb +49 -19
- data/lib/decidim/action_delegator/test/delegation_examples.rb +144 -0
- data/lib/decidim/action_delegator/test/factories.rb +11 -6
- data/lib/decidim/action_delegator/verifications/delegations_authorizer.rb +80 -47
- data/lib/decidim/action_delegator/version.rb +3 -3
- data/lib/decidim/action_delegator.rb +8 -26
- data/lib/tasks/migrate_consultations.rake +382 -0
- data/lib/tasks/upgrade_tasks.rake +5 -0
- data/package.json +10 -27
- metadata +72 -112
- data/app/commands/concerns/decidim/action_delegator/consultations/multiple_vote_question_override.rb +0 -31
- data/app/commands/concerns/decidim/action_delegator/consultations/vote_question_override.rb +0 -44
- data/app/commands/decidim/action_delegator/admin/fix_resource_permissions.rb +0 -46
- data/app/commands/decidim/action_delegator/vote_delegation.rb +0 -28
- data/app/controllers/concerns/decidim/action_delegator/consultations/consultations_controller_override.rb +0 -16
- data/app/controllers/concerns/decidim/action_delegator/consultations/question_multiple_votes_controller_override.rb +0 -29
- data/app/controllers/concerns/decidim/action_delegator/consultations/question_votes_controller_override.rb +0 -57
- data/app/controllers/concerns/decidim/action_delegator/consultations/questions_controller_override.rb +0 -16
- data/app/controllers/concerns/decidim/action_delegator/needs_consultation_styles.rb +0 -24
- data/app/controllers/decidim/action_delegator/admin/consultations/exports_controller.rb +0 -27
- data/app/controllers/decidim/action_delegator/admin/consultations_controller.rb +0 -47
- data/app/controllers/decidim/action_delegator/admin/exports/_sum_of_weights_controller.rb +0 -15
- data/app/forms/concerns/decidim/action_delegator/consultations/vote_form_override.rb +0 -15
- data/app/helpers/decidim/action_delegator/delegation_helper.rb +0 -13
- data/app/jobs/decidim/action_delegator/export_consultation_results_job.rb +0 -51
- data/app/models/concerns/decidim/action_delegator/consultations/question_override.rb +0 -18
- data/app/models/concerns/decidim/action_delegator/consultations/vote_override.rb +0 -15
- data/app/models/decidim/action_delegator/unversioned_vote.rb +0 -19
- data/app/models/decidim/action_delegator/whodunnit_vote.rb +0 -28
- data/app/overrides/decidim/consultations/admin/consultations/results/add_ongoing_warning.html.erb.deface +0 -3
- data/app/overrides/decidim/consultations/consultations/_question/add_delegation_link.html.erb.deface +0 -3
- data/app/overrides/decidim/consultations/consultations/_regular_questions/prevent_empty_questions.html.erb.deface +0 -10
- data/app/overrides/decidim/consultations/consultations/_regular_questions/remove_highlighted_scopes.html.erb.deface +0 -5
- data/app/overrides/decidim/consultations/question_multiple_votes/_form/add_delegation_notice.html.erb.deface +0 -8
- data/app/overrides/decidim/consultations/questions/_vote_button/add_delegations_link.html.erb.deface +0 -3
- data/app/overrides/decidim/consultations/questions/_vote_button/add_modal.html.erb.deface +0 -3
- data/app/overrides/decidim/consultations/questions/_vote_button/add_modal_javascript.html.erb.deface +0 -4
- data/app/overrides/decidim/consultations/questions/_vote_button/replace_delegation_to_multivote_link.html.erb.deface +0 -8
- data/app/overrides/decidim/consultations/questions/_vote_modal/add_delegation_callout.html.erb.deface +0 -3
- data/app/overrides/decidim/consultations/questions/_vote_modal_confirm/add_delegation_callout.html.erb.deface +0 -3
- data/app/overrides/decidim/consultations/questions/_vote_modal_confirm/add_hidden_field.html.erb.deface +0 -3
- data/app/overrides/layouts/decidim/admin/remove_deprecation.rb +0 -10
- data/app/packs/entrypoints/decidim_action_delegator.scss +0 -1
- data/app/packs/entrypoints/decidim_action_delegator_questions.js +0 -5
- data/app/packs/src/decidim/action_delegator/questions.js +0 -33
- data/app/packs/stylesheets/decidim/action_delegator/questions.scss +0 -26
- data/app/permissions/concerns/decidim/action_delegator/consultations/permissions_override.rb +0 -35
- data/app/presenters/decidim/action_delegator/question_with_totals.rb +0 -24
- data/app/queries/decidim/action_delegator/consultation_delegations.rb +0 -25
- data/app/queries/decidim/action_delegator/delegates_votes_by_consultation.rb +0 -24
- data/app/queries/decidim/action_delegator/delegates_votes_by_question.rb +0 -26
- data/app/queries/decidim/action_delegator/delegation_votes.rb +0 -30
- data/app/queries/decidim/action_delegator/grantee_delegations.rb +0 -24
- data/app/queries/decidim/action_delegator/organization_delegations.rb +0 -26
- data/app/queries/decidim/action_delegator/organization_settings.rb +0 -31
- data/app/queries/decidim/action_delegator/responses.rb +0 -24
- data/app/queries/decidim/action_delegator/responses_by_membership.rb +0 -58
- data/app/queries/decidim/action_delegator/scrutiny.rb +0 -87
- data/app/queries/decidim/action_delegator/setting_delegations.rb +0 -19
- data/app/queries/decidim/action_delegator/sum_of_membership_weight.rb +0 -44
- data/app/queries/decidim/action_delegator/sum_of_weights.rb +0 -25
- data/app/queries/decidim/action_delegator/type_and_weight.rb +0 -26
- data/app/queries/decidim/action_delegator/voted_with_ponderations.rb +0 -30
- data/app/queries/decidim/action_delegator/votes_count_aggregation.rb +0 -34
- data/app/serializers/decidim/action_delegator/consultation_results_serializer.rb +0 -19
- data/app/views/decidim/action_delegator/admin/consultations/_ongoing_consultation_warning.html.erb +0 -3
- data/app/views/decidim/action_delegator/admin/consultations/results.html.erb +0 -65
- data/app/views/decidim/action_delegator/admin/consultations/weighted_results.html.erb +0 -66
- data/app/views/decidim/action_delegator/consultations/_link_to_question.html.erb +0 -11
- data/app/views/decidim/action_delegator/consultations/questions/_callout.html.erb +0 -5
- data/app/views/decidim/action_delegator/consultations/questions/_delegations_modal.html.erb +0 -34
- data/app/views/decidim/action_delegator/consultations/questions/_link_to_delegations.html.erb +0 -11
- data/app/views/decidim/action_delegator/consultations/questions/_vote_delegated_active.html.erb +0 -32
- data/app/views/decidim/action_delegator/consultations/questions/_vote_delegated_finished.html.erb +0 -9
- data/app/views/decidim/action_delegator/consultations/questions/_vote_delegated_upcoming.html.erb +0 -8
- data/app/views/decidim/consultations/question_votes/update_vote_button.js.erb +0 -82
- data/lib/tasks/import_direct_verification.rake +0 -30
data/config/locales/cs.yml
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
cs:
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
|
+
csv_import:
|
6
|
+
csv_file: CSV file
|
5
7
|
delegations_verifier:
|
6
8
|
email: E-mail
|
7
9
|
phone: Mobilní telefonní číslo
|
@@ -13,26 +15,25 @@ cs:
|
|
13
15
|
name: Typ členství
|
14
16
|
name_help: Typ členství
|
15
17
|
setting:
|
16
|
-
|
17
|
-
max_grants:
|
18
|
+
active: Active
|
19
|
+
max_grants: Maximální počet delegací hlasů, které může uživatel obdržet
|
18
20
|
phone_freezed: Použít telefonní číslo ze seznamu obyvatel. Nedovolte účastníkům jej upravovat.
|
19
21
|
verify_with_sms: Ověřit pomocí SMS
|
20
22
|
errors:
|
23
|
+
messages:
|
24
|
+
only_one_active_setting_per_phone_required: There can only be one active setting with phone verification at a time.
|
21
25
|
models:
|
22
26
|
delegations_verifier:
|
23
27
|
attributes:
|
24
28
|
email:
|
25
|
-
email_not_found:
|
29
|
+
email_not_found: Omlouváme se, tento e-mail není v seznamu obyvatel. Pokud se domníváte, že se jedná o chybu, kontaktujte nás prosím.
|
26
30
|
phone:
|
27
|
-
phone_not_found:
|
31
|
+
phone_not_found: Omlouváme se, tento telefon není v seznamu obyvatel. Pokud se domníváte, že se jedná o chybu, kontaktujte nás prosím.
|
28
32
|
decidim:
|
29
33
|
action_delegator:
|
30
34
|
admin:
|
31
|
-
|
32
|
-
|
33
|
-
title: Výsledky podle odpovědi, typu členství a váhy
|
34
|
-
weighted_results:
|
35
|
-
title: Results by answer summing membership weights
|
35
|
+
census:
|
36
|
+
setting_group: Setting group
|
36
37
|
delegations:
|
37
38
|
create:
|
38
39
|
error: Při vytváření delegace došlo k chybě
|
@@ -40,8 +41,8 @@ cs:
|
|
40
41
|
error_max_grants: Dosáhli jste limitu povolených delegací pro tohoto příjemce
|
41
42
|
success: Delegace úspěšně vytvořena
|
42
43
|
csv_imports:
|
43
|
-
invalid:
|
44
|
-
success:
|
44
|
+
invalid: Při importu delegací došlo k problému
|
45
|
+
success: Delegace úspěšně importovány
|
45
46
|
destroy:
|
46
47
|
error: Došlo k potížím při odstraňování této delegace
|
47
48
|
success: Delegace úspěšně zničena
|
@@ -49,26 +50,21 @@ cs:
|
|
49
50
|
granter_missing: The granter (from) is not registered into the platform
|
50
51
|
index:
|
51
52
|
actions:
|
52
|
-
csv_import:
|
53
|
+
csv_import: Importovat přes csv
|
53
54
|
new_delegation: Nový účastník
|
54
|
-
consultation: Konzultace
|
55
55
|
created_at: Vytvořeno v
|
56
|
-
delete: Smazat
|
57
56
|
description_html: This is the current delegations for this consultation
|
58
57
|
grantee: Příjemce
|
59
58
|
grantee_voted: Grantee has voted in behalf of granter?
|
60
59
|
granter: Delegující
|
61
|
-
granter_voted: Granter has voted?
|
62
|
-
title: Účastníci
|
63
60
|
new:
|
64
61
|
grantee: Příjemce
|
65
62
|
granter: Delegující
|
66
63
|
save: Vytvořit
|
67
64
|
select_member: Vybrat člena
|
68
|
-
title: Nová delegace
|
69
65
|
invite_participants:
|
70
66
|
invite_all_users:
|
71
|
-
error:
|
67
|
+
error: Při pozvání uživatelů došlo k chybě
|
72
68
|
success: Uživatelé úspěšně pozváni
|
73
69
|
invite_user:
|
74
70
|
error: Při pozvání uživatele došlo k chybě
|
@@ -86,74 +82,82 @@ cs:
|
|
86
82
|
import: Import
|
87
83
|
required_fields: 'Required fields: granter email, grantee email'
|
88
84
|
title: Import delegations
|
89
|
-
title_example: '
|
90
|
-
|
85
|
+
title_example: 'Příklad:'
|
86
|
+
upload_button: Upload CSV file
|
87
|
+
upload_help: 'Must be a file in CSV format with a header. Required columns: from, to.'
|
88
|
+
upload_instructions: Musí být soubor ve formátu CSV se záhlavím.
|
91
89
|
manage_participants:
|
92
90
|
create:
|
93
|
-
error:
|
91
|
+
error: Došlo k potížím při importu účastníků
|
94
92
|
success: The import process has started, please wait a few minutes and refresh the page to see the list of participants. Import results will be sent by email.
|
95
93
|
new:
|
96
94
|
authorization_method:
|
97
|
-
both:
|
95
|
+
both: e-mail a telefonní číslo
|
98
96
|
email: e-mail
|
99
97
|
phone: telefonní číslo
|
100
98
|
describe: 'Note that there''s also possible to import weights using the name on the ponderation table instead of the weight number, for instance:'
|
101
99
|
import: Importovat
|
102
|
-
required_fields: '
|
103
|
-
title: Import
|
100
|
+
required_fields: 'Vyžadovaná pole: %{authorization_method}'
|
101
|
+
title: Import účastníků
|
104
102
|
title_example: 'Příklad:'
|
103
|
+
upload_button: Upload CSV file
|
104
|
+
upload_help: Must be a file in CSV format with a header.
|
105
105
|
upload_instructions: Musí být soubor ve formátu CSV s záhlavím.
|
106
106
|
menu:
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
107
|
+
action_delegator_menu:
|
108
|
+
delegations: Delegations
|
109
|
+
main: Main
|
110
|
+
participants: Participants
|
111
|
+
ponderations: Ponderations
|
112
|
+
settings: Settings
|
111
113
|
delegations: Corporate Governance
|
114
|
+
elections_submenu:
|
115
|
+
by_answer: By answer
|
116
|
+
by_type_and_weight: By type and weight
|
117
|
+
sum_of_weights: Sum of weights
|
118
|
+
totals: Totals
|
112
119
|
participants: Účastníci
|
113
120
|
participants:
|
114
121
|
create:
|
115
|
-
error:
|
116
|
-
success:
|
122
|
+
error: Při vytváření účastníků se vyskytl problém
|
123
|
+
success: Účastníci úspěšně vytvořeni
|
117
124
|
destroy:
|
118
|
-
error:
|
119
|
-
success:
|
125
|
+
error: Při odstraňování tohoto uživatele došlo k chybě
|
126
|
+
success: Uživatel úspěšně zničen
|
120
127
|
edit:
|
121
128
|
save: Uložit
|
122
|
-
title: Upravit účastníka
|
123
129
|
index:
|
124
130
|
actions:
|
125
131
|
csv_import: Import CSV
|
126
132
|
new_participant: Nový účastník
|
127
133
|
remove_census: Remove census
|
128
|
-
all_users_registered_html:
|
134
|
+
all_users_registered_html: Všichni uživatelé jsou zaregistrováni do platformy
|
129
135
|
created_at: Vytvořeno v
|
130
136
|
email: E-mail
|
131
137
|
last_login: Poslední přihlášení
|
132
|
-
missing_emails:
|
133
|
-
missing_registered:
|
138
|
+
missing_emails: Metoda autorizace nevyžaduje e-mail. Z tohoto důvodu se musí %{count} zaregistrovat na platformě
|
139
|
+
missing_registered: Existuje %{missing_registered}, kteří nejsou zaregistrovány na platformě
|
134
140
|
never_logged: Nikdy nepřihlášený
|
135
|
-
participant:
|
141
|
+
participant: účastník
|
136
142
|
phone: Telefon
|
137
143
|
ponderation: Ponderation type
|
138
|
-
send_invitation_link:
|
139
|
-
|
140
|
-
|
141
|
-
voted: Has voted?
|
144
|
+
send_invitation_link: Klikněte zde pro odeslání pozvánky
|
145
|
+
user: Jméno
|
146
|
+
voted: Bylo hlasováno?
|
142
147
|
new:
|
143
148
|
save: Vytvořit
|
144
|
-
title: Nový účastník
|
145
149
|
remove_census:
|
146
150
|
confirm: Are you sure you want to remove the census? This operation cannot be undone
|
147
151
|
success: "%{participants_count} entries were successfully deleted from the census"
|
148
152
|
update:
|
149
|
-
error:
|
150
|
-
success:
|
153
|
+
error: Při aktualizaci účastníků se vyskytl problém
|
154
|
+
success: Účastníci úspěšně uloženi
|
151
155
|
permissions:
|
152
156
|
sync:
|
153
|
-
started:
|
157
|
+
started: Synchronizace účastníků byla zahájena. Počkejte prosím několik minut a obnovte tuto stránku.
|
154
158
|
update:
|
155
|
-
error:
|
156
|
-
success:
|
159
|
+
error: Při aktualizaci oprávnění se vyskytl problém
|
160
|
+
success: Oprávnění byla úspěšně aktualizována
|
157
161
|
ponderations:
|
158
162
|
create:
|
159
163
|
error: There's been and error creating the ponderation
|
@@ -163,19 +167,17 @@ cs:
|
|
163
167
|
success: Ponderation destroyed successfully
|
164
168
|
edit:
|
165
169
|
save: Uložit
|
166
|
-
title: Edit ponderation type
|
167
170
|
form:
|
168
|
-
name_help:
|
171
|
+
name_help: Typ člena, např. "člen", "přidružený", "podporovatel". Musí být unikátní.
|
169
172
|
name_placeholder: 'Try, for example: "member", "associate", "supporter"...'
|
170
|
-
weight_help:
|
173
|
+
weight_help: Váha hlasů, např. "1", "2", "1.5". Toto číslo bude použito k posouzení hlasů pro účastníky tohoto typu ponderace.
|
171
174
|
index:
|
172
175
|
actions:
|
173
176
|
new_ponderation: New ponderation
|
174
177
|
created_at: Vytvořeno v
|
175
178
|
name: Typ členství
|
176
179
|
num_users: Census total
|
177
|
-
|
178
|
-
weight: Vote weight
|
180
|
+
weight: Váha hlasu
|
179
181
|
new:
|
180
182
|
save: Vytvořit
|
181
183
|
title: New ponderation type
|
@@ -184,11 +186,12 @@ cs:
|
|
184
186
|
success: Ponderation updated successfully
|
185
187
|
settings:
|
186
188
|
authorization_method:
|
187
|
-
both:
|
189
|
+
both: E-mail a telefonní číslo
|
188
190
|
email: Pouze e-mail
|
189
|
-
phone:
|
190
|
-
|
191
|
+
phone: Pouze telefonní číslo
|
192
|
+
authorization_method_help_html: |
|
191
193
|
Available options are:
|
194
|
+
<br><br>
|
192
195
|
<ul>
|
193
196
|
<li><b>Only phone number:</b> Uses SMS verification. Participants must input their phone number that matches the census.</li>
|
194
197
|
<li><b>Only email:</b> Participant's email must match the census.</li>
|
@@ -199,24 +202,23 @@ cs:
|
|
199
202
|
copy_setting: 'Copy ponderations and census from:'
|
200
203
|
create:
|
201
204
|
error: Při vytváření nastavení se vyskytl problém
|
202
|
-
success:
|
205
|
+
success: Nastavení bylo úspěšně uloženo
|
203
206
|
destroy:
|
204
207
|
error: Při odstraňování tohoto nastavení došlo k chybě
|
205
208
|
success: Nastavení úspěšně zničeno
|
206
209
|
edit:
|
207
|
-
save:
|
208
|
-
title: Edit delegation group
|
210
|
+
save: Uložit
|
209
211
|
form:
|
210
|
-
max_grants:
|
212
|
+
max_grants: Maximální počet delegací na uživatele
|
211
213
|
index:
|
212
214
|
actions:
|
213
215
|
census: Edit the census
|
214
|
-
delegations:
|
215
|
-
new_setting:
|
216
|
+
delegations: Upravit delegace
|
217
|
+
new_setting: Nová konfigurace
|
216
218
|
ponderate: Set weights for vote ponderation
|
217
|
-
|
219
|
+
active: Active
|
220
|
+
authorization_method: Autorizační metoda
|
218
221
|
census: Census total
|
219
|
-
consultation: Konzultace
|
220
222
|
created_at: Vytvořeno v
|
221
223
|
delegations: Celkový počet delegací
|
222
224
|
description_html: |
|
@@ -224,83 +226,104 @@ cs:
|
|
224
226
|
<br>
|
225
227
|
Each group can be configured with a different number of maximum delegations per user, different user delegations grants and different sets of ponderation types.
|
226
228
|
max_grants: Maximální počet delegací/uživatelů
|
227
|
-
|
229
|
+
name: Name
|
230
|
+
open: Otevřít
|
228
231
|
ponderations: Ponderation types
|
229
|
-
state: State
|
230
232
|
title: Corporate Governance
|
231
233
|
new:
|
232
234
|
save: Uložit
|
233
|
-
title:
|
235
|
+
title: Nová konfigurace
|
234
236
|
setting_checks:
|
235
237
|
all_users_authorized_html: All participants are verified by the <i>Corporate Governance Verifier</i>.
|
236
|
-
all_users_registered_html:
|
237
|
-
|
238
|
-
|
239
|
-
consultation_questions_missing_verifier_html: There are %{count} questions that are not restricted by the <i>Corporate Governance Verifier</i>. <b>Without it, anyone will be able to vote on them.</b> <em>This is ok if you are using other authorization methods or everyone is allowed to vote.</em>
|
238
|
+
all_users_registered_html: Všichni účastníci jsou zaregistrováni na platformě.
|
239
|
+
applies_to: Applies to the following voting spaces
|
240
|
+
click_to_fix: Klikněte zde pro automatické opravení
|
240
241
|
missing_authorizations_html: There are %{count} participants that are not verified by the <i>Corporate Governance Verifier</i>. <em>This is ok if these participants have their votes delegated to others or you are using other verification methods (or none).</em>
|
241
|
-
missing_emails:
|
242
|
-
missing_registered_users_html:
|
243
|
-
no_delegations_html:
|
242
|
+
missing_emails: Metoda autorizace nevyžaduje e-mail. Z tohoto důvodu se musí %{count} zaregistrovat na platformě
|
243
|
+
missing_registered_users_html: Na platformě jsou %{count} účastníci, kteří nejsou zaregistrováni.
|
244
|
+
no_delegations_html: Neexistují žádné delegace pro hlasování.
|
244
245
|
no_participants_html: There is no census! <b>Add participants or nobody will be able to vote if <i>Corporate Governance Verifier</i> is active.</b> <em>This is ok if you are using other authorization methods or everyone is allowed to vote.</em>
|
245
246
|
no_ponderations_html: There are no vote ponderations. <b>All users will have the same weight on their votes</b>
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
closed: Closed
|
251
|
-
ongoing: Ongoing
|
252
|
-
pending: Pending
|
247
|
+
no_resources_found: No voting spaces are using this configuration!
|
248
|
+
participant: účastník
|
249
|
+
user: uživatel
|
250
|
+
users_need_sync_html: Seznam účastníků musí být synchronizován. <b>Výsledky konzultací mohou být chybné!</b>
|
253
251
|
update:
|
254
|
-
error:
|
255
|
-
success:
|
252
|
+
error: Při aktualizaci nastavení se vyskytl problém
|
253
|
+
success: Nastavení bylo úspěšně uloženo
|
256
254
|
weighted_results:
|
257
|
-
title:
|
255
|
+
title: Výsledky na základě součtu váh členů
|
258
256
|
authorizations:
|
259
257
|
new:
|
260
258
|
missing_phone_error: Chybějící členský telefon
|
261
259
|
phone_warning: Toto telefonní číslo bylo importováno administrátorem. Pokud není správné, obraťte se na něj.
|
262
260
|
delegations:
|
263
|
-
has_delegations:
|
264
|
-
link: Máte udělené delegace
|
261
|
+
has_delegations: Provedené hlasování delegátů
|
262
|
+
link: "Máte udělené delegace"
|
265
263
|
delegations_authorizer:
|
266
264
|
email: We are using the email %{email} to verify your identity. If you think this is wrong, please contact us.
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
265
|
+
inactive_setting_html: The census "%{census}" is not active. You can try to <a href="%{renew_path}" class="underline">renew your verification</a>. Otherwise, please contact the administrator if you think this is a mistake.
|
266
|
+
no_setting_html: It seems that you do not belong to the current census. You can try to <a href="%{renew_path}" class="underline">renew your verification</a>. Otherwise, please contact the administrator if you think this is a mistake.
|
267
|
+
not_in_census_html: It seems that you do not belong to the census "%{census}". You can try to <a href="%{renew_path}" class="underline">renew your verification</a>. Otherwise, please contact the administrator if you think this is a mistake.
|
268
|
+
phone: K ověření Vaší identity používáme telefon %{phone}. Pokud si myslíte, že je to špatně, kontaktujte nás prosím.
|
269
|
+
elections:
|
270
|
+
admin:
|
271
|
+
dashboard:
|
272
|
+
questions_table:
|
273
|
+
delegated_votes: Delegated votes
|
274
|
+
participants: Participants
|
275
|
+
participants_count:
|
276
|
+
one: 1 participant
|
277
|
+
few: "%{count} participants"
|
278
|
+
many: "%{count} participants"
|
279
|
+
other: "%{count} participants"
|
280
|
+
unweighted_votes: Unweighted votes
|
281
|
+
weight: Weight
|
282
|
+
weighted_votes: Weighted votes
|
283
|
+
results_type_info:
|
284
|
+
by_type_and_weight_html: <p>The results shown below are broken down by membership type and weighted by the membership weights defined in the Corporate Governance settings.</p> <p>Each response option shows the number of votes it received from each membership type but no weights are applied in this view.</p> <p>For example, if option A received 2 votes from members with weight "3.0" and 1 vote from a member with weight "1.0", the results will show 2 votes from members with weight "3.0" and 1 vote from members with weight "1.0".</p> <p>⚠️ These results are not shown to the public.</p>
|
285
|
+
normal_count_html: "<p>These results are calculated by counting each vote equally, regardless of the membership weight of the participant that cast it.</p> <p>⚠️ These results are not shown to the public.</p>"
|
286
|
+
sum_of_weights_html: <p>The results shown below are weighted by the membership weights defined in the Corporate Governance settings.</p> <p>Each vote is multiplied by the weight of the member who cast it.</p> <p>For example, if a member with weight "3.0" votes for option A, and a member with weight "1.0" votes for option B, the results will show 3 votes for option A and 1 vote for option B.</p> <p><strong>⚠️ These are the results shown to the public.</strong></p>
|
287
|
+
title: How to interpret these results?
|
288
|
+
totals_html: "<p>The results shown below show the totals for each question, summing all the votes received by each response option applying the membership weights and not applying them.</p> <p>Also, you can see the number of participants and how many delegated votes were cast for each option.</p> <p>⚠️ These results are not shown to the public.</p>"
|
289
|
+
delegation_buttons:
|
290
|
+
delegations_active: You have delegated votes.
|
291
|
+
per_question_delegations: 'You can vote on behalf of the following participants in this election:'
|
292
|
+
vote_for: Vote on behalf of %{name}
|
293
|
+
votes:
|
294
|
+
delegated_voting: You are voting on behalf of %{name}
|
295
|
+
edit_vote_for: Edit vote for %{name}
|
296
|
+
self_voting: You are voting for yourself (%{name}).
|
297
|
+
waiting_for: Continue voting on behalf of %{name}
|
274
298
|
import_mailer:
|
275
299
|
import:
|
276
|
-
errors_present:
|
277
|
-
errors_title: "<b>
|
278
|
-
greeting:
|
279
|
-
info_messages:
|
300
|
+
errors_present: Došlo k chybám v importu
|
301
|
+
errors_title: "<b>Nalezeno:</b> %{errors_count} chyb"
|
302
|
+
greeting: Dobrý den %{name},
|
303
|
+
info_messages: Důvod přeskočení
|
280
304
|
instructions: "<p>Attached is a file with import details, which contains rows that were not imported.</p>\n<p>If you want to continue importing, correct the rows specified, delete the last column from the file, save \nthe file and import again.</p>\n"
|
281
|
-
result: "<b>
|
282
|
-
row_number:
|
283
|
-
skipped_rows: "<b>
|
284
|
-
subject: CSV
|
285
|
-
success: CSV
|
286
|
-
text_error:
|
305
|
+
result: "<b>Importováno:</b> %{rows_count} řádků z %{total_rows_count}."
|
306
|
+
row_number: Číslo řádku
|
307
|
+
skipped_rows: "<b>Přeskočeno:</b> %{skipped_rows} řádků."
|
308
|
+
subject: CSV importováno
|
309
|
+
success: CSV úspěšně importováno
|
310
|
+
text_error: Chyba
|
287
311
|
invite_participants_mailer:
|
288
312
|
confirmation:
|
289
|
-
body:
|
290
|
-
confirm:
|
291
|
-
greeting:
|
292
|
-
name: Modul Decidim ActionDelegator cooperatives
|
313
|
+
body: Byli jste pozváni k účasti na konzultaci. Pro potvrzení své účasti klikněte na níže uvedený odkaz.
|
314
|
+
confirm: Potvrď účast
|
315
|
+
greeting: Dobrý den %{recipient},
|
293
316
|
participants_csv_importer:
|
294
317
|
import:
|
295
|
-
error:
|
296
|
-
error_field:
|
318
|
+
error: Došlo k potížím při importu účastníků
|
319
|
+
error_field: Důvod pro přeskočení
|
297
320
|
field_name:
|
298
|
-
phone:
|
299
|
-
weight:
|
300
|
-
phone_exists:
|
321
|
+
phone: telefon
|
322
|
+
weight: váha
|
323
|
+
phone_exists: Uživatel s tímto telefonem již existuje
|
301
324
|
ponderation_not_found: Ponderation type not found
|
302
|
-
skip_import_info:
|
303
|
-
with_mismatched_fields: "
|
325
|
+
skip_import_info: Uživatel již existuje %{with_mismatched_fields}
|
326
|
+
with_mismatched_fields: " s neodpovídajícími polem: %{fields}"
|
304
327
|
sms_message: Váš ověřovací kód je %{code}
|
305
328
|
user_delegations:
|
306
329
|
index:
|
@@ -314,47 +337,44 @@ cs:
|
|
314
337
|
delegations_verifier:
|
315
338
|
authorizations:
|
316
339
|
edit:
|
317
|
-
confirm_destroy:
|
318
|
-
destroy:
|
319
|
-
resend:
|
320
|
-
send:
|
321
|
-
title:
|
340
|
+
confirm_destroy: Opravdu chcete resetovat ověřovací kód?
|
341
|
+
destroy: Resetovat ověřovací kód
|
342
|
+
resend: Neobdrželi jste ověřovací kód?
|
343
|
+
send: Potvrdit
|
344
|
+
title: Zadejte ověřovací kód, který vám přišel
|
322
345
|
new:
|
323
|
-
authorize:
|
324
|
-
missing_phone_error:
|
346
|
+
authorize: Autorizovat můj účet
|
347
|
+
missing_phone_error: Chybějící členský telefon
|
348
|
+
no_resources_found: No resources found, If you think this is a mistake, please contact the administrator (it is possible that there is nothing active right now).
|
325
349
|
not_in_census: We're sorry but you can't be authorized because your email is not in the census. Please contact the admin if you feel this is a mistake.
|
326
350
|
participate_in: 'This authorization allows you to participate in the following consultations: %{consultations}'
|
327
|
-
phone_warning:
|
328
|
-
send_code:
|
351
|
+
phone_warning: Toto telefonní číslo bylo importováno administrátorem. Pokud není správné, obraťte se na něj.
|
352
|
+
send_code: Odeslat ověřovací kód
|
329
353
|
title: Authorize with Corporate Governance Verifier
|
354
|
+
not_active: The Corporate Governance Verifier cannot be granted at this time as there are no active voting spaces.
|
330
355
|
admin:
|
331
356
|
actions:
|
332
|
-
invite:
|
333
|
-
invite_all:
|
334
|
-
resend:
|
335
|
-
consultations:
|
336
|
-
results:
|
337
|
-
default_metadata: "(členské údaje nejsou k dispozici)"
|
338
|
-
export: Export
|
339
|
-
export_filename: výsledky konzultací
|
340
|
-
membership_type: Typ členství
|
341
|
-
membership_weight: Váha
|
342
|
-
total_delegates: "%{count} delegovaných hlasů"
|
357
|
+
invite: Odeslat pozvánku
|
358
|
+
invite_all: Poslat pozvánky neexistujícím uživatelům
|
359
|
+
resend: Znovu odeslat pozvánku
|
343
360
|
authorization_handlers:
|
344
361
|
admin:
|
345
362
|
delegations_verifier:
|
346
363
|
help:
|
347
|
-
-
|
364
|
+
-
|
365
|
+
- census.
|
348
366
|
delegations_verifier:
|
349
367
|
explanation: Ověření uživatelé s touto metodou mohou delegovat hlasy na ostatní uživatele
|
350
368
|
fields:
|
351
|
-
phone:
|
369
|
+
phone: Telefonní číslo
|
370
|
+
setting: Setting
|
371
|
+
setting_ids: Settings
|
352
372
|
name: Corporate Governance
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
373
|
+
elections:
|
374
|
+
censuses:
|
375
|
+
action_delegator_census:
|
376
|
+
authorizer_handler_admin_callout_html: Choose the "Corporate Governance" authorization method if you want to use the participants list from the chosen setting group to validate who can vote.<br> You can also use another authorization method if your source of census is external or if you don't want to use a census at all (and everyone registered can vote).
|
377
|
+
label: Corporate Governance census
|
358
378
|
verifications:
|
359
379
|
authorizations:
|
360
380
|
first_login:
|
@@ -363,12 +383,8 @@ cs:
|
|
363
383
|
devise:
|
364
384
|
mailer:
|
365
385
|
invite_participant:
|
366
|
-
subject:
|
386
|
+
subject: Byli jste pozváni k účasti na konzultacích
|
367
387
|
layouts:
|
368
388
|
decidim:
|
369
|
-
admin:
|
370
|
-
question:
|
371
|
-
attachments: Přílohy
|
372
|
-
categories: Kategorie
|
373
389
|
user_profile:
|
374
390
|
vote_delegations: Delegace hlasů
|