summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gloc-1.2.0/vendor/plugins/gloc-1.2.0/lib/gloc-internal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gloc-1.2.0/vendor/plugins/gloc-1.2.0/lib/gloc-internal.rb b/gloc-1.2.0/vendor/plugins/gloc-1.2.0/lib/gloc-internal.rb
index 0d917c80c..b5d3c63e3 100644
--- a/gloc-1.2.0/vendor/plugins/gloc-1.2.0/lib/gloc-internal.rb
+++ b/gloc-1.2.0/vendor/plugins/gloc-1.2.0/lib/gloc-internal.rb
@@ -78,7 +78,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