Project

General

Profile

« Previous | Next » 

Revision de48fb5b

Added by Ewoud Kohl van Wijngaarden 3 months ago

Refs #36574 - Avoid patching Fastgettext

The code defines an additional method on Fastgettext but there's no
reason to do so. It can just as well define a method on itself.

View differences:

extras/dynflow-sidekiq.rb
# Loading and initializing of all gettext languages takes about 100ms per language
# in development environment and little less on production. Let's eager load languages
# but only for production.
FastGettext.human_available_locales
Foreman::Gettext::Support.human_available_locales
end
rails_env_file = File.expand_path('./config/environment.rb', rails_root)

Also available in: Unified diff