mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Revert "Load all translation files from config/locales"
This reverts commit 8c474b2465
.
This commit is contained in:
parent
ccb062cb0b
commit
d0b7168d32
1 changed files with 3 additions and 3 deletions
|
@ -23,12 +23,12 @@ module Registry
|
|||
|
||||
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
||||
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
||||
config.time_zone = ENV['time_zone'] || 'Tallinn' # NB! It should be defined,
|
||||
config.time_zone = ENV['time_zone'] || 'Tallinn' # NB! It should be defined,
|
||||
# otherwise ActiveRecord usese other class internally.
|
||||
|
||||
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
||||
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.yml').to_s]
|
||||
config.i18n.default_locale = :en
|
||||
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
||||
# config.i18n.default_locale = :de
|
||||
|
||||
config.paths.add File.join('app', 'api'), glob: File.join('**', '*.rb')
|
||||
config.autoload_paths += Dir[Rails.root.join('app', 'api', '*')]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue