Copy edits

This commit is contained in:
Jason Zimdars
2025-06-30 18:14:48 -05:00
parent ab5d6931de
commit fb1ec2ab3a
+7 -7
View File
@@ -51,19 +51,19 @@ class Command < ApplicationRecord
def error_message_for(attribute, message)
case attribute.to_sym
when :cards, :card_ids
"No cards in this context"
""
when :card
"Can't find the card"
"Needs one or more cards to apply to (#123, #124)."
when :collection
"The collection is missing"
"You need to specificy a Collection"
when :assignee_ids
"Assignees are missing"
"Needs at leaset one assignee (@person)."
when :user
"Can't find that user"
"Cant find that person."
when :stage
"Can't find that workflow stage"
"Cant find that Workflow Stage."
when :tag_title
"A tag is required"
"Needs at least one tag (#tag, #name)"
else
message
end