config/locales/en.yml in flash_validators-3.0.0 vs config/locales/en.yml in flash_validators-3.0.1
- old
+ new
@@ -1,35 +1,35 @@
en:
- errors:
- messages:
- alpha: "is not a valid alpha characters"
- alpha_numeric: "is not a valid alpha-numeric characters"
- base64: "is not a valid Base64 encode"
- boolean: "is not a valid boolean"
- credit_card: "is not a valid credit card"
- currency: "is not a valid currency"
- cusip: "is not a valid CUSIP"
- email: "is not a valid email"
- equality: "is not %{operator} %{attr}"
- gtin: "is not a valid GTIN"
- 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"
- isin: "is not a valid ISIN"
- 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"
- phone: "is not a valid phone number"
- sedol: "is not a valid SEDOL"
- slug: "is not a valid slug"
- ssn: "is not a valid social security number"
- url: "is not a valid URL"
- username: "is not a valid username"
- uuid: "is not a valid UUID"
flash_validators:
+ errors:
+ messages:
+ alpha: "is not a valid alpha characters"
+ alpha_numeric: "is not a valid alpha-numeric characters"
+ base64: "is not a valid Base64 encode"
+ boolean: "is not a valid boolean"
+ credit_card: "is not a valid credit card"
+ currency: "is not a valid currency"
+ cusip: "is not a valid CUSIP"
+ email: "is not a valid email"
+ equality: "is not %{operator} %{attr}"
+ gtin: "is not a valid GTIN"
+ 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"
+ isin: "is not a valid ISIN"
+ 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"
+ phone: "is not a valid phone number"
+ sedol: "is not a valid SEDOL"
+ slug: "is not a valid slug"
+ ssn: "is not a valid social security number"
+ url: "is not a valid URL"
+ username: "is not a valid username"
+ uuid: "is not a valid UUID"
matchers:
ensure_valid_alpha_format_of:
failure_message_for_should: "%{model} should ensure valid alpha format of attribute %{attr}"
failure_message_for_should_not: "%{model} should not ensure valid alpha format of attribute %{attr}"
ensure_valid_alpha_numeric_format_of:
\ No newline at end of file