# Get help from i18n but delete it so we won't pass it around
# twice for nothing
help = localised["help_html"]
- help = 'foo'
localised.delete("help_html")
return POTLATCH_PRESETS+[localised,help]
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
##