Actions
Defect #42815
closedLimit available locales to those defined by Redmine itself no longer works
Defect #42815:
Limit available locales to those defined by Redmine itself no longer works
Resolution:
Fixed
Affected version:
Description
The change made in #38529 no longer works, Redmine loads available languages also from plugins or gems in the current trunk.
The issue can be reproduce by adding the following gem:
--- a/Gemfile
+++ b/Gemfile
@@ -19,6 +19,7 @@ gem 'rack', '>= 3.1.3'
gem "stimulus-rails", "~> 1.3"
gem "importmap-rails", "~> 2.0"
gem 'commonmarker', '~> 2.3.0'
+gem "doorkeeper-i18n", "~> 5.2"
and then run the test
.F
Failure:
Redmine::I18nTest#test_locales_validness [test/unit/lib/redmine/i18n_test.rb:208]:
Expected: 50
Actual: 54
I'm not sure which change caused this issue and I didn't test yet on 5.1-stable branch.
Files
Actions