error localization strings

Added localization for generic errors
Can't you use `$t()`?