decidim-meetings 0.8.4 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7f59ccd8083c89aae051a8636f95fae9e32a5642
4
- data.tar.gz: b976ae32da89bd9b10f9aa7d5cf6eec4907051dc
2
+ SHA256:
3
+ metadata.gz: c42323ed4d34709662a3fdd9446c8ea98c8eb7d5cfc0f56064ef6f1709579b98
4
+ data.tar.gz: 0ce605aa102004ed06af33eb4a9a7f51eeb805a9336e9824ccba4faf91409066
5
5
  SHA512:
6
- metadata.gz: 9d1b2453c9a54ff9e5337c1ac6a410cfc580f053a1217b72689b0dfdd79bb4b189f5899867f9041eb677218c147378ef4bba5d6ad505ca9c87b25d8111396f0a
7
- data.tar.gz: 9d14e579feec92161e8e432d7548a80c21828f8077c4bbc92ce130d723af15867a5fe59acaf71de82205798f274fb95dc91b954991bad173cd9b082f3aa18673
6
+ metadata.gz: 5ae376ffde9ace76e4d5caced4bc1d8e96e77d6ee9b007dbbfc262741638af59b0e20fa105672e57507047428ac17aee0200f73157cdb2c749a0b09c441ab7c2
7
+ data.tar.gz: 6f152df9163129d2c7a59fa86aab059d80a853a45f668c81d2ec4c022d4ec0751ca844ee38379b38ed5052f852ccfe14990d8907d3670707b6d63572c479e9d9
@@ -41,6 +41,7 @@ module Decidim
41
41
  attending_organizations: form.attending_organizations,
42
42
  closed_at: form.closed_at
43
43
  )
