libs/uvl: fix i18n handling for errors