mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-29 08:09:55 -04:00
using wrong var here
This commit is contained in:
parent
e96dbd6f06
commit
3c6aede1aa
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ module I18n
|
|||
LOAD_MUTEX = Mutex.new
|
||||
def load_locale(locale)
|
||||
LOAD_MUTEX.synchronize do
|
||||
return if @loaded_locales.include?(config.locale)
|
||||
return if @loaded_locales.include?(locale)
|
||||
|
||||
if @loaded_locales.empty?
|
||||
# load all rb files
|
||||
|
|
Loading…
Add table
Reference in a new issue