diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2022-03-06 17:23:36 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2022-03-06 17:23:36 +0000 |
commit | 899df6a0514d362ac4ffc729fee72b40637cc455 (patch) | |
tree | 245adff83b8ef8f2f340d45fac9d5ae315a1fa00 /lib/redmine | |
parent | cd688a17816f60a8391e24196b4bf839b5758d60 (diff) | |
download | redmine-899df6a0514d362ac4ffc729fee72b40637cc455.tar.gz redmine-899df6a0514d362ac4ffc729fee72b40637cc455.zip |
Lazy load locales (#36728).
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@21448 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r-- | lib/redmine/i18n.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/i18n.rb b/lib/redmine/i18n.rb index b1066539f..13b84512f 100644 --- a/lib/redmine/i18n.rb +++ b/lib/redmine/i18n.rb @@ -157,7 +157,7 @@ module Redmine # Custom backend based on I18n::Backend::Simple with the following changes: # * available_locales are determined by looking at translation file names - class Backend < ::I18n::Backend::Simple + class Backend < ::I18n::Backend::LazyLoadable module Implementation # Get available locales from the translations filenames def available_locales |