decidim-conferences 0.26.3 → 0.26.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) 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 +7 -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/devise/mailer/join_conference.html.erb +2 -2
  10. data/app/views/devise/mailer/join_conference.text.erb +2 -2
  11. data/config/locales/ar.yml +2 -8
  12. data/config/locales/ca.yml +10 -6
  13. data/config/locales/cs.yml +11 -7
  14. data/config/locales/de.yml +5 -8
  15. data/config/locales/el.yml +1 -7
  16. data/config/locales/en.yml +10 -6
  17. data/config/locales/es-MX.yml +11 -7
  18. data/config/locales/es-PY.yml +12 -8
  19. data/config/locales/es.yml +11 -7
  20. data/config/locales/eu.yml +2 -8
  21. data/config/locales/fi-plain.yml +10 -6
  22. data/config/locales/fi.yml +10 -6
  23. data/config/locales/fr-CA.yml +7 -3
  24. data/config/locales/fr.yml +7 -3
  25. data/config/locales/ga-IE.yml +0 -3
  26. data/config/locales/gl.yml +1 -7
  27. data/config/locales/gn-PY.yml +1 -0
  28. data/config/locales/hu.yml +3 -12
  29. data/config/locales/id-ID.yml +1 -10
  30. data/config/locales/it.yml +2 -8
  31. data/config/locales/ja.yml +8 -4
  32. data/config/locales/ka-GE.yml +1 -0
  33. data/config/locales/lb.yml +2 -5
  34. data/config/locales/lo-LA.yml +1 -0
  35. data/config/locales/lt.yml +2 -8
  36. data/config/locales/lv.yml +1 -10
  37. data/config/locales/nl.yml +3 -9
  38. data/config/locales/no.yml +2 -8
  39. data/config/locales/pl.yml +2 -7
  40. data/config/locales/pt-BR.yml +2 -8
  41. data/config/locales/pt.yml +1 -7
  42. data/config/locales/ro-RO.yml +14 -8
  43. data/config/locales/sk.yml +1 -10
  44. data/config/locales/sv.yml +6 -7
  45. data/config/locales/tr-TR.yml +3 -12
  46. data/config/locales/zh-CN.yml +1 -10
  47. data/lib/decidim/conferences/test/factories.rb +4 -0
  48. data/lib/decidim/conferences/version.rb +1 -1
  49. metadata +13 -11
  50. 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: 3be1863152e80c61f8a9ce98a4e160636e06c0382ac892d4a53db1c09efc6fec
4
- data.tar.gz: e3c4ed4c9a8a5dbe3b0e0758751572dd3f66700db6a51defa1a8a7b282ebb377
3
+ metadata.gz: 6575c3f35191e92d5407f36b6c0695fbc26b1171641810e4084b6b418df8d65b
4
+ data.tar.gz: 6a5d014a01d97c9a6cebc36b81d49f85ac484282eef596c4a288b3ee0b008abf
5
5
  SHA512:
6
- metadata.gz: 3418410ef443ddbf00dc22e6c070c8c7f1c1104ef6b05ab8c3a2c743969ed49c25da13d761ad1e25fd83caa7924c7ae5d4ae5ed2a4cc2ac16a96cfa633d3b490
7
- data.tar.gz: 711445613ff058d730ed0cc0f5c84fb9e55be670f39c67c1a974c2f60a93a3648f1116df6871987da91f92fd9a7abd47b6950f1faf1afbc83bb9191c84781d31
6
+ metadata.gz: c93478e77107b4b8c316b776d8d522a3f593bcbf8c690aba7061938190b0aff350e791120c12427c849bd69d0a44d05dc7607d55857e36cad861d53c3bcf9680
7
+ data.tar.gz: fedc5e941a7a16844246650f2cbe5f17daf32f711bdb1453e5a22db25eecd0d65ed09ffac83a20993e62c86d79c9d4fd31f73e56bb9a811232498cd4c4cf5b7c
@@ -100,7 +100,7 @@ module Decidim
100
100
 
