Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Revise failure message
Browse files Browse the repository at this point in the history
"23456789" technically does not contain invalid characters. ;-)
  • Loading branch information
chadwhitacre committed Mar 15, 2016
1 parent cbe6dd7 commit 48f9ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/teams/create.json.spt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if request.method == 'POST':
try:
fields['slug'] = slugize(fields['name'])
except InvalidTeamName:
raise Response(400, _("Sorry, team name contains invalid characters."))
raise Response(400, _("Sorry, your team name is invalid."))

try:
large, small = imgize(image, image_type)
Expand Down

0 comments on commit 48f9ae6

Please sign in to comment.