Sha256: 4e884c1bae0a678e486471d533bc1c6e61147cb097adbcb798233b550a1526be

Contents?: true

Size: 542 Bytes

Versions: 5

Compression:

Stored size: 542 Bytes

Contents

class GettextSimpleRails::UserModelTranslations
  def self.attribute_translations
    puts _('models.attributes.role.id')
    puts _('models.attributes.role.role')
    puts _('models.attributes.role.user_id')
    puts _('models.attributes.role.created_at')
    puts _('models.attributes.role.updated_at')
  end

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

  def self.paperclip_attachments
  end

  def self.model_name
    puts _('models.name.role.one')
    puts _('models.name.role.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/role_model_translations.rb
gettext_simple_rails-0.0.6 spec/dummy/lib/gettext_simple_rails/models/role_model_translations.rb
gettext_simple_rails-0.0.5 spec/dummy/lib/gettext_simple_rails/models/role_model_translations.rb
gettext_simple_rails-0.0.4 spec/dummy/lib/gettext_simple_rails/models/role_model_translations.rb
gettext_simple_rails-0.0.3 spec/dummy/lib/gettext_simple_rails/models/role_model_translations.rb