localize app

This commit is contained in:
Zachary Chai
2016-11-03 17:23:00 -04:00
parent 84fb5c617f
commit bea502a5a2
12 changed files with 91 additions and 65 deletions

View File

@ -3,20 +3,20 @@
<% @current_user = user %>
<%= text_field :current_user, :name, class: 'form-control meeting-user-name', type: 'hidden' %>
<% else %>
<%= text_field :nil, :nil, class: 'form-control meeting-user-name', placeholder: 'Enter your name' %>
<%= text_field :nil, :nil, class: 'form-control meeting-user-name', placeholder: t('enter_name') %>
<% end %>
<% if admin? %>
<button type="button" class="btn btn-primary center-block meeting-join">
Start
<%= t('start') %>
</button>
<% elsif current_user %>
<button type="button" class="btn btn-primary center-block meeting-join">
Join
<%= t('join') %>
</button>
<% else %>
<span class="input-group-btn">
<button type="button" class="btn btn-primary meeting-join">
Join
<%= t('join') %>
</button>
</span>
<% end %>

View File

@ -8,6 +8,6 @@
</span>
</div>
<small>
<em>Copy this URL to invite others to the meeting</em>
<em><%= t('url_copy_explanation') %></em>
</small>
</div>