Skip to content

Instantly share code, notes, and snippets.

@michaelbaudino
Last active December 18, 2015 05:59
Show Gist options
  • Save michaelbaudino/5737202 to your computer and use it in GitHub Desktop.
Save michaelbaudino/5737202 to your computer and use it in GitHub Desktop.
French locale file for validates_timeliness gem (https://github.com/adzap/validates_timeliness)
fr:
errors:
messages:
invalid_date: "n'est pas un objet Date valide"
invalid_time: "n'est pas un objet Time valide"
invalid_datetime: "n'est pas un objet DateTime valide"
is_at: "doit être %{restriction}"
before: "doit être avant %{restriction}"
on_or_before: "doit être le ou avant le %{restriction}"
after: "doit être après %{restriction}"
on_or_after: "doit être le ou après le %{restriction}"
validates_timeliness:
error_value_formats:
date: '%d-%m-%Y'
time: '%H:%M:%S'
datetime: '%Y-%m-%Y %H:%M:%S'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment