summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
Diffstat (limited to 'vendor')
-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