Skip to content

Commit fb1f3d3

Browse files
authored
Merge pull request rails#54450 from Bilka2/guides-i18n-blank-error
Fix :blank error message in i18n guide to match default [ci skip]
2 parents bdad270 + cd46eb4 commit fb1f3d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/i18n.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ This way you can provide special translations for various error messages at diff
960960

961961
The translated model name, translated attribute name, and value are always available for interpolation as `model`, `attribute` and `value` respectively.
962962

963-
So, for example, instead of the default error message `"cannot be blank"` you could use the attribute name like this : `"Please fill in your %{attribute}"`.
963+
So, for example, instead of the default error message `"can't be blank"` you could use the attribute name like this : `"Please fill in your %{attribute}"`.
964964

965965
* `count`, where available, can be used for pluralization if present:
966966

0 commit comments

Comments
 (0)