Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

translate frontend

  • Loading branch information...
commit 7ba59aa1b117ece21a0bcf05a084ecb006c585d5 1 parent 119fcdc
@minktom minktom authored
View
10 app/views/refinery/calendar/events/show.html.erb
@@ -3,18 +3,18 @@
<% end %>
<% content_for :body_content_left do %>
- <h4>Event details</h4>
+ <h4><%= t('.details', default: 'Event Details') %></h4>
<h5><%= @event.venue_name %></h5>
- <p>From <%= @event.from.strftime('%B %d, %Y %I:%M%p') %> to
- <br><%= @event.to.strftime('%B %d, %Y %I:%M%p') %></p>
+ <p><%= t('.from', default: 'From') %> <%= @event.from.strftime('%B %d, %Y %I:%M%p') %><br>
+ <%= t('.to', default: 'To') %> <%= @event.to.strftime('%B %d, %Y %I:%M%p') %></p>
<% if @event.registration_link.present? %>
- <p><%= link_to 'Register for this event', @event.registration_link %></p>
+ <p><%= link_to t('.register', default: 'Register for this event'), @event.registration_link %></p>
<% end -%>
<% if @event.venue_address.present? %>
- <p><%= link_to 'View it on a map', "http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=#{CGI::escape(@event.venue.address)}&ie=UTF8&z=16" %></p>
+ <p><%= link_to t('.view_on_map', default: 'View it on a map'), "http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=#{CGI::escape(@event.venue.address)}&ie=UTF8&z=16" %></p>
<% end -%>
<div class="event_description">
View
5 config/locales/en.yml
@@ -44,6 +44,11 @@ en:
other: Other Venues
events:
show:
+ details: 'Event Details'
+ from: 'From'
+ to: 'To'
+ register: 'Register for this event'
+ view_on_map: 'View it on a map'
other: Other Events
activerecord:
attributes:
View
5 config/locales/hu.yml
@@ -42,6 +42,11 @@ hu:
other: További Helyek
events:
show:
+ details: 'Esemény Adatai'
+ from: 'Kezdete:'
+ to: 'Vége:'
+ register: 'Regisztráció az eseményre'
+ view_on_map: 'Megtekintés térképen'
other: További Események
activerecord:
attributes:
Please sign in to comment.
Something went wrong with that request. Please try again.