From 27795a93ed612faa234d9316960d0b6076c6438e Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 14 Nov 2011 20:04:59 -0800 Subject: [PATCH] Generated plugin --- README.rdoc | 3 +++ config/locales/en.yml | 3 +++ init.rb | 10 ++++++++++ lang/en.yml | 2 ++ test/test_helper.rb | 5 +++++ 5 files changed, 23 insertions(+) create mode 100644 README.rdoc create mode 100644 config/locales/en.yml create mode 100644 init.rb create mode 100644 lang/en.yml create mode 100644 test/test_helper.rb diff --git a/README.rdoc b/README.rdoc new file mode 100644 index 0000000..e46d361 --- /dev/null +++ b/README.rdoc @@ -0,0 +1,3 @@ += message_bar + +Description goes here diff --git a/config/locales/en.yml b/config/locales/en.yml new file mode 100644 index 0000000..c55090a --- /dev/null +++ b/config/locales/en.yml @@ -0,0 +1,3 @@ +# English strings go here for Rails i18n +en: + my_label: "My label" diff --git a/init.rb b/init.rb new file mode 100644 index 0000000..bfe6d99 --- /dev/null +++ b/init.rb @@ -0,0 +1,10 @@ +require 'redmine' + +Redmine::Plugin.register :chiliproject_message_bar do + name 'Chiliproject Message Bar plugin' + author 'Author name' + description 'This is a plugin for ChiliProject' + version '0.0.1' + url 'http://example.com/path/to/plugin' + author_url 'http://example.com/about' +end diff --git a/lang/en.yml b/lang/en.yml new file mode 100644 index 0000000..e338591 --- /dev/null +++ b/lang/en.yml @@ -0,0 +1,2 @@ +# English strings go here +my_label: "My label" diff --git a/test/test_helper.rb b/test/test_helper.rb new file mode 100644 index 0000000..bd1ed0c --- /dev/null +++ b/test/test_helper.rb @@ -0,0 +1,5 @@ +# Load the normal Rails helper +require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper') + +# Ensure that we are using the temporary fixture path +Engines::Testing.set_fixture_path