Last active
January 2, 2016 08:48
-
-
Save Theby/8278442 to your computer and use it in GitHub Desktop.
Traducción al español/castellano para usar con la gema validates_timeliness de Ruby.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
en: | |
errors: | |
messages: | |
invalid_date: "no es una fecha valida." | |
invalid_time: "no es un tiempo valido." | |
invalid_datetime: "no es un formato valido de fecha/tiempo." | |
is_at: "debe ser %{restriction}." | |
before: "debe ser antes de %{restriction}." | |
on_or_before: "debe ser justo o antes de %{restriction}." | |
after: "debe ser después de %{restriction}." | |
on_or_after: "debe ser justo o después de %{restriction}." | |
validates_timeliness: | |
error_value_formats: | |
date: '%Y-%m-%d' | |
time: '%H:%M:%S' | |
datetime: '%Y-%m-%d %H:%M:%S' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
validates_timeliness.en.yml debe ubicarse en la carpeta "config/locales/" donde puede estar junto a otros YML.
Para usar este archivo debe reemplazar el archivo original que se genera tras hacer:
rails generate validates_timeliness:install