Makes tolk aware of french and portuguese translations

This commit is contained in:
rgarcia
2016-10-31 11:45:14 +01:00
parent c0f400a4d9
commit d540be333a
3 changed files with 0 additions and 3 deletions

View File

@@ -23,9 +23,6 @@ module Consul
config.i18n.available_locales = [:en, :es, :fr, 'pt-BR']
config.i18n.fallbacks = {'fr' => 'es', 'pt-br' => 'es'}
# Add the new directories to the locales load path
config.i18n.load_path += Dir[Rails.root.join('doc', 'locales', '*.yml')]
config.assets.paths << Rails.root.join("app", "assets", "fonts")
# Do not swallow errors in after_commit/after_rollback callbacks.