summaryrefslogtreecommitdiffstats
path: root/vendor/plugins
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-23 17:19:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-23 17:19:27 +0000
commite4f0864e3a7f17f0e8a282aad29202f53bf11139 (patch)
treea40440471a6b0a8bc8aedf9d89d8bf2ef27e918f /vendor/plugins
parenta42a115b8fa21ab506cd40765a9e5684f022451b (diff)
downloadredmine-e4f0864e3a7f17f0e8a282aad29202f53bf11139.tar.gz
redmine-e4f0864e3a7f17f0e8a282aad29202f53bf11139.zip
Basic plugin support.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@752 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'vendor/plugins')
-rw-r--r--vendor/plugins/gloc-1.1.0/lib/gloc-internal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/plugins/gloc-1.1.0/lib/gloc-internal.rb b/vendor/plugins/gloc-1.1.0/lib/gloc-internal.rb
index f16e90555..faed551ca 100644
--- a/vendor/plugins/gloc-1.1.0/lib/gloc-internal.rb
+++ b/vendor/plugins/gloc-1.1.0/lib/gloc-internal.rb
@@ -73,7 +73,7 @@ module GLoc
end
def _get_lang_file_list(dir) #:nodoc:
- dir= File.join(RAILS_ROOT,'lang') if dir.nil?
+ dir= File.join(RAILS_ROOT,'{.,vendor/plugins/*}','lang') if dir.nil?
Dir[File.join(dir,'*.{yaml,yml}')]
end