From: Ævar Arnfjörð Bjarmason Date: Wed, 23 Sep 2009 23:34:43 +0000 (+0000) Subject: I moved Potlatch's locales but didn't update this, which broke all i18n X-Git-Tag: live~7188 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/9b7e39dc49cf0f12ff1adf8f93af7f8f93c3205d I moved Potlatch's locales but didn't update this, which broke all i18n --- diff --git a/app/controllers/amf_controller.rb b/app/controllers/amf_controller.rb index 0439ed710..86ca3f5fb 100644 --- a/app/controllers/amf_controller.rb +++ b/app/controllers/amf_controller.rb @@ -883,7 +883,7 @@ class AmfController < ApplicationController end def getlocales - Dir.glob("#{RAILS_ROOT}/config/potlatch/localised/*").collect { |f| File.basename(f) } + Dir.glob("#{RAILS_ROOT}/config/potlatch/locales/*").collect { |f| File.basename(f, ".yml") } end ##