From 3db1fa6b839b8cf98bb83c879b3723f922a1335c Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 1 Apr 2012 13:57:56 +0000 Subject: [PATCH] remove Rails 2.1 lang/en.yml from lib/generators/redmine_plugin git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9298 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/generators/redmine_plugin/USAGE | 1 - lib/generators/redmine_plugin/redmine_plugin_generator.rb | 1 - lib/generators/redmine_plugin/templates/en.yml | 2 -- 3 files changed, 4 deletions(-) delete mode 100644 lib/generators/redmine_plugin/templates/en.yml diff --git a/lib/generators/redmine_plugin/USAGE b/lib/generators/redmine_plugin/USAGE index 2037ae143..44235e210 100644 --- a/lib/generators/redmine_plugin/USAGE +++ b/lib/generators/redmine_plugin/USAGE @@ -15,6 +15,5 @@ Example: create vendor/plugins/redmine_meetings/lang create vendor/plugins/redmine_meetings/README create vendor/plugins/redmine_meetings/init.rb - create vendor/plugins/redmine_meetings/lang/en.yml create vendor/plugins/redmine_meetings/config/locales/en.yml create vendor/plugins/redmine_meetings/test/test_helper.rb diff --git a/lib/generators/redmine_plugin/redmine_plugin_generator.rb b/lib/generators/redmine_plugin/redmine_plugin_generator.rb index cf5444e24..0946d3ba0 100644 --- a/lib/generators/redmine_plugin/redmine_plugin_generator.rb +++ b/lib/generators/redmine_plugin/redmine_plugin_generator.rb @@ -25,7 +25,6 @@ class RedminePluginGenerator < Rails::Generator::NamedBase m.template 'README.rdoc', "#{plugin_path}/README.rdoc" m.template 'init.rb.erb', "#{plugin_path}/init.rb" - m.template 'en.yml', "#{plugin_path}/lang/en.yml" m.template 'en_rails_i18n.yml', "#{plugin_path}/config/locales/en.yml" m.template 'test_helper.rb.erb', "#{plugin_path}/test/test_helper.rb" end diff --git a/lib/generators/redmine_plugin/templates/en.yml b/lib/generators/redmine_plugin/templates/en.yml deleted file mode 100644 index e338591ef..000000000 --- a/lib/generators/redmine_plugin/templates/en.yml +++ /dev/null @@ -1,2 +0,0 @@ -# English strings go here -my_label: "My label" -- 2.39.5