Fix translatability of validation messages when defined in custom settings