diff --git a/app/lib/katello/validators/product_unique_attribute_validator.rb b/app/lib/katello/validators/product_unique_attribute_validator.rb index cb449cb2180..c6494179626 100644 --- a/app/lib/katello/validators/product_unique_attribute_validator.rb +++ b/app/lib/katello/validators/product_unique_attribute_validator.rb @@ -5,9 +5,7 @@ def validate_each(record, attribute, value) unique = self.unique_attribute?(record, attribute, value) unless unique - message = _("Product with %{attribute} '%{id}' already exists in this organization.") % - {:attribute => attribute, :id => value} - record.errors[attribute] << message + record.errors[attribute] << _("has already been taken for a product in this organization.") end end