From fccc7d7bc89554c0e492b479e76b08cc585dc455 Mon Sep 17 00:00:00 2001 From: Toru Takahashi Date: Mon, 30 Apr 2018 21:34:14 +0900 Subject: [PATCH] redmine plguin templates, modified init.rb --- config/locales/en.yml | 3 +++ config/routes.rb | 2 ++ init.rb | 8 ++++++++ test/test_helper.rb | 2 ++ 4 files changed, 15 insertions(+) create mode 100644 config/locales/en.yml create mode 100644 config/routes.rb create mode 100644 init.rb create mode 100644 test/test_helper.rb diff --git a/config/locales/en.yml b/config/locales/en.yml new file mode 100644 index 0000000..642b07f --- /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/config/routes.rb b/config/routes.rb new file mode 100644 index 0000000..1803173 --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,2 @@ +# Plugin's routes +# See: http://guides.rubyonrails.org/routing.html diff --git a/init.rb b/init.rb new file mode 100644 index 0000000..c9b8d71 --- /dev/null +++ b/init.rb @@ -0,0 +1,8 @@ +Redmine::Plugin.register :redmine_glossary do + name 'Redmine Glossary plugin' + author 'Toru Takahashi' + description 'This is a plugin for Redmine to create a glossary that is a list of terms in a project.' + version '1.0.1' + url 'https://github.com/torutk/redmine_glossary' + author_url 'http://www.torutk.com' +end diff --git a/test/test_helper.rb b/test/test_helper.rb new file mode 100644 index 0000000..54685d3 --- /dev/null +++ b/test/test_helper.rb @@ -0,0 +1,2 @@ +# Load the Redmine helper +require File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper')