decidim-action_delegator 0.7.2 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +43 -13
- data/app/commands/decidim/action_delegator/admin/create_delegation.rb +1 -1
- data/app/commands/decidim/action_delegator/admin/create_participant.rb +1 -1
- data/app/commands/decidim/action_delegator/admin/create_ponderation.rb +1 -1
- data/app/commands/decidim/action_delegator/admin/create_setting.rb +1 -1
- data/app/commands/decidim/action_delegator/admin/fix_resource_permissions.rb +1 -1
- data/app/commands/decidim/action_delegator/admin/update_participant.rb +1 -1
- data/app/commands/decidim/action_delegator/admin/update_ponderation.rb +1 -1
- data/app/commands/decidim/action_delegator/admin/update_setting.rb +1 -1
- data/app/controllers/concerns/decidim/action_delegator/devise/sessions_controller_override.rb +48 -0
- data/app/controllers/decidim/action_delegator/admin/consultations_controller.rb +1 -1
- data/app/controllers/decidim/action_delegator/admin/delegations_controller.rb +1 -1
- data/app/controllers/decidim/action_delegator/admin/manage_delegations_controller.rb +3 -4
- data/app/controllers/decidim/action_delegator/admin/manage_participants_controller.rb +2 -3
- data/app/controllers/decidim/action_delegator/admin/settings_controller.rb +1 -1
- data/app/controllers/decidim/action_delegator/questions_summary_controller.rb +14 -0
- data/app/controllers/decidim/action_delegator/verifications/delegations_verifier/authorizations_controller.rb +38 -15
- data/app/forms/decidim/action_delegator/admin/delegation_form.rb +6 -2
- data/app/forms/decidim/action_delegator/verifications/delegations_verifier_form.rb +7 -5
- data/app/helpers/decidim/action_delegator/admin/delegation_helper.rb +1 -1
- data/app/jobs/decidim/action_delegator/send_sms_job.rb +1 -0
- data/app/models/concerns/decidim/action_delegator/consultations/question_override.rb +36 -0
- data/app/models/decidim/action_delegator/delegation.rb +25 -0
- data/app/models/decidim/action_delegator/participant.rb +15 -11
- data/app/overrides/decidim/consultations/admin/consultations/results/add_ongoing_warning.html.erb.deface +3 -0
- data/app/overrides/decidim/consultations/consultations/_question/replace_vote_info.html.erb.deface +4 -0
- data/app/overrides/decidim/consultations/questions/_results/replace_results.html.erb.deface +3 -0
- data/app/overrides/decidim/consultations/questions/_vote_button/add_modal.html.erb.deface +1 -1
- data/app/overrides/decidim/consultations/questions/_vote_button/add_modal_javascript.html.erb.deface +3 -0
- data/app/overrides/layouts/decidim/_consultation_header/add_consultation_callout.html.erb.deface +9 -0
- data/app/overrides/layouts/decidim/_question_header/add_consultation_callout.html.erb.deface +9 -0
- data/app/packs/entrypoints/decidim_action_delegator_questions_summary.js +1 -0
- data/app/packs/src/decidim/action_delegator/questions.js +6 -0
- data/app/packs/src/decidim/action_delegator/summary.js +24 -0
- data/app/packs/stylesheets/decidim/action_delegator/questions.scss +1 -1
- data/app/queries/decidim/action_delegator/consultation_delegations.rb +1 -1
- data/app/queries/decidim/action_delegator/delegates_votes_by_consultation.rb +1 -1
- data/app/queries/decidim/action_delegator/delegates_votes_by_question.rb +1 -1
- data/app/queries/decidim/action_delegator/delegation_votes.rb +1 -1
- data/app/queries/decidim/action_delegator/organization_delegations.rb +1 -1
- data/app/queries/decidim/action_delegator/organization_settings.rb +1 -1
- data/app/queries/decidim/action_delegator/{published_responses.rb → responses.rb} +1 -2
- data/app/queries/decidim/action_delegator/responses_by_membership.rb +1 -1
- data/app/queries/decidim/action_delegator/setting_delegations.rb +1 -1
- data/app/queries/decidim/action_delegator/sum_of_membership_weight.rb +1 -1
- data/app/queries/decidim/action_delegator/sum_of_weights.rb +2 -2
- data/app/queries/decidim/action_delegator/type_and_weight.rb +2 -2
- data/app/queries/decidim/action_delegator/voted_with_ponderations.rb +1 -1
- data/app/services/decidim/action_delegator/delegations_csv_importer.rb +3 -3
- data/app/views/decidim/action_delegator/admin/consultations/_ongoing_consultation_warning.html.erb +3 -0
- data/app/views/decidim/action_delegator/admin/consultations/results.html.erb +3 -0
- data/app/views/decidim/action_delegator/admin/consultations/weighted_results.html.erb +3 -0
- data/app/views/decidim/action_delegator/admin/delegations/new.html.erb +24 -26
- data/app/views/decidim/action_delegator/admin/manage_delegations/new.html.erb +27 -22
- data/app/views/decidim/action_delegator/admin/manage_participants/new.html.erb +3 -1
- data/app/views/decidim/action_delegator/admin/participants/edit.html.erb +14 -16
- data/app/views/decidim/action_delegator/admin/participants/new.html.erb +14 -16
- data/app/views/decidim/action_delegator/admin/ponderations/edit.html.erb +14 -16
- data/app/views/decidim/action_delegator/admin/ponderations/new.html.erb +14 -16
- data/app/views/decidim/action_delegator/consultations/_link_with_results.html.erb +11 -0
- data/app/views/decidim/action_delegator/consultations/questions/_delegations_modal.html.erb +0 -2
- data/app/views/decidim/action_delegator/consultations/questions/_link_to_delegations.html.erb +9 -5
- data/app/views/decidim/action_delegator/consultations/questions/_weight_results.html.erb +8 -0
- data/app/views/decidim/consultations/question_votes/_callout.html.erb +47 -0
- data/app/views/decidim/consultations/question_votes/update_vote_button.js.erb +55 -5
- data/config/assets.rb +2 -1
- data/config/locales/ca.yml +97 -40
- data/config/locales/en.yml +13 -1
- data/config/locales/es.yml +106 -46
- data/lib/decidim/action_delegator/admin_engine.rb +15 -1
- data/lib/decidim/action_delegator/engine.rb +4 -1
- data/lib/decidim/action_delegator/verifications/delegations_authorizer.rb +1 -3
- data/lib/decidim/action_delegator/version.rb +3 -3
- data/lib/decidim/action_delegator.rb +12 -1
- metadata +38 -22
@@ -0,0 +1,47 @@
|
|
1
|
+
<% total_published_questions = consultation.questions.published.count %>
|
2
|
+
<% voted_questions = consultation.questions.published.joins(:votes).where(votes: { author: current_user }).distinct.count(:id) %>
|
3
|
+
|
4
|
+
<% alert_class = total_published_questions != voted_questions ? "warning" : "success" %>
|
5
|
+
|
6
|
+
<div class="callout <%= alert_class %>">
|
7
|
+
<p>
|
8
|
+
<%= t("action_delegator.questions.callout_text", scope: "decidim", voted: voted_questions, total: total_published_questions) %>
|
9
|
+
<a href="#" class="text-primary" id="consultations-questions-summary-button"><%= t("action_delegator.questions.callout_link_text", scope: "decidim") %></a>
|
10
|
+
</p>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<div class="reveal" id="consultations-questions-summary-modal" data-reveal>
|
14
|
+
<h4><%= t("action_delegator.questions.modal.modal_votes_title", scope: "decidim", title: translated_attribute(consultation.title)) %></h4>
|
15
|
+
<p class="lead">
|
16
|
+
<table class="table-list">
|
17
|
+
<thead>
|
18
|
+
<tr>
|
19
|
+
<th width="200"><%= t("action_delegator.questions.modal.modal_table_header_question", scope: "decidim") %></th>
|
20
|
+
<th width="150"><%= t("action_delegator.questions.modal.modal_table_header_answer", scope: "decidim") %></th>
|
21
|
+
</tr>
|
22
|
+
</thead>
|
23
|
+
<tbody>
|
24
|
+
<% consultation.questions.each do |question| %>
|
25
|
+
<tr>
|
26
|
+
<td><%= strip_tags(translated_attribute(question.title)).truncate(200, separator: /\s/) %></td>
|
27
|
+
<td>
|
28
|
+
<% if question.votes.where(author: current_user).any? %>
|
29
|
+
<% user_response = question.responses.joins(:votes).find_by(votes: { author: current_user }) %>
|
30
|
+
<% if user_response %>
|
31
|
+
<p title="<%= translated_attribute(user_response.title) %>"><%= t("booleans.true") %></p>
|
32
|
+
<% else %>
|
33
|
+
<%= link_to t("action_delegator.questions.question_not_answered", scope: "decidim"), decidim_consultations.question_path(question), class: "text-primary" %>
|
34
|
+
<% end %>
|
35
|
+
<% else %>
|
36
|
+
<%= link_to t("action_delegator.questions.question_not_answered", scope: "decidim"), decidim_consultations.question_path(question), class: "text-primary" %>
|
37
|
+
<% end %>
|
38
|
+
</td>
|
39
|
+
</tr>
|
40
|
+
<% end %>
|
41
|
+
</tbody>
|
42
|
+
</table>
|
43
|
+
</p>
|
44
|
+
<button class="close-button" data-close aria-label="Close modal" type="button">
|
45
|
+
<span aria-hidden="true">×</span>
|
46
|
+
</button>
|
47
|
+
</div>
|
@@ -1,9 +1,6 @@
|
|
1
1
|
(function () {
|
2
2
|
'use strict';
|
3
3
|
|
4
|
-
$("#delegations-modal").foundation("close");
|
5
|
-
$("#delegations-modal").remove();
|
6
|
-
|
7
4
|
$('#question-vote-modal').foundation("close");
|
8
5
|
$('#question-vote-confirm-modal').foundation("close");
|
9
6
|
$('#question-vote-modal, #question-vote-confirm-modal').remove()
|
@@ -21,12 +18,65 @@
|
|
21
18
|
$('#confirm-vote-form').removeClass('hide');
|
22
19
|
<% end %>
|
23
20
|
|
24
|
-
|
25
|
-
|
21
|
+
// Replicate the behaviour of vote_dialog.js as it has a bug when changed via ajax
|
22
|
+
var button = $("#vote_button"),
|
23
|
+
buttonChange = $("#question-vote-confirm-modal-button-change"),
|
24
|
+
responseButtons = $(".response-title"),
|
25
|
+
voteConfirmDialog = $("#question-vote-confirm-modal"),
|
26
|
+
voteDialog = $("#question-vote-modal");
|
27
|
+
|
28
|
+
if (voteDialog.length && button.length) {
|
29
|
+
button.click(function () {
|
30
|
+
voteDialog.foundation("open");
|
31
|
+
});
|
32
|
+
}
|
33
|
+
|
34
|
+
if (voteDialog.length && responseButtons.length && voteConfirmDialog.length) {
|
35
|
+
responseButtons.click(function () {
|
36
|
+
$("#question-vote-confirm-modal-question-title").text($(this).text());
|
37
|
+
$("#decidim_consultations_response_id").val($(this).data("response-id"));
|
38
|
+
|
39
|
+
voteDialog.foundation("close");
|
40
|
+
voteConfirmDialog.foundation("open");
|
41
|
+
});
|
42
|
+
}
|
43
|
+
|
44
|
+
if (buttonChange.length && voteDialog.length && voteConfirmDialog.length) {
|
45
|
+
buttonChange.click(function() {
|
46
|
+
voteConfirmDialog.foundation("close");
|
47
|
+
voteDialog.foundation("open");
|
48
|
+
});
|
49
|
+
}
|
50
|
+
|
51
|
+
//lets do the same for delegations
|
52
|
+
var delegationsButton = $("#delegations-button"),
|
53
|
+
delegationCallouts = $(".delegation-callout"),
|
54
|
+
delegationCalloutsMessage = $(".delegation-callout-message"),
|
55
|
+
delegationVoteButtons = $(".delegation-vote-button"),
|
56
|
+
delegationUnVoteButtons = $(".delegation_unvote_button"),
|
57
|
+
delegationField = $("#decidim_consultations_delegation_id"),
|
58
|
+
delegationDialog = $("#delegations-modal");
|
26
59
|
|
27
60
|
delegationDialog.foundation();
|
28
61
|
|
29
62
|
delegationsButton.click(function () {
|
30
63
|
delegationDialog.foundation("open");
|
31
64
|
});
|
65
|
+
|
66
|
+
delegationVoteButtons.click((evt) => {
|
67
|
+
delegationDialog.foundation("close");
|
68
|
+
voteDialog.foundation("open");
|
69
|
+
delegationField.val($(evt.currentTarget).data("delegation-id"));
|
70
|
+
delegationCalloutsMessage.text($(evt.currentTarget).data("delegation-granter-name"));
|
71
|
+
delegationCallouts.removeClass("is-hidden");
|
72
|
+
});
|
73
|
+
|
74
|
+
delegationUnVoteButtons.click((evt) => {
|
75
|
+
delegationDialog.foundation("close");
|
76
|
+
delegationCallouts.addClass("is-hidden");
|
77
|
+
});
|
78
|
+
|
79
|
+
button.click(() => {
|
80
|
+
delegationCallouts.addClass("is-hidden");
|
81
|
+
});
|
32
82
|
}());
|
data/config/assets.rb
CHANGED
@@ -19,7 +19,8 @@ Decidim::Webpacker.register_path("#{base_path}/app/packs")
|
|
19
19
|
# SCSS files within the entrypoints, they become available for inclusion using
|
20
20
|
# `stylesheet_pack_tag`.
|
21
21
|
Decidim::Webpacker.register_entrypoints(
|
22
|
-
decidim_action_delegator_questions: "#{base_path}/app/packs/entrypoints/decidim_action_delegator_questions.js"
|
22
|
+
decidim_action_delegator_questions: "#{base_path}/app/packs/entrypoints/decidim_action_delegator_questions.js",
|
23
|
+
decidim_action_delegator_questions_summary: "#{base_path}/app/packs/entrypoints/decidim_action_delegator_questions_summary.js"
|
23
24
|
)
|
24
25
|
|
25
26
|
# If you want to import some extra SCSS files in the Decidim main SCSS file
|
data/config/locales/ca.yml
CHANGED
@@ -15,16 +15,19 @@ ca:
|
|
15
15
|
setting:
|
16
16
|
decidim_consultation_id: Consulta
|
17
17
|
max_grants: Màxim nombre de delegacions que pot rebre una participant
|
18
|
-
phone_freezed: Usa el número de telèfon del cens. No permet als participants
|
18
|
+
phone_freezed: Usa el número de telèfon del cens. No permet als participants
|
19
|
+
editar-lo.
|
19
20
|
verify_with_sms: Verifica amb SMS
|
20
21
|
errors:
|
21
22
|
models:
|
22
23
|
delegations_verifier:
|
23
24
|
attributes:
|
24
25
|
email:
|
25
|
-
email_not_found: Ho sentim, el teu email no és al cens. Si us plau,
|
26
|
+
email_not_found: Ho sentim, el teu email no és al cens. Si us plau,
|
27
|
+
contacteu amb nosaltres si penseu que hi ha un error.
|
26
28
|
phone:
|
27
|
-
phone_not_found: Ho sentim, el teu email no és al cens. Si us plau,
|
29
|
+
phone_not_found: Ho sentim, el teu email no és al cens. Si us plau,
|
30
|
+
contacta amb nosaltres is creieu que és un error.
|
28
31
|
decidim:
|
29
32
|
action_delegator:
|
30
33
|
admin:
|
@@ -81,23 +84,29 @@ ca:
|
|
81
84
|
manage_delegations:
|
82
85
|
create:
|
83
86
|
error: S'ha produït un error en importar les participants
|
84
|
-
success: El procés d'importació ha començat, espereu uns minuts i actualitzeu
|
87
|
+
success: El procés d'importació ha començat, espereu uns minuts i actualitzeu
|
88
|
+
la pàgina per veure la llista de participants. Els resultats d'importació
|
89
|
+
s'enviaran per correu electrònic.
|
85
90
|
new:
|
86
91
|
import: Importa
|
87
|
-
required_fields: 'Camps obligatoris: Email de l''atorgant, email de la
|
92
|
+
required_fields: 'Camps obligatoris: Email de l''atorgant, email de la
|
93
|
+
receptora'
|
88
94
|
title: Importa les delegacions
|
89
95
|
title_example: 'Exemple:'
|
90
96
|
upload_instructions: Ha de ser un fitxer en format CSV amb una capçalera.
|
91
97
|
manage_participants:
|
92
98
|
create:
|
93
99
|
error: S'ha produït un error en importar les participants
|
94
|
-
success: El procés d'importació ha començat, espereu uns minuts i actualitzeu
|
100
|
+
success: El procés d'importació ha començat, espereu uns minuts i actualitzeu
|
101
|
+
la pàgina per veure la llista de participants. Els resultats d'importació
|
102
|
+
s'enviaran per correu electrònic.
|
95
103
|
new:
|
96
104
|
authorization_method:
|
97
105
|
both: correu electrònic i número de telèfon mòbil
|
98
106
|
email: correu electrònic
|
99
107
|
phone: número de telèfon
|
100
|
-
describe: 'Tingueu en compte que també és possible importar pesos utilitzant
|
108
|
+
describe: 'Tingueu en compte que també és possible importar pesos utilitzant
|
109
|
+
el nom de la taula de ponderació en comptes del número de pes, per exemple:'
|
101
110
|
import: Importar
|
102
111
|
required_fields: 'Camps obligatoris: %{authorization_method}'
|
103
112
|
title: Importar participants
|
@@ -125,12 +134,15 @@ ca:
|
|
125
134
|
csv_import: Importa CSV
|
126
135
|
new_participant: Nova participant
|
127
136
|
remove_census: Elimina el cens
|
128
|
-
all_users_registered_html: Totes les participants estan registrades a
|
137
|
+
all_users_registered_html: Totes les participants estan registrades a
|
138
|
+
la plataforma
|
129
139
|
created_at: Creat el
|
130
140
|
email: Correu electrònic
|
131
141
|
last_login: Darrer inici de sessió
|
132
|
-
missing_emails: El mètode d'autorització no requereix un correu electrònic.
|
133
|
-
|
142
|
+
missing_emails: El mètode d'autorització no requereix un correu electrònic.
|
143
|
+
Per això, %{count} s'han de registrar elles mateixes a la plataforma
|
144
|
+
missing_registered: Hi ha %{missing_registered} participants que no estan
|
145
|
+
registrades a la plataforma
|
134
146
|
never_logged: Mai ha iniciat sessió
|
135
147
|
participant: participant
|
136
148
|
phone: Telèfon
|
@@ -143,14 +155,17 @@ ca:
|
|
143
155
|
save: Crea
|
144
156
|
title: Nova participant
|
145
157
|
remove_census:
|
146
|
-
confirm: Esteu segur que voleu suprimir aquest cens? Aquesta operació
|
147
|
-
|
158
|
+
confirm: Esteu segur que voleu suprimir aquest cens? Aquesta operació
|
159
|
+
no es pot desfer
|
160
|
+
success: "%{participants_count} entrades s'han suprimit correctament del
|
161
|
+
cens"
|
148
162
|
update:
|
149
163
|
error: S'ha produït un error en actualitzar la participant
|
150
164
|
success: Participant desada correctament
|
151
165
|
permissions:
|
152
166
|
sync:
|
153
|
-
started: La sincronització dels participants ha començat. Espereu uns
|
167
|
+
started: La sincronització dels participants ha començat. Espereu uns
|
168
|
+
minuts i actualitzeu aquesta pàgina.
|
154
169
|
update:
|
155
170
|
error: S'ha produït un error en actualitzar els permisos
|
156
171
|
success: Permisos actualitzats correctament
|
@@ -165,9 +180,13 @@ ca:
|
|
165
180
|
save: Desa
|
166
181
|
title: Edita el tipus d'afiliació
|
167
182
|
form:
|
168
|
-
name_help: Tipus d'associat, per exemple "soci col·laborador", "soci",
|
169
|
-
|
170
|
-
|
183
|
+
name_help: Tipus d'associat, per exemple "soci col·laborador", "soci",
|
184
|
+
"patró". Ha de ser únic.
|
185
|
+
name_placeholder: 'Proveu, per exemple: "membre", "soci", "simpatitzant",
|
186
|
+
"usuari base"...'
|
187
|
+
weight_help: 'Pes del vot, per exemple: "1", "2", "1,5". Aquest número
|
188
|
+
servirà per ponderar els vots de les participants assignades a cada
|
189
|
+
tipologia.'
|
171
190
|
index:
|
172
191
|
actions:
|
173
192
|
new_ponderation: Nou tipus d'afiliació
|
@@ -195,7 +214,9 @@ ca:
|
|
195
214
|
<li><b>Correu electrònic i número de telèfon:</b> utilitza la verificació per SMS. El correu electrònic de la participant ha de coincidir amb el cens i el número de telèfon estarà predefinit.</li>
|
196
215
|
</ul>
|
197
216
|
check_verifier:
|
198
|
-
not_installed_html: Sembla que el mètode d'autorització "Verificador de
|
217
|
+
not_installed_html: Sembla que el mètode d'autorització "Verificador de
|
218
|
+
Governança societària" no està instal·lat. No podeu utilitzar el cens
|
219
|
+
integrat sense aquest. Instal·leu-lo a <a href="/system">/system</a>.
|
199
220
|
copy_setting: 'Copia ponderacions i cens de:'
|
200
221
|
create:
|
201
222
|
error: S'ha produït un error en crear la configuració
|
@@ -232,20 +253,36 @@ ca:
|
|
232
253
|
save: Desa
|
233
254
|
title: Nova configuració
|
234
255
|
setting_checks:
|
235
|
-
all_users_authorized_html: Totes les participants són verficades pel <i>Verificador
|
236
|
-
|
256
|
+
all_users_authorized_html: Totes les participants són verficades pel <i>Verificador
|
257
|
+
de Governança societària</i>.
|
258
|
+
all_users_registered_html: Totes les participants estan registrades a
|
259
|
+
la plataforma.
|
237
260
|
click_to_fix: Feu clic aquí per solucionar-ho automàticament
|
238
|
-
consultation_questions_all_verified_html: Totes les preguntes estan restringides
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
261
|
+
consultation_questions_all_verified_html: Totes les preguntes estan restringides
|
262
|
+
pel <i>Verificador de Governança societària</i>.
|
263
|
+
consultation_questions_missing_verifier_html: Hi ha %{count} preguntes
|
264
|
+
que no estan restringides pel <i>Verificador de Governança societària</i>.
|
265
|
+
<b>Sense això, tothom podrà votar-hi.</b> <em>Això és correcte si utilitzeu
|
266
|
+
altres mètodes d'autorització o si tothom té permís per votar.</em>
|
267
|
+
missing_authorizations_html: Hi ha %{count} participants que no estan
|
268
|
+
verificats pel <i>Verificador de Governança societària</i>. <em>Això
|
269
|
+
està bé si aquestes participants tenen els seus vots delegats a altres
|
270
|
+
persones o si utilitzeu altres mètodes de verificació (o cap).</em>
|
271
|
+
missing_emails: El mètode d'autorització no requereix un correu electrònic.
|
272
|
+
Per això, %{count} s'han de registrar elles mateixes a la plataforma
|
273
|
+
missing_registered_users_html: Hi ha %{count} participants que no estan
|
274
|
+
registrats a la plataforma.
|
243
275
|
no_delegations_html: No hi ha delegacions de vot.
|
244
|
-
no_participants_html: No hi ha cens! <b>Afegiu participants o ningú podrà
|
245
|
-
|
276
|
+
no_participants_html: No hi ha cens! <b>Afegiu participants o ningú podrà
|
277
|
+
votar si el <i>Verificador de Governança societària</i> està actiu.</b>
|
278
|
+
<em>Això és correcte si feu servir altres mètodes d'autorització o si
|
279
|
+
tothom té permís per votar.</em>
|
280
|
+
no_ponderations_html: No hi ha ponderacions de vot. <b>Totes les participants
|
281
|
+
tindran el mateix pes en els seus vots</b>
|
246
282
|
participant: participant
|
247
283
|
user: usuària
|
248
|
-
users_need_sync_html: Cal sincronitzar la llista de participants. <b>Els
|
284
|
+
users_need_sync_html: Cal sincronitzar la llista de participants. <b>Els
|
285
|
+
resultats de la consulta poden ser incorrectes!</b>
|
249
286
|
state:
|
250
287
|
closed: Tancat
|
251
288
|
ongoing: En curs
|
@@ -258,15 +295,19 @@ ca:
|
|
258
295
|
authorizations:
|
259
296
|
new:
|
260
297
|
missing_phone_error: No s'ha trobat telèfon de l'associat
|
261
|
-
phone_warning: Aquest número de telèfon s'ha importat per l'administrador.
|
298
|
+
phone_warning: Aquest número de telèfon s'ha importat per l'administrador.
|
299
|
+
Si us plau, poseu-vos-hi en contacte si no és correcte.
|
262
300
|
delegations:
|
263
301
|
has_delegations: Vot delegat realitzat
|
264
|
-
link: Tens delegacions disponibles
|
302
|
+
link: "\U0001F449 Tens delegacions disponibles"
|
265
303
|
delegations_authorizer:
|
266
|
-
email: Estem utilitzant el correu electrònic %{email} per verificar la vostra
|
267
|
-
|
304
|
+
email: Estem utilitzant el correu electrònic %{email} per verificar la vostra
|
305
|
+
identitat. Si creieu que això està malament, poseu-vos en contacte amb nosaltres.
|
306
|
+
no_setting: No s'ha trobat cap grup de delegació per a aquesta consulta. Poseu-vos
|
307
|
+
en contacte amb l'administrador per solucionar-ho.
|
268
308
|
not_in_census: No ets al cens
|
269
|
-
phone: Estem utilitzant el telèfon %{phone} per verificar la vostra identitat.
|
309
|
+
phone: Estem utilitzant el telèfon %{phone} per verificar la vostra identitat.
|
310
|
+
Si creieu que això està malament, poseu-vos en contacte amb nosaltres.
|
270
311
|
delegations_modal:
|
271
312
|
callout: Recorda, estàs votant en nom de
|
272
313
|
contextual_help: 'Has estat autoritzat a votar en nom de:'
|
@@ -277,7 +318,9 @@ ca:
|
|
277
318
|
errors_title: "<b>S'han trobat:</b> %{errors_count} errors"
|
278
319
|
greeting: Hola %{name},
|
279
320
|
info_messages: Motiu d'omissió
|
280
|
-
instructions:
|
321
|
+
instructions: |
|
322
|
+
<p>S'adjunta un fitxer amb els detalls de la importació, conté les files que no s'han importat.</p>
|
323
|
+
<p>Si voleu continuar important, corregiu les files especificades, suprimiu l'última columna del fitxer, deseu el fitxer i torna a importar.</p>
|
281
324
|
result: "<b>Importat:</b> %{rows_count} files de %{total_rows_count}."
|
282
325
|
row_number: Número de fila
|
283
326
|
skipped_rows: "<b>S'han omès:</b> %{skipped_rows} files."
|
@@ -286,7 +329,8 @@ ca:
|
|
286
329
|
text_error: Error
|
287
330
|
invite_participants_mailer:
|
288
331
|
confirmation:
|
289
|
-
body: Us han convidat a participar en la consulta. Feu clic a l'enllaç següent
|
332
|
+
body: Us han convidat a participar en la consulta. Feu clic a l'enllaç següent
|
333
|
+
per confirmar la vostra participació.
|
290
334
|
confirm: Confirmar la participació
|
291
335
|
greeting: Hola %{recipient},
|
292
336
|
name: Mòdul Decidim ActionDelegator per a cooperatives
|
@@ -300,7 +344,15 @@ ca:
|
|
300
344
|
phone_exists: El participant amb aquest telèfon ja existeix
|
301
345
|
ponderation_not_found: No s'ha trobat el tipus de ponderació
|
302
346
|
skip_import_info: El participant ja existeix %{with_mismatched_fields}
|
303
|
-
with_mismatched_fields:
|
347
|
+
with_mismatched_fields: 'amb camps no coincidents: %{fields}'
|
348
|
+
questions:
|
349
|
+
callout_link_text: Revisa el resum de la teva votació aquí
|
350
|
+
callout_text: Has respost %{voted} de un total de %{total} preguntes.
|
351
|
+
modal:
|
352
|
+
modal_table_header_answer: Has respost?
|
353
|
+
modal_table_header_question: Pregunta
|
354
|
+
modal_votes_title: Els teus vots a "%{title}"
|
355
|
+
question_not_answered: No, ves-hi
|
304
356
|
sms_message: El teu codi de verificació és %{code}
|
305
357
|
user_delegations:
|
306
358
|
index:
|
@@ -322,9 +374,13 @@ ca:
|
|
322
374
|
new:
|
323
375
|
authorize: Autoritza el meu compte
|
324
376
|
missing_phone_error: Falta el telèfon de l'associat
|
325
|
-
not_in_census: Ho sentim, però no pots estar autoritzat perquè el teu
|
326
|
-
|
327
|
-
|
377
|
+
not_in_census: Ho sentim, però no pots estar autoritzat perquè el teu
|
378
|
+
correu electrònic no està al cens. Poseu-vos en contacte amb l'administrador
|
379
|
+
si creieu que es tracta d'un error.
|
380
|
+
participate_in: 'Aquesta autorització us permet participar en les consultes
|
381
|
+
següents: %{consultations}'
|
382
|
+
phone_warning: Aquest número de telèfon ha estat importat per l'administrador.
|
383
|
+
Si us plau, poseu-vos en contacte si no és correcte.
|
328
384
|
send_code: Envia el codi de verificació
|
329
385
|
title: Autoritza amb el Verificador de Governança societària
|
330
386
|
admin:
|
@@ -344,9 +400,10 @@ ca:
|
|
344
400
|
admin:
|
345
401
|
delegations_verifier:
|
346
402
|
help:
|
347
|
-
|
403
|
+
- Mètode de verificació per la delegació de vot
|
348
404
|
delegations_verifier:
|
349
|
-
explanation: Els usuaris verificats per aquest mètode poden delegar els seus
|
405
|
+
explanation: Els usuaris verificats per aquest mètode poden delegar els seus
|
406
|
+
vots a altres usuaris
|
350
407
|
fields:
|
351
408
|
phone: Número de telèfon
|
352
409
|
name: Governança societària
|
data/config/locales/en.yml
CHANGED
@@ -33,6 +33,8 @@ en:
|
|
33
33
|
admin:
|
34
34
|
consultations:
|
35
35
|
results:
|
36
|
+
ongoing_consultation: This consultations is still ongoing. Be aware that
|
37
|
+
results may change as more people vote.
|
36
38
|
title: Results by answer, membership type and weight
|
37
39
|
weighted_results:
|
38
40
|
title: Results by answer summing membership weights
|
@@ -296,7 +298,7 @@ en:
|
|
296
298
|
reach out if it's not correct.
|
297
299
|
delegations:
|
298
300
|
has_delegations: Delegate vote made
|
299
|
-
link: You have delegations granted
|
301
|
+
link: "\U0001F449 You have delegations granted"
|
300
302
|
delegations_authorizer:
|
301
303
|
email: We are using the email %{email} to verify your identity. If you think
|
302
304
|
this is wrong, please contact us.
|
@@ -343,6 +345,14 @@ en:
|
|
343
345
|
ponderation_not_found: Ponderation type not found
|
344
346
|
skip_import_info: Participant already exists %{with_mismatched_fields}
|
345
347
|
with_mismatched_fields: " with mismatched fields: %{fields}"
|
348
|
+
questions:
|
349
|
+
callout_link_text: Review the summary of your vote here
|
350
|
+
callout_text: You have answered %{voted} from a total of %{total} questions.
|
351
|
+
modal:
|
352
|
+
modal_table_header_answer: Did you answer?
|
353
|
+
modal_table_header_question: Question
|
354
|
+
modal_votes_title: Your votes in "%{title}"
|
355
|
+
question_not_answered: No, take me there
|
346
356
|
sms_message: Your verification code is %{code}
|
347
357
|
user_delegations:
|
348
358
|
index:
|
@@ -373,6 +383,8 @@ en:
|
|
373
383
|
reach out if it's not correct.
|
374
384
|
send_code: Send verification code
|
375
385
|
title: Authorize with Corporate Governance Verifier
|
386
|
+
not_active: The Corporate Governance Verifier cannot be granted at this
|
387
|
+
time as there are no active voting spaces.
|
376
388
|
admin:
|
377
389
|
actions:
|
378
390
|
invite: Send invitation
|