101
101
  def invite_user_to_sign_up
102
102
  user.skip_reconfirmation!
103
- user.invite!(invited_by, invitation_instructions: "join_conference", conference: conference)
103
+ user.invite!(invited_by, invitation_instructions: "join_conference", conference: conference, registration_type: form.registration_type)
104
104
  end
105
105
  end
106
106
  end
@@ -20,6 +20,9 @@ module Decidim
20
20
  #
21
21
  # Broadcasts :ok if successful, :invalid otherwise.
22
22
  def call
23
+ return broadcast(:invalid) unless can_join_conference?
24
+ return broadcast(:ok) if already_joined_conference?
25
+
23
26
  conference.with_lock do
24
27
  return broadcast(:invalid) unless can_join_conference?
25
28
 
@@ -58,6 +61,10 @@ module Decidim
58
61
  conference.registrations_enabled? && conference.has_available_slots?
59
62
  end
60
63
 
64
+ def already_joined_conference?
65
+ conference.conference_registrations.where(user: user).any?
66
+ end
67
+
61
68
  def send_email_pending_validation
62
69
  Decidim::Conferences::ConferenceRegistrationMailer.pending_validation(user, conference, @registration_type).deliver_later
63
70
  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>
@@ -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)) %>
@@ -28,7 +28,6 @@ ar:
28
28
  show_statistics: عرض الإحصائيات
29
29
  sign_date: تاريخ التوقيع
30
30
  signature: التوقيع
31
- signature_name: اسم التوقيع
32
31
  slogan: شعار
33
32
  slug: سبيكة العنوان الشبكي
34
33
  start_date: تاريخ البداية
@@ -37,13 +36,11 @@ ar:
37
36
  date: التاريخ
38
37
  link: الرابط
39
38
  title: العنوان
40
- weight: وزن
41
39
  conference_partner:
42
40
  link: الرابط
43
41
  logo: الشعار
44
42
  name: الإسم
45
43
  partner_type: نوع الشريك
46
- weight: وزن
47
44
  conference_registration_invite:
48
45
  email: البريد الإلكتروني
49
46
  name: الإسم
@@ -53,7 +50,6 @@ ar:
53
50
  description: الوصف
54
51
  price: السعر
55
52
  title: العنوان
56
- weight: وزن
57
53
  conference_speaker:
58
54
  affiliation: الانتساب
59
55
  avatar: الصورة الرمزية
@@ -143,8 +139,6 @@ ar:
143
139
  edit:
144
140
  title: تحديث مسؤول المؤتمر.
145
141
  update: تحديث
146
- index:
147
- conference_admins_title: مدراء المؤتمر
148
142
  new:
149
143
  create: إنشاء
150
144
  title: مشرف المؤتمر الجديد.
@@ -393,7 +387,7 @@ ar:
393
387
  invite_join_conference_mailer:
394
388
  invite:
395
389
  decline: رفض الدعوة "%{conference_title}"
396
- invited_you_to_join_a_conference: "%{invited_by} للانضمام إلى مؤتمر في %{application}. يمكنك رفضه أو قبوله من خلال الروابط أدناه."
390
+ invited_existing_user_to_join_a_conference: "%{invited_by} للانضمام إلى مؤتمر في %{application}. يمكنك رفضه أو قبوله من خلال الروابط أدناه."
397
391
  registration: التسجيل لـ "%{conference_title}"
398
392
  partners:
399
393
  index:
@@ -425,7 +419,7 @@ ar:
425
419
  conference_program:
426
420
  program_meeting:
427
421
  content: المحتوى
428
- location: موقعك
422
+ location: الموقع
429
423
  speakers: مكبرات الصوت
430
424
  streaming: تدفق
431
425
  show:
@@ -28,7 +28,7 @@ ca:
28
28
  show_statistics: Mostrar estadístiques
29
29
  sign_date: Data de signatura
30
30
  signature: Signatura
