Attempt to unbreak Potlatch.
This commit is contained in:
parent
cc9a9ee399
commit
a35b194330
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ class AmfController < ApplicationController
|
||||||
en = YAML::load(File.open("#{RAILS_ROOT}/config/potlatch/locales/en.yml"))["en"]
|
en = YAML::load(File.open("#{RAILS_ROOT}/config/potlatch/locales/en.yml"))["en"]
|
||||||
|
|
||||||
if lang == 'en'
|
if lang == 'en'
|
||||||
return [real_lang, en]
|
return [loaded_lang, en]
|
||||||
else
|
else
|
||||||
# Use English as a fallback
|
# Use English as a fallback
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue