Skip to content

Instantly share code, notes, and snippets.

@souzagab
Created May 30, 2021 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save souzagab/5c8085518a47c5de851b2264cc524327 to your computer and use it in GitHub Desktop.
Save souzagab/5c8085518a47c5de851b2264cc524327 to your computer and use it in GitHub Desktop.
validates_timeliness.pt-BR.yml
pt-BR:
errors:
messages:
invalid_date: 'não é uma data válida'
invalid_time: 'não é um horário válido'
invalid_datetime: 'não é um horário com data válido'
is_at: 'deve ser em %{restriction}'
before: 'deve ser antes de %{restriction}'
on_or_before: 'deve ser antes ou em %{restriction}'
after: 'deve ser após %{restriction}'
on_or_after: 'deve ser após ou em %{restriction}'
validates_timeliness:
error_value_formats:
date: '%d/%m/%Y'
time: '%H:%M:%S'
datetime: '%d/%m/%Y %H:%M:%S'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment