mirror of
https://github.com/redmine/redmine.git
synced 2026-03-05 12:01:23 +01:00
Make gloc load plugins lang files.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1394 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user