aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/locale
diff options
context:
space:
mode:
authorreu <rnavarro1@gmail.com>2010-04-24 14:17:14 -0300
committerJosé Valim <jose.valim@gmail.com>2010-04-25 10:14:15 +0200
commit77c099c231f2efb36a2a77a32138ed5c6761ec19 (patch)
treea4e08061caf1848a5ace8e1262266e88f7772c0f /activemodel/lib/active_model/locale
parent864bd9c21fdc8ce265c48fdfa2d4d7917032e717 (diff)
downloadrails-77c099c231f2efb36a2a77a32138ed5c6761ec19.tar.gz
rails-77c099c231f2efb36a2a77a32138ed5c6761ec19.tar.bz2
rails-77c099c231f2efb36a2a77a32138ed5c6761ec19.zip
Fix validates_numericaly_of only integer error message [#4406 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activemodel/lib/active_model/locale')
-rw-r--r--activemodel/lib/active_model/locale/en.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/activemodel/lib/active_model/locale/en.yml b/activemodel/lib/active_model/locale/en.yml
index ea58021767..d05c04967c 100644
--- a/activemodel/lib/active_model/locale/en.yml
+++ b/activemodel/lib/active_model/locale/en.yml
@@ -17,6 +17,7 @@ en:
too_short: "is too short (minimum is {{count}} characters)"
wrong_length: "is the wrong length (should be {{count}} characters)"
not_a_number: "is not a number"
+ not_an_integer: "must be an integer"
greater_than: "must be greater than {{count}}"
greater_than_or_equal_to: "must be greater than or equal to {{count}}"
equal_to: "must be equal to {{count}}"