Skip to content

Instantly share code, notes, and snippets.

@yurijmi
Created June 7, 2016 08:21
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 yurijmi/8dd809896f4e0e0161f05eb7f33cb579 to your computer and use it in GitHub Desktop.
Save yurijmi/8dd809896f4e0e0161f05eb7f33cb579 to your computer and use it in GitHub Desktop.
Swedish locale for validates_timeliness gem
sv:
errors:
messages:
invalid_date: "är inte det rätta datumet"
invalid_time: "är inte den rätta tiden"
invalid_datetime: "är inte rätt datum och tid"
is_at: "måste vara %{restriction}"
before: "måste vara innan %{restriction}"
on_or_before: "måste vara %{restriction} eller tidigare"
after: "måste vara senare än %{restriction}"
on_or_after: "måste vara %{restriction} eller senare"
validates_timeliness:
error_value_formats:
date: "%Y-%m-%d"
time: "%H:%M:%S"
datetime: "%e %b %Y %H:%M:%S"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment