Skip to content

Instantly share code, notes, and snippets.

@lohannon
Created February 28, 2017 16:54
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 lohannon/c28bfdf44e7cbe35013247f271702436 to your computer and use it in GitHub Desktop.
Save lohannon/c28bfdf44e7cbe35013247f271702436 to your computer and use it in GitHub Desktop.
# Sample localization file for English. Add more files in this directory for other locales.
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
en:
activerecord:
attributes:
event:
course_id: "Term"
begin_time_text: "Begin date"
linked_student_ids: "Students"
lesson_plan:
course_id: "Term"
assignment:
begin_date: "Given Date"
begin_date_text: "Given Date"
begin_time_text: "Given Date"
end_date: "Due Date"
end_date_text: "Due Date"
end_time_text: "Due Date"
errors:
models:
assignment:
attributes:
begin_date: "Given Date"
begin_date_text: "Given Date"
end_date: "Due Date"
end_date_text: "Due Date"
errors:
messages:
invalid_date: "is not a valid date"
invalid_time: "is not a valid time"
invalid_datetime: "is not a valid datetime"
is_at: "must be at %{restriction}"
before: "must be before %{restriction}"
on_or_before: "must be on or before %{restriction}"
after: "must be after %{restriction}"
on_or_after: "must be on or after %{restriction}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment