Skip to content

Commit 04df529

Browse files
committed
Strictly check that the plugin's custome locales are loaded
1 parent ecd06c0 commit 04df529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/message_customize/locale.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def available_messages(lang)
4545
end
4646

4747
def customizable_plugin_messages?
48-
Rails.application.config.i18n.load_path.last.include?('redmine_message_customize')
48+
Rails.application.config.i18n.load_path.last.include?('redmine_message_customize/config/locales')
4949
end
5050
end
5151
end

0 commit comments

Comments
 (0)