Commit 6526e2f3 authored by Jonne Hass's avatar Jonne Hass
Browse files

fix #2392

parent 4013335b
......@@ -56,9 +56,9 @@ class UsersController < ApplicationController
elsif u[:language]
if @user.update_attributes(u)
I18n.locale = @user.language
flash[:notice] = I18n.t 'users.update.language_updated'
flash[:notice] = I18n.t 'users.update.language_changed'
flash[:error] = I18n.t 'users.update.language_not_updated'
flash[:error] = I18n.t 'users.update.language_not_changed'
elsif u[:email]
@user.unconfirmed_email = u[:email]
......@@ -15,9 +15,9 @@ available:
en_pirate: "English (Pirate)"
en_shaw: "𐑦𐑙𐑤𐑦𐑖"
eo: "Esperanto"
es: "Español"
es-AR: "Castellano"
es-CL: "Español Chileno"
es: "Castellano"
es-AR: "Argentino"
es-CL: "Chileno"
eu: "Euskara"
fi: "Suomi"
fr: "Français"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment