config/locales/en.yml in flash_validators-1.0.0 vs config/locales/en.yml in flash_validators-1.1.0
- old
+ new
@@ -9,10 +9,11 @@
email: "is not a valid email"
equality: "is not %{operator} %{attr}"
hex: "is not a valid hex color"
imei: "is not a valid IMEI"
ip: "is not a valid IP"
+ isbn: "is not a valid ISBN"
longitude: "is not a valid latitude"
longitude: "is not a valid longitude"
mac_address: "is not a valid MAC address"
name: "is not a valid name"
password: "is not a valid password"
@@ -51,9 +52,12 @@
failure_message_for_should: "#{model} should ensure valid IMEI address format of attribute #{attr}"
failure_message_for_should_not: "#{model} should not ensure valid IMEI address format of attribute #{attr}"
ensure_valid_ip_format_of:
failure_message_for_should: "#{model} should ensure valid IP address format of attribute #{attr}"
failure_message_for_should_not: "#{model} should not ensure valid IP address format of attribute #{attr}"
+ ensure_valid_isbn_format_of:
+ failure_message_for_should: "#{model} should ensure valid ISBN format of attribute #{attr}"
+ failure_message_for_should_not: "#{model} should not ensure valid ISBN format of attribute #{attr}"
ensure_valid_latitude_format_of:
failure_message_for_should: "#{model} should ensure valid latitude format of attribute #{attr}"
failure_message_for_should_not: "#{model} should not ensure valid latitude format of attribute #{attr}"
ensure_valid_longitude_format_of:
failure_message_for_should: "#{model} should ensure valid longitude format of attribute #{attr}"
\ No newline at end of file