diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-15 23:02:57 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-15 23:02:57 +0100 |
commit | 3ce6ac0ce2e482bc1f2784c3c7f716172b151902 (patch) | |
tree | 89052410c8e7c856bee1049464ee79463a7db48b /app/views/shared | |
parent | a4313224d93cd762fd500e687e33247025035af8 (diff) |
Adding some localizations
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/_error_messages.html.haml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/shared/_error_messages.html.haml b/app/views/shared/_error_messages.html.haml index 269365359..b73890216 100644 --- a/app/views/shared/_error_messages.html.haml +++ b/app/views/shared/_error_messages.html.haml @@ -1,6 +1,3 @@ - if object.errors.any? .flash-message#error_explanation - %strong - Something isn't quite right yet! Please review - = pluralize(object.errors.count, 'error') - below: + %strong= t('generic.validation_errors', count: object.errors.count) |