Sha256: 6cce5db7d40e8b01fea4cae41ade909d9b06ed9aafb115c6e9bf5b12f13c31a7

Contents?: true

Size: 142 Bytes

Versions: 6

Compression:

Stored size: 142 Bytes

Contents

module TranslationFilter

  def t(input)
    I18n.translate(input)
  #rescue
  #  input
  end

end

Comatose.register_filter TranslationFilter

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
comatose-rubyisbeautiful-3.0.5 lib/comatose/filters/translation_filter.rb
comatose-rubyisbeautiful-3.0.4 lib/comatose/filters/translation_filter.rb
comatose-rubyisbeautiful-3.0.3 lib/comatose/filters/translation_filter.rb
comatose-rubyisbeautiful-3.0.2 lib/comatose/filters/translation_filter.rb
comatose-rubyisbeautiful-3.0.1 lib/comatose/filters/translation_filter.rb
comatose-rubyisbeautiful-3.0.0 lib/comatose/filters/translation_filter.rb