decidim-conferences 0.22.0 → 0.23.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/conferences/conference_m_cell.rb +4 -0
  3. data/app/cells/decidim/conferences/registration_type_cell.rb +2 -2
  4. data/app/commands/decidim/conferences/admin/create_partner.rb +9 -9
  5. data/app/commands/decidim/conferences/admin/update_conference.rb +10 -3
  6. data/app/forms/decidim/conferences/admin/conference_form.rb +5 -2
  7. data/app/forms/decidim/conferences/admin/conference_speaker_form.rb +12 -1
  8. data/app/forms/decidim/conferences/admin/diploma_form.rb +6 -2
  9. data/app/forms/decidim/conferences/admin/partner_form.rb +16 -1
  10. data/app/models/decidim/conference.rb +16 -1
  11. data/app/models/decidim/conference_speaker.rb +5 -2
  12. data/app/models/decidim/conferences/media_link.rb +3 -0
  13. data/app/models/decidim/conferences/partner.rb +5 -1
  14. data/app/models/decidim/conferences/registration_type.rb +3 -0
  15. data/app/presenters/decidim/conferences/admin_log/{conferences_presenter.rb → conference_presenter.rb} +2 -2
  16. data/app/presenters/decidim/conferences/admin_log/conference_registration_presenter.rb +2 -2
  17. data/app/presenters/decidim/conferences/admin_log/conference_speaker_presenter.rb +2 -2
  18. data/app/presenters/decidim/conferences/admin_log/{conferences_user_role_presenter.rb → conference_user_role_presenter.rb} +2 -2
  19. data/app/presenters/decidim/conferences/admin_log/media_link_presenter.rb +2 -2
  20. data/app/presenters/decidim/conferences/admin_log/partner_presenter.rb +2 -2
  21. data/app/presenters/decidim/conferences/admin_log/registration_type_presenter.rb +2 -2
  22. data/app/views/decidim/conferences/registration_types/index.html.erb +1 -1
  23. data/app/views/layouts/decidim/conference.html.erb +1 -0
  24. data/config/locales/am-ET.yml +1 -0
  25. data/config/locales/bg.yml +7 -0
  26. data/config/locales/ca.yml +1 -0
  27. data/config/locales/cs.yml +22 -21
  28. data/config/locales/da.yml +1 -0
  29. data/config/locales/de.yml +45 -44
  30. data/config/locales/en.yml +1 -0
  31. data/config/locales/eo.yml +1 -0
  32. data/config/locales/es-MX.yml +1 -0
  33. data/config/locales/es-PY.yml +2 -1
  34. data/config/locales/es.yml +2 -1
  35. data/config/locales/et.yml +1 -0
  36. data/config/locales/fi-plain.yml +2 -1
  37. data/config/locales/fi.yml +4 -3
  38. data/config/locales/fr-CA.yml +1 -0
  39. data/config/locales/fr.yml +4 -3
  40. data/config/locales/hr.yml +1 -0
  41. data/config/locales/hu.yml +1 -1
  42. data/config/locales/is.yml +1 -0
  43. data/config/locales/it.yml +1 -0
  44. data/config/locales/ja-JP.yml +107 -107
  45. data/config/locales/ja.yml +576 -0
  46. data/config/locales/ko-KR.yml +1 -0
  47. data/config/locales/ko.yml +1 -0
  48. data/config/locales/lt.yml +1 -0
  49. data/config/locales/{lv-LV.yml → lv.yml} +0 -0
  50. data/config/locales/mt.yml +1 -0
  51. data/config/locales/nl.yml +7 -6
  52. data/config/locales/no.yml +9 -0
  53. data/config/locales/om-ET.yml +1 -0
  54. data/config/locales/pl.yml +20 -19
  55. data/config/locales/si-LK.yml +1 -0
  56. data/config/locales/sl.yml +5 -0
  57. data/config/locales/so-SO.yml +1 -0
  58. data/config/locales/sv.yml +3 -2
  59. data/config/locales/sw-KE.yml +1 -0
  60. data/config/locales/ti-ER.yml +1 -0
  61. data/config/locales/tr-TR.yml +68 -58
  62. data/config/locales/vi-VN.yml +1 -0
  63. data/config/locales/vi.yml +1 -0
  64. data/config/locales/zh-CN.yml +576 -0
  65. data/config/locales/zh-TW.yml +1 -0
  66. data/lib/decidim/conferences/admin_engine.rb +1 -0
  67. data/lib/decidim/conferences/participatory_space.rb +11 -11
  68. data/lib/decidim/conferences/test/factories.rb +3 -3
  69. data/lib/decidim/conferences/version.rb +1 -1
  70. metadata +39 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e927274e7911f8f49d468aa0d0102712d9271549757ff974f97b65dee4f12800
