decidim-conferences 0.27.0 → 0.27.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/conferences/admin/invite_user_to_join_conference.rb +1 -1
  3. data/app/commands/decidim/conferences/join_conference.rb +5 -0
  4. data/app/controllers/decidim/conferences/admin/conference_speakers_controller.rb +16 -10
  5. data/app/controllers/decidim/conferences/conference_registrations_controller.rb +17 -0
  6. data/app/permissions/decidim/conferences/permissions.rb +1 -0
  7. data/app/views/decidim/conferences/admin/conference_speakers/edit.html.erb +1 -1
  8. data/app/views/decidim/conferences/admin/invite_join_conference_mailer/invite.html.erb +3 -3
  9. data/app/views/decidim/conferences/conferences/show.html.erb +2 -2
  10. data/app/views/devise/mailer/join_conference.html.erb +2 -2
  11. data/app/views/devise/mailer/join_conference.text.erb +2 -2
  12. data/config/locales/ar.yml +2 -8
  13. data/config/locales/ca.yml +10 -6
  14. data/config/locales/cs.yml +11 -7
  15. data/config/locales/de.yml +5 -8
  16. data/config/locales/el.yml +1 -7
  17. data/config/locales/en.yml +10 -6
  18. data/config/locales/es-MX.yml +11 -7
  19. data/config/locales/es-PY.yml +12 -8
  20. data/config/locales/es.yml +11 -7
  21. data/config/locales/eu.yml +2 -8
  22. data/config/locales/fi-plain.yml +10 -6
  23. data/config/locales/fi.yml +10 -6
  24. data/config/locales/fr-CA.yml +7 -3
  25. data/config/locales/fr.yml +7 -3
  26. data/config/locales/ga-IE.yml +0 -3
  27. data/config/locales/gl.yml +1 -7
  28. data/config/locales/gn-PY.yml +1 -0
  29. data/config/locales/hu.yml +3 -12
  30. data/config/locales/id-ID.yml +1 -10
  31. data/config/locales/it.yml +2 -8
  32. data/config/locales/ja.yml +8 -4
  33. data/config/locales/ka-GE.yml +1 -0
  34. data/config/locales/lb.yml +2 -5
  35. data/config/locales/lo-LA.yml +1 -0
  36. data/config/locales/lt.yml +2 -8
  37. data/config/locales/lv.yml +1 -10
  38. data/config/locales/nl.yml +3 -9
  39. data/config/locales/no.yml +2 -8
  40. data/config/locales/pl.yml +2 -7
  41. data/config/locales/pt-BR.yml +2 -8
  42. data/config/locales/pt.yml +1 -7
  43. data/config/locales/ro-RO.yml +14 -8
  44. data/config/locales/sk.yml +1 -10
  45. data/config/locales/sv.yml +6 -7
  46. data/config/locales/tr-TR.yml +3 -12
  47. data/config/locales/zh-CN.yml +1 -10
  48. data/lib/decidim/conferences/test/factories.rb +4 -0
  49. data/lib/decidim/conferences/version.rb +1 -1
  50. metadata +14 -12
  51. data/app/helpers/decidim/conferences/admin/conference_speakers_helper.rb +0 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 006da063b6343f4fa14cc1c27b7e67252e2b616381c450317c3172107ec75afb
4
- data.tar.gz: 6314ed8114a13680cda51ab5f84d4a96ed8ca2ac5453d0e3e44670072abceffe
3
+ metadata.gz: 18c16e9edd679267b5e30d60cc305639530d48a030a32b7098b316e38882fd3f
4
+ data.tar.gz: 5ab1d42a95b551be9c62adbcd9ef0a43812b0e478c40f702d79280b5ae6f5df6
5
5
  SHA512:
6
- metadata.gz: f015a4aa0b1d337362ec070feee2fc0721f348a8049d41a8239e12701247c87d18bda10e15f3ce2d423296aa09f5ddbe2dd38fa0e610f04a8713ec9cd04fbb80
7
- data.tar.gz: 434cc20d6282f062fa31b61c35ca733d4f3145fd12611430418ceaee91b9ed968b32198f19fcbade9f4b357e421bb41a45e2b12bb6f53c6ba15f9639579612fc
6
+ metadata.gz: 1f67383c5f869b329374b40a45301fd70708aa674c355a24a5917a155441f41a0ec4b81cf5327a3725616e3e01b7b195ab99ec5d5b499016ade401544ffeaa15
7
+ data.tar.gz: d8deb0e107e540c4a65baa0bd05c01fc14d024ae1f1a4ebb371788185d4358016785856469bf35d04a008fb68cc3c00a96a66402c3492ac90a14b854d2a6bcba
@@ -98,7 +98,7 @@ module Decidim
98
98
 
