Skip to content

Commit

Permalink
Fix CR notes
Browse files Browse the repository at this point in the history
  • Loading branch information
stereobooster committed Nov 8, 2017
1 parent 5077ef9 commit 2b09acb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/i18n/backend/simple.rb
Expand Up @@ -30,9 +30,9 @@ def initialized?
# level of the hash.
def store_translations(locale, data, options = {})
if I18n.available_locales_initialized? &&
I18n.available_locales.include?(locale.to_sym) == false &&
I18n.available_locales.include?(locale.to_s) == false
return translations
!I18n.available_locales.include?(locale.to_sym) &&
!I18n.available_locales.include?(locale.to_s)
return data
end
locale = locale.to_sym
translations[locale] ||= {}
Expand Down

0 comments on commit 2b09acb

Please sign in to comment.