mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
Add devise-bootstrap-views
This commit is contained in:
parent
0677e19b93
commit
be6ba28845
1
Gemfile
1
Gemfile
@ -39,6 +39,7 @@ gem 'will_paginate-bootstrap'
|
||||
gem 'mathjax-rails'
|
||||
|
||||
gem 'devise', '~> 3.4.1'
|
||||
gem 'devise-bootstrap-views'
|
||||
|
||||
# Use ActiveModel has_secure_password
|
||||
# gem 'bcrypt', '~> 3.1.7'
|
||||
|
||||
@ -69,6 +69,7 @@ GEM
|
||||
responders
|
||||
thread_safe (~> 0.1)
|
||||
warden (~> 1.2.3)
|
||||
devise-bootstrap-views (0.0.4)
|
||||
docile (1.1.5)
|
||||
erubis (2.7.0)
|
||||
execjs (2.2.2)
|
||||
@ -192,6 +193,7 @@ DEPENDENCIES
|
||||
coffee-rails (~> 4.1.0)
|
||||
coveralls (~> 0.7.2)
|
||||
devise (~> 3.4.1)
|
||||
devise-bootstrap-views
|
||||
jbuilder (~> 2.0)
|
||||
jquery-rails
|
||||
mathjax-rails
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
* file per style scope.
|
||||
*
|
||||
*= require_tree .
|
||||
*= require devise_bootstrap_views
|
||||
*= require_self
|
||||
*/
|
||||
|
||||
|
||||
@ -1,2 +1,18 @@
|
||||
module ApplicationHelper
|
||||
def bootstrap_class_for flash_type
|
||||
{ success: "alert-success", error: "alert-danger", alert: "alert-warning", notice: "alert-info" }[flash_type.to_sym] || flash_type.to_s
|
||||
end
|
||||
|
||||
def flash_messages(opts = {})
|
||||
flash.each do |msg_type, message|
|
||||
concat(content_tag(:div, message, class: "alert #{bootstrap_class_for(msg_type)} alert-dismissible", role: 'alert') do
|
||||
concat(content_tag(:button, class: 'close', data: { dismiss: 'alert' }) do
|
||||
concat content_tag(:span, '×'.html_safe, 'aria-hidden' => true)
|
||||
concat content_tag(:span, 'Close', class: 'sr-only')
|
||||
end)
|
||||
concat message
|
||||
end)
|
||||
end
|
||||
nil
|
||||
end
|
||||
end
|
||||
|
||||
18
app/views/devise/confirmations/new.html.erb
Normal file
18
app/views/devise/confirmations/new.html.erb
Normal file
@ -0,0 +1,18 @@
|
||||
<%= bootstrap_devise_error_messages! %>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4><%= t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions') %></h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post, role: "form" }) do |f| %>
|
||||
<div class="form-group">
|
||||
<%= f.label :email %>
|
||||
<%= f.email_field :email, autofocus: true, class: "form-control" %>
|
||||
</div>
|
||||
|
||||
<%= f.submit t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions'), class: "btn btn-primary" %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "devise/shared/links" %>
|
||||
@ -0,0 +1,6 @@
|
||||
<p><%= t('.greeting', :recipient => @resource.email, :default => "Welcome #{@resource.email}!") %></p>
|
||||
|
||||
<p><%= t('.instruction', :default => "You can confirm your account email through the link below:") %></p>
|
||||
|
||||
<p><%= link_to t('.action', :default => "Confirm my account"),
|
||||
confirmation_url(@resource, :confirmation_token => @token, locale: I18n.locale) %></p>
|
||||
@ -0,0 +1,8 @@
|
||||
<p><%= t('.greeting', :recipient => @resource.email, :default => "Hello #{@resource.email}!") %></p>
|
||||
|
||||
<p><%= t('.instruction', :default => "Someone has requested a link to change your password, and you can do this through the link below.") %></p>
|
||||
|
||||
<p><%= link_to t('.action', :default => "Change my password"), edit_password_url(@resource, :reset_password_token => @token, locale: I18n.locale) %></p>
|
||||
|
||||
<p><%= t('.instruction_2', :default => "If you didn't request this, please ignore this email.") %></p>
|
||||
<p><%= t('.instruction_3', :default => "Your password won't change until you access the link above and create a new one.") %></p>
|
||||
7
app/views/devise/mailer/unlock_instructions.html.erb
Normal file
7
app/views/devise/mailer/unlock_instructions.html.erb
Normal file
@ -0,0 +1,7 @@
|
||||
<p><%= t('.greeting', :recipient => @resource.email, :default => "Hello #{@resource.email}!") %></p>
|
||||
|
||||
<p><%= t('.message', :default => "Your account has been locked due to an excessive amount of unsuccessful sign in attempts.") %></p>
|
||||
|
||||
<p><%= t('.instruction', :default => "Click the link below to unlock your account:") %></p>
|
||||
|
||||
<p><%= link_to t('.action', :default => "Unlock my account"), unlock_url(@resource, :unlock_token => @resource.unlock_token, locale: I18n.locale) %></p>
|
||||
24
app/views/devise/passwords/edit.html.erb
Normal file
24
app/views/devise/passwords/edit.html.erb
Normal file
@ -0,0 +1,24 @@
|
||||
<%= bootstrap_devise_error_messages! %>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4><%= t('.change_your_password', :default => 'Change your password') %></h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put, role: "form" }) do |f| %>
|
||||
<%= f.hidden_field :reset_password_token %>
|
||||
|
||||
<div class="form-group">
|
||||
<%= f.label :password, t('.new_password', :default => 'New password') %>
|
||||
<%= f.password_field :password, autofocus: true, class: "form-control" %>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<%= f.label :password_confirmation, t('.confirm_new_password', :default => 'Confirm new password') %>
|
||||
<%= f.password_field :password_confirmation, class: "form-control" %>
|
||||
</div>
|
||||
|
||||
<%= f.submit t('.change_my_password', :default => 'Change my password'), class: "btn btn-primary" %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<%= render "devise/shared/links" %>
|
||||
17
app/views/devise/passwords/new.html.erb
Normal file
17
app/views/devise/passwords/new.html.erb
Normal file
@ -0,0 +1,17 @@
|
||||
<%= bootstrap_devise_error_messages! %>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4><%= t('.forgot_your_password', :default => 'Forgot your password?') %></h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post, role: "form" }) do |f| %>
|
||||
<div class="form-group">
|
||||
<%= f.label :email %>
|
||||
<%= f.email_field :email, autofocus: true, class: "form-control" %>
|
||||
</div>
|
||||
|
||||
<%= f.submit t('.send_me_reset_password_instructions', :default => "Send me reset password instructions"), class: "btn btn-primary" %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<%= render "devise/shared/links" %>
|
||||
30
app/views/devise/registrations/edit.html.erb
Normal file
30
app/views/devise/registrations/edit.html.erb
Normal file
@ -0,0 +1,30 @@
|
||||
<%= bootstrap_devise_error_messages! %>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4><%= t('.title', :resource => resource_class.model_name.human , :default => 'Edit #{resource_name.to_s.humanize}') %></h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
|
||||
<div class="form-group">
|
||||
<%= f.label :email %>
|
||||
<%= f.email_field :email, autofocus: true, class: "form-control" %>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<%= f.label :password %> <i>(<%= t('.leave_blank_if_you_don_t_want_to_change_it', :default => "leave blank if you don't want to change it") %>)</i><br />
|
||||
<%= f.password_field :password, :autocomplete => "off", class: "form-control" %>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<%= f.label :password_confirmation %><br />
|
||||
<%= f.password_field :password_confirmation, class: "form-control" %>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<%= f.label :current_password %> <i>(<%= t('.we_need_your_current_password_to_confirm_your_changes', :default => 'we need your current password to confirm your changes') %>)</i>
|
||||
<%= f.password_field :current_password, class: "form-control" %>
|
||||
</div>
|
||||
<%= f.submit t('.update', :default => "Update"), class: "btn btn-primary" %></div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<p><%= t('.unhappy', :default => 'Unhappy') %>? <%= link_to t('.cancel_my_account', :default => "Cancel my account"), registration_path(resource_name), :data => { :confirm => t('.are_you_sure', :default => "Are you sure?") }, :method => :delete %>.</p>
|
||||
|
||||
<%= link_to "Back", :back %>
|
||||
24
app/views/devise/registrations/new.html.erb
Normal file
24
app/views/devise/registrations/new.html.erb
Normal file
@ -0,0 +1,24 @@
|
||||
<%= bootstrap_devise_error_messages! %>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4><%= t('.sign_up', :default => "Sign up") %></h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), html: { role: "form" }) do |f| %>
|
||||
<div class="form-group">
|
||||
<%= f.label :email %>
|
||||
<%= f.email_field :email, autofocus: true, class: "form-control" %>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<%= f.label :password %><br />
|
||||
<%= f.password_field :password, class: "form-control" %>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<%= f.label :password_confirmation %>
|
||||
<%= f.password_field :password_confirmation, class: "form-control" %>
|
||||
</div>
|
||||
<%= f.submit t('.sign_up', :default => "Sign up"), class: "btn btn-primary" %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<%= render "devise/shared/links" %>
|
||||
26
app/views/devise/sessions/new.html.erb
Normal file
26
app/views/devise/sessions/new.html.erb
Normal file
@ -0,0 +1,26 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4><%= t('.sign_in', :default => "Sign in") %></h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<%= form_for(resource, as: resource_name, url: session_path(resource_name), html: { role: "form" }) do |f| %>
|
||||
<div class="form-group">
|
||||
<%= f.label :email %>
|
||||
<%= f.email_field :email, autofocus: true, class: "form-control" %>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<%= f.label :password %>
|
||||
<%= f.password_field :password, autocomplete: "off", class: "form-control" %>
|
||||
</div>
|
||||
<% if devise_mapping.rememberable? %>
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<%= f.check_box :remember_me %>
|
||||
<%= f.label :remember_me %>
|
||||
</div>
|
||||
<% end %>
|
||||
<%= f.submit t('.sign_in', :default => "Sign in"), class: "btn btn-primary" %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<%= render "devise/shared/links" %>
|
||||
25
app/views/devise/shared/_links.erb
Normal file
25
app/views/devise/shared/_links.erb
Normal file
@ -0,0 +1,25 @@
|
||||
<%- if controller_name != 'sessions' %>
|
||||
<%= link_to t(".sign_in", :default => "Sign in"), new_session_path(resource_name) %><br />
|
||||
<% end -%>
|
||||
|
||||
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
|
||||
<%= link_to t(".sign_up", :default => "Sign up"), new_registration_path(resource_name) %><br />
|
||||
<% end -%>
|
||||
|
||||
<%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
|
||||
<%= link_to t(".forgot_your_password", :default => "Forgot your password?"), new_password_path(resource_name) %><br />
|
||||
<% end -%>
|
||||
|
||||
<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
|
||||
<%= link_to t('.didn_t_receive_confirmation_instructions', :default => "Didn't receive confirmation instructions?"), new_confirmation_path(resource_name) %><br />
|
||||
<% end -%>
|
||||
|
||||
<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
|
||||
<%= link_to t('.didn_t_receive_unlock_instructions', :default => "Didn't receive unlock instructions?"), new_unlock_path(resource_name) %><br />
|
||||
<% end -%>
|
||||
|
||||
<%- if devise_mapping.omniauthable? %>
|
||||
<%- resource_class.omniauth_providers.each do |provider| %>
|
||||
<%= link_to t('.sign_in_with_provider', :provider => provider.to_s.titleize, :default => "Sign in with #{provider.to_s.titleize}"), omniauth_authorize_path(resource_name, provider) %><br />
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
16
app/views/devise/unlocks/new.html.erb
Normal file
16
app/views/devise/unlocks/new.html.erb
Normal file
@ -0,0 +1,16 @@
|
||||
<%= bootstrap_devise_error_messages! %>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4><%= t('.resend_unlock_instructions', :default => "Resend unlock instructions") %></h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<%= form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post, html: { role: "form" } }) do |f| %>
|
||||
<div class="form-group">
|
||||
<%= f.label :email %>
|
||||
<%= f.email_field :email, autofocus: true, class: "form-control" %>
|
||||
</div>
|
||||
<%= f.submit t('.resend_unlock_instructions', :default => "Resend unlock instructions"), class: "btn btn-primary"%>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<%= render "devise/shared/links" %>
|
||||
@ -28,9 +28,17 @@
|
||||
<%= link_to Problem.model_name.human(count: 2), problems_path %>
|
||||
<%= link_to Translation.model_name.human(count: 2), translations_path %>
|
||||
<% end %>
|
||||
<%= nav class: 'navbar-right' do %>
|
||||
<% if admin_signed_in? %>
|
||||
<%= link_to(t('application.sign_out'), destroy_admin_session_path, method: :delete) %>
|
||||
<% else %>
|
||||
<%= link_to(t('application.sign_in'), new_admin_session_path) %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<div class="container">
|
||||
<%= flash_messages %>
|
||||
<div class="row">
|
||||
<div class="col-md-12" role="main">
|
||||
<%= yield %>
|
||||
|
||||
110
config/locales/devise.views.de.yml
Normal file
110
config/locales/devise.views.de.yml
Normal file
@ -0,0 +1,110 @@
|
||||
de:
|
||||
devise:
|
||||
confirmations:
|
||||
new:
|
||||
resend_confirmation_instructions: Anleitung zur Bestätigung noch mal schicken
|
||||
confirmed: Ihre Konto wurde erfolgreich bestätigt.
|
||||
send_instructions: Sie erhalten ein wenigen Minuten eine E-Mail mit Anweisungen, wie Sie Ihr Konto bestätigen.
|
||||
send_paranoid_instructions: Falls Ihre E-Mail-Adresse in unserer Datenbank existiert, werden Sie in wenigen Minuten eine E-Mail mit Anweisungen erhalten, wie Sie Ihr Konto bestätigen.
|
||||
failure:
|
||||
already_authenticated: "Sie sind schon angemeldet."
|
||||
inactive: "Ihr Konto ist noch nicht aktiviert."
|
||||
invalid: "Ungültige E-Mail-Adresse oder Passwort."
|
||||
invalid_token: "Ungültiger Authentifikations-Schlüssel."
|
||||
locked: "Ihr Konto ist gesperrt."
|
||||
not_found_in_database: "Ungültige E-Mail-Adresse oder Passwort."
|
||||
timeout: "Ihre Sitzung ist abgelaufen. Bitte melden sich erneut an, um fortzufahren."
|
||||
unauthenticated: "Sie müssen sich anmelden oder registrieren, um fortfahren zu können."
|
||||
unconfirmed: "Sie müssen Ihr Konto bestätigen, um fortfahren zu können."
|
||||
mailer:
|
||||
confirmation_instructions:
|
||||
action: Mein Konto bestätigen
|
||||
greeting: Willkommen %{recipient}!
|
||||
instruction: ! 'Folgen Sie dem untenstehenden Link, um Ihr Konto zu bestätigen:'
|
||||
subject: Anleitung zur Bestätigung Ihres Accounts
|
||||
reset_password_instructions:
|
||||
action: Passwort ändern
|
||||
greeting: Hallo %{recipient}!
|
||||
instruction: Jemand hat einen Link angefordert, um Ihr Passwort zu ändern, und Sie können das durch den unten aufgeführten Link tun.
|
||||
instruction_2: Wenn Sie das nicht angefordert haben, bitte ignorieren Sie diese E-Mail.
|
||||
instruction_3: Das Passwort wird nicht geändert bis Sie den obenstehenden Link abrufen, und ein neues Passwort bestimmen.
|
||||
subject: Anleitung um das Passwort zurückzusetzten
|
||||
unlock_instructions:
|
||||
action: Mein Konto entsperren
|
||||
greeting: Hallo %{recipient}!
|
||||
instruction: ! 'Folgen Sie dem untenstehenden Link, um Ihr Konto zu entsperren:'
|
||||
message: Ihr Konto wurde aufgrund einer großen Anzahl von fehlgeschlagenen Anmeldeversuchen gesperrt.
|
||||
subject: Anleitung um Ihr Konto zu entsperren
|
||||
omniauth_callbacks:
|
||||
failure: "Sie konnten nicht über %{kind} authentifiziert werden, da \"%{reason}\"."
|
||||
success: "Erfolgreich über %{kind} authentifiziert."
|
||||
passwords:
|
||||
new:
|
||||
forgot_your_password: Haben Sie Ihr Passwort vergessen?
|
||||
send_me_reset_password_instructions: Schicken Sie mir die Anleitung, mein Passwort zurückzusetzen
|
||||
edit:
|
||||
change_your_password: Passwort ändern
|
||||
new_password: Neues Passwort
|
||||
confirm_new_password: Neues Passwort bestätigen
|
||||
change_my_password: Ändere mein Passwort
|
||||
no_token: "Sie können diese Seite nicht ohne Link zum Zurücksetzen Ihres Passworts aufrufen. Wenn Sie Ihr Passwort zurücksetzen wollen, gehen Sie sicher, dass Sie die vollständige Adresse benutzt haben, die Sie mit der E-Mail erhalten haben."
|
||||
send_instructions: "Sie werden eine E-Mail mit der Anleitung, wie Sie Ihr Passwort zurücksetzen können, in wenigen Minuten erhalten."
|
||||
send_paranoid_instructions: "Falls Ihre E-Mail-Adresse in unserer Datenbank existiert, werden Sie in wenigen Minuten eine E-Mail mit einem Link zum Zurücksetzen Ihres Passworts erhalten."
|
||||
updated: Ihr Passwort wurde erfolgreich geändert. Sie sind nun angemeldet.
|
||||
updated_not_active: "Ihr Passwort wurde erfolgreich geändert."
|
||||
registrations:
|
||||
edit:
|
||||
are_you_sure: Sind Sie sicher?
|
||||
cancel_my_account: Konto löschen
|
||||
leave_blank_if_you_don_t_want_to_change_it: freilassen, wenn Sie das nicht ändern wollen
|
||||
title: ! '%{resource} bearbeiten'
|
||||
we_need_your_current_password_to_confirm_your_changes: wir benötigen Ihr aktuelles Passwort, um die Änderung zu bestätigen
|
||||
update: "Aktualisieren"
|
||||
unhappy: "Unglücklich"
|
||||
new:
|
||||
sign_up: Registrieren
|
||||
destroyed: "Auf Wiedersehen! Ihr Konto wurde erfolreich gekündigt. Wir hoffen Sie bald wiederzusehen."
|
||||
signed_up: "Willkommen! Sie haben sich erfolgreich registriert."
|
||||
signed_up_but_inactive: "Sie haben sich erfolgreich registriert. Aber wir konnten Sie nicht anmelden, da Ihr Konto noch nicht aktiviert ist."
|
||||
signed_up_but_locked: "Sie haben sich erfolgreich registriert. Aber wir konnten Sie nicht anmelden, da Ihr Konto gesperrt ist."
|
||||
signed_up_but_unconfirmed: "Eine Nachricht mit einem Aktivierungs-Link wurde an Ihre E-Mail-Adresse geschickt. Bitte öffnen Sie diesen Link, um Ihr Konto zu aktivieren."
|
||||
update_needs_confirmation: "Ihr Konto wurde erfolgreich aktualisiert, aber wir müssen Ihre E-Mail-Adresse verifizieren. Bitte überprüfen Sie Ihre E-Mails und klicken auf den Bestätigungs-Link, um Ihre E-Mail-Adresse abschliessend zu bestätigen."
|
||||
updated: "Ihr Konto wurde erfolgreich aktualisiert."
|
||||
sessions:
|
||||
signed_in: "Erfolgreich angemeldet."
|
||||
signed_out: "Erfolgreich abgemeldet."
|
||||
new:
|
||||
sign_in: Anmelden
|
||||
shared:
|
||||
links:
|
||||
didn_t_receive_confirmation_instructions: Keine Anleitung zur Bestätigung erhalten?
|
||||
didn_t_receive_unlock_instructions: Keine Anleitung zum Entsperren erhalten?
|
||||
forgot_your_password: Passwort vergessen?
|
||||
sign_in: Anmelden
|
||||
sign_in_with_provider: Mit %{provider} anmelden
|
||||
sign_up: Registrieren
|
||||
unlocks:
|
||||
new:
|
||||
resend_unlock_instructions: Anleitung zum Entsperren noch mal schicken
|
||||
send_instructions: "Sie werden eine E-Mail mit der Anleitung, wie Sie Ihr Konto entsperren können, in wenigen Minuten erhalten."
|
||||
send_paranoid_instructions: "Falls Ihr Konto existiert, werden Sie eine E-Mail mit der Anleitung, wie Sie Ihr Konto entsperren können, in wenigen Minuten erhalten."
|
||||
unlocked: "Ihr Konto wurde erfolreich entsperrt. Bitte melden Sie sich an, um fortfahren zu können."
|
||||
errors:
|
||||
messages:
|
||||
already_confirmed: "wurde schon bestätigt - bitte versuchen Sie sich anzumelden"
|
||||
confirmation_period_expired: "muss innerhalb %{period} bestätigt werden - bitte fordern Sie den Link erneut an"
|
||||
expired: "ist ausgelaufen - bitte fordern Sie den Link erneut an"
|
||||
not_found: "nicht gefunden"
|
||||
not_locked: "war nicht gesperrt"
|
||||
not_saved:
|
||||
one: "1 Fehler verhinderte, dass %{resource} gespeichert werden konnte:"
|
||||
other: "%{count} Fehler verhinderten, dass %{resource} gespeichert werden konnte:"
|
||||
activerecord:
|
||||
models:
|
||||
admin: "Admin"
|
||||
attributes:
|
||||
admin:
|
||||
current_sign_in_at: "Angemeldet am"
|
||||
email: "E-Mail"
|
||||
password: "Passwort"
|
||||
last_sign_in_at: "Zuletzt angemeldet am"
|
||||
6
config/locales/views/application/de.yml
Normal file
6
config/locales/views/application/de.yml
Normal file
@ -0,0 +1,6 @@
|
||||
# ruby encoding: utf-8
|
||||
|
||||
de:
|
||||
application:
|
||||
sign_in: 'Einloggen'
|
||||
sign_out: 'Ausloggen'
|
||||
Loading…
Reference in New Issue
Block a user