adds translations

This commit is contained in:
rgarcia
2015-10-11 17:05:24 +02:00
parent 1a89c5d147
commit 08f3235a9b
3 changed files with 8 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<p class="account-info"> <p class="account-info">
<% if current_user %> <% if current_user %>
Identified as: <%= t("management.account_info.managed_user_title") %>
<% end %> <% end %>
<% if account.username.present? %> <% if account.username.present? %>
@@ -19,5 +19,5 @@
<%= t("management.document_number") %> <%= t("management.document_number") %>
<strong><%= account.document_number %></strong> <strong><%= account.document_number %></strong>
<%= link_to(t("devise_views.menu.login_items.logout"), management_session_path, method: :delete) %> <%= link_to(t("management.account_info.logout"), management_session_path, method: :delete) %>
</p> </p>

View File

@@ -9,6 +9,9 @@ en:
menu: menu:
title: "Management" title: "Management"
users: "Users" users: "Users"
account_info:
managed_user_title: "Identified as:"
logout: "Logout"
dashboard: dashboard:
index: index:
title: "Management" title: "Management"

View File

@@ -9,6 +9,9 @@ es:
menu: menu:
title: "Gestión" title: "Gestión"
users: "Usuarios" users: "Usuarios"
account_info:
managed_user_title: "Identified como:"
logout: "Salir"
dashboard: dashboard:
index: index:
title: "Gestión" title: "Gestión"