4
- data.tar.gz: f0a57fd51a3fcec014bd6dbb1ddedf1a646d7bd25a9d726248e1de5f254c9914
3
+ metadata.gz: 76e05e50396ac0d639819e9355e1dd1c08519aabeed44643ae6b20f116e1539e
4
+ data.tar.gz: 052d02f80f30d28808ce7b9c3b3017f418ffb49b5d969deec9c75becc93a0bbe
5
5
  SHA512:
6
- metadata.gz: 1fe6c3aea3cd56b87ff3771cb04965d3473f70553fbbef087dcacc7adbe097c3c7fa8501a79b390c29d81ae7781b3b1e3f511e9582ff08cf508d22ff1ac65455
7
- data.tar.gz: b3f935e675ed4cc6ab24b81243b4b157ca238f57a0eb7674db1e1e44dcc55aa789f341454cb0278a81acae1aef1476024651aa613d63e8a25e48c0b46c13c64c
6
+ metadata.gz: f98072cd1897a9e4c5e824665c0d39fe7745ec41a88bf85239babd0510d4f51da2e416170ef9b3930941c03d827d53cf7a91a90428b3cff11b480ca74f9bdd5d
7
+ data.tar.gz: a1868c81d78d0407e67a0ca4fabaf60cc2102f50490b63cb3945f77d3e69f1a8ea552071cd827a093e253fe43e406d81c18de7167f67679892241eb1a0f55a44
@@ -14,6 +14,10 @@ module Decidim
14
14
 
15
15
  private
16
16
 
17
+ def title
18
+ decidim_html_escape(super)
19
+ end
20
+
17
21
  def has_image?
18
22
  true
19
23
  end
@@ -18,11 +18,11 @@ module Decidim
18
18
  delegate :current_user, to: :controller, prefix: false
19
19
 
20
20
  def title
21
- translated_attribute model.title
21
+ decidim_sanitize translated_attribute model.title
22
22
  end
23
23
 
24
24
  def description
25
- translated_attribute model.description
25
+ decidim_sanitize translated_attribute model.description
26
26
  end
27
27
 
28
28
  def price
@@ -49,15 +49,15 @@ module Decidim
49
49
  @partner = Decidim.traceability.create!(
50
50
  Decidim::Conferences::Partner,
51
51
  form.current_user,
52
- form.attributes.slice(
53
- :name,
54
- :weight,
55
- :link,
56
- :partner_type,
57
- :logo,
58
- :remove_avatar
59
- ).merge(
60
- conference: conference
52
+ { conference: conference }.merge(
53
+ form.attributes.slice(
54
+ :name,
55
+ :weight,
56
+ :link,
57
+ :partner_type,
58
+ :logo,
59
+ :remove_avatar
60
+ )
61
61
  ),
62
62
  log_info
63
63
  )
@@ -81,13 +81,20 @@ module Decidim
81
81
  location: form.location,
82
82
  start_date: form.start_date,
83
83
  end_date: form.end_date,
84
- hero_image: form.hero_image,
85
- banner_image: form.banner_image,
86
84
  promoted: form.promoted,
87
85
  scopes_enabled: form.scopes_enabled,
88
86
  scope: form.scope,
89
87
  show_statistics: form.show_statistics
90
- }
88
+ }.merge(uploader_attributes)
89
+ end
90
+
91
+ def uploader_attributes
92
+ {
93
+ hero_image: form.hero_image,
94
+ remove_hero_image: form.remove_hero_image,
95
+ banner_image: form.banner_image,
96
+ remove_banner_image: form.remove_banner_image
97
+ }.delete_if { |_k, val| val.is_a?(Decidim::ApplicationUploader) }
91
98
  end
92
99
 
93
100
  def send_notification_registrations_enabled
@@ -8,6 +8,7 @@ module Decidim
8
8
  #
9
9
  class ConferenceForm < Form