44
+
44
45
  Decidim::EventsManager.publish(
45
46
  event: "decidim.events.meetings.meeting_closed",
46
47
  event_class: Decidim::Meetings::CloseMeetingEvent,
@@ -2,29 +2,7 @@
2
2
 
3
3
  module Decidim
4
4
  module Meetings
5
- class CloseMeetingEvent < Decidim::Events::BaseEvent
6
- include Decidim::Events::EmailEvent
7
- include Decidim::Events::NotificationEvent
8
-
9
- def email_subject
10
- I18n.t("decidim.meetings.events.close_meeting_event.email_subject", resource_title: resource_title)
11
- end
12
-
13
- def email_intro
14
- I18n.t("decidim.meetings.events.close_meeting_event.email_intro", resource_title: resource_title)
15
- end
16
-
17
- def email_outro
18
- I18n.t("decidim.meetings.events.close_meeting_event.email_outro", resource_title: resource_title)
19
- end
20
-
21
- def notification_title
22
- I18n.t(
23
- "decidim.meetings.events.close_meeting_event.notification_title",
24
- resource_title: resource_title,
25
- resource_path: resource_path
26
- ).html_safe
27
- end
5
+ class CloseMeetingEvent < Decidim::Events::SimpleEvent
28
6
  end
29
7
  end
30
8
  end
@@ -2,38 +2,7 @@
2
2
 
3
3
  module Decidim
4
4
  module Meetings
5
- class MeetingRegistrationsEnabledEvent < Decidim::Events::BaseEvent
6
- include Decidim::Events::EmailEvent
7
- include Decidim::Events::NotificationEvent
8
-
9
- def email_subject
10
- I18n.t(
11
- "decidim.meetings.events.meeting_registrations_enabled.email_subject",
12
- resource_title: resource_title
13
- )
14
- end
15
-
16
- def email_intro
17
- I18n.t(
18
- "decidim.meetings.events.meeting_registrations_enabled.email_intro",
19
- resource_title: resource_title
20
- )
21
- end
22
-
23
- def email_outro
24
- I18n.t(
25
- "decidim.meetings.events.meeting_registrations_enabled.email_outro",
26
- resource_title: resource_title
27
- )
28
- end
29
-
30
- def notification_title
31
- I18n.t(
32
- "decidim.meetings.events.meeting_registrations_enabled.notification_title",
33
- resource_title: resource_title,
34
- resource_path: resource_path
35
- ).html_safe
36
- end
5
+ class MeetingRegistrationsEnabledEvent < Decidim::Events::SimpleEvent
37
6
  end
38
7
  end
39
8
  end
@@ -2,41 +2,11 @@
2
2
 
3
3
  module Decidim
4
4
  module Meetings
5
- class MeetingRegistrationsOverPercentageEvent < Decidim::Events::BaseEvent
6
- include Decidim::Events::EmailEvent
7
- include Decidim::Events::NotificationEvent
5
+ class MeetingRegistrationsOverPercentageEvent < Decidim::Events::SimpleEvent
6
+ i18n_attributes :percentage
8
7
 
9
- def email_subject
10
- I18n.t(
11
- "decidim.meetings.events.meeting_registrations_over_percentage.email_subject",
12
- resource_title: resource_title,
13
- percentage: extra["percentage"] * 100
14
- )
15
- end
16
-
17
- def email_intro
18
- I18n.t(
19
- "decidim.meetings.events.meeting_registrations_over_percentage.email_intro",
20
- resource_title: resource_title,
21
- percentage: extra["percentage"] * 100
22
- )
23
- end
24
-
25
- def email_outro
26
- I18n.t(
27
- "decidim.meetings.events.meeting_registrations_over_percentage.email_outro",
28
- resource_title: resource_title,
29
- percentage: extra["percentage"] * 100
30
- )
31
- end
32
-
33
- def notification_title
34
- I18n.t(
35
- "decidim.meetings.events.meeting_registrations_over_percentage.notification_title",
36
- resource_title: resource_title,
37
- resource_path: resource_path,
38
- percentage: extra["percentage"] * 100
39
- ).html_safe
8
+ def percentage
9
+ extra["percentage"] * 100
40
10
  end
41
11
  end
42
12
  end
@@ -2,29 +2,7 @@
2
2
 
3
3
  module Decidim
4
4
  module Meetings
5
- class UpcomingMeetingEvent < Decidim::Events::BaseEvent
6
- include Decidim::Events::EmailEvent
7
- include Decidim::Events::NotificationEvent
8
-
9
- def email_subject
10
- I18n.t("decidim.meetings.events.upcoming_meeting_event.email_subject", resource_title: resource_title)
11
- end
12
-
13
- def email_intro
14
- I18n.t("decidim.meetings.events.upcoming_meeting_event.email_intro", resource_title: resource_title)
15
- end
16
-
17
- def email_outro
18
- I18n.t("decidim.meetings.events.upcoming_meeting_event.email_outro", resource_title: resource_title)
19
- end
20
-
21
- def notification_title
22
- I18n.t(
23
- "decidim.meetings.events.upcoming_meeting_event.notification_title",
24
- resource_title: resource_title,
25
- resource_path: resource_path
26
- ).html_safe
27
- end
5
+ class UpcomingMeetingEvent < Decidim::Events::SimpleEvent
28
6
  end
29
7
  end
30
8
  end
@@ -2,29 +2,7 @@
2
2
 
3
3
  module Decidim
4
4
  module Meetings
5
- class UpdateMeetingEvent < Decidim::Events::BaseEvent
6
- include Decidim::Events::EmailEvent
7
- include Decidim::Events::NotificationEvent
8
-
9
- def email_subject
10
- I18n.t("decidim.meetings.events.update_meeting_event.email_subject", resource_title: resource_title)
11
- end
12
-
13
- def email_intro
14
- I18n.t("decidim.meetings.events.update_meeting_event.email_intro", resource_title: resource_title)
15
- end
16
-
17
- def email_outro
18
- I18n.t("decidim.meetings.events.update_meeting_event.email_outro", resource_title: resource_title)
19
- end
20
-
21
- def notification_title
22
- I18n.t(
23
- "decidim.meetings.events.update_meeting_event.notification_title",
24
- resource_title: resource_title,
25
- resource_path: resource_path
26
- ).html_safe
27
- end
5
+ class UpdateMeetingEvent < Decidim::Events::SimpleEvent
28
6
  end
29
7
  end
30
8
  end
@@ -28,8 +28,11 @@ module Decidim
28
28
  validates :end_time, presence: true, date: { after: :start_time }
29
29
 
30
30
  validates :current_feature, presence: true
31
- validates :scope, presence: true, if: ->(form) { form.decidim_scope_id.present? }
32
31
  validates :category, presence: true, if: ->(form) { form.decidim_category_id.present? }
32
+ validates :scope, presence: true, if: ->(form) { form.decidim_scope_id.present? }
33
+ validate { errors.add(:decidim_scope_id, :invalid) if current_participatory_space&.scope && !current_participatory_space&.scope&.ancestor_of?(scope) }
34
+
35
+ delegate :categories, to: :current_feature
33
36
 
34
37
  def map_model(model)
35
38
  return unless model.categorization
@@ -37,20 +40,26 @@ module Decidim
37
40
  self.decidim_category_id = model.categorization.decidim_category_id
38
41
  end
39
42
 
40
- def process_scope
41
- current_feature.participatory_space.scope
42
- end
43
-
44
43
  alias feature current_feature
45
44
 
45
+ # Finds the Scope from the given decidim_scope_id, uses participatory space scope if missing.
46
+ #
47
+ # Returns a Decidim::Scope
46
48
  def scope
47
49
  return unless current_feature
48
- @scope ||= current_feature.scopes.where(id: decidim_scope_id).first || process_scope
50
+ @scope ||= @decidim_scope_id ? current_feature.scopes.find_by(id: @decidim_scope_id) : current_participatory_space&.scope
51
+ end
52
+
53
+ # Scope identifier
54
+ #
55
+ # Returns the scope identifier related to the meeting
56
+ def decidim_scope_id
57
+ @decidim_scope_id || scope&.id
49
58
  end
50
59
 
51
60
  def category
52
61
  return unless current_feature
53
- @category ||= current_feature.categories.where(id: decidim_category_id).first
62
+ @category ||= categories.find_by(id: decidim_category_id)
54
63
  end
55
64
  end
56
65
  end
@@ -36,7 +36,7 @@
36
36
  <div class="row" >
37
37
  <% if current_participatory_space.has_subscopes? %>
38
38
  <div class="columns xlarge-6" >
39
- <%= form.scopes_select :decidim_scope_id, prompt: I18n.t("decidim.scopes.global"), remote_path: decidim.scopes_search_path(root: current_participatory_space.scope) %>
39
+ <%= scopes_picker_field form, :decidim_scope_id %>
40
40
  </div>
41
41
  <% end %>
42
42
 
@@ -17,7 +17,7 @@
17
17
  <% end %>
18
18
 
19
19
  <% if current_participatory_space.has_subscopes? %>
20
- <%= form.scopes_select :scope_id, legend_title: t(".scopes"), label: false, prompt: t('.scope_prompt'), remote_path: decidim.scopes_search_path(root: current_participatory_space.scope, include_root: true), multiple: true %>
20
+ <%= scopes_picker_filter form, :scope_id %>
21
21
  <% end %>
22
22
 
23
23
  <% if current_feature.categories.any? %>
@@ -6,7 +6,7 @@
6
6
  </div>
7
7
  <div class="row">
8
8
  <div class="columns medium-8 medium-offset-2">
9
- <%= button_to t('.confirm'), meeting_registration_path(meeting), class: "button expanded" %>
9
+ <%= button_to t('.confirm'), meeting_registration_path(meeting), class: "button expanded", data: { disable: true } %>
10
10
  </div>
11
11
  </div>
12
12
  <div class="text-center">
@@ -22,9 +22,9 @@
22
22
  </div>
23
23
  <% if !meeting.closed? && meeting.registrations_enabled? %>
24
24
  <% if meeting.has_registration_for? current_user %>
25
- <%= action_authorized_button_to :leave, t('.going'), meeting_registration_path(meeting), method: :delete, class: "button expanded button--sc success" %>
25
+ <%= action_authorized_button_to :leave, t('.going'), meeting_registration_path(meeting), method: :delete, class: "button expanded button--sc success", data: { disable: true } %>
26
26
  <% else %>
27
- <%= action_authorized_button_to :join, meeting.has_available_slots? ? t('.join') : t('.no_slots_available'), "", class: "button expanded button--sc", disabled: !meeting.has_available_slots?, data: { toggle: current_user.present? ? "meeting-registration-confirm" : "loginModal" } %>
27
+ <%= action_authorized_button_to :join, meeting.has_available_slots? ? t('.join') : t('.no_slots_available'), "", class: "button expanded button--sc", disabled: !meeting.has_available_slots?, data: { open: current_user.present? ? "meeting-registration-confirm" : "loginModal" } %>
28
28
  <% end %>
29
29
  <% if meeting.available_slots.positive? %>
30
30
  <span><%= t(".remaining_slots", count: meeting.remaining_slots) %></span>
@@ -1,4 +1,3 @@
1
- ---
2
1
  ca:
3
2
  activemodel:
4
3
  attributes:
@@ -10,15 +9,45 @@ ca:
10
9
  proposal_ids: Propostes creades en una trobada
11
10
  meeting:
12
11
  address: Adreça
12
+ available_slots: Espais disponibles per a aquesta trobada
13
13
  decidim_category_id: Categoria
14
14
  decidim_scope_id: Àmbit
15
15
  description: Descripció
16
16
  end_time: Hora de finalització
17
17
  location: Ubicació
18
18
  location_hints: Detalls d'ubicació
19
+ registration_terms: Termes i condicions de l'inscripció
20
+ registrations_enabled: Inscripcions obertes
19
21
  start_time: Hora d'inici
20
22
  title: Editar trobada
21
23
  decidim:
24
+ events:
25
+ meetings:
26
+ meeting_closed:
27
+ email_intro: 'La trobada de "%{resource_title}" ha estat tancada. Pots llegir les conclusions a la seva pàgina:'
28
+ email_outro: Has rebut aquesta notificació perquè estàs seguint la trobada "%{resource_title}". Pots deixar-la de seguir des de l'enllaç anterior.
29
+ email_subject: S'ha tancat la trobada "%{resource_title}"
30
+ notification_title: La trobada de <a href="%{resource_path}">%{resource_title}</a> s'ha tancat.
31
+ meeting_registrations_over_percentage:
32
+ email_intro: La disponibilitat d'espais a la trobada "%{resource_title}" està per sobre del %{percentage}%.
33
+ email_outro: Has rebut aquesta notificació perquè ets un administrador de l'espai participatiu d'aquesta trobada.
34
+ email_subject: La disponibilitat d'espais a la trobada "%{resource_title}" està per sobre del %{percentage}%
35
+ notification_title: L'espai ocupat per la trobada <a href="%{resource_path}">%{resource_title}</a> està per sobre del %{percentage}%.
36
+ meeting_updated:
37
+ email_intro: 'La trobada de "%{resource_title}" ha estat actualitzada. Pots llegir-ne la nova versió a la seva pàgina:'
38
+ email_outro: Has rebut aquesta notificació perquè estàs seguint la trobada "%{resource_title}". Pots deixar-la de seguir des de l'enllaç anterior.
39
+ email_subject: La trobada "%{resource_title}" s'ha actualitzat
40
+ notification_title: La trobada <a href="%{resource_path}">%{resource_title}</a> ha estat actualitzada.
41
+ registrations_enabled:
42
+ email_intro: 'La trobada "%{resource_title}" ha activat inscripcions. Pots registrar-te a la seva pàgina:'
43
+ email_outro: Has rebut aquesta notificació perquè estàs seguint la trobada "%{resource_title}". Pots deixar-la de seguir des de l'enllaç anterior.
44
+ email_subject: La trobada de "%{resource_title}" ha obert les inscripcions.
45
+ notification_title: La trobada <a href="%{resource_path}">%{resource_title}</a> ha obert les inscripcions.
46
+ upcoming_meeting:
47
+ email_intro: En menys de 48 hores s'iniciarà la trobada "%{resource_title}".
48
+ email_outro: Has rebut aquesta notificació perquè estàs seguint la trobada "%{resource_title}". Pots deixar-la de seguir des de l'enllaç anterior.
49
+ email_subject: En menys de 48 hores s'iniciarà la trobada "%{resource_title}".
50
+ notification_title: La trobada <a href="%{resource_path}">%{resource_title}</a> començarà en menys de 48 hores.
22
51
  features:
23
52
  meetings:
24
53
  actions:
@@ -95,36 +124,10 @@ ca:
95
124
  update:
96
125
  invalid: S'ha produït un problema en desar la configuració de la inscripció.
97
126
  success: La configuració de les inscripcions de la trobada s'ha desat correctament.
98
- events:
99
- close_meeting_event:
100
- email_intro: 'La trobada de "%{resource_title}" ha estat tancada. Podeu llegir les conclusions a la seva pàgina:'
101
- email_outro: Has rebut aquesta notificació, perquè estàs seguint la trobada "%{resource_title}". Pots deixar-la de seguir des del seu enllaç.
102
- email_subject: S'ha tancat la trobada "%{resource_title}"
103
- notification_title: La trobada de <a href="%{resource_path}">%{resource_title}</a> s'ha tancat.
104
- meeting_registrations_enabled:
105
- email_intro: 'La trobada "%{resource_title}" ha activat inscripcions. Pots registrar-te a la seva pàgina:'
106
- email_outro: Has rebut aquesta notificació perquè estàs seguint la trobada "%{resource_title}". Pots deixar-la de seguir a l'enllaç anterior.
107
- email_subject: La trobada de "%{resource_title}" ha permès inscripcions.
108
- notification_title: La trobada <a href="%{resource_path}">%{resource_title}</a> ha activat inscripcions.
109
- meeting_registrations_over_percentage:
110
- email_intro: La disponibilitat d'espais a la trobada "%{resource_title}" està per sobre del %{percentage}%.
111
- email_outro: Has rebut aquesta notificació perquè ets un administrador de l'espai participatiu d'aquesta trobada.
112
- email_subject: L'espai ocupat per la trobada "%{resource_title}" està per sobre del %{percentage}%
113
- notification_title: L'espai ocupat per la trobada <a href="%{resource_path}">%{resource_title}</a> està per sobre del %{percentage}%.
114
- upcoming_meeting_event:
115
- email_intro: En menys de 48 hores s'iniciarà la trobada "%{resource_title}".
116
- email_outro: Has rebut aquesta notificació perquè estàs seguint la trobada "%{resource_title}". Pots deixar-la de seguir a l'enllaç anterior.
117
- email_subject: En menys de 48 hores s'iniciarà la trobada "%{resource_title}".
118
- notification_title: La trobada <a href="%{resource_path}">%{resource_title}</a> començarà en menys de 48 hores.
119
- update_meeting_event:
120
- email_intro: 'La trobada de "%{resource_title}" ha estat actualitzada. Pots llegir-ne la nova versió a la seva pàgina:'
121
- email_outro: Has rebut aquesta notificació perquè estàs seguint la trobada "%{resource_title}". Pots deixar-la de seguir des de l'enllaç anterior.
122
- email_subject: La trobada "%{resource_title}" s'ha actualitzat
123
- notification_title: La trobada <a href="%{resource_path}">%{resource_title}</a> ha estat actualitzada.
124
127
  mailer:
125
128
  invite_join_meeting_mailer:
126
129
  invite:
127
- subject: Assumpte
130
+ subject: Invitació per participar en una reunió
128
131
  registration_mailer:
129
132
  confirmation:
130
133
  subject: La teva inscripció a la trobada ha estat confirmada
@@ -134,8 +137,6 @@ ca:
134
137
  category_prompt: Selecciona una categoria
135
138
  date: Data
136
139
  past: Passades
137
- scope_prompt: Seleccioneu un àmbit
138
- scopes: Àmbits
139
140
  search: Cerca
140
141
  upcoming: Properes
141
142
  filters_small_view:
@@ -192,4 +193,4 @@ ca:
192
193
  devise:
193
194
  mailer:
194
195
  join_meeting:
195
- subject: Assumpte
196
+ subject: Invitació per participar en una reunió
@@ -10,15 +10,45 @@ en:
10
10
  proposal_ids: Proposals created in the meeting
11
11
  meeting:
12
12
  address: Address
13
+ available_slots: Available slots for this meeting
13
14
  decidim_category_id: Category
14
15
  decidim_scope_id: Scope
15
16
  description: Description
16
17
  end_time: End Time
17
18
  location: Location
18
19
  location_hints: Location hints
20
+ registration_terms: Registration terms
21
+ registrations_enabled: Registrations enabled
19
22
  start_time: Start Time
20
23
  title: Title
21
24
  decidim:
25
+ events:
26
+ meetings:
27
+ meeting_closed:
28
+ email_intro: 'The "%{resource_title}" meeting was closed. You can read the conclusions from its page:'
29
+ email_outro: You have received this notification because you are following the "%{resource_title}" meeting. You can unfollow it from the previous link.
30
+ email_subject: The "%{resource_title}" meeting was closed
31
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> meeting was closed.
32
+ meeting_registrations_over_percentage:
33
+ email_intro: The "%{resource_title}" meeting occupied slots are over %{percentage}%.
34
+ email_outro: You have received this notification because you are an admin of the meeting's participatory space.
35
+ email_subject: The "%{resource_title}" meeting occupied slots are over %{percentage}%
36
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> meeting occupied slots are over %{percentage}%.
37
+ meeting_updated:
38
+ email_intro: 'The "%{resource_title}" meeting was updated. You can read the new version from its page:'
39
+ email_outro: You have received this notification because you are following the "%{resource_title}" meeting. You can unfollow it from the previous link.
40
+ email_subject: The "%{resource_title}" meeting was updated
41
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> meeting was updated.
42
+ registrations_enabled:
43
+ email_intro: 'The "%{resource_title}" meeting has enabled registrations. You can register yourself on its page:'
44
+ email_outro: You have received this notification because you are following the "%{resource_title}" meeting. You can unfollow it from the previous link.
45
+ email_subject: The "%{resource_title}" meeting has enabled registrations.
46
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> meeting has enabled registrations.
47
+ upcoming_meeting:
48
+ email_intro: The "%{resource_title}" meeting will start in less than 48h.
49
+ email_outro: You have received this notification because you are following the "%{resource_title}" meeting. You can unfollow it from the previous link.
50
+ email_subject: The "%{resource_title}" meeting will start in less than 48h.
51
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> meeting will start in less than 48h.
22
52
  features:
23
53
  meetings:
24
54
  actions:
@@ -96,36 +126,10 @@ en:
96
126
  update:
97
127
  invalid: There's been a problem saving the registration settings.
98
128
  success: Meeting registrations settings successfully saved.
99
- events:
100
- close_meeting_event:
101
- email_intro: 'The "%{resource_title}" meeting was closed. You can read the conclusions from its page:'
102
- email_outro: You have received this notification because you are following the "%{resource_title}" meeting. You can unfollow it from the previous link.
103
- email_subject: The "%{resource_title}" meeting was closed
104
- notification_title: The <a href="%{resource_path}">%{resource_title}</a> meeting was closed.
105
- meeting_registrations_enabled:
106
- email_intro: 'The "%{resource_title}" meeting has enabled registrations. You can register yourself on its page:'
107
- email_outro: You have received this notification because you are following the "%{resource_title}" meeting. You can unfollow it from the previous link.
108
- email_subject: The "%{resource_title}" meeting has enabled registrations.
109
- notification_title: The <a href="%{resource_path}">%{resource_title}</a> meeting has enabled registrations.
110
- meeting_registrations_over_percentage:
111
- email_intro: The "%{resource_title}" meeting occupied slots are over %{percentage}%.
112
- email_outro: You have received this notification because you are an admin of the meeting's participatory space.
113
- email_subject: The "%{resource_title}" meeting occupied slots are over %{percentage}%
114
- notification_title: The <a href="%{resource_path}">%{resource_title}</a> meeting occupied slots are over %{percentage}%.
115
- upcoming_meeting_event:
116
- email_intro: The "%{resource_title}" meeting will start in less than 48h.
117
- email_outro: You have received this notification because you are following the "%{resource_title}" meeting. You can unfollow it from the previous link.
118
- email_subject: The "%{resource_title}" meeting will start in less than 48h.
119
- notification_title: The <a href="%{resource_path}">%{resource_title}</a> meeting will start in less than 48h.
120
- update_meeting_event:
121
- email_intro: 'The "%{resource_title}" meeting was updated. You can read the new version from its page:'
122
- email_outro: You have received this notification because you are following the "%{resource_title}" meeting. You can unfollow it from the previous link.
123
- email_subject: The "%{resource_title}" meeting was updated
124
- notification_title: The <a href="%{resource_path}">%{resource_title}</a> meeting was updated.
125
129
  mailer:
126
130
  invite_join_meeting_mailer:
127
131
  invite:
128
- subject: Subject
132
+ subject: Invitation to join a meeting
129
133
  registration_mailer:
130
134
  confirmation:
131
135
  subject: Your meeting's registration has been confirmed
@@ -135,8 +139,6 @@ en:
135
139
  category_prompt: Select a category
136
140
  date: Date
137
141
  past: Past
138
- scope_prompt: Select a scope
139
- scopes: Scopes
140
142
  search: Search
141
143
  upcoming: Upcoming
142
144
  filters_small_view:
@@ -194,4 +196,4 @@ en:
194
196
  devise:
195
197
  mailer:
196
198
  join_meeting:
197
- subject: Subject
199
+ subject: Invitation to join a meeting
@@ -1,4 +1,3 @@
1
- ---
2
1
  es:
3
2
  activemodel:
4
3
  attributes:
@@ -10,20 +9,50 @@ es:
10
9
  proposal_ids: Propuestas creadas en el encuentro
11
10
  meeting:
12
11
  address: Dirección
12
+ available_slots: Espacios disponibles para este encuentro
13
13
  decidim_category_id: Categoría
14
14
  decidim_scope_id: Ámbito
15
15
  description: Descripción
16
16
  end_time: Hora de finalización
17
17
  location: Ubicación
18
18
  location_hints: Pistas de ubicación
19
+ registration_terms: Términos y condiciones de inscripción
20
+ registrations_enabled: Inscripciones abiertas
19
21
  start_time: Hora de inicio
20
22
  title: Título
21
23
  decidim:
24
+ events:
25
+ meetings:
26
+ meeting_closed:
27
+ email_intro: 'Se ha cerrado la reunión "%{resource_title}". Puedes leer las conclusiones en su página:'
28
+ email_outro: Has recibido esta notificación porque sigues el encuentro "%{resource_title}". Puedes dejar de seguirlo en el enlace anterior.
29
+ email_subject: Se ha cerrado el encuentro "%{resource_title}"
30
+ notification_title: El encuentro <a href="%{resource_path}">%{resource_title}</a> ha sido cerrada.
31
+ meeting_registrations_over_percentage:
32
+ email_intro: Las inscripciones ocupadas en "%{resource_title}" son %{percentage}%.
33
+ email_outro: Has recibido esta notificación porque eres es un administrador del espacio participativo de la reunión.
34
+ email_subject: Las inscripciones en "%{resource_title}" están por encima del %{percentage}%
35
+ notification_title: Las inscripciones de <a href="%{resource_path}">%{resource_title}</a> están por encima del %{percentage}%.
36
+ meeting_updated:
37
+ email_intro: 'Se ha cerrado el encuentro "%{resource_title}". Puedes leer las conclusiones en su página:'
38
+ email_outro: Has recibido esta notificación porque sigues el encuentro "%{resource_title}". Puedes dejar de seguirlo en el enlace anterior.
39
+ email_subject: Se ha actualizado el encuentro "%{resource_title}"
40
+ notification_title: El encuentro <a href="%{resource_path}">%{resource_title}</a> ha sido actualizado.
41
+ registrations_enabled:
42
+ email_intro: 'El encuentro "%{resource_title}" ha ha abierto las inscripciones. Puedes inscribirte en su página:'
43
+ email_outro: Has recibido esta notificación porque sigues el encuentro "%{resource_title}". Puedes dejar de seguirlo en el enlace anterior.
44
+ email_subject: El encuentro "%{resource_title}" ha abierto las inscripciones.
45
+ notification_title: El encuentro <a href="%{resource_path}">%{resource_title}</a> ha abierto las inscripciones.
46
+ upcoming_meeting:
47
+ email_intro: El encuentro "%{resource_title}" comenzará en menos de 48 h.
48
+ email_outro: Has recibido esta notificación porque sigues el encuentro "%{resource_title}". Puedes dejar de seguirlo en el enlace anterior.
49
+ email_subject: El encuentro "%{resource_title}" comenzará en menos de 48 h.
50
+ notification_title: El encuentro <a href="%{resource_path}">%{resource_title}</a> comenzará en menos de 48 h.
22
51
  features:
23
52
  meetings:
24
53
  actions:
25
54
  join: Unirse
26
- name: Lista de encuentros
55
+ name: Encuentros
27
56
  settings:
28
57
  global:
29
58
  announcement: Aviso
@@ -35,7 +64,7 @@ es:
35
64
  actions:
36
65
  attachments: Archivos adjuntos
37
66
  close: Cerrar
38
- confirm_destroy: "¿Está seguro de que quiere eliminar este encuentro?"
67
+ confirm_destroy: '¿Está seguro de que quiere eliminar este encuentro?'
39
68
  destroy: Borrar
40
69
  edit: Editar
41
70
  new: Nuevo
@@ -73,7 +102,7 @@ es:
73
102
  edit:
74
103
  update: Actualizar
75
104
  index:
76
- title: Lista de encuentros
105
+ title: Encuentros
77
106
  new:
78
107
  create: Crear
79
108
  title: Crear encuentro
@@ -95,36 +124,10 @@ es:
95
124
  update:
96
125
  invalid: Se ha producido un problema al guardar la configuración de la inscripción.
97
126
  success: Se han guardado correctamente las configuraciones de inscripciones de encuentros.
98
- events:
99
- close_meeting_event:
100
- email_intro: 'Se ha cerrado la reunión "%{resource_title}". Puedes leer las conclusiones en su página:'
101
- email_outro: Has recibido esta notificación porque sigues la reunión "%{resource_title}". Puedes dejar de seguirla en el enlace anterior.
102
- email_subject: Se ha cerrado la reunión "%{resource_title}"
103
- notification_title: La reunión <a href="%{resource_path}">%{resource_title}</a> ha sido cerrada.
104
- meeting_registrations_enabled:
105
- email_intro: 'La reunión "%{resource_title}" ha ha activado inscripciones. Puedes inscribirte en su página:'
106
- email_outro: Ha recibido esta notificación porque usted sigue el encuentro "%{resource_title}". Puedes dejar de seguirlo en el enlace anterior.
107
- email_subject: El encuentro "%{resource_title}" ha activado inscripciones.
108
- notification_title: El encuentro <a href="%{resource_path}">%{resource_title}</a> ha activado inscripciones.
109
- meeting_registrations_over_percentage:
110
- email_intro: Las inscripciones ocupadas en "%{resource_title}" son %{percentage}%.
111
- email_outro: Has recibido esta notificación porque eres es un administrador del espacio participativo de la reunión.
112
- email_subject: Las inscripciones ocupadas de "%{resource_title}" son %{percentage}%
113
- notification_title: Las inscripciones ocupadas de <a href="%{resource_path}">%{resource_title}</a> son %{percentage}%.
114
- upcoming_meeting_event:
115
- email_intro: La reunión "%{resource_title}" se iniciará en menos de 48h.
116
- email_outro: Has recibido esta notificación porque sigues la reunión "%{resource_title}". Puedes dejar de seguirla en el enlace anterior.
117
- email_subject: La reunión "%{resource_title}" comenzará en menos de 48h.
118
- notification_title: La reunión de <a href="%{resource_path}">%{resource_title}</a> comenzará en menos de 48h.
119
- update_meeting_event:
120
- email_intro: 'La reunión "%{resource_title}" fue actualizada. Puedes leer la nueva versión en su página:'
121
- email_outro: Has recibido esta notificación porque sigues la reunión "%{resource_title}". Puedes dejar de seguirla en el enlace anterior.
122
- email_subject: La reunión "%{resource_title}" ha sido actualizada
123
- notification_title: La reunión <a href="%{resource_path}">%{resource_title}</a> ha sido actualizada.
124
127
  mailer:
125
128
  invite_join_meeting_mailer:
126
129
  invite:
127
- subject: Asunto
130
+ subject: Invitación a unirse a una reunión
128
131
  registration_mailer:
129
132
  confirmation:
130
133
  subject: La inscripción a tu encuentro ha sido confirmada
@@ -134,8 +137,6 @@ es:
134
137
  category_prompt: Selecciona una categoría
135
138
  date: Fecha
136
139
  past: Pasadas
137
- scope_prompt: Seleccione un ámbito
138
- scopes: Ámbitos
139
140
  search: Buscar
140
141
  upcoming: Próximas
141
142
  filters_small_view:
@@ -192,4 +193,4 @@ es:
192
193
  devise:
193
194
  mailer:
194
195
  join_meeting:
195
- subject: Asunto
196
+ subject: Invitación a unirse a una reunión