decidim-core 0.0.1.alpha9 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -25
- data/app/assets/config/decidim_core_manifest.js +1 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_400.eot +0 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_400.svg +345 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_400.ttf +0 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_400.woff +0 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_400.woff2 +0 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_600.eot +0 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_600.svg +339 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_600.ttf +0 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_600.woff +0 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_600.woff2 +0 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_900.eot +0 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_900.svg +342 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_900.ttf +0 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_900.woff +0 -0
- data/app/assets/fonts/decidim/Source_Sans_Pro_900.woff2 +0 -0
- data/app/assets/images/decidim/default-avatar.svg +14 -0
- data/app/assets/javascripts/decidim.js.es6 +5 -5
- data/app/assets/javascripts/decidim/editor.js.es6 +46 -0
- data/app/assets/stylesheets/decidim/_variables.scss +12 -13
- data/app/assets/stylesheets/decidim/application.sass +4 -1
- data/app/assets/stylesheets/decidim/editor.sass +4 -0
- data/app/assets/stylesheets/decidim/modules/_card-grid.scss +4 -1
- data/app/assets/stylesheets/decidim/modules/_cards.scss +5 -0
- data/app/assets/stylesheets/decidim/modules/_navbar.scss +1 -0
- data/app/assets/stylesheets/decidim/modules/_process-header.scss +24 -75
- data/app/assets/stylesheets/decidim/modules/_process-nav.scss +0 -1
- data/app/assets/stylesheets/decidim/modules/_process-phase.scss +80 -0
- data/app/assets/stylesheets/decidim/utils/_fontface.scss +39 -1
- data/app/assets/stylesheets/decidim/utils/_helpers.scss +25 -0
- data/app/assets/stylesheets/decidim/utils/_keyframes.scss +21 -0
- data/app/assets/stylesheets/decidim/utils/_mixins.scss +37 -0
- data/app/assets/stylesheets/decidim/utils/_settings.scss +11 -5
- data/app/commands/decidim/authorize_user.rb +2 -2
- data/app/constraints/decidim/current_feature.rb +48 -0
- data/app/controllers/concerns/decidim/form_factory.rb +80 -0
- data/app/controllers/concerns/decidim/locale_switcher.rb +17 -10
- data/app/controllers/concerns/decidim/needs_participatory_process.rb +33 -0
- data/app/controllers/decidim/application_controller.rb +1 -1
- data/app/controllers/decidim/devise/confirmations_controller.rb +1 -1
- data/app/controllers/decidim/devise/passwords_controller.rb +1 -1
- data/app/controllers/decidim/devise/registrations_controller.rb +1 -1
- data/app/controllers/decidim/devise/sessions_controller.rb +16 -2
- data/app/controllers/decidim/pages_controller.rb +14 -0
- data/app/controllers/decidim/participatory_processes_controller.rb +7 -0
- data/app/forms/decidim/form.rb +15 -0
- data/app/forms/translatable_presence_validator.rb +31 -0
- data/app/helpers/decidim/application_helper.rb +17 -2
- data/app/helpers/decidim/layout_helper.rb +8 -1
- data/app/helpers/decidim/localized_locales_helper.rb +43 -0
- data/app/helpers/decidim/participatory_process_helper.rb +16 -0
- data/app/helpers/decidim/translations_helper.rb +17 -0
- data/app/models/decidim/category.rb +35 -0
- data/app/models/decidim/component.rb +51 -0
- data/app/models/decidim/feature.rb +30 -0
- data/app/models/decidim/organization.rb +20 -1
- data/app/models/decidim/participatory_process.rb +43 -4
- data/app/models/decidim/participatory_process_attachment.rb +56 -0
- data/app/models/decidim/scope.rb +14 -0
- data/app/models/decidim/static_page.rb +56 -0
- data/app/models/decidim/user.rb +2 -0
- data/app/queries/decidim/organization_participatory_processes.rb +17 -0
- data/app/services/decidim/authorization_handler.rb +2 -2
- data/app/types/decidim/process_step_type.rb +24 -0
- data/app/types/decidim/process_type.rb +16 -0
- data/app/types/decidim/user_type.rb +14 -0
- data/app/uploaders/decidim/attachment_uploader.rb +70 -0
- data/app/uploaders/decidim/avatar_uploader.rb +14 -0
- data/app/uploaders/decidim/banner_image_uploader.rb +1 -1
- data/app/uploaders/decidim/hero_image_uploader.rb +1 -1
- data/app/uploaders/decidim/homepage_image_uploader.rb +11 -0
- data/app/uploaders/decidim/image_uploader.rb +46 -0
- data/app/uploaders/decidim/organization_logo_uploader.rb +9 -0
- data/app/views/decidim/devise/registrations/new.html.erb +1 -1
- data/app/views/decidim/participatory_processes/_documents.html.erb +26 -0
- data/app/views/decidim/participatory_processes/_photos.html.erb +16 -0
- data/app/views/decidim/participatory_processes/_promoted_process.html.erb +1 -1
- data/app/views/decidim/participatory_processes/show.html.erb +16 -11
- data/app/views/kaminari/decidim/_first_page.html.erb +11 -0
- data/app/views/kaminari/decidim/_gap.html.erb +8 -0
- data/app/views/kaminari/decidim/_last_page.html.erb +11 -0
- data/app/views/kaminari/decidim/_next_page.html.erb +11 -0
- data/app/views/kaminari/decidim/_page.html.erb +12 -0
- data/app/views/kaminari/decidim/_paginator.html.erb +25 -0
- data/app/views/kaminari/decidim/_prev_page.html.erb +11 -0
- data/app/views/layouts/decidim/_application.html.erb +17 -0
- data/app/views/layouts/decidim/_footer.html.erb +5 -3
- data/app/views/layouts/decidim/_header.html.erb +8 -21
- data/app/views/layouts/decidim/_language_chooser.html.erb +14 -0
- data/app/views/layouts/decidim/_logo.html.erb +17 -13
- data/app/views/layouts/decidim/_process_header.html.erb +34 -0
- data/app/views/layouts/decidim/_process_header_steps.html.erb +26 -0
- data/app/views/layouts/decidim/_user_menu.html.erb +2 -0
- data/app/views/layouts/decidim/application.html.erb +3 -0
- data/app/views/layouts/decidim/participatory_process.html.erb +15 -0
- data/app/views/pages/decidim_page.html.erb +12 -0
- data/app/views/pages/home.html.erb +106 -2
- data/config/i18n-tasks.yml +3 -1
- data/config/locales/ca.yml +40 -10
- data/config/locales/en.yml +39 -4
- data/config/locales/es.yml +44 -14
- data/config/routes.rb +14 -1
- data/db/migrate/20160919104837_create_decidim_organizations.rb +4 -0
- data/db/migrate/20161005153007_add_description_to_organizations.rb +1 -3
- data/db/migrate/20161010102356_translate_processes.rb +4 -4
- data/db/migrate/20161017085822_add_participatory_process_steps.rb +3 -3
- data/db/migrate/20161107152228_remove_not_null_on_step_position.rb +5 -0
- data/db/migrate/20161108093802_create_decidim_static_pages.rb +11 -0
- data/db/migrate/20161110092735_add_index_for_process_slug_organization.rb +8 -0
- data/db/migrate/20161110105712_create_decidim_features.rb +9 -0
- data/db/migrate/20161116115156_create_attachments.rb +18 -0
- data/db/migrate/20161123085134_add_categories.rb +10 -0
- data/db/migrate/20161130105257_create_decidim_scopes.rb +9 -0
- data/db/migrate/20161209134715_make_organization_description_optional.rb +5 -0
- data/db/migrate/20161213094244_add_avatar_to_users.rb +5 -0
- data/db/migrate/20161214152811_add_logo_to_organizations.rb +5 -0
- data/db/seeds.rb +36 -6
- data/db/seeds/Exampledocument.pdf +0 -0
- data/{app/assets/images/decidim/hero-home.jpg → db/seeds/homepage_image.jpg} +0 -0
- data/lib/decidim/core.rb +55 -2
- data/lib/decidim/core/engine.rb +16 -2
- data/lib/decidim/core/version.rb +11 -2
- data/lib/decidim/feature_manifest.rb +71 -0
- data/lib/decidim/features.rb +8 -0
- data/lib/decidim/features/base_controller.rb +32 -0
- data/lib/decidim/features/namer.rb +35 -0
- data/lib/decidim/form_builder.rb +140 -6
- data/lib/decidim/page_finder.rb +48 -0
- data/lib/decidim/query_extensions.rb +33 -0
- data/lib/decidim/translatable_attributes.rb +1 -24
- data/vendor/assets/javascripts/quill.min.js +14 -0
- data/vendor/assets/javascripts/quill.min.js.map +1 -0
- data/vendor/assets/stylesheets/quill.bubble.css +843 -0
- data/vendor/assets/stylesheets/quill.core.css +362 -0
- data/vendor/assets/stylesheets/quill.snow.css +881 -0
- metadata +164 -32
- data/LICENSE.txt +0 -619
- data/app/views/decidim/participatory_processes/_process_header_home.html.erb +0 -18
- data/app/views/pages/terms.ca.html.erb +0 -4
- data/app/views/pages/terms.en.html.erb +0 -4
- data/app/views/pages/terms.es.html.erb +0 -4
@@ -0,0 +1,14 @@
|
|
1
|
+
<div class="topbar__dropmenu language-choose">
|
2
|
+
<ul class="dropdown menu" data-dropdown-menu>
|
3
|
+
<li class="is-dropdown-submenu-parent">
|
4
|
+
<%= link_to t(current_locale, scope: "locales") %>
|
5
|
+
<% if available_locales.length > 1 %>
|
6
|
+
<ul class="menu is-dropdown-submenu">
|
7
|
+
<% (available_locales - [I18n.locale.to_s]).each do |locale| %>
|
8
|
+
<li><%= link_to t(locale, scope: "locales"), decidim.locale_path(locale: locale), method: :post%></li>
|
9
|
+
<% end %>
|
10
|
+
</ul>
|
11
|
+
<% end %>
|
12
|
+
</li>
|
13
|
+
</ul>
|
14
|
+
</div>
|
@@ -1,15 +1,19 @@
|
|
1
1
|
<%= link_to root_path do %>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
2
|
+
<% if current_organization.logo.present? %>
|
3
|
+
<%= image_tag current_organization.logo.medium.url, height: "20" %>
|
4
|
+
<% else %>
|
5
|
+
<!-- Remove this, use the final SVG logo -->
|
6
|
+
<span><%= current_organization.name %></span>
|
7
|
+
<style>
|
8
|
+
.logo-wrapper span{ color: white; font-weight: 600;
|
9
|
+
font-size: 1.4em;
|
10
|
+
display: inline-block; text-align: left;
|
11
|
+
padding-left: 8px; line-height: 1;
|
12
|
+
position: relative; }
|
13
|
+
.logo-wrapper span:before{ content: ""; display: block;
|
14
|
+
position: absolute; border-left: 4px solid white; height: 88%;
|
15
|
+
top: 6%; left: 0; }
|
16
|
+
</style>
|
17
|
+
<!-- /Remove-->
|
18
|
+
<% end %>
|
15
19
|
<% end %>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<div class="process-header row column">
|
2
|
+
<div class="row column process-header__main"
|
3
|
+
style="background-image:url(<%= current_participatory_process.banner_image.url %>);">
|
4
|
+
<div class="process-header__container row">
|
5
|
+
<div class="columns mediumlarge-9 process-header__info">
|
6
|
+
<h1 class="text-highlight heading2">
|
7
|
+
<%= translated_attribute(current_participatory_process.title) %>
|
8
|
+
</h1>
|
9
|
+
<h2 class="text-highlight heading-small">
|
10
|
+
<span class="process-header__hashtag">
|
11
|
+
<%= current_participatory_process.hashtag %>
|
12
|
+
</span>
|
13
|
+
<%= translated_attribute(current_participatory_process.subtitle) %>
|
14
|
+
</h2>
|
15
|
+
</div>
|
16
|
+
<%= render partial: "layouts/decidim/process_header_steps", locals: { participatory_process: current_participatory_process } %>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
<% if current_participatory_process.features.any? %>
|
20
|
+
<div class="row column">
|
21
|
+
<div class="process-nav">
|
22
|
+
<div class="row column process-nav__content">
|
23
|
+
<ul>
|
24
|
+
<% current_participatory_process.features.each do |feature| %>
|
25
|
+
<li>
|
26
|
+
<%= link_to translated_attribute(feature.name), decidim.feature_path(current_participatory_process, feature), class: "process-nav__link" %>
|
27
|
+
</li>
|
28
|
+
<% end %>
|
29
|
+
</ul>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
</div>
|
33
|
+
<% end %>
|
34
|
+
</div>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<% if participatory_process.steps.any? %>
|
2
|
+
<div class="columns mediumlarge-3">
|
3
|
+
<div class="process-header__phase">
|
4
|
+
<div class="process-header__progress">
|
5
|
+
<ol>
|
6
|
+
<% past_step = true %>
|
7
|
+
<% participatory_process.steps.each_with_index do |step, index| %>
|
8
|
+
<% if past_step %>
|
9
|
+
<li class="phase-item--past"><span></span></li>
|
10
|
+
<% else %>
|
11
|
+
<li><span></span></li>
|
12
|
+
<% end %>
|
13
|
+
<% past_step = false if step.active? %>
|
14
|
+
<% end %>
|
15
|
+
</ol>
|
16
|
+
<span class="phase-current">Fase <%= participatory_process.active_step.position + 1 %> de <%= current_participatory_process.steps.count %></span>
|
17
|
+
</div>
|
18
|
+
<div>
|
19
|
+
<span class="phase-title"><%= translated_attribute participatory_process.active_step.title %></span>
|
20
|
+
<span class="phase-date">
|
21
|
+
<%= participatory_process_step_dates participatory_process.active_step %>
|
22
|
+
</span>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
<% end %>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<%= render "layouts/decidim/application" do %>
|
2
|
+
<div class="wrapper">
|
3
|
+
<%= render partial: "layouts/decidim/process_header" %>
|
4
|
+
<%= yield %>
|
5
|
+
</div>
|
6
|
+
<% if content_for? :expanded %>
|
7
|
+
<div class="expanded">
|
8
|
+
<div class="wrapper wrapper--inner">
|
9
|
+
<div class="row">
|
10
|
+
<%= yield :expanded %>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
<% end %>
|
15
|
+
<% end %>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<main class="wrapper">
|
2
|
+
<div class="row column">
|
3
|
+
<h1 class="heading1 page-title"><%= translated_attribute page.title %></h1>
|
4
|
+
</div>
|
5
|
+
<div class="row">
|
6
|
+
<div class="columns large-8">
|
7
|
+
<div class="static__content">
|
8
|
+
<%== translated_attribute page.content %>
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
</main>
|
@@ -1,9 +1,13 @@
|
|
1
|
-
<section class="extended hero" style="background-image:url(<%=
|
1
|
+
<section class="extended hero" style="background-image:url(<%= current_organization.homepage_image.url %>);">
|
2
2
|
<div class="hero__container">
|
3
3
|
<div class="row">
|
4
4
|
<div class="columns small-centered large-10">
|
5
5
|
<h1 class="text-highlight heading1 hero-heading">
|
6
|
-
|
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 %>
|
7
11
|
</h1>
|
8
12
|
</div>
|
9
13
|
</div>
|
@@ -14,3 +18,103 @@
|
|
14
18
|
</div>
|
15
19
|
</div>
|
16
20
|
</section>
|
21
|
+
|
22
|
+
<% if !translated_attribute(current_organization.description).blank? %>
|
23
|
+
<section class="extended subhero home-section">
|
24
|
+
<div class="row">
|
25
|
+
<div class="columns small-centered large-10">
|
26
|
+
<h2 class="heading3"><%== translated_attribute current_organization.description %></h2>
|
27
|
+
<%= link_to new_user_registration_path, class: "button--sc link subhero-cta" do %>
|
28
|
+
<%= t(".register") %>
|
29
|
+
<%= icon "chevron-right", aria_hidden: true %>
|
30
|
+
<% end %>
|
31
|
+
</div>
|
32
|
+
</div>
|
33
|
+
</section>
|
34
|
+
<% end %>
|
35
|
+
|
36
|
+
<section class="wrapper-home">
|
37
|
+
<div class="row">
|
38
|
+
<h3 class="section-heading"><%= t(".highlighted_processes") %></h3>
|
39
|
+
<div class="row collapse">
|
40
|
+
<div class="row small-up-1 smallmedium-up-2 mediumlarge-up-3
|
41
|
+
large-up-4 card-grid">
|
42
|
+
<% participatory_processes.each do |process| %>
|
43
|
+
<div class="column">
|
44
|
+
<article class="card card--process card--mini">
|
45
|
+
<%= link_to participatory_process_path(process), class: "card__link" do %>
|
46
|
+
<div class="card__image-top"
|
47
|
+
style="background-image:url(<%= process.banner_image.url %>)"></div>
|
48
|
+
<% end %>
|
49
|
+
<div class="card__content">
|
50
|
+
<%= link_to participatory_process_path(process), class: "card__link" do %>
|
51
|
+
<h4 class="card__title"><%= translated_attribute process.title %></h4>
|
52
|
+
<% end %>
|
53
|
+
<% if process.active_step %>
|
54
|
+
<span class="card--process__small">
|
55
|
+
<%= t(".active_step") %>
|
56
|
+
<strong><%= translated_attribute process.active_step.title %></strong>
|
57
|
+
</span>
|
58
|
+
<% end %>
|
59
|
+
</div>
|
60
|
+
</article>
|
61
|
+
</div>
|
62
|
+
<% end %>
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
<div class="row">
|
67
|
+
<div class="columns small-centered small-12
|
68
|
+
smallmedium-8 medium-6 large-4">
|
69
|
+
<%= link_to t(".see_all_processes"), participatory_processes_path, class: "button expanded hollow button--sc home-section__cta" %>
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
</section>
|
73
|
+
<section class="extended">
|
74
|
+
<div class="wrapper-home home-section">
|
75
|
+
<div class="row column text-center">
|
76
|
+
<h3 class="heading2"><%t(".how_to_participate") %></h3>
|
77
|
+
</div>
|
78
|
+
<div class="row small-up-1 medium-up-3 home-bullets">
|
79
|
+
<div class="column">
|
80
|
+
<div class="home-bullet">
|
81
|
+
<div class="home-bullet__icon">
|
82
|
+
<%= icon "meetings" %>
|
83
|
+
</div>
|
84
|
+
<div class="home-bullet__desc">
|
85
|
+
<h4 class="heading6"><%= t(".meetings") %></h4>
|
86
|
+
<p><%= t(".meetings_explanation") %></p>
|
87
|
+
</div>
|
88
|
+
</div>
|
89
|
+
</div>
|
90
|
+
<div class="column">
|
91
|
+
<div class="home-bullet">
|
92
|
+
<div class="home-bullet__icon">
|
93
|
+
<%= icon "debates" %>
|
94
|
+
</div>
|
95
|
+
<div class="home-bullet__desc">
|
96
|
+
<h4 class="heading6"><%= t(".debates") %></h4>
|
97
|
+
<p><%= t(".debates_explanation") %></p>
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
<div class="column">
|
102
|
+
<div class="home-bullet">
|
103
|
+
<div class="home-bullet__icon">
|
104
|
+
<%= icon "proposals" %>
|
105
|
+
</div>
|
106
|
+
<div class="home-bullet__desc">
|
107
|
+
<h4 class="heading6"><%= t(".proposals") %></h4>
|
108
|
+
<p><%= t(".proposals_explanation") %></p>
|
109
|
+
</div>
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
</div>
|
113
|
+
<div class="row">
|
114
|
+
<div class="columns small-centered small-10
|
115
|
+
smallmedium-8 medium-6 large-4">
|
116
|
+
<%= link_to t(".more_info"), page_path("faq"), class: "button expanded hollow button--sc" %>
|
117
|
+
</div>
|
118
|
+
</div>
|
119
|
+
</div>
|
120
|
+
</section>
|
data/config/i18n-tasks.yml
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# The "main" locale.
|
4
4
|
base_locale: en
|
5
5
|
## All available locales are inferred from the data by default. Alternatively, specify them explicitly:
|
6
|
-
|
6
|
+
locales: [en]
|
7
7
|
## Reporting locale, default: en. Available: en, ru.
|
8
8
|
# internal_locale: en
|
9
9
|
|
@@ -93,6 +93,8 @@ ignore_unused:
|
|
93
93
|
- activerecord.attributes.decidim/user.*
|
94
94
|
- activerecord.models.decidim/user
|
95
95
|
- booleans.*
|
96
|
+
- errors.messages.file_size_is_less_than_or_equal_to
|
97
|
+
- errors.messages.nesting_too_deep
|
96
98
|
# - 'activerecord.attributes.*'
|
97
99
|
# - '{devise,kaminari,will_paginate}.*'
|
98
100
|
# - 'simple_form.{yes,no}'
|
data/config/locales/ca.yml
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
---
|
2
1
|
ca:
|
3
2
|
activerecord:
|
4
3
|
attributes:
|
@@ -14,7 +13,10 @@ ca:
|
|
14
13
|
decidim/user: Usuari
|
15
14
|
booleans:
|
16
15
|
'false': 'No'
|
17
|
-
'true': Sí
|
16
|
+
'true': 'Sí'
|
17
|
+
carrierwave:
|
18
|
+
errors:
|
19
|
+
image_too_big: La imatge és massa gran
|
18
20
|
decidim:
|
19
21
|
account:
|
20
22
|
authorizations:
|
@@ -26,11 +28,11 @@ ca:
|
|
26
28
|
decidim/dummy_authorization_handler: Autorització d'exemple
|
27
29
|
authorizations:
|
28
30
|
create:
|
29
|
-
error: S'ha produït un error
|
31
|
+
error: S'ha produït un error en crear l'autorització.
|
30
32
|
success: Has estat autoritzat/da correctament.
|
31
33
|
current_participatory_processes: fer una ullada als processos actuals
|
32
34
|
destroy:
|
33
|
-
success:
|
35
|
+
success: L'autorització s'ha destruït correctament
|
34
36
|
index:
|
35
37
|
actions:
|
36
38
|
decidim/dummy_authorization_handler: Verificar-me amb l'exemple
|
@@ -42,7 +44,7 @@ ca:
|
|
42
44
|
skip_verification: Pots saltar-te aquest pas per ara i %{link}
|
43
45
|
core:
|
44
46
|
actions:
|
45
|
-
unauthorized: No tens permís per realitzar aquesta
|
47
|
+
unauthorized: No tens permís per realitzar aquesta acció
|
46
48
|
devise:
|
47
49
|
registrations:
|
48
50
|
new:
|
@@ -60,6 +62,11 @@ ca:
|
|
60
62
|
menu:
|
61
63
|
home: Inici
|
62
64
|
processes: Processos
|
65
|
+
participatory_processes:
|
66
|
+
documents:
|
67
|
+
related_documents: Documents relacionats
|
68
|
+
photos:
|
69
|
+
related_photos: Fotos relacionades
|
63
70
|
devise:
|
64
71
|
mailer:
|
65
72
|
invitation_instructions:
|
@@ -76,18 +83,20 @@ ca:
|
|
76
83
|
greeting: Hola %{recipient}!
|
77
84
|
message: Ens posem en contacte amb tu per notificar-te que la teva contrasenya ha estat canviada correctament.
|
78
85
|
subject: Contrasenya canviada
|
86
|
+
errors:
|
87
|
+
messages:
|
88
|
+
file_size_is_less_than_or_equal_to: la mida del fitxer ha de ser menor que o igual a %{count}
|
89
|
+
invalid_manifest: Arxiu de manifest invàlid
|
90
|
+
invalid_participatory_process: Procés participatiu invàlid
|
91
|
+
nesting_too_deep: no pot estar dins d'una subcategoria
|
79
92
|
layouts:
|
80
93
|
decidim:
|
81
94
|
footer:
|
82
|
-
|
83
|
-
accessibility: Accessibilitat
|
84
|
-
made_with_open_source: Aquesta web està feta amb <a target="_blank" href="https://github.com/AjuntamentdeBarcelona/decidim">software lliure</a>.
|
85
|
-
terms_of_use: Termes i condicions
|
95
|
+
made_with_open_source: 'Aquesta web està feta amb <a target="_blank" href="https://github.com/AjuntamentdeBarcelona/decidim">software lliure</a>.'
|
86
96
|
header:
|
87
97
|
close_menu: Tancar menú
|
88
98
|
navigation: Navegació
|
89
99
|
sign_in: Entra
|
90
|
-
sign_out: Surt
|
91
100
|
sign_up: Registra't
|
92
101
|
participatory_processes:
|
93
102
|
index:
|
@@ -105,6 +114,9 @@ ca:
|
|
105
114
|
active_step: 'Fase actual:'
|
106
115
|
more_info: Més informació
|
107
116
|
take_part: Participa
|
117
|
+
user_menu:
|
118
|
+
profile: El meu compte
|
119
|
+
sign_out: Surt
|
108
120
|
locales:
|
109
121
|
ca: Català
|
110
122
|
en: English
|
@@ -118,5 +130,23 @@ ca:
|
|
118
130
|
title: Hi ha hagut un problema amb el nostre servidor
|
119
131
|
try_later: Si us plau, torna-ho a intentar més tard.
|
120
132
|
home:
|
133
|
+
active_step: Fase activa
|
134
|
+
debates: Debats
|
135
|
+
debates_explanation: Anem a conèixer, debatre i compartir el que pensem que és important per a la nostra ciutat.
|
136
|
+
highlighted_processes: Processos ressaltats
|
137
|
+
how_to_participate: Com participo en un procés?
|
138
|
+
meetings: Llistat de trobades
|
139
|
+
meetings_explanation: Anem a conèixer, debatre i compartir el que pensem que és important per a la nostra ciutat.
|
140
|
+
more_info: Més informació
|
141
|
+
proposals: Propostes
|
142
|
+
proposals_explanation: Espai obert de propostes dels ciutadans sobre quin tipus de ciutat volem viure.
|
121
143
|
register: Registra't
|
144
|
+
see_all_processes: Mostra tots els processos
|
122
145
|
welcome: Benvingut/da a %{organization}!
|
146
|
+
views:
|
147
|
+
pagination:
|
148
|
+
first: "« Primera"
|
149
|
+
last: Última »
|
150
|
+
next: Següent ›
|
151
|
+
previous: "‹ Anterior"
|
152
|
+
truncate: "…"
|
data/config/locales/en.yml
CHANGED
@@ -15,6 +15,9 @@ en:
|
|
15
15
|
booleans:
|
16
16
|
'false': 'No'
|
17
17
|
'true': 'Yes'
|
18
|
+
carrierwave:
|
19
|
+
errors:
|
20
|
+
image_too_big: The image is too big
|
18
21
|
decidim:
|
19
22
|
account:
|
20
23
|
authorizations:
|
@@ -60,6 +63,11 @@ en:
|
|
60
63
|
menu:
|
61
64
|
home: Home
|
62
65
|
processes: Processes
|
66
|
+
participatory_processes:
|
67
|
+
documents:
|
68
|
+
related_documents: Related documents
|
69
|
+
photos:
|
70
|
+
related_photos: Related photos
|
63
71
|
devise:
|
64
72
|
mailer:
|
65
73
|
invitation_instructions:
|
@@ -72,18 +80,24 @@ en:
|
|
72
80
|
someone_invited_you: Someone has invited you to %{application}, you can accept it through the link below.
|
73
81
|
organization_admin_invitation_instructions:
|
74
82
|
subject: You've been invited to admin %{organization}
|
83
|
+
password_change:
|
84
|
+
greeting: Hello %{recipient}!
|
85
|
+
message: We're contacting you to notify you that your password has been changed.
|
86
|
+
subject: Password Changed
|
87
|
+
errors:
|
88
|
+
messages:
|
89
|
+
file_size_is_less_than_or_equal_to: file size must be less than or equal to %{count}
|
90
|
+
invalid_manifest: Invalid manifest
|
91
|
+
invalid_participatory_process: Invalid participatory process
|
92
|
+
nesting_too_deep: can't be inside of a subcategory
|
75
93
|
layouts:
|
76
94
|
decidim:
|
77
95
|
footer:
|
78
|
-
about: About Decidim
|
79
|
-
accessibility: Accessibility
|
80
96
|
made_with_open_source: Website made with <a target="_blank" href="https://github.com/AjuntamentdeBarcelona/decidim">open-source software</a>.
|
81
|
-
terms_of_use: Terms Of Use
|
82
97
|
header:
|
83
98
|
close_menu: Close menu
|
84
99
|
navigation: Navigation
|
85
100
|
sign_in: Sign In
|
86
|
-
sign_out: Sign out
|
87
101
|
sign_up: Sign Up
|
88
102
|
participatory_processes:
|
89
103
|
index:
|
@@ -101,6 +115,9 @@ en:
|
|
101
115
|
active_step: 'Current step:'
|
102
116
|
more_info: More info
|
103
117
|
take_part: Take part
|
118
|
+
user_menu:
|
119
|
+
profile: My account
|
120
|
+
sign_out: Sign out
|
104
121
|
locales:
|
105
122
|
ca: Català
|
106
123
|
en: English
|
@@ -114,5 +131,23 @@ en:
|
|
114
131
|
title: There was a problem with our server
|
115
132
|
try_later: Please try again later.
|
116
133
|
home:
|
134
|
+
active_step: Active step
|
135
|
+
debates: Debates
|
136
|
+
debates_explanation: Let's meet, debate and share what we think it's important for our city.
|
137
|
+
highlighted_processes: Highlighted processes
|
138
|
+
how_to_participate: How do I take part in a process?
|
139
|
+
meetings: Meetings
|
140
|
+
meetings_explanation: Let's meet, debate and share what we think it's important for our city.
|
141
|
+
more_info: More info
|
142
|
+
proposals: Proposals
|
143
|
+
proposals_explanation: Open space for citizen proposals about what kind of city we want to live in.
|
117
144
|
register: Register
|
145
|
+
see_all_processes: See all processes
|
118
146
|
welcome: Welcome to %{organization}!
|
147
|
+
views:
|
148
|
+
pagination:
|
149
|
+
first: "« First"
|
150
|
+
last: Last »
|
151
|
+
next: Next ›
|
152
|
+
previous: "‹ Prev"
|
153
|
+
truncate: "…"
|