10
10
  include TranslatableAttributes
11
+ include Decidim::HasUploadValidations
11
12
 
12
13
  translatable_attribute :title, String
13
14
  translatable_attribute :slogan, String
@@ -45,13 +46,15 @@ module Decidim
45
46
  validates :registration_terms, translatable_presence: true, if: ->(form) { form.registrations_enabled? }
46
47
  validates :available_slots, numericality: { greater_than_or_equal_to: 0 }, if: ->(form) { form.registrations_enabled? }
47
48
 
48
- validates :hero_image, file_size: { less_than_or_equal_to: ->(_record) { Decidim.maximum_attachment_size } }, file_content_type: { allow: ["image/jpeg", "image/png"] }
49
- validates :banner_image, file_size: { less_than_or_equal_to: ->(_record) { Decidim.maximum_attachment_size } }, file_content_type: { allow: ["image/jpeg", "image/png"] }
49
+ validates :hero_image, passthru: { to: Decidim::Conference }
50
+ validates :banner_image, passthru: { to: Decidim::Conference }
50
51
  validate :available_slots_greater_than_or_equal_to_registrations_count, if: ->(form) { form.registrations_enabled? && form.available_slots.positive? }
51
52
 
52
53
  validates :start_date, presence: true, date: { before_or_equal_to: :end_date }
53
54
  validates :end_date, presence: true, date: { after_or_equal_to: :start_date }
54
55
 
56
+ alias organization current_organization
57
+
55
58
  def map_model(model)
56
59
  self.scope_id = model.decidim_scope_id
57
60
  end
@@ -26,7 +26,18 @@ module Decidim
26
26
  validates :full_name, presence: true, unless: proc { |object| object.existing_user }
27
27
  validates :user, presence: true, if: proc { |object| object.existing_user }
28
28
  validates :position, :affiliation, presence: true
29
- validates :avatar, file_size: { less_than_or_equal_to: ->(_record) { Decidim.maximum_avatar_size } }
29
+ validates :avatar, passthru: {
30
+ to: Decidim::ConferenceSpeaker,
31
+ with: {
32
+ # The speaker gets its organization context through the conference
33
+ # object which is why we need to create a dummy conference in order
34
+ # to pass the correct organization context to the file upload
35
+ # validators.
36
+ conference: lambda do |form|
37
+ Decidim::Conference.new(organization: form.current_organization)
38
+ end
39
+ }
40
+ }
30
41
  validate :personal_url_format
31
42
 
32
43
  def personal_url
@@ -7,6 +7,8 @@ module Decidim
7
7
  # from the admin dashboard
8
8
  #
9
9
  class DiplomaForm < Form
10
+ include Decidim::HasUploadValidations
11
+
10
12
  mimic :conference
11
13
 
12
14
  attribute :main_logo
@@ -16,8 +18,10 @@ module Decidim
16
18
 
17
19
  validates :signature_name, :sign_date, :main_logo, :signature, presence: true
18
20
 
19
- validates :main_logo, file_size: { less_than_or_equal_to: ->(_record) { Decidim.maximum_attachment_size } }, file_content_type: { allow: ["image/jpeg", "image/png"] }
20
- validates :signature, file_size: { less_than_or_equal_to: ->(_record) { Decidim.maximum_attachment_size } }, file_content_type: { allow: ["image/jpeg", "image/png"] }
21
+ validates :main_logo, passthru: { to: Decidim::Conference }
22
+ validates :signature, passthru: { to: Decidim::Conference }
23
+
24
+ alias organization current_organization
21
25
  end
22
26
  end
23
27
  end
@@ -5,6 +5,8 @@ module Decidim
5
5
  module Admin
6
6
  # A form object used to create conference members from the admin dashboard.
7
7
  class PartnerForm < Form
8
+ include Decidim::HasUploadValidations
9
+
8
10
  mimic :conference_partner
9
11
 
10
12
  attribute :name, String
@@ -15,11 +17,24 @@ module Decidim
15
17
  attribute :remove_logo
16
18
 
17
19
  validates :name, :partner_type, presence: true, if: ->(form) { form.logo.present? }
18
- validates :logo, file_size: { less_than_or_equal_to: ->(_record) { Decidim.maximum_avatar_size } }
20
+ validates :logo, passthru: {
21
+ to: Decidim::Conferences::Partner,
22
+ with: {
23
+ # The partner gets its organization context through the conference
24
+ # object which is why we need to create a dummy conference in order
25
+ # to pass the correct organization context to the file upload
26
+ # validators.
27
+ conference: lambda do |form|
28
+ Decidim::Conference.new(organization: form.current_organization)
29
+ end
30
+ }
31
+ }
19
32
  validate :link_format
20
33
  validates :weight, numericality: { greater_than_or_equal_to: 0 }
21
34
  validates :partner_type, inclusion: { in: Decidim::Conferences::Partner::TYPES }
22
35
 
36
+ alias organization current_organization
37
+
23
38
  def link
24
39
  return if super.blank?
25
40
 
@@ -10,13 +10,17 @@ module Decidim
10
10
  include Decidim::HasAttachmentCollections
11
11
  include Decidim::Participable
12
12
  include Decidim::Publicable
13
- include Decidim::Scopable
13
+ include Decidim::ScopableParticipatorySpace
14
14
  include Decidim::Followable
15
15
  include Decidim::HasReference
16
16
  include Decidim::Traceable
17
17
  include Decidim::Loggable
18
18
  include Decidim::ParticipatorySpaceResourceable
19
19
  include Decidim::Searchable
20
+ include Decidim::HasUploadValidations
21
+ include Decidim::TranslatableResource
22
+
23
+ translatable_fields :title, :slogan, :short_description, :description, :objectives, :registration_terms
20
24
 
21
25
  belongs_to :organization,
22
26
  foreign_key: "decidim_organization_id",
@@ -51,9 +55,16 @@ module Decidim
51
55
  validates :slug, uniqueness: { scope: :organization }
52
56
  validates :slug, presence: true, format: { with: Decidim::Conference.slug_format }
53
57
 
58
+ validates_upload :hero_image
54
59
  mount_uploader :hero_image, Decidim::HeroImageUploader
60
+
61
+ validates_upload :banner_image
55
62
  mount_uploader :banner_image, Decidim::HomepageImageUploader
63
+
64
+ validates_upload :main_logo
56
65
  mount_uploader :main_logo, Decidim::Conferences::DiplomaUploader
66
+
67
+ validates_upload :signature
57
68
  mount_uploader :signature, Decidim::Conferences::DiplomaUploader
58
69
 