99
99
  def invite_user_to_sign_up
100
100
  user.skip_reconfirmation!
101
- user.invite!(invited_by, invitation_instructions: "join_conference", conference: conference)
101
+ user.invite!(invited_by, invitation_instructions: "join_conference", conference: conference, registration_type: form.registration_type)
102
102
  end
103
103
  end
104
104
  end
@@ -21,6 +21,7 @@ module Decidim
21
21
  # Broadcasts :ok if successful, :invalid otherwise.
22
22
  def call
23
23
  return broadcast(:invalid) unless can_join_conference?
24
+ return broadcast(:ok) if already_joined_conference?
24
25
 
25
26
  conference.with_lock do
26
27
  create_registration
@@ -58,6 +59,10 @@ module Decidim
58
59
  conference.registrations_enabled? && conference.has_available_slots?
59
60
  end
60
61
 
62
+ def already_joined_conference?
63
+ conference.conference_registrations.where(user: user).any?
64
+ end
65
+
61
66
  def send_email_pending_validation
62
67
  Decidim::Conferences::ConferenceRegistrationMailer.pending_validation(user, conference, @registration_type).deliver_later
63
68
  end
@@ -6,10 +6,11 @@ module Decidim
6
6
  # Controller that allows managing conference speakers.
7
7
  #
8
8
  class ConferenceSpeakersController < Decidim::Conferences::Admin::ApplicationController
9
- helper Decidim::Conferences::Admin::ConferenceSpeakersHelper
10
9
  include Concerns::ConferenceAdmin
11
10
  include Decidim::Paginable
12
11
 
12
+ helper_method :conference_speaker, :meetings_selected
13
+
13
14
  def index
14
15
  enforce_permission_to :index, :conference_speaker
15
16
 
@@ -41,17 +42,15 @@ module Decidim
41
42
  end
42
43
 
43
44
  def edit
44
- @item = collection.find(params[:id])
45
- enforce_permission_to :update, :conference_speaker, speaker: @item
46
- @form = form(ConferenceSpeakerForm).from_model(@item)
45
+ enforce_permission_to :update, :conference_speaker, speaker: conference_speaker
46
+ @form = form(ConferenceSpeakerForm).from_model(conference_speaker)
47
47
  end
48
48
 
49
49
  def update
50
- @conference_speaker = collection.find(params[:id])
51
- enforce_permission_to :update, :conference_speaker, speaker: @conference_speaker
50
+ enforce_permission_to :update, :conference_speaker, speaker: conference_speaker
52
51
  @form = form(ConferenceSpeakerForm).from_params(params)
53
52
 
54
- UpdateConferenceSpeaker.call(@form, @conference_speaker) do
53
+ UpdateConferenceSpeaker.call(@form, conference_speaker) do
55
54
  on(:ok) do
56
55
  flash[:notice] = I18n.t("conference_speakers.update.success", scope: "decidim.admin")
57
56
  redirect_to conference_speakers_path(current_conference)
@@ -65,10 +64,9 @@ module Decidim
65
64
  end
66
65
 
67
66
  def destroy
68
- @conference_speaker = collection.find(params[:id])
69
- enforce_permission_to :destroy, :conference_speaker, speaker: @conference_speaker
67
+ enforce_permission_to :destroy, :conference_speaker, speaker: conference_speaker
70
68
 
71
- DestroyConferenceSpeaker.call(@conference_speaker, current_user) do
69
+ DestroyConferenceSpeaker.call(conference_speaker, current_user) do
72
70
  on(:ok) do
73
71
  flash[:notice] = I18n.t("conference_speakers.destroy.success", scope: "decidim.admin")
74
72
  redirect_to conference_speakers_path(current_conference)
@@ -78,6 +76,14 @@ module Decidim
78
76
 
79
77
  private
80
78
 
79
+ def meetings_selected
80
+ @meetings_selected ||= @conference_speaker.conference_meetings.pluck(:id) if @conference_speaker.present?
81
+ end
82
+
83
+ def conference_speaker
84
+ @conference_speaker ||= collection.find(params[:id])
85
+ end
86
+
81
87
  def collection
82
88
  @collection ||= Decidim::ConferenceSpeaker.where(conference: current_conference)
83
89
  end
@@ -4,6 +4,8 @@ module Decidim
4
4
  module Conferences
5
5
  # Exposes the registration resource so users can join and leave conferences.
