Fix wordings

This commit is contained in:
Jason Streifling 2024-10-16 16:54:26 +02:00
parent f27116930a
commit 92d71fdbde

View File

@ -34,12 +34,12 @@ func (c *Category) Check() error {
if c.Scheme != "" { if c.Scheme != "" {
if !isValidURI(c.Scheme) { if !isValidURI(c.Scheme) {
return fmt.Errorf("scheme attribute of category %v not correctly formatted", c.Scheme) return fmt.Errorf("scheme attribute %v of category not correctly formatted", c.Scheme)
} }
} }
if !isCorrectlyEscaped(c.Label) { if !isCorrectlyEscaped(c.Label) {
return fmt.Errorf("label attribute of category %v not correctly escaped", c.Label) return fmt.Errorf("label attribute %v of category not correctly escaped", c.Label)
} }
if c.Content == nil { if c.Content == nil {