We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce29b3c commit 67eb60eCopy full SHA for 67eb60e
test/unit/custom_message_setting_test.rb
@@ -8,6 +8,7 @@ def setup
8
User.current = User.find_by(login: 'admin')
9
@custom_message_setting = CustomMessageSetting.find(1)
10
MessageCustomize::Locale.reload!(['en', 'ja'])
11
+ set_language_if_valid 'en'
12
Rails.application.config.i18n.load_path = (Rails.application.config.i18n.load_path + Dir.glob(Rails.root.join('plugins', 'redmine_message_customize', 'config', 'locales', 'custom_messages', '*.rb'))).uniq
13
end
14
0 commit comments