decidim-core 0.6.8 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/decidim_core_manifest.js +1 -0
  3. data/app/assets/images/decidim/decidim-logo.svg +62 -0
  4. data/app/assets/images/decidim/icons.svg +238 -1
  5. data/app/assets/javascripts/decidim/foundation.js.es6 +1 -0
  6. data/app/assets/javascripts/decidim/slug_form.js.es6 +9 -0
  7. data/app/assets/stylesheets/decidim/modules/_footer.scss +7 -0
  8. data/app/commands/decidim/invite_user.rb +2 -2
  9. data/app/commands/decidim/update_account.rb +1 -1
  10. data/app/controllers/concerns/decidim/action_authorization.rb +2 -3
  11. data/app/controllers/concerns/decidim/needs_authorization.rb +1 -1
  12. data/app/controllers/decidim/account_controller.rb +0 -5
  13. data/app/controllers/decidim/application_controller.rb +0 -10
  14. data/app/controllers/decidim/authorizations_controller.rb +5 -15
  15. data/app/controllers/decidim/devise/invitations_controller.rb +2 -2
  16. data/app/controllers/decidim/devise/omniauth_registrations_controller.rb +1 -9
  17. data/app/controllers/decidim/devise/registrations_controller.rb +1 -1
  18. data/app/controllers/decidim/devise/sessions_controller.rb +0 -8
  19. data/app/controllers/decidim/locales_controller.rb +2 -2
  20. data/app/controllers/decidim/pages_controller.rb +1 -0
  21. data/app/controllers/decidim/scopes_controller.rb +1 -3
  22. data/app/forms/decidim/account_form.rb +2 -2
  23. data/app/forms/decidim/form.rb +1 -3
  24. data/app/forms/translatable_presence_validator.rb +1 -1
  25. data/app/helpers/decidim/cta_button_helper.rb +27 -0
  26. data/app/helpers/decidim/decidim_form_helper.rb +25 -0
  27. data/app/helpers/decidim/layout_helper.rb +1 -1
  28. data/app/helpers/decidim/map_helper.rb +1 -1
  29. data/app/helpers/decidim/meta_tags_helper.rb +1 -1
  30. data/app/helpers/decidim/omniauth_helper.rb +7 -0
  31. data/app/helpers/decidim/scopes_helper.rb +1 -1
  32. data/app/mailers/decidim/decidim_devise_mailer.rb +1 -0
  33. data/app/models/decidim/attachment.rb +1 -3
  34. data/app/models/decidim/authorization.rb +6 -6
  35. data/app/models/decidim/category.rb +1 -1
  36. data/app/models/decidim/feature.rb +1 -1
  37. data/app/models/decidim/scope.rb +2 -1
  38. data/app/models/decidim/user.rb +4 -4
  39. data/app/models/decidim/user_group.rb +1 -1
  40. data/app/services/decidim/action_authorizer.rb +8 -6
  41. data/app/services/decidim/authorization_handler.rb +7 -4
  42. data/app/services/decidim/static_map_generator.rb +1 -1
  43. data/app/views/decidim/account/_password_fields.html.erb +2 -2
  44. data/app/views/decidim/authorizations/first_login.html.erb +1 -1
  45. data/app/views/decidim/authorizations/new.html.erb +3 -1
  46. data/app/views/decidim/devise/shared/_omniauth_buttons.html.erb +1 -1
  47. data/app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb +1 -1
  48. data/app/views/decidim/newsletter_mailer/newsletter.html.erb +2 -2
  49. data/app/views/decidim/notifications/index.html.erb +13 -9
  50. data/app/views/decidim/shared/_address_details.html.erb +2 -2
  51. data/app/views/decidim/shared/_announcement.html.erb +1 -1
  52. data/app/views/decidim/shared/_follow_button.html.erb +19 -4
  53. data/app/views/devise/mailer/invite_admin.html.erb +1 -1
  54. data/app/views/devise/mailer/invite_admin.text.erb +1 -1
  55. data/app/views/devise/mailer/invite_collaborator.html.erb +1 -1
  56. data/app/views/devise/mailer/invite_collaborator.text.erb +1 -1
  57. data/app/views/layouts/decidim/_feature_authorization_modals.html.erb +5 -0
  58. data/app/views/layouts/decidim/_head.html.erb +1 -1
  59. data/app/views/layouts/decidim/_wrapper.html.erb +10 -1
  60. data/app/views/pages/decidim_page.html.erb +1 -1
  61. data/app/views/pages/home/_footer_sub_hero.html.erb +1 -1
  62. data/app/views/pages/home/_hero.html.erb +2 -2
  63. data/app/views/pages/home/_sub_hero.html.erb +1 -1
  64. data/config/initializers/devise.rb +3 -0
  65. data/config/locales/ca.yml +10 -7
  66. data/config/locales/en.yml +11 -8
  67. data/config/locales/es.yml +10 -7
  68. data/config/locales/eu.yml +26 -23
  69. data/config/locales/fi.yml +21 -18
  70. data/config/locales/fr.yml +20 -17
  71. data/config/locales/it.yml +11 -8
  72. data/config/locales/nl.yml +11 -8
  73. data/config/locales/pl.yml +11 -8
  74. data/config/locales/ru.yml +403 -0
  75. data/config/locales/uk.yml +50 -47
  76. data/db/migrate/20170215115407_add_organization_custom_reference.rb +6 -2
  77. data/db/migrate/20170313095436_add_available_authorizations_to_organization.rb +7 -3
  78. data/db/migrate/20171017084546_add_cta_button_url_and_text_to_organization.rb +8 -0
  79. data/db/seeds.rb +4 -3
  80. data/lib/decidim/authorization_form_builder.rb +1 -1
  81. data/lib/decidim/core.rb +11 -1
  82. data/lib/decidim/core/engine.rb +1 -2
  83. data/lib/decidim/core/test/factories.rb +2 -2
  84. data/lib/decidim/core/test/shared_examples/comments_examples.rb +3 -7
  85. data/lib/decidim/core/version.rb +5 -20
  86. data/lib/decidim/events/base_event.rb +1 -1
  87. data/lib/decidim/exporters.rb +3 -2
  88. data/lib/decidim/exporters/excel.rb +49 -0
  89. data/lib/decidim/exporters/export_data.rb +1 -1
  90. data/lib/decidim/exporters/exporter.rb +1 -1
  91. data/lib/decidim/faker/localized.rb +10 -1
  92. data/lib/decidim/feature_validator.rb +1 -1
  93. data/lib/decidim/form_builder.rb +16 -6
  94. data/lib/decidim/page_finder.rb +1 -1
  95. data/lib/decidim/participable.rb +9 -4
  96. data/lib/decidim/publicable.rb +2 -2
  97. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.ru.js +14 -0
  98. metadata +36 -86
  99. data/app/assets/stylesheets/decidim/extras/_callout.scss +0 -5
  100. data/config/secrets.yml +0 -36
