Make hardcoded exception messages translatable