31
- signature_name: nom de la signatura
31
+ signature_name: Nom de la signatura
32
32
  slogan: Eslògan
33
33
  slug: URL amigable
34
34
  start_date: Data d'inici
@@ -37,13 +37,13 @@ ca:
37
37
  date: Data
38
38
  link: Enllaç
39
39
  title: Títol
40
- weight: Pes
40
+ weight: Ordre de posició
41
41
  conference_partner:
42
42
  link: Enllaç
43
43
  logo: Logo
44
44
  name: Nom
45
45
  partner_type: Tipus de col·laboració
46
- weight: Pes
46
+ weight: Ordre de posició
47
47
  conference_registration_invite:
48
48
  email: Correu electrònic
49
49
  name: Nom
@@ -53,7 +53,7 @@ ca:
53
53
  description: Descripció
54
54
  price: Cost
55
55
  title: Títol
56
- weight: Pes
56
+ weight: Ordre de posició
57
57
  conference_speaker:
58
58
  affiliation: Afiliació
59
59
  avatar: Imatge de perfil
@@ -134,7 +134,7 @@ ca:
134
134
  title: Actualitzar administradora de la jornada.
135
135
  update: Actualitzar
136
136
  index:
137
- conference_admins_title: administradores de la jornada
137
+ conference_admins_title: Administradores de la jornada
138
138
  new:
139
139
  create: Crear
140
140
  title: Nova administradora de jornada.
@@ -312,6 +312,7 @@ ca:
312
312
  update: "%{user_name} ha actualitzat la col·laboradora %{resource_name} a la jornada %{space_name}"
313
313
  registration_type:
314
314
  create: "%{user_name} ha creat el tipus d'inscripció %{resource_name} a la jornada %{space_name}"
315
+ delete: "%{user_name} ha eliminat el tipus d'inscripció %{resource_name} a la jornada %{space_name}"
315
316
  publish: "%{user_name} ha publicat el tipus d'inscripció %{resource_name} a la jornada %{space_name}"
316
317
  unpublish: "%{user_name} ha despublicat el tipus d'inscripció %{resource_name} a la jornada %{space_name}"
317
318
  update: "%{user_name} ha actualitzat el tipus d'inscripció %{resource_name} a la jornada %{space_name}"
@@ -379,7 +380,8 @@ ca:
379
380
  invite_join_conference_mailer:
380
381
  invite:
381
382
  decline: Rebutjar la invitació a '%{conference_title}'
382
- 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ó."
383
+ 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ó."
384
+ 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ç."
383
385
  registration: Inscripció a '%{conference_title}'
384
386
  partners:
385
387
  index:
@@ -430,9 +432,11 @@ ca:
430
432
  create:
431
433
  invalid: S'ha produït un error en inscriure't a aquesta jornada.
432
434
  success: T'has inscrit a la jornada correctament.
435
+ unauthorized: Cal que iniciïs la teva sessió abans d'inscriure't a la jornada.
433
436
  decline_invitation:
434
437
  invalid: S'ha produït un error en rebutjar la invitació.
435
438
  success: Has rebutjat la invitació correctament.
439
+ unauthorized: Cal que iniciïs la teva sessió abans de rebutjar la invitació.
436
440
  destroy:
437
441
  invalid: S'ha produït un error en abandonar aquesta jornada.
438
442
  success: Has abandonat la jornada correctament.
@@ -28,7 +28,7 @@ cs:
28
28
  show_statistics: Zobrazit statistiky
29
29
  sign_date: Datum podpisu
30
30
  signature: Podpis
31
- signature_name: podpisové jméno
31
+ signature_name: Podpisové jméno
32
32
  slogan: Motto
33
33
  slug: URL slug
34
34
  start_date: Datum zahájení
@@ -37,13 +37,13 @@ cs:
37
37
  date: Datum
38
38
  link: Odkaz
39
39
  title: Název
40
- weight: Váha
40
+ weight: Pozice v řazení
41
41
  conference_partner:
