From 3ce6ac0ce2e482bc1f2784c3c7f716172b151902 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 15 Nov 2016 23:02:57 +0100 Subject: Adding some localizations --- app/views/shared/_error_messages.html.haml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'app/views/shared/_error_messages.html.haml') 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) -- cgit