Too much was marked for translation this gettext message.
Thanks for catching AVRS!
This commit is contained in:
parent
2b28f95b31
commit
a648102890
@ -284,7 +284,9 @@ def edit_collection(request, collection):
|
|||||||
|
|
||||||
if existing_collection and existing_collection.id != collection.id:
|
if existing_collection and existing_collection.id != collection.id:
|
||||||
messages.add_message(
|
messages.add_message(
|
||||||
request, messages.ERROR, _('You already have a collection called "%s"!' % request.POST['title']))
|
request, messages.ERROR,
|
||||||
|
_('You already have a collection called "%s"!') % \
|
||||||
|
request.POST['title'])
|
||||||
elif slug_used:
|
elif slug_used:
|
||||||
form.slug.errors.append(
|
form.slug.errors.append(
|
||||||
_(u'A collection with that slug already exists for this user.'))
|
_(u'A collection with that slug already exists for this user.'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user