6
6
  class ConferenceRegistrationsController < Decidim::Conferences::ApplicationController
7
+ before_action :ensure_signed_in
8
+
7
9
  def create
8
10
  enforce_permission_to :join, :conference, conference: conference
9
11
 
@@ -54,6 +56,20 @@ module Decidim
54
56
 
55
57
  private
56
58
 
59
+ def ensure_signed_in
60
+ return if user_signed_in?
61
+
62
+ case action_name
63
+ when "create"
64
+ flash[:alert] = t("conference_registrations.create.unauthorized", scope: "decidim.conferences")
65
+ when "decline_invitation"
66
+ flash[:alert] = t("conference_registrations.decline_invitation.unauthorized", scope: "decidim.conferences")
67
+ else
68
+ raise Decidim::ActionForbidden
69
+ end
70
+ redirect_to(user_has_no_permission_referer || user_has_no_permission_path)
71
+ end
72
+
57
73
  def conference
58
74
  @conference ||= Conference.find_by(slug: params[:conference_slug])
59
75
  end
@@ -65,6 +81,7 @@ module Decidim
65
81
  def redirect_after_path
66
82
  referer = request.headers["Referer"]
67
83
  return redirect_to(conference_path(conference)) if referer =~ /invitation_token/
84
+ return redirect_to(conference_path(conference)) if referer =~ %r{users/sign_in}
68
85
 
69
86
  redirect_back fallback_location: conference_path(conference)
70
87
  end
@@ -77,6 +77,7 @@ module Decidim
77
77
  end
78
78
 
79
79
  def can_decline_invitation?
80
+ return unless user
80
81
  return unless conference.presence
81
82
  return unless conference.registrations_enabled? &&
82
83
  conference.conference_invites.exists?(user: user) &&
@@ -1,4 +1,4 @@
1
- <%= decidim_form_for(@form, url: conference_speaker_path(@item.conference, @item), html: { class: "form edit_conference_speaker" }) do |f| %>
1
+ <%= decidim_form_for(@form, url: conference_speaker_path(conference_speaker.conference, conference_speaker), html: { class: "form edit_conference_speaker" }) do |f| %>
2
2
  <%= render partial: "form", object: f, locals: { title: t("conference_speakers.edit.title", scope: "decidim.admin") } %>
3
3
 
4
4
  <div class="button--double form-general-submit">
@@ -1,12 +1,12 @@
1
1
  <p class="email-greeting"><%= t("devise.mailer.invitation_instructions.hello", email: @user.name) %></p>
2
2
 
3
3
  <p class="email-instructions">
4
- <%= t ".invited_you_to_join_a_conference", invited_by: @invited_by.name, application: @user.organization.name %>
4
+ <%= t ".invited_existing_user_to_join_a_conference", invited_by: @invited_by.name, application: @user.organization.name %>
5
5
  </p>
6
6
 
7
7
  <p class="email-button email-button__cta cta-decline">
8
- <%= link_to t(".decline", conference_title: translated_attribute(@conference.title)),routes.decline_invitation_conference_registration_type_conference_registration_path(conference_slug: @conference.slug, registration_type_id: @registration_type.id) %>
8
+ <%= link_to t(".decline", conference_title: translated_attribute(@conference.title)), routes.decline_invitation_conference_registration_type_conference_registration_url(conference_slug: @conference.slug, registration_type_id: @registration_type.id) %>
9
9
  </p>
10
10
  <p class="email-button email-button__cta cta-accept">
11
- <%= link_to t(".registration", conference_title: translated_attribute(@conference.title)),routes.conference_registration_type_conference_registration_url(conference_slug: @conference.slug, registration_type_id: @registration_type.id) %>
11
+ <%= link_to t(".registration", conference_title: translated_attribute(@conference.title)), routes.conference_registration_type_conference_registration_url(conference_slug: @conference.slug, registration_type_id: @registration_type.id) %>
12
12
  </p>