@@ -83,10 +83,13 @@ module Decidim
83
83
  # Returns an AuthorizationHandler descendant.
84
84
  # Returns nil when no handlers could be found.
85
85
  def self.handler_for(name, params = {})
86
- return unless name
87
- handler_klass = name.classify
88
- return unless Decidim.authorization_handlers.map(&:to_s).include?(handler_klass)
89
- handler_klass.constantize.from_params(params || {})
86
+ return unless active_handler?(name)
87
+
88
+ name.classify.constantize.from_params(params || {})
89
+ end
90
+
91
+ def self.active_handler?(name)
92
+ name && Decidim.authorization_handlers.include?(name.classify)
90
93
  end
91
94
  end
92
95
  end
@@ -15,7 +15,7 @@ module Decidim
15
15
  end
16
16
 
17
17
  def data
18
- return if Decidim.geocoder.nil?
18
+ return if Decidim.geocoder.nil? || @resource.blank?
19
19
 
20
20
  Rails.cache.fetch(@resource.cache_key) do
21
21
  request = HTTParty.get(uri, headers: { "Referer" => organization.host })
@@ -1,2 +1,2 @@
1
- <%= form.password_field :password, value: form.object.password %>
2
- <%= form.password_field :password_confirmation, value: form.object.password_confirmation %>
1
+ <%= form.password_field :password, value: form.object.password, autocomplete: "off" %>
2
+ <%= form.password_field :password_confirmation, value: form.object.password_confirmation, autocomplete: "off" %>
@@ -13,7 +13,7 @@
13
13
  <% handlers.each do |handler| %>
14
14
  <%= link_to t("authorizations.first_login.actions.#{handler.handler_name}", scope: "decidim"), new_authorization_path(handler: handler.handler_name), class: "button expanded" %>
15
15
  <% end %>
16
- <p class="text-center skip"><%= t("decidim.authorizations.skip_verification", link: link_to(t("decidim.authorizations.current_participatory_processes"), decidim_participatory_processes.participatory_processes_path).html_safe).html_safe %>.</p>
16
+ <p class="text-center skip"><%= t("decidim.authorizations.skip_verification", link: link_to(t("decidim.authorizations.start_exploring"), cta_button_path).html_safe).html_safe %>.</p>
17
17
  </div>
18
18
  </div>
19
19
  </div>
@@ -22,7 +22,9 @@
22
22
  </div>
23
23
  <% end %>
24
24
  <% end %>
25
- <p class="text-center skip"><%= t("decidim.authorizations.skip_verification", link: link_to(t("decidim.authorizations.current_participatory_processes"), stored_location).html_safe).html_safe %>.</p>
25
+ <p class="text-center skip">
26
+ <%= t("decidim.authorizations.skip_verification", link: link_to(t("decidim.authorizations.start_exploring"), cta_button_path).html_safe).html_safe %>.
27
+ </p>
26
28
  </div>
27
29
  </div>
28
30
  </div>
@@ -9,7 +9,7 @@
9
9
  <div class="social-register">
10
10
  <%= link_to decidim.send("user_#{provider}_omniauth_authorize_path"), class: "button button--social button--#{normalize_provider_name(provider)}" do %>
11
11
  <span class="button--social__icon">
12
- <%= icon normalize_provider_name(provider) %>
12
+ <%= oauth_icon provider %>
13
13
  </span>
14
14
  <%= t("devise.shared.links.sign_in_with_provider", provider: normalize_provider_name(provider).titleize) %>
15
15
  <% end %>
@@ -9,7 +9,7 @@
9
9
  <% if social_provider_enabled? provider %>
10
10
  <%= link_to decidim.send("user_#{provider}_omniauth_authorize_path"), class: "button button--social button--#{normalize_provider_name(provider)} button--social--mini" do %>
11
11
  <span class="button--social__icon">
12
- <%= icon normalize_provider_name(provider) %>
12
+ <%= oauth_icon provider %>
13
13
  </span>
14
14
  <% end %>
15
15
  <% end %>
@@ -1,5 +1,5 @@
1
- <%== @body %>
1
+ <%= sanitize @body %>
2
2
 
3
3
  <% content_for :note do %>
4
- <%== t ".note", organization_name: @organization.name, link: decidim.notifications_settings_url(host: @organization.host) %>
4
+ <%== t ".note", organization_name: h(@organization.name), link: decidim.notifications_settings_url(host: @organization.host) %>
5
5
  <% end %>
@@ -3,20 +3,24 @@
3
3
  <div class="columns">
4
4
  <div class="title-action" >
5
5
  <h1 class="heading1 title-action__title"><%= t("title", scope: "layouts.decidim.notifications_dashboard") %></h1>
6
- <%= link_to(
7
- t("mark_all_as_read", scope: "layouts.decidim.notifications_dashboard"),
8
- decidim.read_all_notifications_path,
9
- class: "button title-action__action hollow mark-all-as-read-button",
10
- method: :delete,
11
- data: { disable: true },
12
- remote: true
13
- ) %>
6
+ <% if notifications.any? %>
7
+ <%= link_to(
8
+ t("mark_all_as_read", scope: "layouts.decidim.notifications_dashboard"),
9
+ decidim.read_all_notifications_path,
10
+ class: "button title-action__action hollow mark-all-as-read-button",
11
+ method: :delete,
12
+ data: { disable: true },
13
+ remote: true
14
+ ) %>
15
+ <% end %>
14
16
  </div>
15
17
  </div>
16
18
  </div>
17
19
  <div class="row">
