Skip to content

Commit

Permalink
Fix plugin name to "Redmine message customize plugin"
Browse files Browse the repository at this point in the history
  • Loading branch information
ishikawa999 authored Sep 25, 2019
1 parent 309c300 commit 0f1e557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require_dependency 'message_customize/locale'

p = Redmine::Plugin.register :redmine_message_customize do
name 'Redmine customize messages plugin'
name 'Redmine message customize plugin'
version '0.1.0'
description 'This is a plugin that allows messages in Redmine to be overwritten from the admin view'
settings default: { custom_messages: {} }
Expand All @@ -10,4 +10,4 @@
requires_redmine version_or_higher: '3.2'
end

Rails.application.config.i18n.load_path += Dir.glob(File.join(p.directory, 'config', 'locales', 'custom_messages', '*.rb'))
Rails.application.config.i18n.load_path += Dir.glob(File.join(p.directory, 'config', 'locales', 'custom_messages', '*.rb'))

0 comments on commit 0f1e557

Please sign in to comment.