Translation missing for filter by project status
|Assignee:||Go MAEDA||% Done:|
Redmine version: 4.0.1.stable
Ruby version: 2.6.0
Ensure that the current language is 'en' in the test (#30718).
Patch by Pavel Rosický.
Translation missing error in "Project's Status" filter options (#30718).
Patch by Marius BALTEANU.
#2 Updated by Lszl Frng over 1 year ago
- File Screenshot_2019-02-13 Issues.png added
The problem is also present in version 4.0.0.stable
Redmine version 4.0.0.stable
Ruby version 2.5.1-p57 (2018-03-29) [x86_64-linux-gnu]
Rails version 5.2.2
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
#4 Updated by Pavel Rosický over 1 year ago
I can confirm the problem.
status translations are evaluated only once during start of the server, see
as a result it'll always be in english or translation missing (in combination with some 3rd party plugins).
QueryTest#test_project_statuses_values_should_return_only_active_and_closed_statuses should also be fixed because the test always expects english strings even if the current locale is different
Expected: [["active", "1"], ["closed", "5"]] Actual: [["actif", "1"], ["fermé", "5"]]