Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions warehouse/locale/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -570,14 +570,14 @@ msgid "Invalid project name"
msgstr ""

#: warehouse/oidc/forms/_core.py:35
msgid "This project name is already in use"
msgid "This project already exists, create an ordinary Trusted Publisher instead"
msgstr ""

#: warehouse/oidc/forms/_core.py:44
#: warehouse/oidc/forms/_core.py:47
msgid "Specify a publisher ID"
msgstr ""

#: warehouse/oidc/forms/_core.py:45
#: warehouse/oidc/forms/_core.py:48
msgid "Publisher must be specified by ID"
msgstr ""

Expand Down
5 changes: 4 additions & 1 deletion warehouse/oidc/forms/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ def validate_project_name(self, field):

if project_name in self._project_factory:
raise wtforms.validators.ValidationError(
_("This project name is already in use")
_(
"This project already exists, create an ordinary Trusted "
"Publisher instead"
)
)


Expand Down