mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Another fix for mongoose i18n locale object hack.
This commit is contained in:
parent
868a6ed43b
commit
843ed97643
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ module.exports.i18n = (say, target, language=me.lang(), fallback='en') ->
|
|||
generalName = matches[0] if matches
|
||||
|
||||
for localeName, locale of say.i18n
|
||||
continue if localeName is '-'
|
||||
if target of locale
|
||||
result = locale[target]
|
||||
else continue
|
||||
|
|
Loading…
Reference in a new issue