Set validation for editing in CategoryController, category.js.
Customized validation error messages in CategoryDTO.