Sha256: 5ac2f99ab2adc041ad4116e284130a2378fc9991ef86a84185b95f1b5a2ca8cc

Contents?: true

Size: 357 Bytes

Versions: 9

Compression:

Stored size: 357 Bytes

Contents

class Article < ActiveRecord::Base
  def validate
    # t('li')
    errors.add_to_base([t(:'article.key1') + "#{t('article.key2')}"])
    I18n.t 'article.key3'
    I18n.t 'article.key3'
    I18n.t :'article.key4'
    I18n.translate :'article.key5'
    'bla bla t' + "blubba bla" + ' foobar'
    'bla bla t ' + "blubba bla" + ' foobar'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
translate-rails3-plus-0.0.11 spec/files/translate/app/models/article.rb
translate-rails3-plus-0.0.9 spec/files/translate/app/models/article.rb
translate-rails3-plus-0.0.8 spec/files/translate/app/models/article.rb
translate-rails3-plus-0.0.7 spec/files/translate/app/models/article.rb
translate-rails3-plus-0.0.6 spec/files/translate/app/models/article.rb
translate-rails3-plus-0.0.5 spec/files/translate/app/models/article.rb
translate-rails3-plus-0.0.4 spec/files/translate/app/models/article.rb
translate-rails3-plus-0.0.3 spec/files/translate/app/models/article.rb
translate-rails3-plus-0.0.1 spec/files/translate/app/models/article.rb