18
20
  <div class="columns mediumlarge-12 large-12">
19
- <p class="empty-notifications hide"><%= t("no_notifications", scope: "layouts.decidim.notifications_dashboard") %></p>
21
+ <div class="empty-notifications hide callout secondary">
22
+ <p><%= t("no_notifications", scope: "layouts.decidim.notifications_dashboard") %></p>
23
+ </div>
20
24
  <% if notifications.any? %>
21
25
  <section class="section" id="notifications-list">
22
26
  <div class="card card--list">
@@ -1,9 +1,9 @@
1
1
  <div class="address__details">
2
2
  <% if geolocalizable.respond_to? :location %>
3
- <strong><%== translated_attribute geolocalizable.location %></strong><br />
3
+ <strong><%= translated_attribute geolocalizable.location %></strong><br />
4
4
  <% end %>
5
5
  <span><%= geolocalizable.address %></span><br />
6
6
  <% if geolocalizable.respond_to? :location_hints %>
7
- <span><%== translated_attribute geolocalizable.location_hints %></span>
7
+ <span><%= translated_attribute geolocalizable.location_hints %></span>
8
8
  <% end %>
9
9
  </div>
@@ -1,5 +1,5 @@
1
1
  <div class="row column">
2
2
  <div class="callout secondary announcement">
3
- <%== translated_attribute announcement %>
3
+ <%= sanitize translated_attribute announcement %>
4
4
  </div>
5
5
  </div>
@@ -1,5 +1,5 @@
1
- <% if current_user %>
2
- <div id="follow-resource">
1
+ <div id="follow-resource">
2
+ <% if current_user %>
3
3
  <% if current_user.follows?(followable) %>
4
4
  <%= button_to decidim.follow_path, class: "button secondary hollow expanded small button--icon follow-button", params: { follow: { followable_gid: followable.to_sgid.to_s }}, data: { disable: true }, method: :delete, remote: true do %>
5
5
  <%= icon "bell" %>
@@ -15,5 +15,20 @@
15
15
  </span>
16
16
  <% end %>
17
17
  <% end %>
18
- </div>
19
- <% end %>
18
+ <% else %>
19
+ <%= button_to(
20
+ decidim.follow_path,
21
+ class: "button secondary hollow expanded small button--icon follow-button",
22
+ params: { follow: { followable_gid: followable.to_sgid.to_s }},
23
+ data: { tooltip: true, disable_hover: false },
24
+ :'aria-haspopup' => true,
25
+ title: t(".sign_in_before_follow"),
26
+ disabled: true,
27
+ remote: true) do %>
28
+ <%= icon "bell" %>
29
+ <span>
30
+ <%= t("follows.create.button", scope: "decidim") %>
31
+ </span>
32
+ <% end %>
33
+ <% end %>
34
+ </div>
@@ -4,7 +4,7 @@
4
4
  <% if @resource.invited_by.present? %>
5
5
  <%= t("devise.mailer.invitation_instructions.invited_you_as_admin", invited_by: @resource.invited_by.name, application: @resource.organization.name) %>
6
6
  <% else %>
7
- <%= t("devise.mailer.invitation_instructions.someone_invited_you", application: @resource.organization.name) %>
7
+ <%= t("devise.mailer.invitation_instructions.someone_invited_you_as_admin", application: @resource.organization.name) %>
8
8
  <% end %>
9
9
  </p>
10
10
 
@@ -3,7 +3,7 @@
3
3
  <% if @resource.invited_by.present? %>
4
4
  <%= t("devise.mailer.invitation_instructions.invited_you_as_admin", invited_by: @resource.invited_by.name, application: @resource.organization.name) %>
5
5
  <% else %>
6
- <%= t("devise.mailer.invitation_instructions.you_are_now_admin", application: @resource.organization.name) %>
6
+ <%= t("devise.mailer.invitation_instructions.someone_invited_you_as_admin", application: @resource.organization.name) %>
7
7
  <% end %>
8
8
 
9
9
  <%= accept_invitation_url(@resource, invitation_token: @token, invite_redirect: decidim_admin.root_path, host: @resource.organization.host) %>
@@ -4,7 +4,7 @@
4
4
  <% if @resource.invited_by.present? %>
