1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-11 03:33:07 +00:00

Merge r21556 to 5.0-stable (#36998).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21557 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2022-05-03 16:37:45 +00:00
parent a55454f04e
commit 9976ef3b74

View File

@ -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::LazyLoadable
class Backend < ::I18n::Backend::Simple
module Implementation
# Get available locales from the translations filenames
def available_locales