59
70
  searchable_fields({
@@ -124,6 +135,10 @@ module Decidim
124
135
  roles.where(role: role_name)
125
136
  end
126
137
 
138
+ def attachment_context
139
+ :admin
140
+ end
141
+
127
142
  # Allow ransacker to search for a key in a hstore column (`title`.`en`)
128
143
  ransacker :title do |parent|
129
144
  Arel::Nodes::InfixOperation.new("->>", parent.table[:title], Arel::Nodes.build_quoted(I18n.locale.to_s))
@@ -6,16 +6,19 @@ module Decidim
6
6
  class ConferenceSpeaker < ApplicationRecord
7
7
  include Decidim::Traceable
8
8
  include Decidim::Loggable
9
+ include Decidim::HasUploadValidations
10
+ include Decidim::TranslatableResource
11
+
12
+ translatable_fields :position, :affiliation, :short_bio
9
13
 
10
14
  belongs_to :user, foreign_key: "decidim_user_id", class_name: "Decidim::User", optional: true
11
15
  belongs_to :conference, foreign_key: "decidim_conference_id", class_name: "Decidim::Conference"
12
16
  has_many :conference_speaker_conference_meetings, dependent: :destroy
13
17
  has_many :conference_meetings, through: :conference_speaker_conference_meetings, foreign_key: "conference_speaker_id", class_name: "Decidim::ConferenceMeeting"
14
18
 
15
- validates :avatar, file_size: { less_than_or_equal_to: ->(_record) { Decidim.maximum_avatar_size } }
16
-
17
19
  default_scope { order(full_name: :asc, created_at: :asc) }
18
20
 
21
+ validates_avatar
19
22
  mount_uploader :avatar, Decidim::AvatarUploader
20
23
 
21
24
  delegate :organization, to: :conference
@@ -6,6 +6,9 @@ module Decidim
6
6
  class MediaLink < ApplicationRecord
7
7
  include Decidim::Traceable
8
8
  include Decidim::Loggable
9
+ include Decidim::TranslatableResource
10
+
11
+ translatable_fields :title
9
12
 
10
13
  belongs_to :conference, foreign_key: "decidim_conference_id", class_name: "Decidim::Conference"
11
14
 
@@ -6,15 +6,19 @@ module Decidim
6
6
  class Partner < ApplicationRecord
7
7
  include Decidim::Traceable
8
8
  include Decidim::Loggable
9
+ include Decidim::HasUploadValidations
9
10
 
10
11
  TYPES = %w(main_promotor collaborator).freeze
11
12
 
12
13
  belongs_to :conference, foreign_key: "decidim_conference_id", class_name: "Decidim::Conference"
13
- validates :logo, file_size: { less_than_or_equal_to: ->(_record) { Decidim.maximum_avatar_size } }
14
14
 
15
15
  default_scope { order(partner_type: :desc, weight: :asc) }
16
+
17
+ validates_avatar :logo
16
18
  mount_uploader :logo, Decidim::Conferences::PartnerLogoUploader
17
19
 
20
+ delegate :organization, to: :conference
21
+
18
22
  alias participatory_space conference
19
23
 
20
24
  def self.log_presenter_class_for(_log)
@@ -7,6 +7,9 @@ module Decidim
7
7
  include Decidim::Publicable
8
8
  include Decidim::Traceable
9
9
  include Decidim::Loggable
10
+ include Decidim::TranslatableResource
11
+
12
+ translatable_fields :title, :description
10
13
 
11
14
  belongs_to :conference, foreign_key: "decidim_conference_id", class_name: "Decidim::Conference"
12
15
  has_many :conference_meeting_registration_types, dependent: :destroy
@@ -48,8 +48,8 @@ module Decidim
48
48
  end
49
49
  end
50
50
 
51
- def has_diff?
52
- action == "unpublish" || super
51
+ def diff_actions
52
+ super + %w(unpublish)
53
53
  end
54
54
  end
55
55
  end
@@ -34,8 +34,8 @@ module Decidim
34
34
  end
35
35
  end
36
36
 
37
- def has_diff?
38
- action == "delete" || super
37
+ def diff_actions
38
+ super + %w(delete)
39
39
  end
40
40
  end
41
41
  end
@@ -43,8 +43,8 @@ module Decidim
43
43
  end
44
44
  end
45
45
 
46
- def has_diff?
47
- action == "delete" || super
46
+ def diff_actions
47
+ super + %w(delete)
48
48
  end
49
49
  end
50
50
  end
@@ -44,8 +44,8 @@ module Decidim
44
44
  ).changeset
45
45
  end
46
46
 
47
- def has_diff?
48
- action == "delete" || super
47
+ def diff_actions
48
+ super + %w(delete)
49
49
  end
50
50
  end
51
51
  end
@@ -36,8 +36,8 @@ module Decidim
36
36
  end
37
37
  end
38
38
 
39
- def has_diff?
40
- action == "delete" || super
39
+ def diff_actions
40
+ super + %w(delete)
41
41
  end
42
42
  end
43
43
  end
@@ -38,8 +38,8 @@ module Decidim
38
38
  end
39
39
  end
40
40
 
41
- def has_diff?
42
- action == "delete" || super
41
+ def diff_actions
42
+ super + %w(delete)
43
43
  end
44
44
  end
45
45
  end
@@ -36,8 +36,8 @@ module Decidim
36
36
  end
37
37
  end
38
38
 
39
- def has_diff?
40
- action == "delete" || super
39
+ def diff_actions
40
+ super + %w(delete)
41
41
  end
42
42
  end
43
43
  end
@@ -23,7 +23,7 @@ edit_link(
23
23
  <%= cell "decidim/conferences/registration_type", registration_type, allowed: allowed_to?(:join, :conference, conference: current_participatory_space) %>
24
24
  <% end %>
25
25
  <% else %>
26
- No registrations
26
+ <%= t("registration_types.index.no_registrations", scope: "decidim.conferences") %>
27
27
  <% end %>
28
28
  </section>
29
29
  </div>
@@ -8,6 +8,7 @@
8
8
  <%= render "layouts/decidim/application" do %>
9
9
  <%= render partial: "layouts/decidim/conference_hero" %>
10
10
  <%= render partial: "layouts/decidim/conferences_nav" %>
11
+ <%= cell "decidim/translation_bar", current_organization %>
11
12
  <div class="wrapper">
12
13
  <%= yield %>
13
14
  </div>
@@ -0,0 +1 @@
1
+ am:
@@ -0,0 +1,7 @@
1
+ bg:
2
+ activemodel:
3
+ attributes:
4
+ conference:
5
+ assemblies_ids: Свързани събрания
6
+ banner_image: Банер изображение
7
+ consultations_ids: Свързани консултации
@@ -475,6 +475,7 @@ ca:
475
475
  index:
476
476
  choose_an_option: 'Tria el teu tipus d''inscripció:'
477
477
  login_as: Has iniciat la sessió com a %{name} <%{email}>
478
+ no_registrations: Sense insripcions
478
479
  register: Inscriu-te
479
480
  title: Tipus d'inscripció
480
481
  shared:
@@ -8,18 +8,18 @@ cs:
8
8
  copy_categories: Kopírovat kategorie
9
9
  copy_components: Kopírování komponent
10
10
  copy_features: Funkce kopírování
11
- decidim_scope_id: Rozsah
11
+ decidim_scope_id: Oblast působnosti
12
12
  description: Popis
13
13
  hashtag: Hashtag
14
14
  hero_image: Obrázek na hlavní stránce
15
15
  participatory_processes_ids: Související procesy účasti
16
16
  promoted: Propagováno
17
17
  published_at: Publikováno v
18
- scope_id: Rozsah
19
- scopes_enabled: Schopnosti povoleny
18
+ scope_id: Oblast působnosti
19
+ scopes_enabled: Oblasti působnosti povoleny
20
20
  short_description: Stručný popis
21
21
  show_statistics: Zobrazit statistiky
22
- slogan: Heslo
22
+ slogan: Motto
23
23
  slug: URL slug
24
24
  title: Titul
25
25
  conference_speaker:
@@ -76,9 +76,9 @@ cs:
76
76
  conference_speakers:
77
77
  create:
78
78
  error: Při přidání řečníka k této konferenci došlo k chybě.
79
- success: Přednášející byl úspěšně vytvořen pro tuto konferenci.
79
+ success: Řečník byl úspěšně vytvořen pro tuto konferenci.
80
80
  destroy:
81
- success: Reproduktor byl úspěšně smazán pro tuto konferenci.
81
+ success: Řečník byl úspěšně smazán pro tuto konferenci.
82
82
  edit:
83
83
  title: Aktualizovat řečníka konference.
84
84
  update: Aktualizace
@@ -89,7 +89,7 @@ cs:
89
89
  title: Nový řečník konference.
90
90
  update:
91
91
  error: Při této konferenci došlo k chybě při aktualizaci řečníka.
92
- success: Speaker se úspěšně pro tuto konferenci úspěšně aktualizoval.
92
+ success: Řečník konference byl úspěšně aktualizován.
93
93
  conference_user_roles:
94
94
  create:
95
95
  error: Při přidávání administrátora této konference došlo k chybě.
@@ -143,10 +143,10 @@ cs:
143
143
  media_links_title: Odkazy na média
144
144
  new:
145
145
  create: Vytvořit
146
- title: Odkaz na media
146
+ title: Odkaz na média
147
147
  update:
148
148
  error: Při aktualizaci tohoto odkazu na média došlo k chybě.
149
- success: Media Link byl úspěšně aktualizován.
149
+ success: Odkaz na média byl úspěšně aktualizován.
150
150
  menu:
151
151
  conferences: Konference
152
152
  conferences_submenu:
@@ -195,7 +195,7 @@ cs:
195
195
  date: datum
196
196
  link: Odkaz
197
197
  title: Název
198
- name: Media Link
198
+ name: Odkaz na média
199
199
  partner:
200
200
  fields:
201
201
  link: Odkaz
@@ -212,7 +212,7 @@ cs:
212
212
  price: Cena
213
213
  registrations_count: Registrace se počítají
214
214
  title: Název
215
- weight: Hmotnost
215
+ weight: Váha
216
216
  name: Typ registrace
217
217
  partners:
218
218
  create:
@@ -263,7 +263,7 @@ cs:
263
263
  update_diploma: "%{user_name} aktualizovala certifikáty pro účast na %{resource_name} konferenci"
264
264
  conference_speaker:
265
265
  create: "%{user_name} vytvořil %{resource_name} řečníka na konferenci %{space_name}"
266
- delete: "%{user_name} odstranila %{resource_name} reproduktor z %{space_name} konferencí"
266
+ delete: "%{user_name} odstranil řečníka %{resource_name} z konference %{space_name}"
267
267
  update: "%{user_name} aktualizoval %{resource_name} řečníka na konferenci %{space_name}"
268
268
  conference_user_role:
269
269
  create: "%{user_name} pozval %{resource_name} na konferenci %{space_name}"
@@ -282,9 +282,9 @@ cs:
282
282
  unpublish: "%{user_name} nepublikováno %{resource_name} typ registrace na %{space_name} konferencích"
283
283
  update: "%{user_name} aktualizoval typ registrace %{resource_name} na konferenci %{space_name}"
284
284
  media_link:
285
- create: "%{user_name} vytvořilo %{resource_name} mediální odkaz na konferenci %{space_name}"
286
- delete: "%{user_name} odstranilo %{resource_name} odkaz na média z %{space_name} konferencí"
287
- update: "%{user_name} aktualizovalo %{resource_name} odkaz na média v %{space_name} konferenci"
285
+ create: "%{user_name} vytvořil %{resource_name} odkaz na média v konferenci %{space_name}"
286
+ delete: "%{user_name} odstranil %{resource_name} odkaz na média z konference %{space_name}"
287
+ update: "%{user_name} aktualizoval %{resource_name} odkaz na média v konferenci %{space_name}"
288
288
  conference_program:
289
289
  index:
290
290
  title: Program
@@ -380,7 +380,7 @@ cs:
380
380
  program_meeting:
381
381
  content: Obsah
382
382
  location: Umístění
383
- speakers: Reproduktory
383
+ speakers: Řečníci
384
384
  streaming: Streamování
385
385
  show:
386
386
  day: Den
@@ -388,11 +388,11 @@ cs:
388
388
  conference_registration_mailer:
389
389
  confirmation:
390
390
  confirmed_html: Vaše registrace pro konferenci <a href="%{url}">%{title}</a> byla potvrzena.
391
- details_1: 'Jste přihlášeni do konference s typem %{registration_type}. cenu %{price} a můžete se zúčastnit následujících akcí:'
391
+ details_1: 'Jste přihlášeni do konference s typem %{registration_type}. Stojí %{price} a můžete se zúčastnit následujících akcí:'
392
392
  details_2: Podrobnosti o konferenci naleznete v příloze.
393
393
  pending_validation:
394
394
  confirmation_pending: Potvrzení obdržíte brzy
395
- details: 'Zaregistrovali jste se na typ %{registration_type} s cenou %{price} a můžete se zúčastnit následujících událostí:'
395
+ details: 'Zaregistrovali jste se na typ konference %{registration_type} s cenou %{price} a můžete se zúčastnit následujících událostí:'
396
396
  pending_html: Vaše registrace pro konferenci <a href="%{url}">%{title}</a> čeká na potvrzení.
397
397
  conference_registrations:
398
398
  create:
@@ -417,7 +417,7 @@ cs:
417
417
  go_to_twitter: Přejděte na Twitter
418
418
  conference_speakers:
419
419
  index:
420
- speakers: Reproduktory
420
+ speakers: Řečníci
421
421
  conferences:
422
422
  partners:
423
423
  collaborators: Partneři
@@ -460,7 +460,7 @@ cs:
460
460
  email: E-mail
461
461
  name: název
462
462
  registration_type: Typ registrace
463
- state: Stát
463
+ state: Stav
464
464
  states:
465
465
  confirmed: Potvrzeno
466
466
  pending: čekající
@@ -483,6 +483,7 @@ cs:
483
483
  index:
484
484
  choose_an_option: 'Vyberte možnost registrace:'
485
485
  login_as: Jste přihlášeni jako %{name} <%{email}>
486
+ no_registrations: Žádné registrace
486
487
  register: Registrovat
487
488
  title: Typy registrace
488
489
  shared:
@@ -585,6 +586,6 @@ cs:
585
586
  conferences_nav:
586
587
  conference_menu_item: Informace
587
588
  conference_partners_menu_item: Partneři
588
- conference_speaker_menu_item: Reproduktory
589
+ conference_speaker_menu_item: Řečníci
589
590
  media: Média
590
591
  venues: Místa