From 37bfbfe5e774078b1f65fd675961cac940777348 Mon Sep 17 00:00:00 2001 From: Adam Meehan Date: Sun, 7 Dec 2008 18:01:01 +1100 Subject: [PATCH] doc update with new feature --- README.rdoc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.rdoc b/README.rdoc index 08e51f2..b00e738 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,7 +1,7 @@ = validates_timeliness - * Source: http://github.com/adzap/validates_timeliness - * Bugs: http://adzap.lighthouseapp.com/projects/14111-validates_timeliness +* Source: http://github.com/adzap/validates_timeliness +* Bugs: http://adzap.lighthouseapp.com/projects/14111-validates_timeliness == DESCRIPTION: @@ -24,6 +24,8 @@ think should be a valid date or time string. * Respects new timezone features of Rails 2.1. +* Supports Rails 2.2 I18n for the error messages + == INSTALLATION: @@ -275,8 +277,8 @@ Rails 2.2+ using the I18n system to define new defaults: activerecord: errors: messages: - on_or_before: "must equal to or before {{restriction}}" - on_or_after: "must equal to or after {{restriction}}" + on_or_before: "must be equal to or before {{restriction}}" + on_or_after: "must be equal to or after {{restriction}}" The {{restriction}} signifies where the interpolation value for the restriction will be inserted.