finish sessions i18n

This commit is contained in:
wvengen 2013-02-04 01:46:07 +01:00
parent 2b11549d33
commit 0c09696b2c
2 changed files with 16 additions and 8 deletions

View file

@ -4,26 +4,24 @@
$('#nick').focus(); $('#nick').focus();
}); });
- title "FoodSoft login" - title t('.title')
%noscript %noscript
.alert.alert-error .alert.alert-error
Achtung, Cookies und Javascript müssen aktiviert sein! != t '.nojs', link: link_to(t('.noscript'), "http://noscript.net/")
= link_to "NoScript", "http://noscript.net/"
bitte abschalten.
= form_tag sessions_path, class: 'form-horizontal' do = form_tag sessions_path, class: 'form-horizontal' do
.control-group .control-group
%label(for='nick' class='control-label') Benutzerin %label(for='nick' class='control-label')= t '.user'
.controls .controls
= text_field_tag 'nick' = text_field_tag 'nick'
.control-group .control-group
%label(for='password' class='control-label') Passwort %label(for='password' class='control-label')= t '.password'
.controls .controls
= password_field_tag 'password' = password_field_tag 'password'
.control-group .control-group
.controls .controls
= submit_tag "Anmelden", class: 'btn' = submit_tag t('.login'), class: 'btn'
= link_to "Passwort vergessen?", :controller => 'login', :action => 'forgot_password' = link_to t('.forgot_password'), :controller => 'login', :action => 'forgot_password'

View file

@ -0,0 +1,10 @@
de:
sessions:
new:
title: 'Foodsoft login'
nojs: 'Achtung, Cookies und Javascript müssen aktiviert sein! %{link} bitte abschalten.'
noscript: 'NoScript'
user: 'Benutzerin'
password: 'Passwort'
login: 'Anmelden'
forgot_password: 'Passwort vergessen?'