adds i18n to all devise views

ref: #38
This commit is contained in:
Juanjo Bazán
2015-07-29 12:18:55 +02:00
parent 2ba3f8a1a9
commit daa172e408
15 changed files with 230 additions and 64 deletions

View File

@@ -0,0 +1,83 @@
en:
devise_views:
confirmations:
title: "Resend confirmation instructions"
email_label: Email
submit: "Resend confirmation instructions"
mailer:
confirmation_instructions:
welcome: "Welcome"
text: "You can confirm your account email through the link below:"
confirm_link: "Confirm my account"
reset_password_instructions:
hello: "Hello"
text: "Someone has requested a link to change your password. You can do this through the link below."
change_link: "Change my password"
ignore_text: "If you didn't request this, please ignore this email."
info_text: "Your password won't change until you access the link above and create a new one."
unlock_instructions:
hello: "Hello"
info_text: "Your account has been locked due to an excessive number of unsuccessful sign in attempts."
instructions_text: "Click the link below to unlock your account:"
unlock_link: "Unlock my account"
menu:
login_items:
logout: "Logout"
signup: "Sign up"
login: "Log in"
passwords:
edit:
title: "Change your password"
password_label: "New password"
min_length: "(%{min} characters minimum)"
password_confirmation_label: "Confirm new password"
change_submit: "Change my password"
new:
title: "Forgot your password?"
email_label: "Email"
send_submit: "Send me reset password instructions"
registrations:
edit:
edit: "Edit"
email_label: "Email"
waiting_for: "Currently waiting confirmation for:"
leave_blank: "(leave blank if you don't want to change it)"
password_label: "New password"
password_confirmation_label: "Confirm new password"
current_password_label: "Current password"
need_current: "(we need your current password to confirm your changes)"
update_submit: "Update"
cancel_title: "Cancel my account"
cancel_text: "Unhappy?"
cancel_link: "Cancel my account"
cancel_confirm: "Are you sure?"
back_link: "Back"
new:
title: "Sign up"
first_name_label: "First name"
last_name_label: "Last name"
email_label: "Email"
password_label: "Password"
min_length: "(%{min} characters minimum)"
password_confirmation_label: "Confirm password"
submit: "Sign up"
sessions:
new:
title: "Log in"
email_label: "Email"
password_label: "Password"
remember_me: "Remember me"
submit: "Log in"
unlocks:
new:
title: "Resend unlock instructions"
email_label: "Email"
submit: "Resend unlock instructions"
shared:
links:
login: "Log in"
signup: "Sign up"
signin_with_provider: "Sign in with %{provider}"
new_password: "Forgot your password?"
new_confirmation: "Didn't receive confirmation instructions?"
new_unlock: "Didn't receive unlock instructions?"

View File

@@ -0,0 +1,83 @@
es:
devise_views:
confirmations:
title: "Reenviar instrucciones de confirmación"
email_label: Email
submit: "Reenviar instrucciones de confirmación"
mailer:
confirmation_instructions:
welcome: "Bienvenido"
text: "Puedes confirmar tu cuenta de correo electrónico en el siguiente enlace:"
confirm_link: "Confirmar my cuenta"
reset_password_instructions:
hello: "Hola"
text: "Se ha solicitado un enlace para cambiar tu contraseña, puedes hacerlo en el siguiente enlace:"
change_link: "cambiar mi contraseña"
ignore_text: "Si tu no lo has solicitado, puedes ignorar este email"
info_text: "Tu contraseña no cambiará hasta que no accedas al enlace y la modifiques."
unlock_instructions:
hello: "Hola"
info_text: "Tu cuenta ha sido bloqueada debido a un excesivo número de intentos fallidos de alta."
instructions_text: "Sigue el siguiente enlace para desbloquear tu cuenta:"
unlock_link: "Desbloquear mi cuenta"
menu:
login_items:
logout: "Salir"
signup: "Registrarse"
login: "Entrar"
passwords:
edit:
title: "Cambia tu contraseña"
password_label: "Contraseña nueva"
min_length: "(mínimo %{min} caracteres)"
password_confirmation_label: "Confirmar contraseña nueva"
change_submit: "Cambiar mi contraseña"
new:
title: "¿Has olvidado tu contraseña?"
email_label: "Email"
send_submit: "Recibir instrucciones para recuperar mi contraseña"
registrations:
edit:
edit: "Editar"
email_label: "Email"
waiting_for: "Esperando confirmación de:"
leave_blank: "(dejar en blanco si no deseas cambiarla)"
password_label: "Contraseña nueva"
password_confirmation_label: "Confirmar contraseña nueva"
current_password_label: "Contraseña actual"
need_current: "(necesitamos tu contraseña actual para confirmar los cambios)"
update_submit: "Actualizar"
cancel_title: "Cancelar cuenta"
cancel_text: "¿Deseas borrar tu cuenta?"
cancel_link: "Cancelar mi cuenta"
cancel_confirm: "¿Seguro?"
back_link: "Atrás"
new:
title: "Registrarse"
first_name_label: "Nombre"
last_name_label: "Apellido"
email_label: "Email"
password_label: "Contraseña"
min_length: "(mínimo %{min} caracteres)"
password_confirmation_label: "Confirmar contraseña"
submit: "Registrarse"
sessions:
new:
title: "Entrar"
email_label: "Email"
password_label: "Contraseña"
remember_me: "Recordarme"
submit: "Entrar"
unlocks:
new:
title: "Reenviar instrucciones para desbloquear"
email_label: "Email"
submit: "Reenviar instrucciones para desbloquear"
shared:
links:
login: "Entrar"
signup: "Registrarse"
signin_with_provider: "Entrar con %{provider}"
new_password: "¿Olvidaste tu contraseña?"
new_confirmation: "¿No has recibido instrucciones para confirmar tu cuenta?"
new_unlock: "¿No has recibido instrucciones para desbloquear?"