Fixed issue #659 - Can't update translations via translation table in admin interface.
This commit is contained in:
parent
8800a4a861
commit
28437c7392
1 changed files with 3 additions and 0 deletions
|
@ -282,9 +282,12 @@ class _i18nSingleton extends Spine.Module
|
|||
notTranslated
|
||||
|
||||
removeNotTranslated: (locale, key) =>
|
||||
return if !@_notTranslated[locale]
|
||||
delete @_notTranslated[locale][key]
|
||||
|
||||
setNotTranslated: (locale, key) =>
|
||||
if !@_notTranslated[locale]
|
||||
@_notTranslated[locale] = {}
|
||||
@_notTranslated[locale][key] = true
|
||||
|
||||
date: (time, offset) =>
|
||||
|
|
Loading…
Reference in a new issue