german i18n + mini fix

This commit is contained in:
Manuel Wiedenmann 2013-07-18 16:23:29 +02:00
parent 0401572580
commit dfe1cee4cd
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -1622,7 +1622,7 @@ de:
other: Arbeitsgruppen
settings:
settings_group:
privacy:
privacy: Privatsphäre
messages: Nachrichten
profile:
language: Sprache