Skip to content

Commit bd2937e

Browse files
authored
Merge pull request #64 from hidakatsuya/strictly-check-plugin-locales-are-loaded
Strictly check that the plugin's custom locales are loaded
2 parents ecd06c0 + 04df529 commit bd2937e

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)