summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-22 18:19:00 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-22 18:19:00 +0000
commit792b7f30e32eec84d6106e947fc3987e4e26a0b0 (patch)
tree4cb8b01adcbd16fd7b0bde60c0372ccb57f42e6f /extra
parentb0bb41ad355771d4ae4704585f29bc12ae6c345d (diff)
downloadredmine-792b7f30e32eec84d6106e947fc3987e4e26a0b0.tar.gz
redmine-792b7f30e32eec84d6106e947fc3987e4e26a0b0.zip
Menus items:
* fixed broken translation when a plugin is installed (closes #649) * small fix to the plugin API: options parameter added to Redmine::Plugin#menu git-svn-id: http://redmine.rubyforge.org/svn/trunk@1172 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra')
-rw-r--r--extra/sample_plugin/init.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/sample_plugin/init.rb b/extra/sample_plugin/init.rb
index 48a5d935c..7389aaa6f 100644
--- a/extra/sample_plugin/init.rb
+++ b/extra/sample_plugin/init.rb
@@ -21,5 +21,5 @@ Redmine::Plugin.register :sample_plugin do
end
# A new item is added to the project menu
- menu :project_menu, :label_plugin_example, :controller => 'example', :action => 'say_hello'
+ menu :project_menu, :sample_plugin, { :controller => 'example', :action => 'say_hello' }, :caption => 'Sample'
end