Fixed issue #659 - Can't update translations via translation table in admin interface.

This commit is contained in:
Martin Edenhofer 2017-02-01 23:09:48 +01:00
parent 8800a4a861
commit 28437c7392

View file

@ -282,9 +282,12 @@ class _i18nSingleton extends Spine.Module
notTranslated notTranslated
removeNotTranslated: (locale, key) => removeNotTranslated: (locale, key) =>
return if !@_notTranslated[locale]
delete @_notTranslated[locale][key] delete @_notTranslated[locale][key]
setNotTranslated: (locale, key) => setNotTranslated: (locale, key) =>
if !@_notTranslated[locale]
@_notTranslated[locale] = {}
@_notTranslated[locale][key] = true @_notTranslated[locale][key] = true
date: (time, offset) => date: (time, offset) =>