diff --git a/app/assets/javascripts/app/lib/app_post/i18n.coffee b/app/assets/javascripts/app/lib/app_post/i18n.coffee index 82efaaae9..1b138bf4e 100644 --- a/app/assets/javascripts/app/lib/app_post/i18n.coffee +++ b/app/assets/javascripts/app/lib/app_post/i18n.coffee @@ -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) =>