Sha256: b526f3c9a5c1d8e0a2f84fae5b5901ce4cff15b51bf6f3a66c60aaa2cafdf52d

Contents?: true

Size: 991 Bytes

Versions: 1

Compression:

Stored size: 991 Bytes

Contents

class GettextSimpleRails::MonthNames
  def translations
    #. Default value: Invalid record: %{errors}
    _('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')
    #. Default value: is invalid
    _('activerecord.errors.models.user.attributes.email.invalid')
    #. Default value: Cannot delete record because dependent %{record} exist
    _('activerecord.errors.models.user.attributes.base.restrict_dependent_destroy.many')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gettext_simple_rails-0.0.19 spec/dummy/lib/gettext_simple_rails/active_record_validations_translator_translations.rb