Sha256: 5c08a80ad49e12d81b2a1b035fc823cb7378e22ef6f1f4e39b755e59fa76dafa

Contents?: true

Size: 548 Bytes

Versions: 2

Compression:

Stored size: 548 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.model_name
    puts _('models.name.user.one')
    puts _('models.name.user.other')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gettext_simple_rails-0.0.2 test/dummy/lib/gettext_simple_rails/models/user_model_translations.rb
gettext_simple_rails-0.0.1 test/dummy/lib/gettext_simple_rails/models/user_model_translations.rb