decidim-core 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/decidim.js.es6 +2 -4
- data/app/assets/javascripts/decidim/append_elements.js.es6 +1 -1
- data/app/assets/javascripts/decidim/editor.js.es6 +33 -35
- data/app/assets/javascripts/decidim/filters.js.es6 +9 -15
- data/app/assets/javascripts/decidim/form_filter.component.js.es6 +5 -5
- data/app/assets/javascripts/decidim/form_filter.component.test.js +1 -1
- data/app/assets/javascripts/decidim/foundation.js.es6 +17 -0
- data/app/assets/javascripts/decidim/user_registrations.js.es6 +2 -3
- data/app/assets/stylesheets/decidim/_decidim.scss +9 -0
- data/app/assets/stylesheets/decidim/_variables.scss +5 -11
- data/app/assets/stylesheets/decidim/application.scss.erb +6 -0
- data/app/assets/stylesheets/decidim/extras/_leaflet.scss +13 -0
- data/app/assets/stylesheets/decidim/modules/_buttons.scss +8 -2
- data/app/assets/stylesheets/decidim/modules/_cards.scss +0 -2
- data/app/assets/stylesheets/decidim/modules/_comments.scss +33 -8
- data/app/assets/stylesheets/decidim/modules/{_defintion-data.scss → _definition-data.scss} +0 -0
- data/app/assets/stylesheets/decidim/modules/_filter-tags.scss +24 -0
- data/app/assets/stylesheets/decidim/modules/_layout.scss +1 -9
- data/app/assets/stylesheets/decidim/modules/_list-docs.scss +1 -1
- data/app/assets/stylesheets/decidim/modules/_margins.scss +15 -0
- data/app/assets/stylesheets/decidim/modules/_modules.scss +56 -0
- data/app/assets/stylesheets/decidim/modules/_opinion-toggle.scss +25 -5
- data/app/assets/stylesheets/decidim/modules/_order-by.scss +1 -0
- data/app/assets/stylesheets/decidim/modules/_process-header.scss +2 -1
- data/app/assets/stylesheets/decidim/modules/_process-phase.scss +0 -4
- data/app/assets/stylesheets/decidim/modules/_status-labels.scss +7 -1
- data/app/assets/stylesheets/decidim/modules/_typography.scss +17 -0
- data/app/assets/stylesheets/decidim/utils/_fontface.scss +3 -3
- data/app/assets/stylesheets/decidim/utils/_settings.scss +10 -7
- data/app/commands/decidim/invite_user.rb +2 -2
- data/app/commands/decidim/update_account.rb +48 -0
- data/app/controllers/concerns/decidim/form_factory.rb +1 -1
- data/app/controllers/concerns/decidim/needs_authorization.rb +12 -1
- data/app/controllers/concerns/decidim/user_profile.rb +30 -0
- data/app/controllers/decidim/account_controller.rb +28 -10
- data/app/controllers/decidim/authorizations_controller.rb +21 -8
- data/app/controllers/decidim/devise/invitations_controller.rb +2 -0
- data/app/controllers/decidim/devise/sessions_controller.rb +1 -1
- data/app/controllers/decidim/own_user_groups_controller.rb +14 -0
- data/app/controllers/decidim/participatory_processes_controller.rb +1 -1
- data/app/forms/decidim/account_form.rb +41 -0
- data/app/helpers/decidim/aria_selected_link_to_helper.rb +26 -0
- data/app/helpers/decidim/attachments_helper.rb +15 -0
- data/app/helpers/decidim/filters_helper.rb +2 -3
- data/app/helpers/decidim/layout_helper.rb +29 -6
- data/app/helpers/decidim/resource_helper.rb +64 -0
- data/app/helpers/decidim/user_profile_helper.rb +23 -0
- data/app/mailers/decidim/decidim_devise_mailer.rb +1 -0
- data/app/models/decidim/abilities/everyone.rb +5 -1
- data/app/models/decidim/ability.rb +3 -4
- data/app/models/decidim/{participatory_process_attachment.rb → attachment.rb} +5 -5
- data/app/models/decidim/feature.rb +2 -0
- data/app/models/decidim/organization.rb +1 -0
- data/app/models/decidim/participatory_process.rb +2 -5
- data/app/models/decidim/resource_link.rb +28 -0
- data/app/models/decidim/user.rb +6 -0
- data/app/models/decidim/user_group.rb +10 -1
- data/app/services/decidim/resource_search.rb +1 -4
- data/app/types/decidim/session_type.rb +16 -0
- data/app/types/decidim/user_group_type.rb +20 -0
- data/app/types/decidim/user_type.rb +5 -1
- data/app/uploaders/decidim/attachment_uploader.rb +4 -1
- data/app/uploaders/decidim/avatar_uploader.rb +8 -0
- data/app/uploaders/decidim/banner_image_uploader.rb +1 -0
- data/app/uploaders/decidim/hero_image_uploader.rb +1 -0
- data/app/uploaders/decidim/homepage_image_uploader.rb +5 -1
- data/app/uploaders/decidim/image_uploader.rb +1 -1
- data/app/uploaders/decidim/organization_favicon_uploader.rb +17 -0
- data/app/uploaders/decidim/organization_logo_uploader.rb +2 -2
- data/app/validators/feature_validator.rb +23 -0
- data/app/views/decidim/account/_password_fields.html.erb +2 -0
- data/app/views/decidim/account/_user_groups.html.erb +0 -0
- data/app/views/decidim/account/show.html.erb +24 -29
- data/app/views/decidim/application/_attachments.html.erb +8 -0
- data/app/views/decidim/{participatory_processes → application}/_documents.html.erb +0 -0
- data/app/views/decidim/{participatory_processes → application}/_photos.html.erb +0 -0
- data/app/views/decidim/authorizations/first_login.html.erb +22 -0
- data/app/views/decidim/authorizations/index.html.erb +46 -19
- data/app/views/decidim/devise/omniauth_registrations/new.html.erb +1 -1
- data/app/views/decidim/devise/registrations/new.html.erb +1 -1
- data/app/views/decidim/own_user_groups/index.html.erb +24 -0
- data/app/views/decidim/participatory_process_steps/_participatory_process_step.html.erb +1 -1
- data/app/views/decidim/participatory_process_steps/index.html.erb +3 -1
- data/app/views/decidim/participatory_processes/_participatory_process.html.erb +2 -2
- data/app/views/decidim/participatory_processes/_promoted_process.html.erb +1 -1
- data/app/views/decidim/participatory_processes/index.html.erb +2 -0
- data/app/views/decidim/participatory_processes/show.html.erb +37 -8
- data/app/views/decidim/shared/_comments.html.erb +0 -0
- data/app/views/layouts/decidim/_application.html.erb +5 -3
- data/app/views/layouts/decidim/_header.html.erb +4 -4
- data/app/views/layouts/decidim/_logo.html.erb +29 -17
- data/app/views/layouts/decidim/_process_header.html.erb +15 -3
- data/app/views/layouts/decidim/_process_header_steps.html.erb +1 -1
- data/app/views/layouts/decidim/_user_menu.html.erb +3 -0
- data/app/views/layouts/decidim/mailer.html.erb +1 -1
- data/app/views/layouts/decidim/user_profile.html.erb +35 -0
- data/app/views/pages/home.html.erb +5 -139
- data/app/views/pages/home/_extended.html.erb +48 -0
- data/app/views/pages/home/_hero.html.erb +20 -0
- data/app/views/pages/home/_highlighted_processes.html.erb +37 -0
- data/app/views/pages/home/_statistics.html.erb +22 -0
- data/app/views/pages/home/_sub_hero.html.erb +11 -0
- data/config/i18n-tasks.yml +1 -0
- data/config/initializers/foundation_rails_helper.rb +2 -0
- data/config/locales/ca.yml +69 -33
- data/config/locales/en.yml +86 -29
- data/config/locales/es.yml +68 -32
- data/config/routes.rb +8 -3
- data/db/migrate/20161116115156_create_attachments.rb +0 -2
- data/db/migrate/20170113150627_create_resource_links.rb +10 -0
- data/db/migrate/20170123134023_make_attachments_polymorphic.rb +18 -0
- data/db/migrate/20170123140857_add_avatar_to_user_groups.rb +5 -0
- data/db/migrate/20170125135937_rename_attachable_to_attached_to.rb +11 -0
- data/db/migrate/20170125152026_add_weight_to_features.rb +5 -0
- data/db/migrate/20170126151123_add_extra_info_to_processes.rb +8 -0
- data/db/migrate/20170128140553_add_timestamps_to_identities.rb +5 -0
- data/db/migrate/20170130132833_add_favicon_to_decidim_organizations.rb +5 -0
- data/db/seeds.rb +38 -6
- data/lib/decidim/authorable.rb +32 -0
- data/lib/decidim/core.rb +37 -0
- data/lib/decidim/core/engine.rb +2 -3
- data/lib/decidim/core/test.rb +6 -0
- data/lib/decidim/core/test/factories.rb +24 -3
- data/lib/decidim/core/test/shared_examples/authorable.rb +31 -0
- data/lib/decidim/core/test/shared_examples/has_attachments.rb +29 -0
- data/lib/decidim/core/test/shared_examples/has_category.rb +10 -0
- data/lib/decidim/core/test/shared_examples/has_feature.rb +20 -0
- data/lib/decidim/core/test/shared_examples/has_scope.rb +10 -0
- data/lib/decidim/core/version.rb +1 -1
- data/lib/decidim/feature_manifest.rb +31 -1
- data/lib/decidim/features/base_controller.rb +10 -0
- data/lib/decidim/features/settings_manifest.rb +1 -0
- data/lib/decidim/has_attachment.rb +32 -0
- data/lib/decidim/has_attachments.rb +32 -0
- data/lib/decidim/has_category.rb +21 -0
- data/lib/decidim/has_feature.rb +20 -0
- data/lib/decidim/has_scope.rb +21 -0
- data/lib/decidim/query_extensions.rb +2 -2
- data/lib/decidim/resource_manifest.rb +80 -0
- data/lib/decidim/resourceable.rb +85 -0
- metadata +67 -40
- data/app/assets/javascripts/decidim/inline_svg.js.es6 +0 -12
- data/app/assets/stylesheets/decidim/application.sass +0 -12
- data/app/assets/stylesheets/decidim/extras/_turbolinks.scss +0 -3
- data/app/assets/stylesheets/decidim/modules/_popularity.scss +0 -74
- data/app/assets/stylesheets/decidim/utils/_variables.scss +0 -22
- data/app/views/decidim/account/_authorizations.html.erb +0 -52
- data/vendor/assets/javascripts/owl.carousel.min.js +0 -47
- data/vendor/assets/javascripts/svg-injector.js +0 -464
@@ -0,0 +1,48 @@
|
|
1
|
+
<section class="extended">
|
2
|
+
<div class="wrapper-home home-section">
|
3
|
+
<div class="row column text-center">
|
4
|
+
<h3 class="heading2"><%t(".how_to_participate") %></h3>
|
5
|
+
</div>
|
6
|
+
<div class="row small-up-1 medium-up-3 home-bullets">
|
7
|
+
<div class="column">
|
8
|
+
<div class="home-bullet">
|
9
|
+
<div class="home-bullet__icon">
|
10
|
+
<%= icon "meetings" %>
|
11
|
+
</div>
|
12
|
+
<div class="home-bullet__desc">
|
13
|
+
<h4 class="heading6"><%= t(".meetings") %></h4>
|
14
|
+
<p><%= t(".meetings_explanation") %></p>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
<div class="column">
|
19
|
+
<div class="home-bullet">
|
20
|
+
<div class="home-bullet__icon">
|
21
|
+
<%= icon "debates" %>
|
22
|
+
</div>
|
23
|
+
<div class="home-bullet__desc">
|
24
|
+
<h4 class="heading6"><%= t(".debates") %></h4>
|
25
|
+
<p><%= t(".debates_explanation") %></p>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
<div class="column">
|
30
|
+
<div class="home-bullet">
|
31
|
+
<div class="home-bullet__icon">
|
32
|
+
<%= icon "proposals" %>
|
33
|
+
</div>
|
34
|
+
<div class="home-bullet__desc">
|
35
|
+
<h4 class="heading6"><%= t(".proposals") %></h4>
|
36
|
+
<p><%= t(".proposals_explanation") %></p>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
<div class="row">
|
42
|
+
<div class="columns small-centered small-10
|
43
|
+
smallmedium-8 medium-6 large-4">
|
44
|
+
<%= link_to t(".more_info"), page_path("faq"), class: "button expanded hollow button--sc" %>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
</section>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<section class="extended hero" style="background-image:url(<%= current_organization.homepage_image.url %>);">
|
2
|
+
<div class="hero__container">
|
3
|
+
<div class="row">
|
4
|
+
<div class="columns small-centered large-10">
|
5
|
+
<h1 class="text-highlight heading1 hero-heading">
|
6
|
+
<% if translated_attribute(current_organization.welcome_text).blank? %>
|
7
|
+
<%= t('.welcome', organization: current_organization.name) %>
|
8
|
+
<% else %>
|
9
|
+
<%== translated_attribute current_organization.welcome_text %>
|
10
|
+
<% end %>
|
11
|
+
</h1>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
<div class="row">
|
15
|
+
<div class="columns small-centered small-6 medium-4 mediumlarge-3">
|
16
|
+
<%= link_to t('.register'), new_user_registration_path, class: "hero-cta button expanded large button--sc" %>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</section>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<section class="wrapper-home">
|
2
|
+
<div class="row">
|
3
|
+
<h3 class="section-heading"><%= t(".highlighted_processes") %></h3>
|
4
|
+
<div class="row collapse">
|
5
|
+
<div class="row small-up-1 smallmedium-up-2 mediumlarge-up-3
|
6
|
+
large-up-4 card-grid">
|
7
|
+
<% promoted_participatory_processes.each do |process| %>
|
8
|
+
<div class="column">
|
9
|
+
<article class="card card--process card--mini">
|
10
|
+
<%= link_to participatory_process_path(process), class: "card__link" do %>
|
11
|
+
<div class="card__image-top"
|
12
|
+
style="background-image:url(<%= process.hero_image.url %>)"></div>
|
13
|
+
<% end %>
|
14
|
+
<div class="card__content">
|
15
|
+
<%= link_to participatory_process_path(process), class: "card__link" do %>
|
16
|
+
<h4 class="card__title"><%= translated_attribute process.title %></h4>
|
17
|
+
<% end %>
|
18
|
+
<% if process.active_step %>
|
19
|
+
<span class="card--process__small">
|
20
|
+
<%= t(".active_step") %>
|
21
|
+
<strong><%= translated_attribute process.active_step.title %></strong>
|
22
|
+
</span>
|
23
|
+
<% end %>
|
24
|
+
</div>
|
25
|
+
</article>
|
26
|
+
</div>
|
27
|
+
<% end %>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
<div class="row">
|
32
|
+
<div class="columns small-centered small-12
|
33
|
+
smallmedium-8 medium-6 large-4">
|
34
|
+
<%= link_to t(".see_all_processes"), participatory_processes_path, class: "button expanded hollow button--sc home-section__cta" %>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</section>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<section class="extended" id="statistics">
|
2
|
+
<div class="wrapper-home">
|
3
|
+
<div class="row column text-center">
|
4
|
+
<h3 class="heading2"><%= t(".headline", organization: current_organization.name) %></h3>
|
5
|
+
</div>
|
6
|
+
<div class="row">
|
7
|
+
<div class="columns small-centered mediumlarge-10 large-8">
|
8
|
+
<div class="home-pam">
|
9
|
+
<div class="home-pam__highlight">
|
10
|
+
<div class="home-pam__data">
|
11
|
+
<h4 class="home-pam__title"><%= t(".users") %></h4>
|
12
|
+
<span class="home-pam__number users-count"><%= users.count %></span>
|
13
|
+
</div>
|
14
|
+
<div class="home-pam__data">
|
15
|
+
<h4 class="home-pam__title"><%= t(".processes") %></h4>
|
16
|
+
<span class="home-pam__number processes-count"><%= participatory_processes.count %></span>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</section>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<section class="extended subhero home-section">
|
2
|
+
<div class="row">
|
3
|
+
<div class="columns small-centered large-10">
|
4
|
+
<h2 class="heading3"><%== translated_attribute current_organization.description %></h2>
|
5
|
+
<%= link_to new_user_registration_path, class: "button--sc link subhero-cta" do %>
|
6
|
+
<%= t(".register") %>
|
7
|
+
<%= icon "chevron-right", aria_hidden: true %>
|
8
|
+
<% end %>
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
</section>
|
data/config/i18n-tasks.yml
CHANGED
@@ -96,6 +96,7 @@ ignore_unused:
|
|
96
96
|
- booleans.*
|
97
97
|
- errors.messages.file_size_is_less_than_or_equal_to
|
98
98
|
- errors.messages.nesting_too_deep
|
99
|
+
- social_share_button.*
|
99
100
|
# - 'activerecord.attributes.*'
|
100
101
|
# - '{devise,kaminari,will_paginate}.*'
|
101
102
|
# - 'simple_form.{yes,no}'
|
data/config/locales/ca.yml
CHANGED
@@ -2,6 +2,10 @@ ca:
|
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
4
|
user:
|
5
|
+
email: El teu email
|
6
|
+
name: El teu nom
|
7
|
+
password: Nova contrasenya
|
8
|
+
password_confirmation: Confirmeu la vostra nova contrasenya
|
5
9
|
user_group_document_number: Número de document acreditatiu
|
6
10
|
user_group_name: Nom de l'organització
|
7
11
|
user_group_phone: Telèfon de l'organització
|
@@ -12,11 +16,10 @@ ca:
|
|
12
16
|
email: Correu electrònic
|
13
17
|
name: Nom d'usuari
|
14
18
|
password: Contrasenya
|
15
|
-
password_confirmation:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
decidim/user: Usuari
|
19
|
+
password_confirmation: Confirmació de la contrasenya
|
20
|
+
user_group_document_number: Número de document acreditatiu
|
21
|
+
user_group_name: Nom de l'organització
|
22
|
+
user_group_phone: Telèfon de l'organització
|
20
23
|
booleans:
|
21
24
|
'false': 'No'
|
22
25
|
'true': 'Sí'
|
@@ -25,11 +28,19 @@ ca:
|
|
25
28
|
image_too_big: La imatge és massa gran
|
26
29
|
decidim:
|
27
30
|
account:
|
28
|
-
authorizations:
|
29
|
-
authorization_confirm_destroy: Segur que vols suprimir aquesta autorització?
|
30
31
|
show:
|
31
|
-
|
32
|
-
|
32
|
+
change_password: Canvia la contrasenya
|
33
|
+
update_account: Actualitzar compte
|
34
|
+
update:
|
35
|
+
error: S'ha produït un error en actualitzar el seu compte.
|
36
|
+
success: El seu compte s'ha actualitzat correctament.
|
37
|
+
success_with_email_confirmation: El seu compte s'ha actualitzat correctament. Rebrà un correu electrònic per confirmar la seva nova adreça de correu electrònic.
|
38
|
+
anonymous_user: Anònim
|
39
|
+
application:
|
40
|
+
documents:
|
41
|
+
related_documents: Documents relacionats
|
42
|
+
photos:
|
43
|
+
related_photos: Fotos relacionades
|
33
44
|
authorization_handlers:
|
34
45
|
decidim/dummy_authorization_handler: Autorització d'exemple
|
35
46
|
errors:
|
@@ -41,11 +52,13 @@ ca:
|
|
41
52
|
current_participatory_processes: fer una ullada als processos actuals
|
42
53
|
destroy:
|
43
54
|
success: L'autorització s'ha destruït correctament
|
44
|
-
|
55
|
+
first_login:
|
45
56
|
actions:
|
46
|
-
decidim/dummy_authorization_handler: Verificar
|
47
|
-
title: Verificar la
|
48
|
-
verify_with_these_options: 'Aquestes són les opcions disponibles per verificar la
|
57
|
+
decidim/dummy_authorization_handler: Verificar contra l'exemple d'autorització
|
58
|
+
title: Verificar la seva identitat
|
59
|
+
verify_with_these_options: 'Aquestes són les opcions disponibles per verificar la seva identitat:'
|
60
|
+
index:
|
61
|
+
authorization_confirm_destroy: Esteu segur que voleu suprimir aquesta autorització?
|
49
62
|
new:
|
50
63
|
authorize: Enviar
|
51
64
|
authorize_with: Verificar-me amb %{authorizer}
|
@@ -61,6 +74,7 @@ ca:
|
|
61
74
|
complete_profile: Completa el perfil
|
62
75
|
sign_up: Completi el seu perfil
|
63
76
|
subtitle: Si us plau, ompli el següent formulari per tal de completar la seva inscripció
|
77
|
+
username_help: Nom públic que apareix en els teus missatges. Amb l'objectiu de garantir l'anonimat, pot ser qualsevol nom.
|
64
78
|
registrations:
|
65
79
|
new:
|
66
80
|
already_have_an_account?: Ja tens un compte?
|
@@ -84,21 +98,30 @@ ca:
|
|
84
98
|
menu:
|
85
99
|
home: Inici
|
86
100
|
processes: Processos
|
101
|
+
own_user_groups:
|
102
|
+
index:
|
103
|
+
not_verified: No verificada
|
104
|
+
verified: Verificada
|
87
105
|
participatory_process_steps:
|
88
106
|
index:
|
89
107
|
process_steps: Fases del procés
|
90
|
-
|
91
|
-
info: Informació
|
108
|
+
title: Fases del procés participatiu
|
92
109
|
participatory_processes:
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
110
|
+
index:
|
111
|
+
title: Processos participatius
|
112
|
+
show:
|
113
|
+
developer_group: Grup promotor
|
114
|
+
domain: Domini
|
115
|
+
end_date: Data de finalització
|
116
|
+
scope: Àmbit
|
97
117
|
shared:
|
98
118
|
login_modal:
|
99
119
|
please_sign_in: Si us plau, inicii sessió
|
100
120
|
sign_up: Donar-se d'alta
|
101
121
|
devise:
|
122
|
+
invitations:
|
123
|
+
edit:
|
124
|
+
header: Establir la contrasenya
|
102
125
|
mailer:
|
103
126
|
invitation_instructions:
|
104
127
|
accept: Acceptar invitació
|
@@ -150,11 +173,19 @@ ca:
|
|
150
173
|
take_part: Participa
|
151
174
|
process_header:
|
152
175
|
process_menu_item: El procés
|
176
|
+
unfold: Desplegar
|
153
177
|
process_header_steps:
|
178
|
+
step: Fase %{current} de %{total}
|
154
179
|
view_steps: Veure les fases
|
155
180
|
user_menu:
|
181
|
+
admin_dashboard: Tauler d'administració
|
156
182
|
profile: El meu compte
|
157
183
|
sign_out: Surt
|
184
|
+
user_profile:
|
185
|
+
account: Compta
|
186
|
+
authorizations: Autoritzacions
|
187
|
+
title: Configuració d'usuari
|
188
|
+
user_groups: Organitzacions
|
158
189
|
locales:
|
159
190
|
ca: Català
|
160
191
|
en: English
|
@@ -168,23 +199,28 @@ ca:
|
|
168
199
|
title: Hi ha hagut un problema amb el nostre servidor
|
169
200
|
try_later: Si us plau, torna-ho a intentar més tard.
|
170
201
|
home:
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
202
|
+
extended:
|
203
|
+
debates: Debats
|
204
|
+
debates_explanation: Anem a conèixer, debatre i compartir el que pensem que és important per a la nostra ciutat.
|
205
|
+
how_to_participate: Com participo en un procés?
|
206
|
+
meetings: Trobades
|
207
|
+
meetings_explanation: Anem a conèixer, debatre i compartir el que pensem que és important per a la nostra ciutat.
|
208
|
+
more_info: Més informació
|
209
|
+
proposals: Propostes
|
210
|
+
proposals_explanation: Espai obert de propostes dels ciutadans sobre quin tipus de ciutat volem viure.
|
211
|
+
hero:
|
212
|
+
register: Registre
|
213
|
+
welcome: Benvingut a %{organization}!
|
214
|
+
highlighted_processes:
|
215
|
+
active_step: Fase activa
|
216
|
+
highlighted_processes: Processos destacats
|
217
|
+
see_all_processes: Mostra tots els processos
|
218
|
+
statistics:
|
184
219
|
headline: Estat actual de %{organization}
|
185
220
|
processes: Processos
|
186
221
|
users: Usuaris
|
187
|
-
|
222
|
+
sub_hero:
|
223
|
+
register: Registre
|
188
224
|
views:
|
189
225
|
pagination:
|
190
226
|
first: "« Primera"
|
data/config/locales/en.yml
CHANGED
@@ -3,6 +3,10 @@ en:
|
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
5
|
user:
|
6
|
+
email: Your email
|
7
|
+
name: Your name
|
8
|
+
password: New password
|
9
|
+
password_confirmation: Confirm your new password
|
6
10
|
user_group_document_number: Organization document number
|
7
11
|
user_group_name: Organization name
|
8
12
|
user_group_phone: Organization phone
|
@@ -14,10 +18,9 @@ en:
|
|
14
18
|
name: Username
|
15
19
|
password: Password
|
16
20
|
password_confirmation: Password confirmation
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
decidim/user: User
|
21
|
+
user_group_document_number: Organization document number
|
22
|
+
user_group_name: Organization name
|
23
|
+
user_group_phone: Organization phone
|
21
24
|
booleans:
|
22
25
|
'false': 'No'
|
23
26
|
'true': 'Yes'
|
@@ -26,11 +29,19 @@ en:
|
|
26
29
|
image_too_big: The image is too big
|
27
30
|
decidim:
|
28
31
|
account:
|
29
|
-
authorizations:
|
30
|
-
authorization_confirm_destroy: Are you sure you want to delete this authorization?
|
31
32
|
show:
|
32
|
-
|
33
|
-
|
33
|
+
change_password: Change password
|
34
|
+
update_account: Update account
|
35
|
+
update:
|
36
|
+
error: There's been an error updating your account.
|
37
|
+
success: Your account was updated successfully.
|
38
|
+
success_with_email_confirmation: Your account was updated successfully. You'll receive an email to confirm your new email address.
|
39
|
+
anonymous_user: Anonymous
|
40
|
+
application:
|
41
|
+
documents:
|
42
|
+
related_documents: Related documents
|
43
|
+
photos:
|
44
|
+
related_photos: Related photos
|
34
45
|
authorization_handlers:
|
35
46
|
decidim/dummy_authorization_handler: Example authorization
|
36
47
|
errors:
|
@@ -42,11 +53,13 @@ en:
|
|
42
53
|
current_participatory_processes: take a look at the current processes
|
43
54
|
destroy:
|
44
55
|
success: Authorization successfully destroyed
|
45
|
-
|
56
|
+
first_login:
|
46
57
|
actions:
|
47
58
|
decidim/dummy_authorization_handler: Verify against the example authorization
|
48
59
|
title: Verify your identity
|
49
60
|
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?
|
50
63
|
new:
|
51
64
|
authorize: Send
|
52
65
|
authorize_with: Verify with %{authorizer}
|
@@ -62,6 +75,7 @@ en:
|
|
62
75
|
complete_profile: Complete profile
|
63
76
|
sign_up: Complete your profile
|
64
77
|
subtitle: Please fill in the following form in order to complete the sign up
|
78
|
+
username_help: Public name that appears on your posts. With the aim of guaranteeing the anonymity, can be any name.
|
65
79
|
registrations:
|
66
80
|
new:
|
67
81
|
already_have_an_account?: Already have an account?
|
@@ -85,21 +99,31 @@ en:
|
|
85
99
|
menu:
|
86
100
|
home: Home
|
87
101
|
processes: Processes
|
102
|
+
own_user_groups:
|
103
|
+
index:
|
104
|
+
not_verified: Not verified
|
105
|
+
verified: Verified
|
88
106
|
participatory_process_steps:
|
89
107
|
index:
|
90
108
|
process_steps: Process steps
|
91
|
-
|
92
|
-
info: Information
|
109
|
+
title: Participatory process steps
|
93
110
|
participatory_processes:
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
111
|
+
index:
|
112
|
+
title: Participatory processes
|
113
|
+
show:
|
114
|
+
developer_group: Developer group
|
115
|
+
domain: Domain
|
116
|
+
end_date: End date
|
117
|
+
scope: Scope
|
98
118
|
shared:
|
99
119
|
login_modal:
|
100
120
|
please_sign_in: Please sign in
|
101
121
|
sign_up: Sign up
|
102
122
|
devise:
|
123
|
+
invitations:
|
124
|
+
edit:
|
125
|
+
header: Set your password
|
126
|
+
submit_button: Save
|
103
127
|
mailer:
|
104
128
|
invitation_instructions:
|
105
129
|
accept: Accept invitation
|
@@ -151,11 +175,19 @@ en:
|
|
151
175
|
take_part: Take part
|
152
176
|
process_header:
|
153
177
|
process_menu_item: The process
|
178
|
+
unfold: Unfold
|
154
179
|
process_header_steps:
|
180
|
+
step: Step %{current} of %{total}
|
155
181
|
view_steps: View steps
|
156
182
|
user_menu:
|
183
|
+
admin_dashboard: Admin dashboard
|
157
184
|
profile: My account
|
158
185
|
sign_out: Sign out
|
186
|
+
user_profile:
|
187
|
+
account: Account
|
188
|
+
authorizations: Authorizations
|
189
|
+
title: User settings
|
190
|
+
user_groups: Organizations
|
159
191
|
locales:
|
160
192
|
ca: Català
|
161
193
|
en: English
|
@@ -169,23 +201,48 @@ en:
|
|
169
201
|
title: There was a problem with our server
|
170
202
|
try_later: Please try again later.
|
171
203
|
home:
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
204
|
+
extended:
|
205
|
+
debates: Debates
|
206
|
+
debates_explanation: Let's meet, debate and share what we think it's important for our city.
|
207
|
+
how_to_participate: How do I take part in a process?
|
208
|
+
meetings: Meetings
|
209
|
+
meetings_explanation: Let's meet, debate and share what we think it's important for our city.
|
210
|
+
more_info: More info
|
211
|
+
proposals: Proposals
|
212
|
+
proposals_explanation: Open space for citizen proposals about what kind of city we want to live in.
|
213
|
+
hero:
|
214
|
+
register: Register
|
215
|
+
welcome: Welcome to %{organization}!
|
216
|
+
highlighted_processes:
|
217
|
+
active_step: Active step
|
218
|
+
highlighted_processes: Highlighted processes
|
219
|
+
see_all_processes: See all processes
|
220
|
+
statistics:
|
185
221
|
headline: Current state of %{organization}
|
186
222
|
processes: Processes
|
187
223
|
users: Users
|
188
|
-
|
224
|
+
sub_hero:
|
225
|
+
register: Register
|
226
|
+
social_share_button:
|
227
|
+
delicious: Delicious
|
228
|
+
douban: Douban
|
229
|
+
email: Email
|
230
|
+
facebook: Facebook
|
231
|
+
google_bookmark: Google Bookmark
|
232
|
+
google_plus: Google+
|
233
|
+
hacker_news: Hacker News
|
234
|
+
linkedin: Linkedin
|
235
|
+
pinterest: Pinterest
|
236
|
+
qq: Qzone
|
237
|
+
reddit: Reddit
|
238
|
+
share_to: Share to %{name}
|
239
|
+
tumblr: Tumblr
|
240
|
+
twitter: Twitter
|
241
|
+
vkontakte: Vkontakte
|
242
|
+
wechat: WeChat
|
243
|
+
wechat_footer: Open your WeChat, click "Discover" button then click the "Scan QR Code" menu.
|
244
|
+
weibo: Sina Weibo
|
245
|
+
xing: Xing
|
189
246
|
views:
|
190
247
|
pagination:
|
191
248
|
first: "« First"
|