Extract admin settings translations

This commit is contained in:
Artur Beljajev 2017-08-22 22:52:17 +03:00
parent 711403e418
commit 4bbea0d58b
5 changed files with 22 additions and 5 deletions

View file

@ -14,7 +14,7 @@ module Admin
Setting[k] = v
end
flash[:notice] = I18n.t('records_updated')
flash[:notice] = t('.saved')
redirect_to [:admin, :settings]
else
flash[:alert] = @errors.values.uniq.join(", ")