Commit aeca0f34 authored by gwendal's avatar gwendal
Browse files

Better internationalization

parent 90d67f8b
......@@ -6,11 +6,11 @@
<p class="t_service_ended"><strong><%= t('.ended') %></strong></p>
<% end %>
<p class="t_service_login">
<b><%= t('activerecord.attributes.service.login') %>:</b>
<b><%= Service.human_attribute_name('login') %> :</b>
<%= @service.login %>
<p class="t_service_ips">
<b><%= t('service.service_ips') %>:</b>
<b><%= Service.human_attribute_name('service_ips') %> :</b>
<% [4, 6].each do |v| %>
<li><%= @service.last_ip(v).try(:addr) %></li>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment