Permalink
Browse files

Changed {{ -> %{ in locale.yml to avoid I18n deprecation errors.

  • Loading branch information...
1 parent 0f67d67 commit cf83e5ef95dc17408fbadd8923ff0e1fe7d87760 @ratnikov ratnikov committed with josevalim Jun 12, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/action_view/locale/en.yml
@@ -2,7 +2,7 @@ en:
errors:
template:
header:
- one: "1 error prohibited this {{model}} from being saved"
- other: "{{count}} errors prohibited this {{model}} from being saved"
+ one: "1 error prohibited this %{model} from being saved"
+ other: "%{count} errors prohibited this %{model} from being saved"
# The variable :count is also available
- body: "There were problems with the following fields:"
+ body: "There were problems with the following fields:"

0 comments on commit cf83e5e

Please sign in to comment.