5
5
  <%= t("devise.mailer.invitation_instructions.invited_you_as_admin", invited_by: @resource.invited_by.name, application: @resource.organization.name) %>
6
6
  <% else %>
7
- <%= t("devise.mailer.invitation_instructions.someone_invited_you", application: @resource.organization.name) %>
7
+ <%= t("devise.mailer.invitation_instructions.someone_invited_you_as_admin", application: @resource.organization.name) %>
8
8
  <% end %>
9
9
  </p>
10
10
 
@@ -3,7 +3,7 @@
3
3
  <% if @resource.invited_by.present? %>
4
4
  <%= t("devise.mailer.invitation_instructions.invited_you_as_admin", invited_by: @resource.invited_by.name, application: @resource.organization.name) %>
5
5
  <% else %>
6
- <%= t("devise.mailer.invitation_instructions.you_are_now_admin", application: @resource.organization.name) %>
6
+ <%= t("devise.mailer.invitation_instructions.someone_invited_you_as_admin", application: @resource.organization.name) %>
7
7
  <% end %>
8
8
 
9
9
  <%= accept_invitation_url(@resource, invitation_token: @token, invite_redirect: decidim_admin.root_path, host: @resource.organization.host) %>
@@ -0,0 +1,5 @@
1
+ <% if try(:current_feature) %>
2
+ <% current_feature.manifest.actions.each do |action| %>
3
+ <%= action_authorization_modal(action) %>
4
+ <% end %>
5
+ <% end %>
@@ -22,4 +22,4 @@
22
22
  <%= javascript_include_tag 'application' %>
23
23
 
24
24
  <%= render partial: 'layouts/decidim/head_extra' %>
25
- <%== current_organization.header_snippets %>
25
+ <%== current_organization.header_snippets if Decidim.enable_html_header_snippets %>
@@ -98,7 +98,7 @@
98
98
  </div>
99
99
  <div class="mini-footer">
100
100
  <div class="row">
101
- <div class="columns">
101
+ <div class="medium-3 large-4 column">
102
102
  <a rel="license" class="cc-badge"
103
103
  href="http://creativecommons.org/licenses/by-sa/4.0/"
104
104
  target="_blank">
@@ -106,6 +106,15 @@
106
106
  </a>
107
107
  <%= t('layouts.decidim.footer.made_with_open_source').html_safe %>
108
108
  </div>
109
+ <div class="medium-3 large-2 column">
110
+ <div class="decidim-logo">
111
+ <a rel="decidim"
112
+ href="https://decidim.org/"
113
+ target="_blank">
114
+ <%= image_tag("decidim/decidim-logo.svg", alt: "Decidim Logo" ) %>
115
+ </a>
116
+ </div>
117
+ </div>
109
118
  </div>
110
119
  </div>
111
120
  </div><!--/.off-canvas-content-->
@@ -10,7 +10,7 @@
10
10
  <div class="row">
11
11
  <div class="columns large-8">
12
12
  <div class="static__content">
13
- <%== translated_attribute page.content %>
13
+ <%= sanitize translated_attribute page.content %>
14
14
  </div>
15
15
  </div>
16
16
  </div>
@@ -1,4 +1,4 @@
1
- <section class="footer__subhero extended subhero home-section">
1
+ <section class="footer__subhero extended subhero<%= " home-section" if current_organization.show_statistics? %>">
2
2
  <div class="row">
3
3
  <div class="columns small-centered large-10">
4
4
  <h2 class="heading3"><%= t(".footer_sub_hero_headline", organization: current_organization.name) %></h2>
@@ -6,14 +6,14 @@
6
6
  <% if translated_attribute(current_organization.welcome_text).blank? %>
7
7
  <%= t('.welcome', organization: current_organization.name) %>
8
8
  <% else %>
9
- <%== translated_attribute current_organization.welcome_text %>
9
+ <%= sanitize translated_attribute current_organization.welcome_text %>
10
10
  <% end %>
11
11
  </h1>
12
12
  </div>
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('.participate'), decidim_participatory_processes.participatory_processes_path, class: "hero-cta button expanded large button--sc" %>
16
+ <%= cta_button %>
17
17
  </div>
18
18
  </div>
