decidim-core 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/config/decidim_core_manifest.js +1 -0
- data/app/assets/images/decidim/process.svg +10 -0
- data/app/assets/javascripts/decidim.js.es6 +2 -0
- data/app/assets/javascripts/decidim/editor.js.es6 +2 -2
- data/app/assets/javascripts/decidim/filters.js.es6 +1 -1
- data/app/assets/javascripts/decidim/form_filter.component.js.es6 +26 -5
- data/app/assets/javascripts/decidim/form_filter.component.test.js +1 -18
- data/app/assets/javascripts/decidim/foundation.js.es6 +1 -0
- data/app/assets/javascripts/decidim/history.js.es6 +35 -0
- data/app/assets/javascripts/decidim/orders.js.es6 +28 -0
- data/app/assets/stylesheets/decidim/_decidim.scss +1 -0
- data/app/assets/stylesheets/decidim/email.css +21 -3
- data/app/assets/stylesheets/decidim/extras/_leaflet.scss +4 -2
- data/app/assets/stylesheets/decidim/extras/_quill.scss +8 -0
- data/app/assets/stylesheets/decidim/extras/_register_form.scss +9 -0
- data/app/assets/stylesheets/decidim/modules/_buttons.scss +19 -3
- data/app/assets/stylesheets/decidim/utils/_mixins.scss +8 -4
- data/app/commands/decidim/authorize_user.rb +9 -4
- data/app/commands/decidim/create_omniauth_registration.rb +4 -2
- data/app/commands/decidim/create_registration.rb +4 -1
- data/app/commands/decidim/invite_user.rb +3 -1
- data/app/commands/decidim/update_notifications_settings.rb +31 -0
- data/app/constraints/decidim/current_feature.rb +16 -15
- data/app/controllers/concerns/decidim/action_authorization.rb +73 -0
- data/app/controllers/concerns/decidim/feature_settings.rb +2 -5
- data/app/controllers/concerns/decidim/needs_authorization.rb +5 -1
- data/app/controllers/concerns/decidim/user_profile.rb +1 -0
- data/app/controllers/decidim/application_controller.rb +12 -0
- data/app/controllers/decidim/authorizations_controller.rb +10 -12
- data/app/controllers/decidim/cookie_policy_controller.rb +15 -0
- data/app/controllers/decidim/devise/confirmations_controller.rb +4 -0
- data/app/controllers/decidim/devise/invitations_controller.rb +4 -0
- data/app/controllers/decidim/devise/omniauth_registrations_controller.rb +10 -3
- data/app/controllers/decidim/devise/passwords_controller.rb +4 -0
- data/app/controllers/decidim/devise/registrations_controller.rb +21 -0
- data/app/controllers/decidim/devise/sessions_controller.rb +4 -0
- data/app/controllers/decidim/notifications_settings_controller.rb +31 -0
- data/app/controllers/decidim/pages_controller.rb +17 -6
- data/app/controllers/decidim/participatory_processes_controller.rb +5 -5
- data/app/forms/decidim/notifications_settings_form.rb +17 -0
- data/app/forms/decidim/registration_form.rb +2 -1
- data/app/helpers/decidim/action_authorization_helper.rb +82 -0
- data/app/helpers/decidim/application_helper.rb +2 -0
- data/app/helpers/decidim/authorization_form_helper.rb +1 -1
- data/app/helpers/decidim/cookies_helper.rb +11 -0
- data/app/helpers/decidim/decidim_form_helper.rb +18 -0
- data/app/helpers/decidim/language_chooser_helper.rb +18 -0
- data/app/helpers/decidim/layout_helper.rb +0 -5
- data/app/helpers/decidim/localized_locales_helper.rb +1 -1
- data/app/helpers/decidim/meta_tags_helper.rb +104 -0
- data/app/helpers/decidim/orders_helper.rb +28 -0
- data/app/helpers/decidim/resource_helper.rb +46 -6
- data/app/mailers/decidim/application_mailer.rb +2 -2
- data/app/mailers/decidim/decidim_devise_mailer.rb +0 -1
- data/app/mailers/decidim/newsletter_mailer.rb +24 -0
- data/app/models/decidim/abilities/everyone.rb +2 -0
- data/app/models/decidim/feature.rb +30 -0
- data/app/models/decidim/newsletter.rb +24 -0
- data/app/models/decidim/organization.rb +2 -0
- data/app/models/decidim/user.rb +3 -2
- data/app/queries/decidim/highlighted_participatory_processes.rb +10 -0
- data/app/queries/decidim/promoted_participatory_processes.rb +9 -0
- data/app/queries/decidim/public_participatory_processes.rb +10 -0
- data/app/services/decidim/action_authorizer.rb +102 -0
- data/app/services/decidim/resource_search.rb +1 -1
- data/app/uploaders/decidim/official_image_footer_uploader.rb +12 -0
- data/app/uploaders/decidim/official_image_header_uploader.rb +12 -0
- data/app/validators/etiquette_validator.rb +42 -0
- data/app/views/decidim/account/show.html.erb +1 -1
- data/app/views/decidim/authorizations/index.html.erb +4 -4
- data/app/views/decidim/authorizations/new.html.erb +2 -2
- data/app/views/decidim/cookie_policy/accept.js.erb +3 -0
- data/app/views/decidim/devise/confirmations/new.html.erb +3 -1
- data/app/views/decidim/devise/invitations/edit.html.erb +1 -1
- data/app/views/decidim/devise/omniauth_registrations/new.html.erb +1 -1
- data/app/views/decidim/devise/passwords/edit.html.erb +1 -1
- data/app/views/decidim/devise/passwords/new.html.erb +3 -1
- data/app/views/decidim/devise/registrations/edit.html.erb +2 -1
- data/app/views/decidim/devise/registrations/new.html.erb +13 -1
- data/app/views/decidim/devise/sessions/new.html.erb +3 -1
- data/app/views/decidim/newsletter_mailer/newsletter.html.erb +5 -0
- data/app/views/decidim/notifications_settings/show.html.erb +26 -0
- data/app/views/decidim/pages/index.html.erb +34 -0
- data/app/views/decidim/participatory_process_steps/index.html.erb +1 -1
- data/app/views/decidim/participatory_processes/_participatory_process.html.erb +4 -2
- data/app/views/decidim/participatory_processes/_promoted_process.html.erb +1 -1
- data/app/views/decidim/participatory_processes/index.html.erb +3 -3
- data/app/views/decidim/participatory_processes/show.html.erb +30 -9
- data/app/views/decidim/shared/_action_authorization_modal.html.erb +55 -0
- data/app/views/decidim/shared/_login_modal.html.erb +2 -3
- data/app/views/decidim/shared/_orders.html.erb +15 -0
- data/app/views/decidim/shared/_share_modal.html.erb +33 -0
- data/app/views/devise/mailer/organization_admin_invitation_instructions.html.erb +1 -1
- data/app/views/layouts/decidim/_application.html.erb +12 -0
- data/app/views/layouts/decidim/_cookie_warning.html.erb +8 -0
- data/app/views/layouts/decidim/_footer.html.erb +6 -0
- data/app/views/layouts/decidim/_header.html.erb +7 -9
- data/app/views/layouts/decidim/_language_chooser.html.erb +3 -3
- data/app/views/layouts/decidim/_logo.html.erb +1 -1
- data/app/views/layouts/decidim/_mailer_logo.html.erb +31 -0
- data/app/views/layouts/decidim/_main_nav.html.erb +11 -0
- data/app/views/layouts/decidim/_process_header.html.erb +9 -7
- data/app/views/layouts/decidim/_social_media_links.html.erb +39 -0
- data/app/views/layouts/decidim/_social_meta.html.erb +8 -8
- data/app/views/layouts/decidim/mailer.html.erb +110 -62
- data/app/views/layouts/decidim/participatory_process.html.erb +14 -3
- data/app/views/layouts/decidim/user_profile.html.erb +1 -0
- data/app/views/pages/decidim_page.html.erb +5 -0
- data/app/views/pages/home.html.erb +4 -0
- data/app/views/pages/home/_extended.html.erb +2 -2
- data/app/views/pages/home/_footer_sub_hero.html.erb +12 -0
- data/app/views/pages/home/_hero.html.erb +2 -2
- data/app/views/pages/home/_highlighted_processes.html.erb +2 -2
- data/config/i18n-tasks.yml +6 -2
- data/config/initializers/invisible_captcha.rb +10 -0
- data/config/initializers/mail_previews.rb +4 -0
- data/config/locales/ca.yml +129 -23
- data/config/locales/en.yml +98 -13
- data/config/locales/es.yml +128 -22
- data/config/locales/eu.yml +5 -0
- data/config/routes.rb +13 -5
- data/db/migrate/20170131134349_add_action_permissions_to_decidim_features.rb +5 -0
- data/db/migrate/20170202084913_add_comments_and_replies_notifications_to_users.rb +6 -0
- data/db/migrate/20170203150545_add_newsletter_notifications_to_users.rb +5 -0
- data/db/migrate/20170206083118_rename_extra_info_on_processes.rb +12 -0
- data/db/migrate/20170206142116_add_published_at_to_decidim_features.rb +6 -0
- data/db/migrate/20170207091021_add_social_media_handlers_to_organization.rb +8 -0
- data/db/migrate/20170207093048_add_organization_logo_and_url.rb +7 -0
- data/db/migrate/20170213081133_create_decidim_newsletters.rb +15 -0
- data/db/seeds.rb +29 -4
- data/lib/decidim/attributes.rb +6 -0
- data/lib/decidim/attributes/time_with_zone.rb +13 -0
- data/lib/decidim/authorable.rb +2 -2
- data/lib/decidim/core.rb +11 -0
- data/lib/decidim/core/api.rb +11 -0
- data/lib/decidim/core/api/author_interface.rb +11 -0
- data/lib/decidim/core/api/localized_string_type.rb +11 -0
- data/{app/types/decidim → lib/decidim/core/api}/process_step_type.rb +2 -2
- data/{app/types/decidim → lib/decidim/core/api}/process_type.rb +1 -1
- data/{app/types/decidim → lib/decidim/core/api}/session_type.rb +0 -0
- data/lib/decidim/core/api/translated_field_type.rb +42 -0
- data/{app/types/decidim → lib/decidim/core/api}/user_group_type.rb +1 -1
- data/{app/types/decidim → lib/decidim/core/api}/user_type.rb +1 -1
- data/lib/decidim/core/engine.rb +7 -1
- data/lib/decidim/core/test.rb +1 -0
- data/lib/decidim/core/test/factories.rb +41 -8
- data/lib/decidim/core/test/shared_examples/localised_email.rb +24 -0
- data/lib/decidim/core/version.rb +1 -1
- data/lib/decidim/feature_manifest.rb +11 -0
- data/{app/validators → lib/decidim}/feature_validator.rb +1 -3
- data/lib/decidim/features/base_controller.rb +6 -1
- data/lib/decidim/form_builder.rb +166 -1
- data/lib/decidim/has_feature.rb +2 -1
- data/lib/decidim/resourceable.rb +26 -0
- data/vendor/assets/javascripts/morphdom.js +679 -0
- metadata +174 -49
- data/lib/decidim/has_attachment.rb +0 -32
@@ -0,0 +1,12 @@
|
|
1
|
+
<section class="footer__subhero extended subhero home-section">
|
2
|
+
<div class="row">
|
3
|
+
<div class="columns small-centered large-10">
|
4
|
+
<h2 class="heading3"><%= t(".footer_sub_hero_headline", organization: current_organization.name) %></h2>
|
5
|
+
<h5 class="heading4"><%== t(".footer_sub_hero_body") %></h5>
|
6
|
+
<%= link_to new_user_registration_path, class: "button--sc link subhero-cta" do %>
|
7
|
+
<%= t(".register") %>
|
8
|
+
<%= icon "chevron-right", aria_hidden: true %>
|
9
|
+
<% end %>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
</section>
|
@@ -13,8 +13,8 @@
|
|
13
13
|
</div>
|
14
14
|
<div class="row">
|
15
15
|
<div class="columns small-centered small-6 medium-4 mediumlarge-3">
|
16
|
-
<%= link_to t('.
|
16
|
+
<%= link_to t('.participate'), participatory_processes_path, class: "hero-cta button expanded large button--sc" %>
|
17
17
|
</div>
|
18
18
|
</div>
|
19
19
|
</div>
|
20
|
-
</section>
|
20
|
+
</section>
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<section class="wrapper-home">
|
2
2
|
<div class="row">
|
3
|
-
<h3 class="section-heading"><%= t(".
|
3
|
+
<h3 class="section-heading"><%= t(".processes_ending_soon") %></h3>
|
4
4
|
<div class="row collapse">
|
5
5
|
<div class="row small-up-1 smallmedium-up-2 mediumlarge-up-3
|
6
6
|
large-up-4 card-grid">
|
7
|
-
<%
|
7
|
+
<% highlighted_participatory_processes.each do |process| %>
|
8
8
|
<div class="column">
|
9
9
|
<article class="card card--process card--mini">
|
10
10
|
<%= link_to participatory_process_path(process), class: "card__link" do %>
|
data/config/i18n-tasks.yml
CHANGED
@@ -94,9 +94,13 @@ ignore_unused:
|
|
94
94
|
- activerecord.models.decidim/user
|
95
95
|
- activemodel.attributes.user.*
|
96
96
|
- booleans.*
|
97
|
-
- errors.messages
|
98
|
-
- errors.messages.nesting_too_deep
|
97
|
+
- errors.messages.*
|
99
98
|
- social_share_button.*
|
99
|
+
- decidim.filters.linked_classes.*
|
100
|
+
- decidim.forms.errors.*
|
101
|
+
- decidim.authorizations.first_login.actions.*
|
102
|
+
- decidim.features.dummy.*
|
103
|
+
- invisible_captcha.*
|
100
104
|
# - 'activerecord.attributes.*'
|
101
105
|
# - '{devise,kaminari,will_paginate}.*'
|
102
106
|
# - 'simple_form.{yes,no}'
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
InvisibleCaptcha.setup do |config|
|
3
|
+
config.honeypots << "another_fake_attribute"
|
4
|
+
config.visual_honeypots = false
|
5
|
+
config.timestamp_threshold = 4
|
6
|
+
config.timestamp_enabled = false
|
7
|
+
# Leave these unset if you want to use I18n (see below)
|
8
|
+
# config.sentence_for_humans = 'If you are a human, ignore this field'
|
9
|
+
# config.timestamp_error_message = 'Sorry, that was too quick! Please resubmit.'
|
10
|
+
end
|
data/config/locales/ca.yml
CHANGED
@@ -4,8 +4,8 @@ ca:
|
|
4
4
|
user:
|
5
5
|
email: El teu email
|
6
6
|
name: El teu nom
|
7
|
-
password:
|
8
|
-
password_confirmation:
|
7
|
+
password: Contrasenya
|
8
|
+
password_confirmation: Confirma la teva contrasenya
|
9
9
|
user_group_document_number: Número de document acreditatiu
|
10
10
|
user_group_name: Nom de l'organització
|
11
11
|
user_group_phone: Telèfon de l'organització
|
@@ -17,6 +17,7 @@ ca:
|
|
17
17
|
name: Nom d'usuari
|
18
18
|
password: Contrasenya
|
19
19
|
password_confirmation: Confirmació de la contrasenya
|
20
|
+
remember_me: Recorda'm
|
20
21
|
user_group_document_number: Número de document acreditatiu
|
21
22
|
user_group_name: Nom de l'organització
|
22
23
|
user_group_phone: Telèfon de l'organització
|
@@ -34,7 +35,7 @@ ca:
|
|
34
35
|
update:
|
35
36
|
error: S'ha produït un error en actualitzar el seu compte.
|
36
37
|
success: El seu compte s'ha actualitzat correctament.
|
37
|
-
success_with_email_confirmation: El
|
38
|
+
success_with_email_confirmation: El teu compte s'ha actualitzat correctament. Rebràs un correu electrònic per confirmar la teva nova adreça de correu electrònic.
|
38
39
|
anonymous_user: Anònim
|
39
40
|
application:
|
40
41
|
documents:
|
@@ -42,23 +43,28 @@ ca:
|
|
42
43
|
photos:
|
43
44
|
related_photos: Fotos relacionades
|
44
45
|
authorization_handlers:
|
45
|
-
decidim/dummy_authorization_handler:
|
46
|
+
decidim/dummy_authorization_handler:
|
47
|
+
fields:
|
48
|
+
document_number: Número de document
|
49
|
+
postal_code: Codi Postal
|
50
|
+
name: exemple d'autorització
|
46
51
|
errors:
|
47
52
|
duplicate_authorization: Un usuari ja està autoritzat amb les mateixes dades.
|
53
|
+
foo_authorization:
|
54
|
+
fields:
|
55
|
+
bar: Bar
|
56
|
+
foo: Foo
|
57
|
+
name: Autorització foo
|
48
58
|
authorizations:
|
49
59
|
create:
|
50
60
|
error: S'ha produït un error en crear l'autorització.
|
51
61
|
success: Has estat autoritzat/da correctament.
|
52
62
|
current_participatory_processes: fer una ullada als processos actuals
|
53
|
-
destroy:
|
54
|
-
success: L'autorització s'ha destruït correctament
|
55
63
|
first_login:
|
56
64
|
actions:
|
57
65
|
decidim/dummy_authorization_handler: Verificar contra l'exemple d'autorització
|
58
|
-
title: Verificar la
|
59
|
-
verify_with_these_options: 'Aquestes són les opcions disponibles per verificar la
|
60
|
-
index:
|
61
|
-
authorization_confirm_destroy: Esteu segur que voleu suprimir aquesta autorització?
|
66
|
+
title: Verificar la teva identitat
|
67
|
+
verify_with_these_options: 'Aquestes són les opcions disponibles per verificar la teva identitat:'
|
62
68
|
new:
|
63
69
|
authorize: Enviar
|
64
70
|
authorize_with: Verificar-me amb %{authorizer}
|
@@ -72,16 +78,17 @@ ca:
|
|
72
78
|
email_already_exists: Un altre compte està utilitzant la mateixa adreça de correu electrònic
|
73
79
|
new:
|
74
80
|
complete_profile: Completa el perfil
|
75
|
-
sign_up:
|
76
|
-
subtitle: Si us plau,
|
81
|
+
sign_up: Si us plau completa el teu perfil
|
82
|
+
subtitle: Si us plau, omple el següent formulari per tal de completar la teva inscripció
|
77
83
|
username_help: Nom públic que apareix en els teus missatges. Amb l'objectiu de garantir l'anonimat, pot ser qualsevol nom.
|
78
84
|
registrations:
|
79
85
|
new:
|
80
86
|
already_have_an_account?: Ja tens un compte?
|
87
|
+
newsletter_notifications: Rebre informació sobre activitat rellevant
|
81
88
|
sign_in: Entra
|
82
89
|
sign_up: Registra't
|
83
90
|
sign_up_as:
|
84
|
-
legend: Inscriure's com
|
91
|
+
legend: Inscriure's com a
|
85
92
|
user: Individu
|
86
93
|
user_group: Organització/Col·lectiu
|
87
94
|
subtitle: Crea un compte per poder participar en els debats i donar suport a les propostes.
|
@@ -95,13 +102,54 @@ ca:
|
|
95
102
|
shared:
|
96
103
|
omniauth_buttons:
|
97
104
|
or: O
|
105
|
+
features:
|
106
|
+
dummy:
|
107
|
+
actions:
|
108
|
+
bar: Bar
|
109
|
+
foo: Foo
|
110
|
+
name: Funcionalitat de prova
|
111
|
+
settings:
|
112
|
+
global:
|
113
|
+
comments_enabled: Comentaris habilitats
|
114
|
+
dummy_global_attribute_1: Atribut de prova 1
|
115
|
+
dummy_global_attribute_2: Atribut de prova 2
|
116
|
+
step:
|
117
|
+
comments_blocked: Comentaris bloquejats
|
118
|
+
dummy_step_attribute_1: Atribut de fase de prova 1
|
119
|
+
dummy_step_attribute_2: Atribut de fase de prova 2
|
120
|
+
filters:
|
121
|
+
linked_classes:
|
122
|
+
all: Tots
|
123
|
+
meeting: Trobades
|
124
|
+
project: Projectes
|
125
|
+
proposal: propostes
|
126
|
+
result: Resultats
|
127
|
+
forms:
|
128
|
+
errors:
|
129
|
+
error: Hi ha un error en aquest camp.
|
98
130
|
menu:
|
99
131
|
home: Inici
|
132
|
+
more_information: Més informació
|
100
133
|
processes: Processos
|
134
|
+
newsletter_mailer:
|
135
|
+
newsletter:
|
136
|
+
note: Has rebut aquest missatge perquè estàs subscrit a butlletins de notícies a %{organization_name}. Pots canviar la configuració a la teva <a href="%{link}">pàgina de notificacions</a>.
|
137
|
+
notifications_settings:
|
138
|
+
show:
|
139
|
+
comments_notifications: Vull rebre notificacions quan algú comenta a les meves publicacions.
|
140
|
+
newsletter_notifications: Vull rebre informació sobre activitat rellevant
|
141
|
+
replies_notifications: Vull rebre notificacions per correu electrònic quan algú respon als meus comentaris.
|
142
|
+
update_notifications_settings: Guardar canvis
|
143
|
+
update:
|
144
|
+
error: Hi ha hagut un error en actualitzar la configuració de les notificacions.
|
145
|
+
success: La configuració de les notificacions s'han actualitzat correctament.
|
101
146
|
own_user_groups:
|
102
147
|
index:
|
103
148
|
not_verified: No verificada
|
104
149
|
verified: Verificada
|
150
|
+
pages:
|
151
|
+
index:
|
152
|
+
title: Més informació
|
105
153
|
participatory_process_steps:
|
106
154
|
index:
|
107
155
|
process_steps: Fases del procés
|
@@ -111,17 +159,40 @@ ca:
|
|
111
159
|
title: Processos participatius
|
112
160
|
show:
|
113
161
|
developer_group: Grup promotor
|
114
|
-
domain: Domini
|
115
162
|
end_date: Data de finalització
|
163
|
+
local_area: Àrees municipals
|
164
|
+
participatory_scope: Àmbit participatiu
|
165
|
+
participatory_structure: Estructura participativa
|
116
166
|
scope: Àmbit
|
167
|
+
target: A qui va dirigit?
|
117
168
|
shared:
|
169
|
+
action_authorization_modal:
|
170
|
+
incomplete:
|
171
|
+
cancel: Cancel·lar
|
172
|
+
explanation: 'Tot i que actualment estàs autoritzat amb "%{authorization}", necessitem que et tornis a autoritzar perquè no tenim les dades següents:'
|
173
|
+
reauthorize: Reautoritzar-se
|
174
|
+
title: Si us plau, reautoritza't
|
175
|
+
missing:
|
176
|
+
authorize: Autoritzar amb "%{authorization}"
|
177
|
+
explanation: Per dur a terme aquesta acció, ha de disposar de l'autorització "%{authorization}".
|
178
|
+
title: Es requereix autorització
|
179
|
+
unauthorized:
|
180
|
+
explanation: No es pot realitzar aquesta acció ja que alguna de les seves dades d'autorització no coincideixen amb les requerides.
|
181
|
+
invalid: "%{field} no és vàlid."
|
182
|
+
ok: D'acord
|
183
|
+
title: Acció no autoritzada
|
118
184
|
login_modal:
|
119
|
-
please_sign_in: Si us plau,
|
185
|
+
please_sign_in: Si us plau, inicia sessió
|
120
186
|
sign_up: Donar-se d'alta
|
187
|
+
share_modal:
|
188
|
+
close_window: Tanca la finestra
|
189
|
+
share: Compartir
|
190
|
+
share_link: Comparteix l'enllaç
|
121
191
|
devise:
|
122
192
|
invitations:
|
123
193
|
edit:
|
124
194
|
header: Establir la contrasenya
|
195
|
+
submit_button: Desa
|
125
196
|
mailer:
|
126
197
|
invitation_instructions:
|
127
198
|
accept: Acceptar invitació
|
@@ -145,9 +216,21 @@ ca:
|
|
145
216
|
file_size_is_less_than_or_equal_to: la mida del fitxer ha de ser menor que o igual a %{count}
|
146
217
|
invalid_manifest: Arxiu de manifest invàlid
|
147
218
|
invalid_participatory_process: Procés participatiu invàlid
|
219
|
+
long_words: Conté paraules que són massa llargues
|
220
|
+
must_start_with_caps: Ha de començar amb majúscules
|
148
221
|
nesting_too_deep: no pot estar dins d'una subcategoria
|
222
|
+
too_many_marks: Està utilitzant massa símbols d'exclamació o interrogació
|
223
|
+
too_much_caps: Està utilitzant massa majúscules
|
224
|
+
too_short: És massa curt
|
225
|
+
invisible_captcha:
|
226
|
+
sentence_for_humans: Si ets un humà, pots ignorar aquest camp
|
227
|
+
timestamp_error_message: Ho sentim, has estat massa ràpid! Torna a enviar-ho.
|
149
228
|
layouts:
|
150
229
|
decidim:
|
230
|
+
cookie_warning:
|
231
|
+
description_html: "Aquest lloc web fa servir cookies pròpies i de tercers per millorar l’experiència de navegació, i oferir continguts i serveis d’interès.\nEn continuar la navegació entenem que s’accepta la nostra política de cookies. Per a més informació consulta %{link}."
|
232
|
+
link_label: aquí
|
233
|
+
ok: Hi estic d'acord
|
151
234
|
footer:
|
152
235
|
made_with_open_source: 'Aquesta web està feta amb <a target="_blank" href="https://github.com/AjuntamentdeBarcelona/decidim">software lliure</a>.'
|
153
236
|
header:
|
@@ -182,14 +265,13 @@ ca:
|
|
182
265
|
profile: El meu compte
|
183
266
|
sign_out: Surt
|
184
267
|
user_profile:
|
185
|
-
account:
|
268
|
+
account: Compte
|
186
269
|
authorizations: Autoritzacions
|
270
|
+
notifications_settings: Configuració de les notificacions
|
187
271
|
title: Configuració d'usuari
|
188
272
|
user_groups: Organitzacions
|
189
|
-
|
190
|
-
|
191
|
-
en: English
|
192
|
-
es: Castellano
|
273
|
+
locale:
|
274
|
+
name: Català
|
193
275
|
pages:
|
194
276
|
'404':
|
195
277
|
back_home: Tornar a l'inici
|
@@ -208,19 +290,43 @@ ca:
|
|
208
290
|
more_info: Més informació
|
209
291
|
proposals: Propostes
|
210
292
|
proposals_explanation: Espai obert de propostes dels ciutadans sobre quin tipus de ciutat volem viure.
|
293
|
+
footer_sub_hero:
|
294
|
+
footer_sub_hero_body: Construïm una societat més oberta, transparent i col·laborativa.<br />Uneix-te, participa i decideix.
|
295
|
+
footer_sub_hero_headline: Benvingut a la plataforma participativa %{organization}.
|
296
|
+
register: Registra't
|
211
297
|
hero:
|
212
|
-
|
298
|
+
participate: Participa
|
213
299
|
welcome: Benvingut a %{organization}!
|
214
300
|
highlighted_processes:
|
215
301
|
active_step: Fase activa
|
216
|
-
|
217
|
-
see_all_processes:
|
302
|
+
processes_ending_soon: Processos que acaben aviat
|
303
|
+
see_all_processes: Veure tots els processos
|
218
304
|
statistics:
|
219
305
|
headline: Estat actual de %{organization}
|
220
306
|
processes: Processos
|
221
307
|
users: Usuaris
|
222
308
|
sub_hero:
|
223
309
|
register: Registre
|
310
|
+
social_share_button:
|
311
|
+
delicious: Delicious
|
312
|
+
douban: Douban
|
313
|
+
email: Correu electrònic
|
314
|
+
facebook: Facebook
|
315
|
+
google_bookmark: Google Bookmark
|
316
|
+
google_plus: Google+
|
317
|
+
hacker_news: Hacker News
|
318
|
+
linkedin: LinkedIn
|
319
|
+
pinterest: Pinterest
|
320
|
+
qq: Qzone
|
321
|
+
reddit: Reddit
|
322
|
+
share_to: Compartir a %{name}
|
323
|
+
tumblr: Tumblr
|
324
|
+
twitter: Twitter
|
325
|
+
vkontakte: Vkontakte
|
326
|
+
wechat: WeChat
|
327
|
+
wechat_footer: Obri el WeChat, feu clic al botó "Discover" i després feu clic al menú "Escanejar codi QR".
|
328
|
+
weibo: Sina Weibo
|
329
|
+
xing: Xing
|
224
330
|
views:
|
225
331
|
pagination:
|
226
332
|
first: "« Primera"
|
data/config/locales/en.yml
CHANGED
@@ -18,6 +18,7 @@ en:
|
|
18
18
|
name: Username
|
19
19
|
password: Password
|
20
20
|
password_confirmation: Password confirmation
|
21
|
+
remember_me: Remember me
|
21
22
|
user_group_document_number: Organization document number
|
22
23
|
user_group_name: Organization name
|
23
24
|
user_group_phone: Organization phone
|
@@ -43,23 +44,28 @@ en:
|
|
43
44
|
photos:
|
44
45
|
related_photos: Related photos
|
45
46
|
authorization_handlers:
|
46
|
-
decidim/dummy_authorization_handler:
|
47
|
+
decidim/dummy_authorization_handler:
|
48
|
+
fields:
|
49
|
+
document_number: Document number
|
50
|
+
postal_code: Postal code
|
51
|
+
name: Example authorization
|
47
52
|
errors:
|
48
53
|
duplicate_authorization: A user is already authorized with the same data.
|
54
|
+
foo_authorization:
|
55
|
+
fields:
|
56
|
+
bar: Bar
|
57
|
+
foo: Foo
|
58
|
+
name: Foo authorization
|
49
59
|
authorizations:
|
50
60
|
create:
|
51
61
|
error: There was an error creating the authorization.
|
52
62
|
success: You've been successfully authorized.
|
53
63
|
current_participatory_processes: take a look at the current processes
|
54
|
-
destroy:
|
55
|
-
success: Authorization successfully destroyed
|
56
64
|
first_login:
|
57
65
|
actions:
|
58
66
|
decidim/dummy_authorization_handler: Verify against the example authorization
|
59
67
|
title: Verify your identity
|
60
68
|
verify_with_these_options: 'These are the available options to verify your identity:'
|
61
|
-
index:
|
62
|
-
authorization_confirm_destroy: Are you sure you want to delete this authorization?
|
63
69
|
new:
|
64
70
|
authorize: Send
|
65
71
|
authorize_with: Verify with %{authorizer}
|
@@ -73,12 +79,13 @@ en:
|
|
73
79
|
email_already_exists: Another account is using the same email address
|
74
80
|
new:
|
75
81
|
complete_profile: Complete profile
|
76
|
-
sign_up:
|
82
|
+
sign_up: Please complete your profile
|
77
83
|
subtitle: Please fill in the following form in order to complete the sign up
|
78
84
|
username_help: Public name that appears on your posts. With the aim of guaranteeing the anonymity, can be any name.
|
79
85
|
registrations:
|
80
86
|
new:
|
81
87
|
already_have_an_account?: Already have an account?
|
88
|
+
newsletter_notifications: Receive information about relevant activity
|
82
89
|
sign_in: Log in
|
83
90
|
sign_up: Sign up
|
84
91
|
sign_up_as:
|
@@ -96,13 +103,54 @@ en:
|
|
96
103
|
shared:
|
97
104
|
omniauth_buttons:
|
98
105
|
or: Or
|
106
|
+
features:
|
107
|
+
dummy:
|
108
|
+
actions:
|
109
|
+
bar: Bar
|
110
|
+
foo: Foo
|
111
|
+
name: Dummy Feature
|
112
|
+
settings:
|
113
|
+
global:
|
114
|
+
comments_enabled: Comments enabled
|
115
|
+
dummy_global_attribute_1: Dummy Attribute 1
|
116
|
+
dummy_global_attribute_2: Dummy Attribute 2
|
117
|
+
step:
|
118
|
+
comments_blocked: Comments blocked
|
119
|
+
dummy_step_attribute_1: Dummy Step Attribute 1
|
120
|
+
dummy_step_attribute_2: Dummy Step Attribute 2
|
121
|
+
filters:
|
122
|
+
linked_classes:
|
123
|
+
all: All
|
124
|
+
meeting: Meetings
|
125
|
+
project: Projects
|
126
|
+
proposal: Proposals
|
127
|
+
result: Results
|
128
|
+
forms:
|
129
|
+
errors:
|
130
|
+
error: There's an error in this field.
|
99
131
|
menu:
|
100
132
|
home: Home
|
133
|
+
more_information: More information
|
101
134
|
processes: Processes
|
135
|
+
newsletter_mailer:
|
136
|
+
newsletter:
|
137
|
+
note: You received this email because you're subscribed to newsletters on %{organization_name}. You can change your settings on your <a href="%{link}">notifications page</a>.
|
138
|
+
notifications_settings:
|
139
|
+
show:
|
140
|
+
comments_notifications: I want to receive email notifications when someone comments in my publications.
|
141
|
+
newsletter_notifications: I want to receive information about relevant activity
|
142
|
+
replies_notifications: I want to receive email notifications when someone replies my comments.
|
143
|
+
update_notifications_settings: Save changes
|
144
|
+
update:
|
145
|
+
error: There's been an error updating your notifications settings.
|
146
|
+
success: Your notifications settings were updated successfully.
|
102
147
|
own_user_groups:
|
103
148
|
index:
|
104
149
|
not_verified: Not verified
|
105
150
|
verified: Verified
|
151
|
+
pages:
|
152
|
+
index:
|
153
|
+
title: More information
|
106
154
|
participatory_process_steps:
|
107
155
|
index:
|
108
156
|
process_steps: Process steps
|
@@ -112,13 +160,35 @@ en:
|
|
112
160
|
title: Participatory processes
|
113
161
|
show:
|
114
162
|
developer_group: Developer group
|
115
|
-
domain: Domain
|
116
163
|
end_date: End date
|
164
|
+
local_area: Local area
|
165
|
+
participatory_scope: Participatory scope
|
166
|
+
participatory_structure: Participatory structure
|
117
167
|
scope: Scope
|
168
|
+
target: Target
|
118
169
|
shared:
|
170
|
+
action_authorization_modal:
|
171
|
+
incomplete:
|
172
|
+
cancel: Cancel
|
173
|
+
explanation: 'Even though you''re currently authorized with "%{authorization}", we need you to reauthorize because we lack the following data:'
|
174
|
+
reauthorize: Reauthorize
|
175
|
+
title: Please reauthorize
|
176
|
+
missing:
|
177
|
+
authorize: Authorize with "%{authorization}"
|
178
|
+
explanation: In order to perform this action, you need to be authorized with "%{authorization}".
|
179
|
+
title: Authorization required
|
180
|
+
unauthorized:
|
181
|
+
explanation: Sorry, you can't perform this action as some of your authorization data doesn't match.
|
182
|
+
invalid: "%{field} isn't valid."
|
183
|
+
ok: Ok
|
184
|
+
title: Not authorized
|
119
185
|
login_modal:
|
120
186
|
please_sign_in: Please sign in
|
121
187
|
sign_up: Sign up
|
188
|
+
share_modal:
|
189
|
+
close_window: Close window
|
190
|
+
share: Share
|
191
|
+
share_link: Share link
|
122
192
|
devise:
|
123
193
|
invitations:
|
124
194
|
edit:
|
@@ -147,9 +217,21 @@ en:
|
|
147
217
|
file_size_is_less_than_or_equal_to: file size must be less than or equal to %{count}
|
148
218
|
invalid_manifest: Invalid manifest
|
149
219
|
invalid_participatory_process: Invalid participatory process
|
220
|
+
long_words: Contains words that are too long
|
221
|
+
must_start_with_caps: Must start with caps
|
150
222
|
nesting_too_deep: can't be inside of a subcategory
|
223
|
+
too_many_marks: Is using too many marks
|
224
|
+
too_much_caps: Is using too much caps
|
225
|
+
too_short: Is too short
|
226
|
+
invisible_captcha:
|
227
|
+
sentence_for_humans: If you are human, ignore this field
|
228
|
+
timestamp_error_message: Sorry, that was too quick! Please resubmit.
|
151
229
|
layouts:
|
152
230
|
decidim:
|
231
|
+
cookie_warning:
|
232
|
+
description_html: This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about it %{link}.
|
233
|
+
link_label: here
|
234
|
+
ok: I agree
|
153
235
|
footer:
|
154
236
|
made_with_open_source: Website made with <a target="_blank" href="https://github.com/AjuntamentdeBarcelona/decidim">open-source software</a>.
|
155
237
|
header:
|
@@ -186,12 +268,11 @@ en:
|
|
186
268
|
user_profile:
|
187
269
|
account: Account
|
188
270
|
authorizations: Authorizations
|
271
|
+
notifications_settings: Notifications settings
|
189
272
|
title: User settings
|
190
273
|
user_groups: Organizations
|
191
|
-
|
192
|
-
|
193
|
-
en: English
|
194
|
-
es: Castellano
|
274
|
+
locale:
|
275
|
+
name: English
|
195
276
|
pages:
|
196
277
|
'404':
|
197
278
|
back_home: Back home
|
@@ -210,12 +291,16 @@ en:
|
|
210
291
|
more_info: More info
|
211
292
|
proposals: Proposals
|
212
293
|
proposals_explanation: Open space for citizen proposals about what kind of city we want to live in.
|
213
|
-
|
294
|
+
footer_sub_hero:
|
295
|
+
footer_sub_hero_body: Let's build a more open, transparent and collaborative society.<br /> Join, participate and decide.
|
296
|
+
footer_sub_hero_headline: Welcome to %{organization} participatory platform.
|
214
297
|
register: Register
|
298
|
+
hero:
|
299
|
+
participate: Participate
|
215
300
|
welcome: Welcome to %{organization}!
|
216
301
|
highlighted_processes:
|
217
302
|
active_step: Active step
|
218
|
-
|
303
|
+
processes_ending_soon: Processes ending soon
|
219
304
|
see_all_processes: See all processes
|
220
305
|
statistics:
|
221
306
|
headline: Current state of %{organization}
|