Adding some localizations

This commit is contained in:
Eugen Rochko 2016-11-15 23:02:57 +01:00
parent a4313224d9
commit 3ce6ac0ce2
19 changed files with 91 additions and 88 deletions

View file

@ -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)