42
42
  link: Odkaz
43
43
  logo: Logo
44
44
  name: Název
45
45
  partner_type: Typ partnera
46
- weight: Váha
46
+ weight: Pozice v řazení
47
47
  conference_registration_invite:
48
48
  email: E-mail
49
49
  name: Jméno
@@ -53,7 +53,7 @@ cs:
53
53
  description: Popis
54
54
  price: Cena
55
55
  title: Oslovení
56
- weight: Váha
56
+ weight: Pozice v řazení
57
57
  conference_speaker:
58
58
  affiliation: Příslušnost
59
59
  avatar: Avatar
@@ -140,7 +140,7 @@ cs:
140
140
  title: Aktualizovat uživatele konference.
141
141
  update: Aktualizace
142
142
  index:
143
- conference_admins_title: administrátoři konference
143
+ conference_admins_title: Administrátoři konference
144
144
  new:
145
145
  create: Vytvořit
146
146
  title: Nový administrátor konference.
@@ -318,6 +318,7 @@ cs:
318
318
  update: "%{user_name} aktualizoval partnera %{resource_name} na konferenci %{space_name}"
319
319
  registration_type:
320
320
  create: "%{user_name} vytvořil typ registrace %{resource_name} na konferenci %{space_name}"
321
+ delete: "%{user_name} odstranil typ registrace %{resource_name} z konference %{space_name}"
321
322
  publish: "%{user_name} publikoval %{resource_name} typ registrace na %{space_name} konferencích"
322
323
  unpublish: "%{user_name} nepublikováno %{resource_name} typ registrace na %{space_name} konferencích"
323
324
  update: "%{user_name} aktualizoval typ registrace %{resource_name} na konferenci %{space_name}"
@@ -387,7 +388,8 @@ cs:
387
388
  invite_join_conference_mailer:
388
389
  invite:
389
390
  decline: Odmítnout pozvánku '%{conference_title}'
390
- 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ů."
391
+ 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ů."
392
+ 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."
391
393
  registration: Registrace pro "%{conference_title}"
392
394
  partners:
393
395
  index:
@@ -419,7 +421,7 @@ cs:
419
421
  conference_program:
420
422
  program_meeting:
421
423
  content: Obsah
422
- location: Umístění
424
+ location: Lokalita
423
425
  speakers: Řečníci
424
426
  streaming: Streamování
425
427
  show:
@@ -438,9 +440,11 @@ cs:
438
440
  create:
439
441
  invalid: Do této konference došlo k problému.
440
442
  success: Do konference jste se úspěšně připojili.
443
+ unauthorized: Před registrací na konferenci se musíte přihlásit.
441
444
  decline_invitation:
442
445
  invalid: Došlo k potížím s odmítnutím pozvánky.
443
446
  success: Odmítli jste pozvánku úspěšně.
447
+ unauthorized: Před odmítnutím pozvání se musíte přihlásit.
444
448
  destroy:
445
449
  invalid: Při této konferenci došlo k problému.
446
450
  success: Konference jste úspěšně opustili.
@@ -28,7 +28,6 @@ de:
28
28
  show_statistics: Zeige Statistiken
29
29
  sign_date: Unterzeichnungsdatum
30
30
  signature: Unterschrift
31
- signature_name: Signaturname
32
31
  slogan: Slogan
33
32
  slug: URL-Block
34
33
  start_date: Startdatum
@@ -37,13 +36,13 @@ de:
37
36
  date: Datum
38
37
  link: Link
39
38
  title: Titel
40
- weight: Gewicht
39
+ weight: Reihenfolge
41
40
  conference_partner:
42
41
  link: Link
43
42
  logo: Logo
44
43
  name: Name
45
44
  partner_type: Partnertyp
46
- weight: Gewicht
45
+ weight: Reihenfolge
47
46
  conference_registration_invite:
48
47
  email: E-Mail
49
48
  name: Name
@@ -53,7 +52,7 @@ de:
53
52
  description: Beschreibung
