Project

General

Profile

Actions

Defect #42815

closed

Limit available locales to those defined by Redmine itself no longer works

Added by Marius BĂLTEANU 24 days ago. Updated 15 days ago.

Status:
Closed
Priority:
Normal
Category:
I18n
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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


Related issues

Related to Redmine - Patch #38529: Limit available locales to those defined by Redmine itselfClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF