Sha256: e8b8e052e1843ca3cec01a89f723741fd24fddac2b8915003880479dd701109e

Contents?: true

Size: 588 Bytes

Versions: 5

Compression:

Stored size: 588 Bytes

Contents

class GettextSimpleRails::UserModelTranslations
  def self.attribute_translations
    puts _('models.attributes.user.id')
    puts _('models.attributes.user.name')
    puts _('models.attributes.user.birthday_at')
    puts _('models.attributes.user.age')
    puts _('models.attributes.user.created_at')
    puts _('models.attributes.user.updated_at')
  end

  def self.relationship_translations
    puts _('models.attributes.user.roles')
  end

  def self.paperclip_attachments
  end

  def self.model_name
    puts _('models.name.user.one')
    puts _('models.name.user.other')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gettext_simple_rails-0.0.9 spec/dummy/lib/gettext_simple_rails/models/user_model_translations.rb
gettext_simple_rails-0.0.6 spec/dummy/lib/gettext_simple_rails/models/user_model_translations.rb
gettext_simple_rails-0.0.5 spec/dummy/lib/gettext_simple_rails/models/user_model_translations.rb
gettext_simple_rails-0.0.4 spec/dummy/lib/gettext_simple_rails/models/user_model_translations.rb
gettext_simple_rails-0.0.3 spec/dummy/lib/gettext_simple_rails/models/user_model_translations.rb