add alias for booth

Booth can be replaced with any alias by replacing it in alias.en.yml. This change is introduced as some events do not use booth but uses other words such as stand.
This commit is contained in:
Rahul 2019-07-22 00:59:17 +05:30
parent 770a63e15c
commit 8c38de6cfd
29 changed files with 82 additions and 75 deletions

View file

@ -13,15 +13,15 @@
= f.input :website_url
= responsibles_selector_input f
= f.input :invite_responsible,
hint: 'This field is to invite unregistered users using their email to become booth responsibles.'
hint: "This field is to invite unregistered users using their email to become #{(t'booth_responsible').pluralize}."
= image_tag f.object.picture.thumb.url if f.object.picture?
= f.input :picture
%p.text-right
- if @booth.new_record?
= f.submit 'Create Booth Request', class: 'btn btn-success'
= f.submit "Create #{(t'booth').capitalize } Request", class: 'btn btn-success'
- else
= f.submit 'Update Booth Request', class: 'btn btn-success'
= f.submit "Update #{(t'booth').capitalize } Request", class: 'btn btn-success'
:javascript
$(document).ready(function() {

View file

@ -2,7 +2,7 @@
.row
.col-md-12.page-header
%h1
Your booth requests for
Your #{t'booth'} requests for
= @conference.title
.row
.col-md-12
@ -48,4 +48,4 @@
restart_conference_booth_path(@conference.short_title, booth),
method: :patch, class: 'btn btn-mini btn-success', id: "restart_booth_#{booth.id}"
.pull-right
= link_to 'Add Booth', new_conference_booth_path(@conference.short_title), class: 'button btn btn-primary'
= link_to "Add #{(t'booth').capitalize }", new_conference_booth_path(@conference.short_title), class: 'button btn btn-primary'

View file

@ -1,4 +1,4 @@
.container
%h1 Request a booth
%h1 Request a #{t'booth'}
= render 'form'