Sha256: 92114db920156b92bded6b62fc96f7dccd24128ab1ae12cace8b72e6f02e6b9b

Contents?: true

Size: 295 Bytes

Versions: 20

Compression:

Stored size: 295 Bytes

Contents

if %w(development test).include? Rails.env
  unless ENV['I18N'] == 0
  	module I18n
  	  def self.just_raise_that_exception(exception, key, locale, options)
  	    raise [exception, key].inspect if locale == 'en'
  	  end
  	end

  	I18n.exception_handler = :just_raise_that_exception
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
gaku_core-0.3.0 config/initializers/translation_missing.rb
gaku_core-0.3.0.pre.4 config/initializers/translation_missing.rb
gaku_core-0.3.0.pre.3 config/initializers/translation_missing.rb
gaku_core-0.3.0.pre.2 config/initializers/translation_missing.rb
gaku_core-0.3.0.pre.1 config/initializers/translation_missing.rb
gaku_core-0.3.0.pre.0 config/initializers/translation_missing.rb
gaku-0.2.4 core/config/initializers/translation_missing.rb
gaku_core-0.2.4 config/initializers/translation_missing.rb
gaku-0.2.3 core/config/initializers/translation_missing.rb
gaku_core-0.2.3 config/initializers/translation_missing.rb
gaku-0.2.2 core/config/initializers/translation_missing.rb
gaku_core-0.2.2 config/initializers/translation_missing.rb
gaku-0.2.1 core/config/initializers/translation_missing.rb
gaku_core-0.2.1 config/initializers/translation_missing.rb
gaku-0.2.0 core/config/initializers/translation_missing.rb
gaku_core-0.2.0 config/initializers/translation_missing.rb
gaku-0.1.1 core/config/initializers/translation_missing.rb
gaku_core-0.1.1 config/initializers/translation_missing.rb
gaku-0.1.0 core/config/initializers/translation_missing.rb
gaku_core-0.1.0 config/initializers/translation_missing.rb