Fixes i18n failures

This commit is contained in:
kikito
2015-10-08 17:19:29 +02:00
parent 4c7dcbed39
commit 37592d8fa5
4 changed files with 9 additions and 9 deletions

View File

@@ -1,14 +1,15 @@
<nav class="admin-sidebar"> <nav class="admin-sidebar">
<ul id="admin_menu"> <ul id="admin_menu">
<li> <li>
<%= link_to t("management.dashboard.index.title"), management_root_path %> <%= link_to t("management.menu.title"), management_root_path %>
</li> </li>
<li <%= "class=active" if controller_name == "document_verifications" || <li <%= "class=active" if controller_name == "document_verifications" ||
controller_name == "email_verifications" %>> controller_name == "email_verifications" ||
controller_name == "users" %>>
<%= link_to management_document_verifications_path do %> <%= link_to management_document_verifications_path do %>
<i class="icon-tag"></i> <i class="icon-tag"></i>
<%= t("management.menu.on_site_verifications") %> <%= t("management.menu.users") %>
<% end %> <% end %>
</li> </li>
</ul> </ul>

View File

@@ -15,6 +15,6 @@ en:
title: Please verify yourself title: Please verify yourself
instructions_html: "We need to verify you using this email, which we got from the Census. %{verification_link}" instructions_html: "We need to verify you using this email, which we got from the Census. %{verification_link}"
click_here_to_verify: "Please click here to verify yourself" click_here_to_verify: "Please click here to verify yourself"
instructions_html_2: "This email will verify your account with <b>%{document_type} %{document_number}</b>. If these don't belong to you, please don't click on the previous link and ignore this email." instructions_2_html: "This email will verify your account with <b>%{document_type} %{document_number}</b>. If these don't belong to you, please don't click on the previous link and ignore this email."
thanks: "Thanks" thanks: "Thanks"

View File

@@ -1,6 +1,5 @@
en: en:
management: management:
print: "Print"
print_info: "Print this info" print_info: "Print this info"
username_label: "User name" username_label: "User name"
email_label: "Email" email_label: "Email"
@@ -8,7 +7,8 @@ en:
document_number: "Document number" document_number: "Document number"
document_type_label: "Document type" document_type_label: "Document type"
menu: menu:
document_verifications: "Users" title: "Management"
users: "Users"
dashboard: dashboard:
index: index:
title: "Management" title: "Management"

View File

@@ -1,6 +1,5 @@
es: es:
management: management:
print: "Imprimir"
print_info: "Imprimir esta información" print_info: "Imprimir esta información"
username_label: "Nombre de usuario" username_label: "Nombre de usuario"
email_label: "Email" email_label: "Email"
@@ -8,8 +7,8 @@ es:
document_number: "Número de documento" document_number: "Número de documento"
document_type_label: "Tipo de documento" document_type_label: "Tipo de documento"
menu: menu:
on_site_verifications: "Usuarios" title: "Gestión"
title: "Gestionar usuario" users: "Usuarios"
dashboard: dashboard:
index: index:
title: "Gestión" title: "Gestión"