19
19
  </div>
@@ -1,7 +1,7 @@
1
1
  <section class="extended subhero home-section">
2
2
  <div class="row">
3
3
  <div class="columns small-centered large-10">
4
- <h2 class="heading3"><%== translated_attribute current_organization.description %></h2>
4
+ <h2 class="heading3"><%= sanitize translated_attribute current_organization.description %></h2>
5
5
  <%= link_to new_user_registration_path, class: "button--sc link subhero-cta" do %>
6
6
  <%= t(".register") %>
7
7
  <%= icon "chevron-right", aria_hidden: true %>
@@ -300,6 +300,9 @@ Devise.setup do |config|
300
300
  # ==> OmniAuth
301
301
  # Add a new OmniAuth provider. Check the wiki for more information on setting
302
302
  # up on your models and hooks.
303
+ if Rails.application.secrets.dig(:omniauth, :developer).present?
304
+ config.omniauth :developer
305
+ end
303
306
  if Rails.application.secrets.dig(:omniauth, :facebook).present?
304
307
  config.omniauth :facebook,
305
308
  Rails.application.secrets.omniauth[:facebook][:app_id],
@@ -76,7 +76,6 @@ ca:
76
76
  create:
77
77
  error: S'ha produït un error en crear l'autorització.
78
78
  success: Has estat autoritzat/da correctament.
79
- current_participatory_processes: fer una ullada als processos actuals
80
79
  first_login:
81
80
  actions:
82
81
  decidim/dummy_authorization_handler: Verificar contra l'exemple d'autorització
@@ -86,6 +85,7 @@ ca:
86
85
  authorize: Enviar
87
86
  authorize_with: Verificar-me amb %{authorizer}
88
87
  skip_verification: Pots saltar-te aquest pas per ara i %{link}
88
+ start_exploring: començar a explorar
89
89
  core:
90
90
  actions:
91
91
  unauthorized: No tens permís per realitzar aquesta acció
@@ -157,6 +157,7 @@ ca:
157
157
  filters:
158
158
  linked_classes:
159
159
  all: Tots
160
+ dummyresource: Recursos de prova
160
161
  meeting: Trobades
161
162
  project: Projectes
162
163
  proposal: propostes
@@ -243,6 +244,8 @@ ca:
243
244
  report: Denuncia
244
245
  spam: Conté "clickbait", publicitat o estafes.
245
246
  title: Denuncia un problema
247
+ follow_button:
248
+ sign_in_before_follow: Inicia sessió abans de realitzar aquesta acció
246
249
  login_modal:
247
250
  please_sign_in: Si us plau, inicia sessió
248
251
  sign_up: Donar-se d'alta
@@ -267,9 +270,9 @@ ca:
267
270
  ignore: |-
268
271
  Si no vols acceptar la invitació, ignora aquest correu.<br />
269
272
  El teu compte no es crearà fins que no accedeixis a l'enllaç de sota i triïs la teva contrasenya.
270
- invited_you_as_admin: "%{invited_by} t'ha convidat com un administrador de %{application}, pots acceptar-ho mitjançant el següent enllaç."
271
- someone_invited_you: Algú t'ha convidat a %{application}, pots acceptar la invitació amb l'enllaç a continuació.
272
- you_are_now_admin: Ara ets administrador
273
+ invited_you_as_admin: "%{invited_by} t'ha convidat com a administrador de %{application}. Pots acceptar-ho a través de l'enllaç següent."
274
+ someone_invited_you: Algú t'ha convidat a %{application}. Pots acceptar-ho a través de l'enllaç següent.
275
+ someone_invited_you_as_admin: Algú t'ha convidat com a administrador de %{application}, pots acceptar-lo a través de l'enllaç següent.
273
276
  invite_admin:
274
277
  subject: Has estat convidat a gestionar %{organization}
275
278
  invite_collaborator:
@@ -341,13 +344,13 @@ ca:
341
344
  home:
342
345
  extended:
343
346
  debates: Debats
344
- debates_explanation: Anem a conèixer, debatre i compartir el que pensem que és important per a la nostra ciutat.
347
+ debates_explanation: Debat i discuteix, comparteix les teves opinions i enriqueix els temes rellevants.
345
348
  how_to_participate: Com participo en un procés?
346
349
  meetings: Trobades
347
- meetings_explanation: Anem a conèixer, debatre i compartir el que pensem que és important per a la nostra ciutat.
350
+ meetings_explanation: Esbrina on i quan pots participar en trobades públiques.
348
351
  more_info: Més informació
349
352
  proposals: Propostes
350
- proposals_explanation: Espai obert de propostes dels ciutadans sobre quin tipus de ciutat volem viure.
353
+ proposals_explanation: Realitza propostes, recolza les ja existents i promociona els canvis que vols veure.
351
354
  footer_sub_hero:
352
355
  footer_sub_hero_body: Construïm una societat més oberta, transparent i col·laborativa.<br />Uneix-te, participa i decideix.
353
356
  footer_sub_hero_headline: Benvinguda i benvingut a la plataforma participativa %{organization}.
@@ -76,7 +76,6 @@ en:
76
76
  create:
77
77
  error: There was an error creating the authorization.
78
78
  success: You've been successfully authorized.
79
- current_participatory_processes: take a look at the current processes
80
79
  first_login:
81
80
  actions:
82
81
  decidim/dummy_authorization_handler: Verify against the example authorization
@@ -86,6 +85,7 @@ en:
86
85
  authorize: Send
87
86
  authorize_with: Verify with %{authorizer}
88
87
  skip_verification: You can skip this for now and %{link}
88
+ start_exploring: start exploring
89
89
  core:
90
90
  actions:
91
91
  unauthorized: You are not authorized to perform this action
@@ -157,6 +157,7 @@ en:
157
157
  filters:
158
158
  linked_classes:
159
159
  all: All
160
+ dummyresource: Dummy resources
160
161
  meeting: Meetings
161
162
  project: Projects
162
163
  proposal: Proposals
@@ -243,6 +244,8 @@ en:
243
244
  report: Report
244
245
  spam: Contains clickbait, advertising, scams or script bots.
245
246
  title: Report a problem
247
+ follow_button:
248
+ sign_in_before_follow: Please sign in before performing this action
246
249
  login_modal:
247
250
  please_sign_in: Please sign in
248
251
  sign_up: Sign up
@@ -267,9 +270,9 @@ en:
267
270
  ignore: |-
268
271
  If you don't want to accept the invitation, please ignore this email.<br />
269
272
  Your account won't be created until you access the link above and set your password.
270
- invited_you_as_admin: "%{invited_by} has invited you as an admin of %{application}, you can accept it through the link below."
271
- someone_invited_you: Someone has invited you to %{application}, you can accept it through the link below.
272
- you_are_now_admin: You are now an admin
273
+ invited_you_as_admin: "%{invited_by} has invited you as an admin of %{application}. You can accept it through the link below."
274
+ someone_invited_you: Someone has invited you to %{application}. You can accept it through the link below.
275
+ someone_invited_you_as_admin: Someone has invited you as an admin of %{application}, you can accept it through the link below.
273
276
  invite_admin:
274
277
  subject: You've been invited to manage %{organization}
275
278
  invite_collaborator:
@@ -339,13 +342,13 @@ en:
339
342
  home:
340
343
  extended:
341
344
  debates: Debates
342
- debates_explanation: Let's meet, debate and share what we think it's important for our city.
345
+ debates_explanation: Debate and discuss, share your views and enrich the relevant topics.
343
346
  how_to_participate: How do I take part in a process?
344
347
  meetings: Meetings
345
- meetings_explanation: Let's meet, debate and share what we think it's important for our city.
348
+ meetings_explanation: Find out where and when you can participate in public meetings.
346
349
  more_info: More info
347
350
  proposals: Proposals
348
- proposals_explanation: Open space for citizen proposals about what kind of city we want to live in.
351
+ proposals_explanation: Make proposals, support existing ones and promote the changes you want to see.
349
352
  footer_sub_hero:
350
353
  footer_sub_hero_body: Let's build a more open, transparent and collaborative society.<br /> Join, participate and decide.
351
354
  footer_sub_hero_headline: Welcome to %{organization} participatory platform.
@@ -362,7 +365,7 @@ en:
362
365
  comments_count: Comments
