Sha256: 9c9f8215aad21202ea0ff105816cac9dae6bef26105fb430e28561eac34505b3

Contents?: true

Size: 715 Bytes

Versions: 1

Compression:

Stored size: 715 Bytes

Contents

class GettextSimpleRails::MonthNames
  def translations
    #. Default value: Invalid record
    _('activerecord.errors.messages.record_invalid')
    #. Default value: is too short. The minimum is %{count}
    _('activerecord.errors.models.user.attributes.name.too_short')
    #. Default value: is too long. The maximum is %{count}
    _('activerecord.errors.models.user.attributes.name.too_long')
    #. Default value: has already been taken
    _('activerecord.errors.models.user.attributes.name.taken')
    #. Default value: cannot be blank
    _('activerecord.errors.models.user.attributes.name.blank')
    #. Default value: is invalid
    _('activerecord.errors.models.user.attributes.name.invalid')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gettext_simple_rails-0.0.7 spec/dummy/lib/gettext_simple_rails/active_record_translator_translations.rb