From 8e406c707623caa8b7b91d507dc20ca8a3a5f6ab Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Mon, 20 Apr 2015 16:19:13 +0300 Subject: [PATCH] Add a sessions.sign_in string in the locales --- app/views/devise/sessions/new.html.slim | 4 ++-- config/locales/session.bg.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/devise/sessions/new.html.slim b/app/views/devise/sessions/new.html.slim index 4c04132..f460452 100644 --- a/app/views/devise/sessions/new.html.slim +++ b/app/views/devise/sessions/new.html.slim @@ -1,4 +1,4 @@ -- content_for(:title) { ":: #{t :login}" } +- content_for(:title) { t 'sessions.sign_in' } h2.entry-title = t :login @@ -9,6 +9,6 @@ h2.entry-title = t :login = f.input :remember_me, as: :boolean if devise_mapping.rememberable? .form-actions - = f.button :submit, t(:login) + = f.button :submit, t('sessions.sign_in') == render 'devise/shared/links' diff --git a/config/locales/session.bg.yml b/config/locales/session.bg.yml index e70a8b9..ba1b4ac 100644 --- a/config/locales/session.bg.yml +++ b/config/locales/session.bg.yml @@ -1,3 +1,4 @@ bg: sessions: - sign_out: Изход \ No newline at end of file + sign_in: Вход + sign_out: Изход