german i18n + mini fix
This commit is contained in:
parent
0401572580
commit
dfe1cee4cd
2 changed files with 3 additions and 3 deletions
|
@ -9,10 +9,10 @@ class SessionsController < ApplicationController
|
|||
def create
|
||||
user = User.authenticate(params[:nick], params[:password])
|
||||
if user
|
||||
session[:locale] = user.locale
|
||||
session[:user_id] = user.id
|
||||
session[:scope] = FoodsoftConfig.scope # Save scope in session to not allow switching between foodcoops with one account
|
||||
session[:locale] = user_settings_language
|
||||
session[:locale] = user.locale
|
||||
|
||||
if session[:return_to].present?
|
||||
redirect_to_url = session[:return_to]
|
||||
session[:return_to] = nil
|
||||
|
|
|
@ -1622,7 +1622,7 @@ de:
|
|||
other: Arbeitsgruppen
|
||||
settings:
|
||||
settings_group:
|
||||
privacy:
|
||||
privacy: Privatsphäre
|
||||
messages: Nachrichten
|
||||
profile:
|
||||
language: Sprache
|
||||
|
|
Loading…
Reference in a new issue