363
366
  headline: Current state of %{organization}
364
367
  meetings_count: Meetings
365
- orders_count: Orders
368
+ orders_count: Votes
366
369
  pages_count: Pages
367
370
  processes_count: Processes
368
371
  projects_count: Projects
@@ -76,7 +76,6 @@ es:
76
76
  create:
77
77
  error: Se ha producido un error al crear la autorización.
78
78
  success: Has sido autorizado/a correctamente.
79
- current_participatory_processes: echar un vistazo a los procesos actuales
80
79
  first_login:
81
80
  actions:
82
81
  decidim/dummy_authorization_handler: Verificar ejemplo autorización en contra de la
@@ -86,6 +85,7 @@ es:
86
85
  authorize: Enviar
87
86
  authorize_with: Verificarme con %{authorizer}
88
87
  skip_verification: Puedes saltarte este paso por ahora y %{link}
88
+ start_exploring: empezar a explorar
89
89
  core:
90
90
  actions:
91
91
  unauthorized: No tienes permiso para realizar esta acción.
@@ -157,6 +157,7 @@ es:
157
157
  filters:
158
158
  linked_classes:
159
159
  all: Todas
160
+ dummyresource: Recursos ficticios
160
161
  meeting: Encuentros
161
162
  project: Proyectos
162
163
  proposal: Propuestas
@@ -243,6 +244,8 @@ es:
243
244
  report: Denunciar
244
245
  spam: Contiene clickbait, publicidad o estafas.
245
246
  title: Denunciar un problema
247
+ follow_button:
248
+ sign_in_before_follow: Inicia sesión antes de realizar esta acción
246
249
  login_modal:
247
250
  please_sign_in: Por favor, regístrate
248
251
  sign_up: Regístrate
@@ -267,9 +270,9 @@ es:
267
270
  ignore: |-
268
271
  Si no quieres aceptar la invitación ignora este correo.<br />
269
272
  Tu cuenta no se creará hasta que accedas al enlance de abajo y escojas tu contraseña.
270
- invited_you_as_admin: "%{invited_by} te ha invitado como administrador de %{application}, puedes aceptar a través del siguiente enlace."
271
- someone_invited_you: Alguien te ha invitado a %{application}, puedes aceptar la invitación con el enlace a continuación.
272
- you_are_now_admin: Ahora eres un administrador
273
+ invited_you_as_admin: "%{invited_by} te ha invitado como administrador de %{application}. Puedes aceptarlo a través del siguiente enlace."
274
+ someone_invited_you: Alguien te ha invitado a %{application}. Puedes aceptar la invitación a través del siguiente enlace.
275
+ someone_invited_you_as_admin: Alguien te ha invitado como administrador de %{application}, puedes aceptar a través del siguiente enlace.
273
276
  invite_admin:
274
277
  subject: Has sido invitado para gestionar %{organization}
275
278
  invite_collaborator:
@@ -339,13 +342,13 @@ es:
339
342
  home:
340
343
  extended:
341
344
  debates: Debates
342
- debates_explanation: Vamos a conocer, debatir y compartir lo que pensamos que es importante para nuestra ciudad.
345
+ debates_explanation: Debate y discute, comparte tus opiniones y enriquece los temas relevantes.
343
346
  how_to_participate: "¿Cómo tomo parte en un proceso?"
344
347
  meetings: Encuentros
345
- meetings_explanation: Vamos a conocer, debatir y compartir lo que pensamos que es importante para nuestra ciudad.
348
+ meetings_explanation: Averigua dónde y cuándo puedes participar en encuentros públicos.
346
349
  more_info: Más información
347
350
  proposals: Propuestas
348
- proposals_explanation: Espacio abierto de propuestas de los ciudadanos sobre en qué tipo de ciudad queremos vivir.
351
+ proposals_explanation: Haz propuestas, apoya las existentes y promueve los cambios que deseas ver.
349
352
  footer_sub_hero:
350
353
  footer_sub_hero_body: Construyamos una sociedad más abierta, transparente y colaborativa. <br /> Únete, participa y decide.
351
354
  footer_sub_hero_headline: Bienvenido a la plataforma participativa %{organization}.