@@ -20,12 +20,12 @@ edit_link(
20
20
  <div class="columns mediumlarge-12">
21
21
  <section class="section">
22
22
  <h3 class="section-heading"><%= t("conferences.show.introduction", scope: "decidim") %></h3>
23
- <%= decidim_sanitize_editor translated_attribute(current_participatory_space.short_description) %>
23
+ <%= decidim_sanitize_editor_admin translated_attribute(current_participatory_space.short_description) %>
24
24
  </section>
25
25
  <hr class="reset mt-none mb-m">
26
26
  <section class="section">
27
27
  <h3 class="section-heading"><%= t("conferences.show.details", scope: "decidim") %></h3>
28
- <%= decidim_sanitize_editor translated_attribute(current_participatory_space.description) %>
28
+ <%= decidim_sanitize_editor_admin translated_attribute(current_participatory_space.description) %>
29
29
  <div class="row mt-l mb-l">
30
30
  <div class="column medium-9 medium-centered">
31
31
  <% if current_participatory_space.registrations_enabled? %>
@@ -1,10 +1,10 @@
1
1
  <p class="email-greeting"><%= t("devise.mailer.invitation_instructions.hello", email: @resource.name) %></p>
2
2
 
3
3
  <p class="email-instructions">
4
- <%= t("decidim.conferences.admin.invite_join_conference_mailer.invite.invited_you_to_join_a_conference", invited_by: @resource.invited_by.name, application: @resource.organization.name) %>
4
+ <%= t("decidim.conferences.admin.invite_join_conference_mailer.invite.invited_user_to_join_a_conference", invited_by: @resource.invited_by.name, application: @resource.organization.name) %>
5
5
  </p>
6
6
 
7
- <p class="email-button email-button__cta"><%= link_to t("devise.mailer.invitation_instructions.accept"), accept_invitation_url(@resource, invitation_token: @token, invite_redirect: Decidim::EngineRouter.main_proxy(@opts[:conference]).conference_conference_registration_path(conference_slug: @opts[:conference]), host: @resource.organization.host) %></p>
7
+ <p class="email-button email-button__cta"><%= link_to t("devise.mailer.invitation_instructions.accept"), accept_invitation_url(@resource, invitation_token: @token, invite_redirect: Decidim::EngineRouter.main_proxy(@opts[:conference]).conference_registration_type_conference_registration_path(conference_slug: @opts[:conference], registration_type_id: @opts[:registration_type]), host: @resource.organization.host) %></p>
8
8
 
9
9
  <% if @resource.invitation_due_at %>
10
10
  <p class="email-small"><%= t("devise.mailer.invitation_instructions.accept_until", due_date: l(@resource.invitation_due_at, format: :long)) %></p>
@@ -1,8 +1,8 @@
1
1
  <%= t("devise.mailer.invitation_instructions.hello", email: @resource.name) %>
2
2
 
3
- <%= t("decidim.conferences.admin.invite_join_conference_mailer.invite.invited_you_to_join_a_conference", invited_by: @resource.invited_by.name, application: @resource.organization.name) %>
3
+ <%= t("decidim.conferences.admin.invite_join_conference_mailer.invite.invited_existing_user_to_join_a_conference", invited_by: @resource.invited_by.name, application: @resource.organization.name) %>
4
4
 
5
- <%= link_to t("devise.mailer.invitation_instructions.accept"), accept_invitation_url(@resource, invitation_token: @token, invite_redirect: Decidim::EngineRouter.main_proxy(@opts[:conference]).conference_conference_registration_path(conference_slug: @opts[:conference]), host: @resource.organization.host) %>
5
+ <%= link_to t("devise.mailer.invitation_instructions.accept"), accept_invitation_url(@resource, invitation_token: @token, invite_redirect: Decidim::EngineRouter.main_proxy(@opts[:conference]).conference_registration_type_conference_registration_path(conference_slug: @opts[:conference], registration_type_id: @opts[:registration_type]), host: @resource.organization.host) %>
6
6
 
7
7
  <% if @resource.invitation_due_at %>
8
8
  <%= t("devise.mailer.invitation_instructions.accept_until", due_date: l(@resource.invitation_due_at, format: :long)) %>
@@ -29,7 +29,6 @@ ar:
29
29
  show_statistics: عرض الإحصائيات
30
30
  sign_date: تاريخ التوقيع
31
31
  signature: التوقيع
32
- signature_name: اسم التوقيع
33
32
  slogan: شعار
34
33
  slug: سبيكة العنوان الشبكي
35
34
  start_date: تاريخ البداية
@@ -38,13 +37,11 @@ ar:
38
37
  date: التاريخ
39
38
  link: الرابط
40
39
  title: العنوان
41
- weight: وزن
42
40
  conference_partner:
43
41
  link: الرابط
44
42
  logo: الشعار
45
43
  name: الإسم
46
44
  partner_type: نوع الشريك
47
- weight: وزن
48
45
  conference_registration_invite:
49
46
  email: البريد الإلكتروني
50
47
  name: الإسم
@@ -54,7 +51,6 @@ ar:
54
51
  description: الوصف
55
52
  price: السعر
56
53
  title: العنوان
57
- weight: وزن
58
54
  conference_speaker:
59
55
  affiliation: الانتساب
60
56
  avatar: الصورة الرمزية
@@ -144,8 +140,6 @@ ar:
144
140
  edit:
145
141
  title: تحديث مسؤول المؤتمر.
146
142
  update: تحديث
147
- index:
148
- conference_admins_title: مدراء المؤتمر
149
143
  new:
150
144
  create: إنشاء
151
145
  title: مشرف المؤتمر الجديد.
@@ -394,7 +388,7 @@ ar:
394
388
  invite_join_conference_mailer:
395
389
  invite:
396
390
  decline: رفض الدعوة "%{conference_title}"
397
- invited_you_to_join_a_conference: "%{invited_by} للانضمام إلى مؤتمر في %{application}. يمكنك رفضه أو قبوله من خلال الروابط أدناه."
391
+ invited_existing_user_to_join_a_conference: "%{invited_by} للانضمام إلى مؤتمر في %{application}. يمكنك رفضه أو قبوله من خلال الروابط أدناه."
398
392
  registration: التسجيل لـ "%{conference_title}"
399
393
  partners:
400
394
  index:
@@ -426,7 +420,7 @@ ar:
426
420
  conference_program:
427
421
  program_meeting:
428
422
  content: المحتوى
429
- location: موقعك
423
+ location: الموقع
430
424
  speakers: مكبرات الصوت
431
425
  streaming: تدفق
432
426
  show:
@@ -29,7 +29,7 @@ ca:
29
29
  show_statistics: Mostrar estadístiques
30
30
  sign_date: Data de signatura
31
31
  signature: Signatura
32
- signature_name: nom de la signatura
32
+ signature_name: Nom de la signatura
33
33
  slogan: Eslògan
34
34
  slug: URL amigable
35
35
  start_date: Data d'inici
@@ -38,13 +38,13 @@ ca:
38
38
  date: Data
39
39
  link: Enllaç
40
40
  title: Títol
41
- weight: Pes
41
+ weight: Ordre de posició
42
42
  conference_partner:
43
43
  link: Enllaç
44
44
  logo: Logo
45
45
  name: Nom
46
46
  partner_type: Tipus de col·laboració
47
- weight: Pes
47
+ weight: Ordre de posició
48
48
  conference_registration_invite:
49
49
  email: Correu electrònic
50
50
  name: Nom
@@ -54,7 +54,7 @@ ca:
54
54
  description: Descripció
55
55
  price: Cost
56
56
  title: Títol
57
- weight: Pes
57
+ weight: Ordre de posició
58
58
  conference_speaker:
59
59
  affiliation: Afiliació
60
60
  avatar: Imatge de perfil
@@ -135,7 +135,7 @@ ca:
135
135
  title: Actualitzar administradora de la jornada.
136
136
  update: Actualitzar
137
137
  index:
138
- conference_admins_title: administradores de la jornada
138
+ conference_admins_title: Administradores de la jornada
139
139
  new:
140
140
  create: Crear
141
141
  title: Nova administradora de jornada.
@@ -313,6 +313,7 @@ ca:
313
313
  update: "%{user_name} ha actualitzat la col·laboradora %{resource_name} a la jornada %{space_name}"
314
314
  registration_type:
315
315
  create: "%{user_name} ha creat el tipus d'inscripció %{resource_name} a la jornada %{space_name}"
316
+ delete: "%{user_name} ha eliminat el tipus d'inscripció %{resource_name} a la jornada %{space_name}"
316
317
  publish: "%{user_name} ha publicat el tipus d'inscripció %{resource_name} a la jornada %{space_name}"
317
318
  unpublish: "%{user_name} ha despublicat el tipus d'inscripció %{resource_name} a la jornada %{space_name}"
318
319
  update: "%{user_name} ha actualitzat el tipus d'inscripció %{resource_name} a la jornada %{space_name}"
@@ -380,7 +381,8 @@ ca:
380
381
  invite_join_conference_mailer:
381
382
  invite:
382
383
  decline: Rebutjar la invitació a '%{conference_title}'
383
- invited_you_to_join_a_conference: "%{invited_by} t'ha convidat a unir-te a una conferència a l'%{application}. Pots rebutjar o acceptar a través dels enllaços a continuació."
384
+ invited_existing_user_to_join_a_conference: "%{invited_by} t'ha convidat a unir-te a una conferència a l'%{application}. Pots rebutjar o acceptar a través dels enllaços a continuació."
385
+ invited_user_to_join_a_conference: "%{invited_by} t'ha convidat a unir-te a una conferència a %{application}. Pots acceptar-la a través del següent enllaç."
384
386
  registration: Inscripció a '%{conference_title}'
385
387
  partners:
386
388
  index:
@@ -431,9 +433,11 @@ ca:
431
433
  create:
432
434
  invalid: S'ha produït un error en inscriure't a aquesta jornada.
433
435
  success: T'has inscrit a la jornada correctament.
436
+ unauthorized: Cal que iniciïs la teva sessió abans d'inscriure't a la jornada.
434
437
  decline_invitation:
435
438
  invalid: S'ha produït un error en rebutjar la invitació.
436
439
  success: Has rebutjat la invitació correctament.
440
+ unauthorized: Cal que iniciïs la teva sessió abans de rebutjar la invitació.
437
441
  destroy:
438
442
  invalid: S'ha produït un error en abandonar aquesta jornada.
439
443
  success: Has abandonat la jornada correctament.
@@ -29,7 +29,7 @@ cs:
29
29
  show_statistics: Zobrazit statistiky
30
30
  sign_date: Datum podpisu
31
31
  signature: Podpis
32
- signature_name: podpisové jméno
32
+ signature_name: Podpisové jméno
33
33
  slogan: Motto
34
34
  slug: URL slug
35
35
  start_date: Datum zahájení
@@ -38,13 +38,13 @@ cs:
38
38
  date: Datum
39
39
  link: Odkaz
40
40
  title: Název
41
- weight: Váha
41
+ weight: Pozice v řazení
42
42
  conference_partner:
43
43
  link: Odkaz
44
44
  logo: Logo
45
45
  name: Název
46
46
  partner_type: Typ partnera
47
- weight: Váha
47
+ weight: Pozice v řazení
48
48
  conference_registration_invite:
49
49
  email: E-mail
50
50
  name: Jméno
@@ -54,7 +54,7 @@ cs:
54
54
  description: Popis
55
55
  price: Cena
56
56
  title: Oslovení
57
- weight: Váha
57
+ weight: Pozice v řazení
58
58
  conference_speaker:
59
59
  affiliation: Příslušnost
60
60
  avatar: Avatar
@@ -141,7 +141,7 @@ cs:
141
141
  title: Aktualizovat uživatele konference.
142
142
  update: Aktualizace
143
143
  index:
144
- conference_admins_title: administrátoři konference
144
+ conference_admins_title: Administrátoři konference
145
145
  new:
146
146
  create: Vytvořit
147
147
  title: Nový administrátor konference.
@@ -319,6 +319,7 @@ cs:
319
319
  update: "%{user_name} aktualizoval partnera %{resource_name} na konferenci %{space_name}"
320
320
  registration_type:
321
321
  create: "%{user_name} vytvořil typ registrace %{resource_name} na konferenci %{space_name}"
322
+ delete: "%{user_name} odstranil typ registrace %{resource_name} z konference %{space_name}"
322
323
  publish: "%{user_name} publikoval %{resource_name} typ registrace na %{space_name} konferencích"
323
324
  unpublish: "%{user_name} nepublikováno %{resource_name} typ registrace na %{space_name} konferencích"
324
325
  update: "%{user_name} aktualizoval typ registrace %{resource_name} na konferenci %{space_name}"
@@ -388,7 +389,8 @@ cs:
388
389
  invite_join_conference_mailer:
389
390
  invite:
390
391
  decline: Odmítnout pozvánku '%{conference_title}'
391
- invited_you_to_join_a_conference: "%{invited_by} vás zve na konferenci na %{application}. Můžete jej odmítnout nebo přijmout prostřednictvím níže uvedených odkazů."
392
+ invited_existing_user_to_join_a_conference: "%{invited_by} vás zve na konferenci na %{application}. Můžete jej odmítnout nebo přijmout prostřednictvím níže uvedených odkazů."
393
+ invited_user_to_join_a_conference: "%{invited_by} vás pozval, abyste se připojili ke konferenci v %{application}. Můžete ji přijmout prostřednictvím níže uvedeného odkazu."
392
394
  registration: Registrace pro "%{conference_title}"
393
395
  partners:
394
396
  index:
@@ -420,7 +422,7 @@ cs:
420
422
  conference_program:
421
423
  program_meeting:
422
424
  content: Obsah
423
- location: Umístění
425
+ location: Lokalita
424
426
  speakers: Řečníci
425
427
  streaming: Streamování
426
428
  show:
@@ -439,9 +441,11 @@ cs:
439
441
  create:
440
442
  invalid: Do této konference došlo k problému.
441
443
  success: Do konference jste se úspěšně připojili.
444
+ unauthorized: Před registrací na konferenci se musíte přihlásit.
442
445
  decline_invitation:
443
446
  invalid: Došlo k potížím s odmítnutím pozvánky.
444
447
  success: Odmítli jste pozvánku úspěšně.
448
+ unauthorized: Před odmítnutím pozvání se musíte přihlásit.
445
449
  destroy:
446
450
  invalid: Při této konferenci došlo k problému.
447
451
  success: Konference jste úspěšně opustili.
@@ -29,7 +29,6 @@ de:
29
29
  show_statistics: Zeige Statistiken
30
30
  sign_date: Unterzeichnungsdatum
31
31
  signature: Unterschrift
32
- signature_name: Signaturname
33
32
  slogan: Slogan
34
33
  slug: URL-Block
35
34
  start_date: Startdatum
@@ -38,13 +37,13 @@ de:
38
37
  date: Datum
39
38
  link: Link
40
39
  title: Titel
41
- weight: Gewicht
40
+ weight: Reihenfolge
42
41
  conference_partner:
43
42
  link: Link
44
43
  logo: Logo
45
44
  name: Name
46
45
  partner_type: Partnertyp
47
- weight: Gewicht
46
+ weight: Reihenfolge
48
47
  conference_registration_invite:
49
48
  email: E-Mail
50
49
  name: Name
@@ -54,7 +53,7 @@ de:
54
53
  description: Beschreibung
55
54
  price: Preis
56
55
  title: Titel
57
- weight: Gewicht
56
+ weight: Reihenfolge
58
57
  conference_speaker:
59
58
  affiliation: Zugehörigkeit
60
59
  avatar: Profilbild
@@ -134,8 +133,6 @@ de:
134
133
  edit:
135
134
  title: Aktualisieren Sie den Konferenzbenutzer.
136
135
  update: Aktualisieren
137
- index:
138
- conference_admins_title: Konferenzbenutzer
139
136
  new:
140
137
  create: Erstellen
141
138
  title: Neuer Konferenzbenutzer
@@ -247,7 +244,7 @@ de:
247
244
  price: Preis
248
245
  registrations_count: Registrierungen zählen
249
246
  title: Titel
250
- weight: Bestellposition
247
+ weight: Reihenfolge
251
248
  name: Registrierungstyp
252
249
  partners:
253
250
  create:
@@ -380,7 +377,7 @@ de:
380
377
  invite_join_conference_mailer:
381
378
  invite:
382
379
  decline: Einladung '%{conference_title}' ablehnen
383
- invited_you_to_join_a_conference: "%{invited_by} hat Sie eingeladen, an einer Konferenz um %{application}teilzunehmen. Sie können dies über die unten stehenden Links ablehnen oder akzeptieren."
380
+ invited_existing_user_to_join_a_conference: "%{invited_by} hat Sie eingeladen, an einer Konferenz um %{application}teilzunehmen. Sie können dies über die unten stehenden Links ablehnen oder akzeptieren."
384
381
  registration: Registrierung für '%{conference_title}'
385
382
  partners:
386
383
  index:
@@ -29,7 +29,6 @@ el:
29
29
  show_statistics: Εμφάνιση στατιστικών
30
30
  sign_date: Ημερομηνία υπογραφής
31
31
  signature: Υπογραφή
32
- signature_name: όνομα υπογραφής
33
32
  slogan: Σύνθημα
34
33
  slug: Slug διεύθυνσης URL
35
34
  start_date: Ημερομηνία έναρξης
@@ -38,13 +37,11 @@ el:
38
37
  date: Ημερομηνία
39
38
  link: Σύνδεσμος
40
39
  title: Τίτλος
41
- weight: Βάρος
42
40
  conference_partner:
43
41
  link: Σύνδεσμος
44
42
  logo: Λογότυπο
45
43
  name: Όνομα
46
44
  partner_type: Τύπος εταίρου
47
- weight: Βάρος
48
45
  conference_registration_invite:
49
46
  name: Όνομα
50
47
  registration_type_id: Τύπος εγγραφής
@@ -53,7 +50,6 @@ el:
53
50
  description: Περιγραφή
54
51
  price: Τιμή
55
52
  title: Τίτλος
56
- weight: Βάρος
57
53
  conference_speaker:
58
54
  affiliation: Δεσμός
59
55
  avatar: Εικόνα Χρήστη
@@ -131,8 +127,6 @@ el:
131
127
  edit:
132
128
  title: Ενημέρωση διαχειριστή διάσκεψης.
133
129
  update: Ενημέρωση
134
- index:
135
- conference_admins_title: διαχειριστές διάσκεψης
136
130
  new:
137
131
  create: Δημιουργία
138
132
  title: Νέος διαχειριστής διάσκεψης.
@@ -377,7 +371,7 @@ el:
377
371
  invite_join_conference_mailer:
378
372
  invite:
379
373
  decline: Απόρριψη πρόσκλησης «%{conference_title}»
380
- invited_you_to_join_a_conference: "Ο χρήστης %{invited_by} σάς προσκάλεσε να συμμετάσχετε σε μια διάσκεψη στην εφαρμογή %{application}. Μπορείτε να την απορρίψετε ή να την αποδεχτείτε μέσω των παρακάτω συνδέσμων."
374
+ invited_existing_user_to_join_a_conference: "Ο χρήστης %{invited_by} σάς προσκάλεσε να συμμετάσχετε σε μια διάσκεψη στην εφαρμογή %{application}. Μπορείτε να την απορρίψετε ή να την αποδεχτείτε μέσω των παρακάτω συνδέσμων."
381
375
  registration: Εγγραφή για τη διάσκεψη «%{conference_title}»
382
376
  partners:
383
377
  index:
@@ -29,7 +29,7 @@ en:
29
29
  show_statistics: Show statistics
30
30
  sign_date: Sign date
31
31
  signature: Signature
32
- signature_name: signature name
32
+ signature_name: Signature name
33
33
  slogan: Slogan
34
34
  slug: URL slug
35
35
  start_date: Start date
@@ -38,13 +38,13 @@ en:
38
38
  date: Date
39
39
  link: Link
40
40
  title: Title
41
- weight: Weight
41
+ weight: Order position
42
42
  conference_partner:
43
43
  link: Link
44
44
  logo: Logo
45
45
  name: Name
46
46
  partner_type: Partner type
47
- weight: Weight
47
+ weight: Order position
48
48
  conference_registration_invite:
49
49
  email: Email
50
50
  name: Name
@@ -54,7 +54,7 @@ en:
54
54
  description: Description
55
55
  price: Price
56
56
  title: Title
57
- weight: Weight
57
+ weight: Order position
58
58
  conference_speaker:
59
59
  affiliation: Affiliation
60
60
  avatar: Avatar
@@ -135,7 +135,7 @@ en:
135
135
  title: Update conference admin.
136
136
  update: Update
137
137
  index:
138
- conference_admins_title: conference admins
138
+ conference_admins_title: Conference admins
139
139
  new:
140
140
  create: Create
141
141
  title: New conference admin.
@@ -313,6 +313,7 @@ en:
313
313
  update: "%{user_name} updated the partner %{resource_name} in the %{space_name} conference"
314
314
  registration_type:
315
315
  create: "%{user_name} created the %{resource_name} registration type in the %{space_name} conference"
316
+ delete: "%{user_name} removed the %{resource_name} registration type from the %{space_name} conference"
316
317
  publish: "%{user_name} published the %{resource_name} registration type in the %{space_name} conference"
317
318
  unpublish: "%{user_name} unpublished the %{resource_name} registration type in the %{space_name} conference"
318
319
  update: "%{user_name} updated the %{resource_name} registration type in the %{space_name} conference"
@@ -380,7 +381,8 @@ en:
380
381
  invite_join_conference_mailer:
381
382
  invite:
382
383
  decline: Decline invitation '%{conference_title}'
383
- invited_you_to_join_a_conference: "%{invited_by} has invited you to join a conference at %{application}. You can decline or accept it through the links below."
384
+ invited_existing_user_to_join_a_conference: "%{invited_by} has invited you to join a conference at %{application}. You can decline or accept it through the links below."
385
+ invited_user_to_join_a_conference: "%{invited_by} has invited you to join a conference at %{application}. You can accept it through the link below."
384
386
  registration: Registration for '%{conference_title}'
385
387
  partners:
386
388
  index:
@@ -431,9 +433,11 @@ en:
431
433
  create:
432
434
  invalid: There was a problem joining this conference.
433
435
  success: You have successfully joined the conference.
436
+ unauthorized: You need to sign in before registering to the conference.
434
437
  decline_invitation:
435
438
  invalid: There was a problem declining the invitation.
436
439
  success: You have successfully declined the invitation.
440
+ unauthorized: You need to sign in before declining the invitation.
437
441
  destroy:
438
442
  invalid: There was a problem leaving this conference.
439
443
  success: You have successfully left the conference.