54
53
  price: Preis
55
54
  title: Titel
56
- weight: Gewicht
55
+ weight: Reihenfolge
57
56
  conference_speaker:
58
57
  affiliation: Zugehörigkeit
59
58
  avatar: Profilbild
@@ -133,8 +132,6 @@ de:
133
132
  edit:
134
133
  title: Aktualisieren Sie den Konferenzbenutzer.
135
134
  update: Aktualisieren
136
- index:
137
- conference_admins_title: Konferenzbenutzer
138
135
  new:
139
136
  create: Erstellen
140
137
  title: Neuer Konferenzbenutzer
@@ -246,7 +243,7 @@ de:
246
243
  price: Preis
247
244
  registrations_count: Registrierungen zählen
248
245
  title: Titel
249
- weight: Bestellposition
246
+ weight: Reihenfolge
250
247
  name: Registrierungstyp
251
248
  partners:
252
249
  create:
@@ -379,7 +376,7 @@ de:
379
376
  invite_join_conference_mailer:
380
377
  invite:
381
378
  decline: Einladung '%{conference_title}' ablehnen
382
- 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."
379
+ 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."
383
380
  registration: Registrierung für '%{conference_title}'
384
381
  partners:
385
382
  index:
@@ -28,7 +28,6 @@ el:
28
28
  show_statistics: Εμφάνιση στατιστικών
29
29
  sign_date: Ημερομηνία υπογραφής
30
30
  signature: Υπογραφή
31
- signature_name: όνομα υπογραφής
32
31
  slogan: Σύνθημα
33
32
  slug: Slug διεύθυνσης URL
34
33
  start_date: Ημερομηνία έναρξης
@@ -37,13 +36,11 @@ el:
37
36
  date: Ημερομηνία
38
37
  link: Σύνδεσμος
39
38
  title: Τίτλος
40
- weight: Βάρος
41
39
  conference_partner:
42
40
  link: Σύνδεσμος
43
41
  logo: Λογότυπο
44
42
  name: Όνομα
45
43
  partner_type: Τύπος εταίρου
46
- weight: Βάρος
47
44
  conference_registration_invite:
48
45
  name: Όνομα
49
46
  registration_type_id: Τύπος εγγραφής
@@ -52,7 +49,6 @@ el:
52
49
  description: Περιγραφή
53
50
  price: Τιμή
54
51
  title: Τίτλος
55
- weight: Βάρος
56
52
  conference_speaker:
57
53
  affiliation: Δεσμός
58
54
  avatar: Εικόνα Χρήστη
@@ -130,8 +126,6 @@ el:
130
126
  edit:
131
127
  title: Ενημέρωση διαχειριστή διάσκεψης.
132
128
  update: Ενημέρωση
133
- index:
134
- conference_admins_title: διαχειριστές διάσκεψης
135
129
  new:
136
130
  create: Δημιουργία
137
131
  title: Νέος διαχειριστής διάσκεψης.
@@ -376,7 +370,7 @@ el:
376
370
  invite_join_conference_mailer:
377
371
  invite:
378
372
  decline: Απόρριψη πρόσκλησης «%{conference_title}»
379
- invited_you_to_join_a_conference: "Ο χρήστης %{invited_by} σάς προσκάλεσε να συμμετάσχετε σε μια διάσκεψη στην εφαρμογή %{application}. Μπορείτε να την απορρίψετε ή να την αποδεχτείτε μέσω των παρακάτω συνδέσμων."
373
+ invited_existing_user_to_join_a_conference: "Ο χρήστης %{invited_by} σάς προσκάλεσε να συμμετάσχετε σε μια διάσκεψη στην εφαρμογή %{application}. Μπορείτε να την απορρίψετε ή να την αποδεχτείτε μέσω των παρακάτω συνδέσμων."
380
374
  registration: Εγγραφή για τη διάσκεψη «%{conference_title}»
381
375
  partners:
382
376
  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.