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

Commit

Permalink
Alphabets -> Letters
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Mar 15, 2016
1 parent 0ef1a54 commit 323424b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gratipay/models/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from gratipay.models import add_event
from postgres.orm import Model

# Should have at least one alphabet.
# Should have at least one letter.
TEAM_NAME_PATTERN = re.compile(r'^(?=.*[A-Za-z])([A-Za-z0-9.,-_ ]+)$')

def slugize(name):
Expand Down
2 changes: 1 addition & 1 deletion www/new.spt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ still_migrating = delta > 0
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">

<label><h2>{{ _("Team Name") }}</h2></label>
<p><i>{{ _("Must contain alphabets. Can optionally contain numbers, dashes (-), underscores (_), periods (.), comma (,) and whitespaces.") }}</i></p>
<p><i>{{ _("At least one letter A through Z, plus numbers, dashes (-), underscores (_), periods (.), comma (,) and whitespace.") }}</i></p>
<input type="text" name="name" required autofocus>

<label><h2>{{ _("Image") }}</h2></label>
Expand Down

0 comments on commit 323424b

Please sign in to comment.