Use `translate` for custom validator error messages
masterCustom validators should use the translate method (provided by Grape::Util::Translation) instead of calling I18n.t or I18n.translate directly. This ensures consistency with built-in validators.
- The
scopedefaults to'grape.errors.messages'. - Interpolation variables are passed directly to I18n.
- The
formatargument is no longer required astranslatereturns the fully interpolated string.