added translations for errors (cherry picked from commit 352e4dc)