]> source.dussan.org Git - redmine.git/commitdiff
remove Rails 2.1 lang/en.yml from lib/generators/redmine_plugin
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 1 Apr 2012 13:57:56 +0000 (13:57 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 1 Apr 2012 13:57:56 +0000 (13:57 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9298 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/generators/redmine_plugin/USAGE
lib/generators/redmine_plugin/redmine_plugin_generator.rb
lib/generators/redmine_plugin/templates/en.yml [deleted file]

index 2037ae143eaefd80bd50437025c6465c0d949015..44235e210ea801f4c858de1e51370458da8bbd96 100644 (file)
@@ -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
index cf5444e24ca56b5cdb5a4f4cf89d5b929b9122a0..0946d3ba0f17488fde952a8815120f762d5569c9 100644 (file)
@@ -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 (file)
index e338591..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-# English strings go here
-my_label: "My label"